/**
 * Schoogine Landing Page Styles
 * Modern, clean design matching auth pages
 */

/* ==== VARIABLES ==== */
:root {
    --header-height: 70px;
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --accent: #f59e0b;
    --success: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);


    /* from global.css */
    --cyan-50: #ecfeff;
    --cyan-100: #cffafe;
    --cyan-200: #a5f3fc;
    --cyan-300: #67e8f9;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --cyan-700: #0e7490;
    --cyan-800: #155e75;
    --cyan-900: #164e63;
    --bg: #f7fbfc;
    --surface: #ffffff;
    --ink: #0b1220;
    --muted: #6b7280;
    --accent: #469de5;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-1: 0 6px 20px rgba(6, 145, 178, 0.08);
    --shadow-2: 0 20px 50px rgba(6, 145, 178, 0.12);
    --container: 100vw;
    --header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: #fff;
    overflow-x: hidden;
}

.bg-body {
    background: var(--gray-50);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==== FIXED WHITE HEADER ==== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 1.5rem;
}

.brand img {
    height: 40px;
    width: auto;
    display: block;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #eaf3f6;
    background: #fff;
    color: var(--ink);
    border-radius: 10px;
    padding: 8px 10px;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease
}

.btn i {
    pointer-events: none
}

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

.btn:active {
    transform: translateY(0)
}

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

.btn-primary:hover {
    background: var(--cyan-700);
    border-color: var(--cyan-700);
    box-shadow: 0 8px 22px rgba(8, 145, 178, .18)
}

.btn-light {
    background: #fff
}

.btn-light:hover {
    background: #f7fdff;
    border-color: #e4f4f8
}

.btn-accent {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
}

.nav-link {
    position: relative;
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Shape Divider (removed from header, now decorative only) */
.shape-divider {
    display: none;
}

/* ==== MEGA MENU ==== */
.has-mega {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 200px);
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    top: 100%;
}

.mega-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mega-link i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.mega-link:hover {
    background: var(--gray-50);
    color: var(--primary);
    transform: translateX(4px);
}

.mega-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: #fff;
}

.mega-cta .mega-title {
    color: #fff;
}

.mega-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ==== HERO SECTION ==== */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.hero-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.plan-badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.plan-badge strong {
    color: var(--primary);
}

.plan-badge span {
    color: var(--accent);
    font-weight: 600;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 3rem;
    transition: all 0.2s ease;
}

.video-link i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.video-link:hover i {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(8, 145, 178, 0.1);
}

.hero-mockups {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 2rem;
}

