/* 
   SMILEDENT PREMIUM REDESIGN V2 - "HIGH END"
   Concept: Spacious, Elegant, 80% Width, Modern Typography.
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors - Deep & Executive */
    --primary: #0F4C75;
    /* Deep Navy Blue - Trust & Stability */
    --primary-light: #3282B8;
    /* Lighter Blue - Accents */
    --primary-soft: #BBE1FA;
    /* Very Light Blue - Backgrounds */
    --accent: #E94560;
    /* Muted Red/Coral - Calls to Action (Spceific pop) */

    /* Neutrals */
    --text-dark: #1A1A2D;
    /* Almost Black */
    --text-body: #4A4A6A;
    /* Readable Gray */
    --bg-body: #FDFDFD;
    /* Pure clean white/off-white */
    --bg-surface: #FFFFFF;
    --border-light: #EAEAEA;

    /* Spacing & Layout */
    --container-width: 80%;
    /* REQUESTED 80% */
    --max-width: 1600px;
    /* Cap it on ultra-wide */
    --header-height: 100px;

    /* Effects */
    --shadow-card: 0 20px 40px -10px rgba(15, 76, 117, 0.08);
    --shadow-hover: 0 30px 60px -12px rgba(15, 76, 117, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);

    /* 3D Settings */
    --perspective: 1000px;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }

    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
}

@keyframes spin-soft {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

/* 3D Tilt Utilities */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(var(--perspective));
}

.tilt-content {
    transition: transform 0.1s ease-out;
    /* Super fast for mouse follow */
    transform-style: preserve-3d;
    will-change: transform;
}

/* 3D Element in Hero */
.hero-3d-scene {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.hero-3d-object {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: absolute;
    transform: rotateY(45deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-3d-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--primary-soft), var(--primary));
    box-shadow: inset -10px -10px 30px rgba(0, 0, 0, 0.2), 10px 10px 30px rgba(0, 0, 0, 0.2);
    animation: spin-soft 15s linear infinite;
}

/* --- RESET & TYPOGRAPHY --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

@keyframes backgroundPulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    background-color: #F0F4F8;
    /* Fallback */
}

/* Global Ambient Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 100%),
        radial-gradient(circle at 80% 20%, rgba(50, 130, 184, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(15, 76, 117, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 20% 20%, rgba(187, 225, 250, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(15, 76, 117, 0.1) 0%, transparent 50%);
    filter: blur(100px);
    /* The secret to smooth "glow" without lines */
    -webkit-filter: blur(100px);
    animation: backgroundPulse 20s ease-in-out infinite alternate;
    pointer-events: none;
    opacity: 0.8;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: var(--container-width);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    /* No padding needed if using width % */
}

.section {
    padding: 40px 0;
    /* Reduced from 80px */
    position: relative;
}

.bg-light {
    background-color: transparent;
    /* Remove solid grey to let ambient bg show */
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

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

/* --- COMPONENTS --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(15, 76, 117, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15, 76, 117, 0.3);
    background: var(--primary-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-light);
    /* Lighter border */
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 20px;
    /* Reverted to 20px for better floating look */
    left: 0;
    width: 100%;
    z-index: 1000;
    /* ... */
}

/* ... */
/* --- FOOTER --- */
.footer {
    background: #0B253A;
    /* Deep Navy */
    color: #fff;
    padding: 80px 0 30px;
    /* Reduced from 100px */
    border-top: 5px solid var(--primary-light);
}


/* We make the inner float */
.header-inner {
    background: rgba(255, 255, 255, 0.7);
    /* More transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    padding: 12px 30px;
    /* Reduced padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-top: 0;
    width: 100%;
    /* Ensure full width usage */
}

.logo {
    font-size: 1.4rem;
    /* Slightly smaller */
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    /* Don't shrink logo */
}

.nav-menu {
    display: flex;
    gap: 24px;
    /* Reduced gap from 40px */
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Reduced gap */
    flex-shrink: 0;
}

