/* ==========================================================================
   ESDD - Design System & Custom Stylesheet
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    /* Colors */
    --color-primary: #100d3c;
    /* Deep midnight navy */
    --color-primary-light: #1b145c;
    /* Lighter indigo navy */
    --color-secondary: #f2b85c;
    /* Honey gold */
    --color-accent: #d97706;
    /* Warm amber gold */
    --color-accent-hover: #b45309;
    /* Darker amber gold */
    --color-bg-light: #f5f6fa;
    /* Soft navy-tinted off-white */
    --color-card-bg: #ffffff;

    /* Text Colors */
    --text-main: #0f172a;
    /* Near black */
    --text-muted: #4b5563;
    /* Cool grey */
    --text-light: #f8fafc;
    /* Off-white */

    /* Semantic Colors (inspired by the C.R.E.I.A lion mane) */
    --color-teal: #1495a6;
    /* Lion mane teal */
    --color-navy: #1e40af;
    /* Lion mane blue */
    --color-gold: #f59e0b;
    /* Lion mane gold */
    --color-orange: #e84521;
    /* Lion mane red-orange */

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
    --shadow-glow: 0 15px 30px rgba(242, 184, 92, 0.18);

    /* Borders & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --border-subtle: 1px solid rgba(226, 232, 240, 0.8);
}

/* Base Styles & Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* Typography Utility */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

