@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #0F172A;
    --primary-light: #1E293B;
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Layout */
    --max-width: 1400px;
    /* Increased from 1200px */
    --section-padding: 80px 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Layout */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    border-radius: 0 0 40px 40px;
    /* transform: translateY(0); Removed to prevent stacking context bugs */
}

header.header-hidden {
    transform: translateY(-100%);
    background: transparent;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Ensure dropdown menu positions correctly below it */
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1px;
}

.accent-text {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    margin-top: 0;
    overflow: hidden;
}

.hero .container {
    padding-top: 30px;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 15px;
    /* Reduced from 20px */
    display: block;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    /* Slightly smaller max size to ensure fit */
    margin-bottom: 15px;
    /* Reduced from 24px */
    line-height: 1.1;
    z-index: 10;
}

.hero p {
    font-size: 1.15rem;
    /* Slightly smaller text */
    color: var(--text-muted);
    margin-bottom: 30px;
    /* Reduced from 40px */
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-bg-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 80%;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
    border-radius: 40px;
    z-index: 1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

@media (max-width: 992px) {
    .hero-bg-visual {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Responsive utilities below */

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--glass-border);
    border-color: var(--text-main);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    z-index: -1;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* Benefit List in Cards */
.benefit-list {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.benefit-list li i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* Benefit Items (Eeuugo style row) */
.benefits-row {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-item {
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.benefit-item h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Form Grid */
.form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Layout Containers */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

/* Responsive Grid/Flex */
.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* Testimonials Grid */
.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    flex-grow: 1;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 15px;
    display: block;
}

.testimonial-content p {
    font-size: 1rem;
    color: var(--text-main);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

.author-avatar i {
    font-size: 2.5rem;
    color: var(--accent);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
        color: var(--text-main);
        z-index: 1001;
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid var(--glass-border);
        /* 100% visibility toggle */
        display: none;
    }

    .nav-links.active {
        display: flex;
        animation: fadeInDown 0.3s ease-out forwards;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
        height: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typewriter Cursor */
.cursor {
    display: inline-block;
    color: var(--text-main);
    font-weight: 300;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}