.phone {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
}

/* --- HERO --- */
.hero {
    padding-top: 200px;
    /* Adjusted top padding */
    padding-bottom: 80px;
    /* Reduced bottom padding */
    background: transparent;
    /* Remove old radial gradient, use global now */
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 30px;
    max-width: 600px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    height: 600px;
    background: rgba(255, 255, 255, 0.4);
    /* Glass */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    /* Soft neumorphic look */
    box-shadow: 20px 20px 60px rgba(50, 130, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- SERVICES (Glassmorphism) --- */
.service-card {
    background: rgba(255, 255, 255, 0.5);
    /* Heavy transparency */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.7);
    border-color: #fff;
    box-shadow: 0 20px 40px rgba(15, 76, 117, 0.1);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-desc {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* --- WHY US (Spotlight & Clay) --- */
.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    /* We will track mouse on this container in JS */
}

.feature-card-spotlight {
    position: relative;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: transparent;
    /* Clean look */
    transition: transform 0.3s ease;
    overflow: hidden;
}

/* The Spotlight Glow */
.feature-card-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
            rgba(50, 130, 184, 0.06),
            transparent 40%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.spotlight-grid:hover .feature-card-spotlight::before {
    opacity: 1;
}

.feature-card-spotlight:hover {
    transform: translateY(-5px);
}

.feature-spotlight-content {
    position: relative;
    z-index: 1;
}

/* Claymorphism Icons (Soft 3D) */
.icon-clay-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    position: relative;
    perspective: 1000px;
}

/* Common Clay Shape */
.clay-shape {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    position: absolute;
    /* The "Clay" Look: Box shadow inset for depth + drop shadow */
    box-shadow:
        inset 4px 4px 10px rgba(255, 255, 255, 0.5),
        inset -4px -4px 10px rgba(0, 0, 0, 0.05),
        20px 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease;
}

.feature-card-spotlight:hover .clay-shape {
    transform: rotateY(0deg) rotateX(0deg) scale(1.1);
}

/* Icon Variations */
.clay-blue {
    background: #3282B8;
    background: linear-gradient(135deg, #3282B8, #0F4C75);
}

.clay-cyan {
    background: #00ADB5;
    background: linear-gradient(135deg, #00ADB5, #393E46);
}

.clay-pink {
    background: #E94560;
    background: linear-gradient(135deg, #FF9A9E, #FECFEF);
    color: #333;
    /* Darker icon for light bg */
}

.clay-green {
    background: #10B981;
    background: linear-gradient(135deg, #10B981, #059669);
}

.feature-card-spotlight h3 {
    margin-bottom: 12px;
}

/* --- DOCTORS --- */
.doctor-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    /* Added border */
}

.doctor-card:hover {
    transform: translateY(-10px);
    /* Better hover */
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-soft);
}

.doctor-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    background: #dcebf7;
    /* Fallback */
}

.doctor-info {
    padding: 30px;
}

.doctor-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.doctor-spec {
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- PRICES --- */
.price-category {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin-bottom: 10px;
    /* Reduced to 10px as requested */
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.price-header {
    padding: 24px 40px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-list {
    background: #FBFCFE;
    display: none;
    /* JS toggles active */
}

.price-list.active {
    display: block;
}

.price-row {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    color: var(--text-dark);
}

/* --- PROMO --- */
.promo-card {
    background: linear-gradient(135deg, var(--primary) 0%, #082d46 100%);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    color: white;
    text-align: center;
    box-shadow: 0 40px 80px -20px rgba(15, 76, 117, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Abstract shape */
.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.promo-card h2 {
    color: white;
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.promo-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
}

.promo-card .btn {
    background: white;
    color: var(--primary);
    padding: 20px 40px;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.promo-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: #f8fcfd;
}

.timer {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.08);
    /* Glass effect backing */
    padding: 20px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.timer-unit span {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.timer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 8px;
}

/* --- STEPS (Process) --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.step-item {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-soft);
}

.step-item::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: #F0F4F8;
    /* Very subtle number */
    z-index: 0;
    line-height: 1;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.step-item h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step-item p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin: 0;
}

/* --- FAQ --- */
/* Card style for FAQ */
/* --- FAQ --- */
/* Card style for FAQ */
.faq-grid {
    /* max-width removed to fill 80% container */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0 30px;
    transition: all 0.3s;
    box-shadow: var(--shadow-card);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.faq-question {
    padding: 24px 0;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-question span {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-bottom: 30px;
    color: var(--text-body);
    line-height: 1.6;
}

.faq-answer.show {
    display: block;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}


/* --- CONTACTS --- */
.contact-card {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    height: 100%;
}

.contact-item {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-body);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.map-container {
    height: 100%;
    min-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    background: #EAF2F8;
    position: relative;
}

/* --- FOOTER --- */
.footer {
    background: #0B253A;
    /* Deep Navy */
    color: #fff;
    padding: 100px 0 40px;
    border-top: 5px solid var(--primary-light);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

/* --- MODALS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 76, 117, 0.8);
    /* Blue tint overlay */
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal-container {
    background: #fff;
    padding: 50px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-hover);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

/* Forms */
input,
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    background: #F4F7F9;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    color: var(--text-dark);
}

input:focus,
select:focus,
textarea:focus {
    background: #fff;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(50, 130, 184, 0.1);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--text-dark);
    color: white;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(150px);
    transition: transform 0.4s var(--ease-out);
    z-index: 3000;
    font-weight: 600;
}

.toast.show {
    transform: translateY(0);
}

.toast.success {
    background: #10B981;
}

.toast.error {
    background: #EF4444;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 76, 117, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 900;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* --- RESPONSIVE --- */
@media (max-width: 1350px) {
    .nav-menu {
        display: none;
    }

    /* Hide menu earlier on smaller laptops */
    .mobile-toggle {
        display: flex;
    }

    .header-right .btn {
        display: none;
    }

    /* Hide button, keep only icon/phone or hamburger */
    .header-inner {
        padding: 12px 20px;
    }
}

@media (max-width: 1024px) {
    :root {
        --container-width: 90%;
    }

    h1 {
        font-size: 3rem;
    }

    .hero {
        padding-top: 160px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 12px 24px;
    }

    .nav-menu {
        position: fixed;
        top: 100px;
        left: 5%;
        width: 90%;
        background: #fff;
        flex-direction: column;
        padding: 40px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-hover);
        display: none;
        gap: 20px;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-right .btn,
    .header-right .phone {
        display: none;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-actions {
        justify-content: center;
    }

    .section-title {
        text-align: center;
    }

    .steps-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        /* Full width buttons on mobile */
    }
}

/* --- FINAL CTA CARD (Premium with Animation) --- */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatDecor {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.final-cta-card {
    background: linear-gradient(-45deg, var(--primary), #082d46, #0A3D62, var(--primary));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(15, 76, 117, 0.25);
    gap: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.final-cta-content {
    flex: 1;
    z-index: 2;
    max-width: 600px;
}

.final-cta-content h2 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.final-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.6;
}

/* --- INLINE FORM STYLES --- */
.final-cta-form-wrapper {
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.final-cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group-inline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-premium {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}

.input-premium::placeholder {
    color: #999;
    font-weight: 400;
}

.input-premium:focus {
    background: #fff;
    border-color: var(--primary-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    border: 2px solid #fff;
}

.btn-white:hover {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-agreement {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.4;
    margin-top: 8px;
}

.form-agreement a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.form-agreement a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* Decorative Elements */
.final-cta-decor {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: floatDecor 20s ease-in-out infinite;
}

.final-cta-card::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: floatDecor 15s ease-in-out infinite reverse;
}

@media (max-width: 900px) {
    .final-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 40px;
    }

    .final-cta-content h2 {
        font-size: 2rem;
    }

    .final-cta-form-wrapper {
        max-width: 100%;
        padding: 24px;
    }
}