/* --- Variables & Reset --- */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* --- Typography & Buttons --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* Add the pulse effect specifically to the featured pricing buttons */
.pricing-card.featured .btn-primary {
    animation: pulseGlow 2s infinite;
}

.pricing-card.featured .btn-primary:hover {
    animation: none; /* Stop pulsing on hover so it doesn't look glitchy */
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Modern glassmorphism effect */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn-secondary):hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    padding: 120px 5%;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    /* Apply the fade-in animation to the hero content */
    animation: fadeInUp 1s ease-out forwards; 
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 24px;
    background: linear-gradient(to right, #0f172a, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Gradient text effect */
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Services Section --- */
.services {
    padding: 100px 5%;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: #e2e8f0;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* --- Pricing Section --- */
.pricing {
    padding: 80px 5%;
    background-color: var(--white);
    text-align: center;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.pricing-category {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 60px 0 40px;
    position: relative;
    display: inline-block;
}

.pricing-category::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    background: var(--white);
    box-shadow: var(--hover-shadow);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--text-dark);
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 15px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Adds a little checkmark before pricing items */
.pricing-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Footer --- */
.footer {
    background-color: #0f172a;
    color: var(--white);
    text-align: center;
    padding: 80px 5% 40px;
}

.social-proof h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #f8fafc;
}

.footer-content {
    margin-bottom: 60px;
}

.footer-content p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #cbd5e1;
}

.contact-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.copyright {
    color: #64748b;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
}
/* --- Portfolio Section --- */
.portfolio {
    padding: 100px 5%;
    background-color: var(--bg-light); /* Keeps it consistent with the background */
}

.portfolio-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.portfolio-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.portfolio-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.category-tag {
    background-color: #eff6ff;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.portfolio-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
    flex-grow: 1; /* Pushes the button to the bottom evenly */
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid #e2e8f0;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.portfolio-card:hover .btn-outline {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.instagram-cta {
    text-align: center;
    padding: 50px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.instagram-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}