.device {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.device.laptop {
    position: relative;
    z-index: 1;
}

.device.phone {
    position: absolute;
    width: 200px;
    right: 10%;
    bottom: -30px;
    z-index: 2;
}

/* Hero Shapes */
.hero-shapes .shape {
    position: absolute;
    opacity: 0.4;
    pointer-events: none;
}

.hero-shapes .s1 {
    top: 10%;
    left: 5%;
    width: 60px;
}

.hero-shapes .s2 {
    top: 20%;
    right: 10%;
    width: 80px;
}

.hero-shapes .s3 {
    bottom: 30%;
    left: 10%;
    width: 70px;
}

.hero-shapes .s4 {
    bottom: 20%;
    right: 15%;
    width: 90px;
}

.hero-shapes .s5 {
    top: 50%;
    left: 50%;
    width: 50px;
}

/* Floating Avatars */
.floating-avatars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.avatar {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: var(--shadow-lg);
}

.floating-avatars .avatar:nth-child(1) {
    top: 15%;
    left: 10%;
}

.floating-avatars .avatar:nth-child(2) {
    top: 60%;
    right: 8%;
}

/* ==== SECTIONS ==== */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-primary {
    background: #fff;
}

.center {
    text-align: center;
}

.tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.tag.squared {
    border-radius: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ==== FEATURES ==== */
.features-parity {
    max-width: 1400px;
}

.features-rows {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature-copy h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-copy p {
    color: var(--gray-600);
    line-height: 1.6;
}

.feature-center {
    display: flex;
    justify-content: center;
}

.phone-wrapper {
    position: relative;
    width: 300px;
}

.phone-shot {
    width: 100%;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
}

.badge {
    /* position: absolute; */
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.badge.b1 {
    top: 5%;
    left: -10%;
    animation-delay: 0s;
}

.badge.b2 {
    top: 25%;
    right: -15%;
    background: var(--accent);
    animation-delay: 0.5s;
}

.badge.b3 {
    top: 50%;
    left: -15%;
    background: var(--success);
    animation-delay: 1s;
}

.badge.b4 {
    bottom: 25%;
    right: -10%;
    background: #8b5cf6;
    animation-delay: 1.5s;
}

.badge.b5 {
    bottom: 5%;
    left: -5%;
    background: #ec4899;
    animation-delay: 2s;
}

.badge.b6 {
    top: 75%;
    right: -5%;
    background: #14b8a6;
    animation-delay: 2.5s;
}

/* FAQ */
.faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.faq-item strong {
    color: var(--gray-900);
    display: block;
    margin-bottom: 0.5rem;
}

/* ==== ANIMATIONS ==== */
@keyframes float {

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

    50% {
        transform: translateY(-15px);
    }
}

@keyframes levitate {

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

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

.levitate {
    animation: levitate 4s ease-in-out infinite;
}

.levitate.delay-2 {
    animation-delay: 0.5s;
}

.levitate.delay-4 {
    animation-delay: 1s;
}

.levitate.delay-6 {
    animation-delay: 1.5s;
}

/* AOS Animations */
.aos {
    opacity: 0;
    transition: all 0.6s ease;
}

.aos.aos-animate,
.aos.in {
    opacity: 1;
}

.aos[data-anim="fade-up"] {
    transform: translateY(30px);
}

.aos[data-anim="fade-up"].aos-animate,
.aos[data-anim="fade-up"].in {
    transform: translateY(0);
}

.aos[data-anim="fade-in"] {
    opacity: 0;
}

.aos[data-anim="fade-in"].aos-animate,
.aos[data-anim="fade-in"].in {
    opacity: 1;
}

.aos[data-anim="fade-right"] {
    transform: translateX(-30px);
}

.aos[data-anim="fade-right"].aos-animate,
.aos[data-anim="fade-right"].in {
    transform: translateX(0);
}

.aos[data-anim="fade-left"] {
    transform: translateX(30px);
}

.aos[data-anim="fade-left"].aos-animate,
.aos[data-anim="fade-left"].in {
    transform: translateX(0);
}

.aos[data-anim="zoom-in"] {
    transform: scale(0.8);
    opacity: 0;
}

.aos[data-anim="zoom-in"].aos-animate,
.aos[data-anim="zoom-in"].in {
    transform: scale(1);
    opacity: 1;
}

/* ==== ASSESSMENTS SECTION ==== */
#assessments {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.left-visual,
.right-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-visual img,
.right-visual img {
    width: 100%;
    max-width: 500px;
    border-radius: 1rem;
    /* box-shadow: var(--shadow-xl); */
}

.center {
    text-align: center;
}

.center-media-block {
    position: relative;
    min-height: 0;
}

/* Icon Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.icon-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.icon-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.icon-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.icon-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ==== STATS SECTION ==== */
.section-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 1;
    pointer-events: none;
}

.section-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(6, 182, 212, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.section-dark .section-title,
.section-dark .section-lead {
    color: #fff;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat .num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.right-visual.stacked {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    padding: 2rem;
    perspective: 1000px;
}

.right-visual.stacked img {
    border-radius: 1rem;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),  */
    /* 0 10px 30px rgba(0, 0, 0, 0.2); */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 600px;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    /* background: var(--surface); */
}

.right-visual.stacked img:first-child {
    transform: translateX(-20px) translateY(20px) rotate(-2deg);
    z-index: 1;
}

.right-visual.stacked img:nth-child(2) {
    transform: translateX(20px) translateY(-40px) rotate(2deg);
    z-index: 2;
    margin-top: -80px;
}

.right-visual.stacked img:hover {
    transform: translateY(-10px) scale(1.02) rotate(0deg) !important;
    /* box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4),  */
    /* 0 15px 40px rgba(0, 0, 0, 0.3); */
    /* z-index: 10 !important; */
}

/* ==== TESTIMONIALS SECTION ==== */
#testimonials {
    background: var(--gray-50);
}

.carousel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 2rem 0;
}

.tcard {
    position: absolute;
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 90%;
    opacity: 0;
    transform: scale(0.9) translateX(-50px);
    transition: all 0.5s ease;
    pointer-events: none;
    border: 1px solid var(--gray-200);
}

.tcard.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    pointer-events: all;
    position: relative;
}

.tcard img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin-bottom: 1.5rem;
}