h4 {
    font-size: 1.2rem;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

strong {
    font-weight: 600;
    color: var(--color-secondary);
}

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

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

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

.w-full {
    width: 100%;
}

/* Sections Base */
section {
    padding: 6rem 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    background-color: rgba(242, 184, 92, 0.12);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
}

.section-tag.tag-light {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}

.section-title {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title h2 {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(242, 184, 92, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px stroke var(--color-primary);
    box-shadow: inset 0 0 0 2px var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Main Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(248, 250, 250, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Navigation Links */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-external {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }
}

/* Burger Menu Toggle */
.burger-menu {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1100;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    left: 0;
    transition: var(--transition-smooth);
}

.burger-menu span:nth-child(1) {
    top: 0;
}

.burger-menu span:nth-child(2) {
    top: 9px;
}

.burger-menu span:nth-child(3) {
    top: 18px;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 992px) {
    .burger-menu {
        display: none;
    }
}

/* Mobile Slide-out Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1050;
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    transition: var(--transition-smooth);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.drawer-close {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.mobile-nav a:hover {
    color: var(--color-accent);
}

.drawer-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 1020;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero-section {
    padding-top: 9rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 90% 10%, rgba(242, 184, 92, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(20, 149, 166, 0.04) 0%, transparent 40%);
}

/* ─── Hero Banner (Full-Width Image + Overlay) ─────────────────────── */
.hero-banner-section {
    padding: 0;
    min-height: clamp(320px, 70vw, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: brightness(0.9) saturate(1.1);
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 8, 50, 0.68) 0%,
        rgba(16, 13, 60, 0.60) 50%,
        rgba(10, 8, 50, 0.72) 100%
    );
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    padding-bottom: 4rem;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.hero-banner-content .hero-tag {
    color: var(--color-secondary);
    background-color: rgba(242, 184, 92, 0.18);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-banner-content h1 {
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-banner-content h1 span {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ffdb6e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-banner-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    margin: 0 auto 2rem;
    max-width: 620px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-banner-content p strong {
    color: #ffffff;
}

.hero-banner-content .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.hero-banner-content .hero-actions .btn {
    width: 100%;
}

.hero-banner-content .btn-outline {
    color: #ffffff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.hero-banner-content .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: inset 0 0 0 2px #ffffff;
}

@media (min-width: 768px) {
    .hero-banner-section {
        min-height: clamp(600px, 85vh, 1000px);
    }

    .hero-banner-content {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .hero-banner-content p {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
    }

    .hero-banner-content .hero-actions {
        flex-direction: row;
        max-width: none;
    }

    .hero-banner-content .hero-actions .btn {
        width: auto;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-tag {
    display: inline-block;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.image-wrapper {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    position: relative;
    z-index: 2;
}

.premium-shadow {
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.blob-accent-1 {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(242, 184, 92, 0.15) 0%, transparent 60%);
    z-index: 0;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-float 12s infinite ease-in-out;
}

.blob-accent-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(20, 149, 166, 0.12) 0%, transparent 60%);
    z-index: 1;
    border-radius: 50% 30% 20% 50% / 50% 40% 60% 30%;
    animation: blob-float 18s infinite ease-in-out reverse;
}

@keyframes blob-float {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-15px) rotate(90deg) scale(1.05);
    }

    100% {
        transform: translateY(0px) rotate(360deg) scale(1);
    }
}

/* Audience Section */
.audience-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 576px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.audience-card {
    background-color: var(--color-bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: var(--border-subtle);
    transition: var(--transition-smooth);
    position: relative;
    top: 0;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: var(--transition-smooth);
}

.audience-card:hover {
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    top: -8px;
    border-color: rgba(226, 232, 240, 0.2);
}

.audience-card:hover::before {
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.icon-cyan {
    background-color: rgba(20, 149, 166, 0.08);
    color: var(--color-teal);
}

.icon-orange {
    background-color: rgba(232, 69, 33, 0.08);
    color: var(--color-orange);
}

.icon-navy {
    background-color: rgba(30, 64, 175, 0.08);
    color: var(--color-navy);
}

.audience-card h3 {
    margin-bottom: 0.75rem;
}

/* About Us Section */
.about-section {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.03) 0%, transparent 35%);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-accent);
    border-left: 3px solid var(--color-accent);
    padding-left: 1.25rem;
    margin-top: 2rem;
}

.about-highlights {
    background-color: var(--color-card-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    box-shadow: var(--shadow-md);
}

.about-highlights h3 {
    margin-bottom: 2rem;
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bullet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--color-teal);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.highlight-list strong {
    display: block;
    margin-bottom: 0.15rem;
}

/* Courses & Swiper Carousel Section */
.courses-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 6rem;
}

.slider-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    padding: 1.5rem 0.5rem;
    scroll-behavior: smooth;
}

.slider-container::-webkit-scrollbar {
    display: none;
    /* Safari & Chrome */
}

.slide-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

@media (min-width: 768px) {
    .slide-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .slide-card {
        flex: 0 0 calc(33.333% - 1.333rem);
    }
}

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

.slide-image-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 2rem;
    position: relative;
}

.slide-image-placeholder svg {
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.slide-image-placeholder h3 {
    font-size: 1.4rem;
    color: #ffffff;
}

.color-teal {
    background: linear-gradient(135deg, var(--color-teal) 0%, #0d9488 100%);
}

.color-orange {
    background: linear-gradient(135deg, var(--color-orange) 0%, #b82c14 100%);
}

.color-navy {
    background: linear-gradient(135deg, var(--color-navy) 0%, #1d4ed8 100%);
}

.color-gold {
    background: linear-gradient(135deg, var(--color-gold) 0%, #d97706 100%);
}

.slide-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.slide-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.slide-content h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.slide-content p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.slide-content .btn {
    align-self: flex-start;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.slider-arrow {
    background-color: var(--color-primary);
    color: #ffffff;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background-color: var(--color-accent);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: rgba(226, 232, 240, 1.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    width: 24px;
    background-color: var(--color-accent);
}

/* Courses Perks / Vantagens */
.courses-perks {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .perks-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.perk-item {
    background: var(--color-bg-light);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.perk-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.perk-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.perk-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.perk-item p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Platforms Section */
.platforms-sub-section {

    margin-top: 6rem;
    padding-top: 6rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.platforms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
}

@media (min-width: 768px) {
    .platforms-grid {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
    }
    .platforms-grid .platform-card {
        max-width: 480px;
        width: 100%;
    }
}

.platform-card {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    padding: 3rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: #ffffff;
}

.platform-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-teal);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.platform-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.platform-card p {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.platform-card .btn {
    align-self: flex-start;
}

/* Certifications Section */
.certifications-section {
    background-color: var(--color-primary);
    color: #ffffff;
    overflow: hidden;
}

.certifications-section h2 {
    color: #ffffff;
}

.certifications-text p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .certifications-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cert-item {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.cert-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.cert-check {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background-color: rgba(234, 29, 118, 0.15);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.cert-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cert-item p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}



/* App Showcase Section */
.app-section {
    background-color: var(--color-primary);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.app-section h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.app-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.app-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.app-mockup-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 3rem;
}

.store-badge {
    background-color: #ffffff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-badge:hover {
    transform: translateY(-2px);
    background-color: var(--color-bg-light);
    box-shadow: var(--shadow-md);
}

.store-logo {
    font-size: 1.8rem;
    line-height: 1;
}

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

.store-text small {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.store-text strong {
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Footer & Legal */
.main-footer {
    background-color: #0c101c;
    color: #94a3b8;
    padding-top: 5rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo-brand {
    color: #ffffff;
}

.footer-brand p {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #475569;
}

/* Floating WhatsApp Animation Ring */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px);
}

.whatsapp-float svg {
    display: block;
}

.pulse-ring {
    content: '';
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: var(--radius-full);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    animation: ring-pulse 2s infinite;
}

@keyframes ring-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Scroll-based Animations (Triggered via IntersectionObserver) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAV FREE GUIDE HIGHLIGHT ===== */
.nav-free-guide {
    color: var(--color-teal) !important;
    font-weight: 700 !important;
    background-color: rgba(20, 149, 166, 0.08);
    padding: 0.3rem 0.85rem !important;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(20, 149, 166, 0.3);
    transition: var(--transition-smooth);
}

.nav-free-guide:hover {
    background-color: var(--color-teal) !important;
    color: #fff !important;
    border-color: var(--color-teal) !important;
}

/* ===== LEAD CAPTURE SECTION ===== */
.lead-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 60%, #1a2a6c 100%);
    position: relative;
    overflow: hidden;
}

.lead-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(20, 149, 166, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(242, 184, 92, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.lead-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.lead-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(20, 149, 166, 0.2);
    border: 1.5px solid rgba(20, 149, 166, 0.5);
    color: #5de0ec;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.lead-inner h2 {
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.lead-highlight {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Lead Benefits Row */
.lead-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 0.45rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.benefit-icon {
    font-size: 1rem;
}

/* Lead Form */
.lead-form {
    background-color: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: color 0.3s;
}

.input-wrapper:focus-within .input-icon {
    color: var(--color-secondary);
}

.lead-form input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.9rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.lead-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.lead-form input:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(242, 184, 92, 0.15);
}

.lead-form input.input-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.field-error {
    display: block;
    color: #fca5a5;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    min-height: 1rem;
    font-family: var(--font-heading);
}

/* Lead Submit Button */
.btn-lead {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    gap: 0.6rem;
    margin-top: 0.5rem;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
    transition: var(--transition-smooth);
}

.btn-lead:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(217, 119, 6, 0.45);
}

.btn-lead:active {
    transform: translateY(0);
}

.btn-label,
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 0.9s linear infinite;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1.25rem;
    text-align: center;
}

/* ===== PDF REWARD MODAL ===== */
.reward-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 10, 30, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.reward-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.reward-modal {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    max-width: 460px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(10, 10, 30, 0.35);
    transform: scale(0.88) translateY(20px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.reward-modal-overlay.active .reward-modal {
    transform: scale(1) translateY(0);
}

/* Animated check icon */
.reward-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.reward-icon-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(20, 149, 166, 0.08);
    animation: reward-ring 1.5s ease-out forwards;
}

@keyframes reward-ring {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.reward-check {
    position: relative;
    z-index: 1;
}

.check-path {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: draw-check 0.6s ease-out 0.3s forwards;
}

@keyframes draw-check {
    to {
        stroke-dashoffset: 0;
    }
}

.reward-modal h3 {
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
}

.reward-name {
    color: var(--color-teal);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.reward-modal>p:last-of-type {
    font-size: 0.97rem;
    margin-bottom: 2rem;
}

.reward-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.reward-cta .btn {
    flex: 1;
    min-width: 140px;
    gap: 0.5rem;
}

/* Confetti particles */
.reward-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    top: -10px;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(500px) rotate(720deg);
        opacity: 0;
    }
}

/* ==========================================================================
   Google Reviews Section
   ========================================================================== */

.google-reviews-section {
    margin-top: 3rem;
    padding: 2.5rem 0 0.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.google-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.google-reviews-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.google-reviews-score {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.score-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.score-stars {
    font-size: 1rem;
    color: #fbbc05;
    letter-spacing: 1px;
    margin: 2px 0;
}

.score-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.google-reviews-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4285F4;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1.5px solid #4285F4;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.google-reviews-link:hover {
    background-color: #4285F4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(66, 133, 244, 0.25);
}

.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.google-review-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
}

.google-review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(16, 13, 60, 0.05);
    line-height: 1;
    pointer-events: none;
}

.google-review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(66, 133, 244, 0.2);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: #ffffff;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.reviewer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.reviewer-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.google-g-icon {
    flex-shrink: 0;
    opacity: 0.85;
}

.review-stars {
    font-size: 1rem;
    color: #fbbc05;
    letter-spacing: 1px;
}

.review-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.review-text strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Responsive - Google Reviews */
@media (max-width: 900px) {
    .google-reviews-grid {
        grid-template-columns: 1fr;
    }

    .google-reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .google-reviews-section {
        padding: 1.5rem 0 0;
    }

    .google-review-card {
        padding: 1.1rem 1.1rem;
    }
}