/* =========================================
   VARIABLES & DESIGN SYSTEM
   ========================================= */
:root {
    /* Colors */
    --clr-primary-900: #0f172a; /* Darkest Slate */
    --clr-primary-800: #1e293b; /* Dark Slate */
    --clr-primary-600: #334155;
    
    --clr-accent-dark: #0d9488; /* Teal */
    --clr-accent: #14b8a6;
    --clr-accent-light: #5eead4;
    
    --clr-blue-brand: #2563eb;
    --clr-blue-light: #60a5fa;

    --clr-background: #f8fafc;
    --clr-surface: #ffffff;
    --clr-surface-glass: rgba(255, 255, 255, 0.7);
    --clr-surface-glass-border: rgba(255, 255, 255, 0.5);
    
    --clr-text-main: #334155;
    --clr-text-muted: #64748b;

    /* WhatsApp Brand Color */
    --clr-whatsapp: #25D366;
    --clr-whatsapp-dark: #128C7E;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(20, 184, 166, 0.5);

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-12: 6rem;
    --space-16: 8rem;

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--clr-text-main);
    background-color: var(--clr-background);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--clr-primary-900);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.section-padding {
    padding: var(--space-12) 0;
}

.bg-light {
    background-color: var(--clr-surface);
}

.text-primary {
    color: var(--clr-accent-dark);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--clr-accent-dark), var(--clr-blue-brand));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.relative {
    position: relative;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--clr-whatsapp);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39);
}

.btn-primary:hover {
    background-color: var(--clr-whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--clr-accent-dark);
    border: 2px solid var(--clr-accent-dark);
}

.btn-primary-outline:hover {
    background-color: var(--clr-accent-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--clr-surface);
    color: var(--clr-primary-900);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-background);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

.btn-glow {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
    }
    to {
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.8), 0 0 30px rgba(37, 211, 102, 0.4);
    }
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-blue-brand));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--clr-primary-900);
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--clr-text-muted);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary-outline) {
    font-weight: 500;
    color: var(--clr-primary-600);
    position: relative;
}

.nav-links a:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary-outline):hover::after,
.nav-links a:not(.btn-primary-outline).active::after {
    width: 100%;
}

.nav-links a:not(.btn-primary-outline):hover,
.nav-links a.active {
    color: var(--clr-accent-dark);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-primary-900);
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-surface);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    transform: translateY(-10px);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-content .mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-primary-900);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: calc(80px + var(--space-12)) 0 var(--space-12);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #f0fdfa 0%, var(--clr-background) 100%);
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.sphere-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--clr-accent-light);
    animation: float 10s ease-in-out infinite;
}

.sphere-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #bfdbfe; /* soft blue */
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(10deg); }
    66% { transform: translate(-20px, 20px) rotate(-10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-8);
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--clr-accent-dark);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-6);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--space-8);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--clr-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
}

.stat-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-primary-800);
}

/* Glass Card styles */
.glass-card {
    background: var(--clr-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--clr-surface-glass-border);
    border-radius: 24px;
    padding: var(--space-6);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--clr-accent), var(--clr-blue-brand));
}

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.pricing-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.pricing-header p {
    color: var(--clr-text-muted);
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    color: var(--clr-primary-900);
    margin: var(--space-2) 0;
}

.pricing-amount .currency {
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

.pricing-amount .amount {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: var(--space-4) 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--clr-primary-800);
}

.pricing-features li i {
    color: var(--clr-accent);
    font-size: 1.25rem;
}

/* =========================================
   PROFILE SECTION
   ========================================= */
.profile-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-accent-dark);
    margin-bottom: var(--space-2);
}

.profile-text h3 {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.profile-text p {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-4);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.1);
    color: var(--clr-accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-info-item:hover .icon-circle {
    background: var(--clr-accent);
    color: white;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.info-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--clr-primary-900);
}

.profile-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(37, 99, 235, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morph 8s ease-in-out infinite;
    position: relative;
}

.abstract-shape::after {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    border: 2px dashed rgba(20, 184, 166, 0.5);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    animation: morph 12s ease-in-out infinite reverse;
    z-index: 0;
}

.profile-image {
    width: 85%;
    height: 85%;
    object-fit: cover;
    z-index: 1;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 10s ease-in-out infinite alternate;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(10deg); }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    position: relative;
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--clr-primary-900), var(--clr-primary-800));
    color: white;
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.cta-title {
    color: white;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

.cta-button-group {
    display: flex;
    justify-content: center;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--clr-surface);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: var(--space-12) 0 var(--space-4);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-desc {
    color: var(--clr-text-muted);
    margin-top: var(--space-4);
    max-width: 400px;
}

.footer-contact h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-4);
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--clr-accent-dark);
}

.footer-link i {
    font-size: 1.25rem;
    color: var(--clr-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: var(--space-4);
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.875rem;
}

/* =========================================
   ANIMATIONS & UTILITIES
   ========================================= */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.in-view {
    opacity: 1;
    transform: translate(0);
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    .hero-container, .profile-container, .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .pricing-card {
        transform: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .abstract-shape {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        width: calc(50% - 0.5rem);
    }
    
    .pricing-amount .amount {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .stat-item {
        width: 100%;
        justify-content: center;
    }
    
    .cta-button-group {
        flex-direction: column;
        gap: 1rem;
    }
}