.tcard p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.tcard p::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.tcard .name {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1rem;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dots .dot.active,
.dots .dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* ==== PRICING SECTION ==== */
.cta-banner {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="3" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.4;
}

.cta-banner .section-title,
.cta-banner .section-lead {
    color: #fff;
}

/* Bonus callout in pricing */
.cta-banner .section-lead strong {
    font-weight: 700;
}

.cta-banner .section-lead i {
    margin-right: 0.25rem;
}

.cta-banner .grid {
    gap: 2rem;
}

.cta-banner .right-visual {
    min-height: 0;
}

.cta-banner.section {
    padding: 3rem 0;
}

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.pricing>* {
    width: 100%;
    /* max-width: 450px; */
}

.price-card {
    max-width: 450px;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.price-card.highlight {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1), var(--shadow-xl);
}

.price-card.highlight::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.p-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.p-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.p-price span {
    line-height: 1;
}

.p-price strong {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 600;
    margin-top: 0.5rem;
    width: 100%;
}

.p-desc {
    margin-bottom: 2rem;
}

.p-desc strong {
    display: block;
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.desc-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Only add checkmark if no icon inside */
.desc-feature:not(:has(i))::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

/* Handle inline icons */
.desc-feature i {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.price-card .btn {
    width: 100%;
    justify-content: center;
}

/* ==== CONTACT SECTION ==== */
#contact {
    background: #fff;
}

.contact-tabs {
    margin-top: 2rem;
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 2px solid var(--gray-300);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.tab-panels {
    position: relative;
}

.panel {
    display: none;
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    font-size: 0.9375rem;
    color: var(--gray-700);
}

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

.panel i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

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

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-grid label span {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.form-grid label.full {
    grid-column: 1 / -1;
}

.form-grid label.hidden {
    display: none;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-grid textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 1.5rem;
}

.submit-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    display: none;
}

.submit-status.ok {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.submit-status.err {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* ==== FOOTER ==== */
.site-footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-wrap {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-wrap>div>p {
    line-height: 1.8;
}

.footer-wrap>div>p a {
    transition: color 0.2s ease;
}

.footer-wrap>div>p a:hover {
    color: var(--primary) !important;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.store-btns {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.store-btns img {
    height: 45px;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.store-btns a:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==== BACK TO TOP BUTTON ==== */
#backtotop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

#backtotop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backtotop:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==== VIDEO MODAL ==== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-inner {
    position: relative;
    max-width: 900px;
    width: 90%;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body img {
    width: 100%;
    border-radius: 1rem;
}

/* ==== HEADER SCROLL STATE ==== */
.site-header.stuck {
    box-shadow: var(--shadow-lg);
}

/* Prevent body scroll when mobile nav is open */
body.no-scroll {
    overflow: hidden;
}

/* Add an overlay for mobile nav */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.6);
    /* --gray-900 with opacity */
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    backdrop-filter: blur(4px);
}

body.no-scroll::after {
    opacity: 1;
    visibility: visible;
    z-index: 20;
}


/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
        /* Above the nav panel */
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 90vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + 1rem) 1.5rem 2rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        gap: 0;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 0.5rem;
        font-size: 1.05rem;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: auto;
        padding-top: 1rem;
    }

    .nav-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    /* Mobile Mega Menu */
    .has-mega>.nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .has-mega>.nav-link::after {
        content: '\f078';
        /* Font Awesome chevron down */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
        padding: 0.5rem;
    }

    .has-mega.open>.nav-link {
        color: var(--primary);
    }

    .has-mega.open>.nav-link::after {
        transform: rotate(180deg);
    }

    .mega-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        display: none;
        /* Hidden by default */
        grid-template-columns: 1fr;
        width: 100%;
        border-left: 2px solid var(--gray-100);
        margin-top: 0.5rem;
        gap: 0.5rem;
    }

    .has-mega.open .mega-menu {
        /* display: grid; */
    }

    .mega-col {
        gap: 0.25rem;
    }

    .mega-title {
        font-size: 0.8rem;
        color: var(--gray-600);
        margin-bottom: 0.25rem;
    }

    .mega-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .mega-cta {
        display: none;
        /* Hide CTA block in mobile nav */
    }

    /* Other responsive adjustments */
    .mega-menu {
        grid-template-columns: repeat(2, 200px);
    }

    .features-rows {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-center {
        order: -1;
    }

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

    .icon-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 2rem) 0 2rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .device.phone {
        width: 150px;
        bottom: -20px;
    }

    .section {
        padding: 3rem 0;
    }

    .grid-2 {
        gap: 2rem;
    }

    .left-visual img,
    .right-visual img {
        max-width: 100%;
    }

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

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

    .stat .num {
        font-size: 2.5rem;
    }

    .right-visual.stacked {
        padding: 1rem;
    }

    .right-visual.stacked img:first-child {
        transform: translateX(-10px) translateY(10px) rotate(-1deg);
    }

    .right-visual.stacked img:nth-child(2) {
        transform: translateX(10px) translateY(-30px) rotate(1deg);
        margin-top: -60px;
    }

    .carousel {
        min-height: 350px;
    }

    .tcard {
        padding: 2rem 1.5rem;
    }

    .tcard p::before {
        font-size: 3rem;
        top: -15px;
    }

    .price-card {
        padding: 2rem 1.5rem;
    }

    .cta-banner .section-lead {
        font-size: 1rem;
    }

    .p-price {
        font-size: 1.5rem;
    }

    .p-title {
        font-size: 1.25rem;
        flex-wrap: wrap;
    }

    .tabs {
        flex-direction: column;
    }

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

    .contact-form {
        padding: 1.5rem;
    }

    .footer-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #backtotop {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .has-mega.open .mega-menu {
        /* visibility: hidden !important; */
        display: none !important;
    }
}

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

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

    .device.phone {
        display: none;
    }

    .badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .avatar {
        width: 60px;
        height: 60px;
    }

}