/* Erexa - School Management SaaS Landing Page CSS */
/* Brand Colors: Primary #4f46e5, Secondary #10b981 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Brand Colors */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --primary-glow: rgba(79, 70, 229, 0.3);

    --secondary: #10b981;
    --secondary-light: #34d399;
    --secondary-dark: #059669;
    --secondary-glow: rgba(16, 185, 129, 0.3);

    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    --gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px var(--primary-glow);
    --shadow-glow-secondary: 0 0 40px var(--secondary-glow);
    --shadow-3d: 0 20px 40px -15px rgba(79, 70, 229, 0.3);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --section-padding: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-green {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-hero-outline {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
    border: 2px solid rgba(79, 70, 229, 0.3);
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(79, 70, 229, 0.3);
}

.btn-outline-primary:hover {
    background: rgba(79, 70, 229, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-secondary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.btn-ghost-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}



/* ===== LOGO ===== */
/* ===== LOGO WRAPPER ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* ===== LOGO IMAGE ===== */
.logo-icon,
.logo-img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

/* subtle hover effect */
.logo:hover .logo-img {
    transform: scale(1.05);
}

/* ===== TEXT BLOCK ===== */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    gap: 4px;
}

/* Brand name */
.logo-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;

    /* Keep theme color */
    color: var(--gray-900);

    position: relative;
    transition: all 0.3s ease;
}

.logo-name::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    border-radius: 999px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

/* Hover underline animation */
.logo:hover .logo-name::after {
    width: 100%;
}

/* Hover color shift within theme */
.logo:hover .logo-name {
    color: var(--primary);
}

/* ==
/* Tagline */
.logo-tagline {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gray-500);
}

@media (max-width: 768px) {

    .logo-icon,
    .logo-img {
        width: 38px;
        height: 38px;
    }

    .logo-name {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {

    .logo-name {
        font-size: 1.1rem;
    }
}

/* ===== NAV LINKS ===== */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== CTA ===== */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===== MOBILE ===== */
.mobile-menu-btn {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        background: var(--gray-800);
        border-radius: 999px;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 8rem);
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(16, 185, 129, 0.03) 50%, rgba(79, 70, 229, 0.02) 100%);
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse-glow 8s ease-in-out infinite;
}

.hero-orb-1 {
    top: 5rem;
    left: 5%;
    width: 24rem;
    height: 24rem;
    background: rgba(79, 70, 229, 0.2);
}

.hero-orb-2 {
    bottom: 10%;
    right: 5%;
    width: 20rem;
    height: 20rem;
    background: rgba(16, 185, 129, 0.15);
    animation-delay: 2s;
}

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 32rem;
    margin-bottom: 2rem;
}

.hero-description strong {
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-highlights {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.70rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all var(--transition-base);
}

.highlight-item:hover {
    color: var(--primary);
}

.highlight-icon {
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-highlights {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Hero Image */
.hero-image {
    position: relative;
    perspective: 1000px;
}

.hero-image-wrapper {
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.hero-3d-card {
    position: relative;
    min-height: 440px;
    transform: rotateY(-4deg) rotateX(4deg);
    transition: transform var(--transition-slow);
}

.hero-3d-card:hover {
    transform: rotateY(0) rotateX(0);
}

.ai-interaction-stage {
    position: relative;
    min-height: 440px;
    border-radius: 2rem;
    background:
        radial-gradient(circle at center, rgba(79, 70, 229, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.1), transparent 30%);
    overflow: hidden;
    padding: 1rem;
}

.interaction-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 48%, transparent 90%);
}

.interaction-line {
    position: absolute;
    height: 2px;
    transform-origin: left center;
    border-radius: 999px;
    overflow: hidden;
}

.interaction-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.9), rgba(16, 185, 129, 0.8), transparent);
    background-size: 200% 100%;
    animation: signal-flow 3s linear infinite;
}

.interaction-line-student {
    width: 140px;
    top: 164px;
    left: 124px;
    transform: rotate(38deg);
}

.interaction-line-teacher {
    width: 140px;
    top: 164px;
    right: 122px;
    transform: rotate(-38deg);
    transform-origin: right center;
}

.interaction-line-loop {
    width: 180px;
    top: 292px;
    left: 50%;
    opacity: 0.35;
    transform: translateX(-50%);
}

.interaction-node {
    position: absolute;
}

.interaction-node-ai {
    top: 61%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
}

.interaction-core {
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    background: var(--gradient-primary);
    box-shadow: 0 24px 45px rgba(79, 70, 229, 0.28);
    z-index: 2;
    animation: core-float 4.5s ease-in-out infinite;
}

.interaction-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(79, 70, 229, 0.16);
}

.interaction-ring-1 {
    animation: spin-slow 16s linear infinite;
}

.interaction-ring-2 {
    inset: 14px;
    border-color: rgba(16, 185, 129, 0.18);
    animation: spin-slow 10s linear infinite reverse;
}

.interaction-label {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 170px;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.interaction-label strong,
.interaction-chip strong {
    display: block;
    font-size: 0.88rem;
    color: var(--gray-900);
}

.interaction-label span,
.interaction-chip span {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--gray-500);
}

.interaction-node-student {
    top: 86px;
    left: 24px;
    animation: message-float 5s ease-in-out infinite;
}

.interaction-node-teacher {
    top: 86px;
    right: 24px;
    animation: message-float 5s ease-in-out infinite 1s;
}

.interaction-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.7rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.interaction-avatar.student {
    background: linear-gradient(135deg, #f59e0b, #fb7185);
}

.interaction-avatar.teacher {
    background: linear-gradient(135deg, #10b981, #0f766e);
}

.interaction-chip {
    margin-top: 0.75rem;
    width: 170px;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.interaction-pulse {
    position: absolute;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35);
    animation: ping-soft 2s ease-out infinite;
}

.interaction-pulse-1 {
    top: 190px;
    left: 222px;
}

.interaction-pulse-2 {
    top: 190px;
    right: 220px;
    animation-delay: 1s;
}

.interaction-message {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 260px;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    color: var(--gray-700);
    font-size: 0.86rem;
    line-height: 1.45;
}

.interaction-message-top {
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
}

.interaction-message-bottom {
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
}

.interaction-message-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(16, 185, 129, 0.14));
    color: var(--primary);
    flex-shrink: 0;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: float-card 4s ease-in-out infinite;
}

.floating-card-1 {
    top: -1rem;
    right: -1rem;
}

.floating-card-2 {
    bottom: 2rem;
    left: -1.5rem;
    animation-delay: 1s;
}

.floating-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.floating-card-icon i {
    color: var(--white);
}

.floating-card-icon.green {
    background: var(--gradient-secondary);
}

.floating-card-icon.purple {
    background: var(--gradient-primary);
}

.floating-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
}

.floating-card-subtitle {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-3xl);
    filter: blur(60px);
    z-index: -1;
    transform: scale(1.1);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ===== SECTION COMMON STYLES ===== */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.section-badge.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ===== AI HERO BADGE ===== */
.ai-badge {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(168, 85, 247, 0.12));
    border: 1px solid rgba(79, 70, 229, 0.3);
    position: relative;
}

.ai-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: ai-blink 1.5s ease-in-out infinite;
    margin-left: 4px;
}

@keyframes ai-blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }

    50% {
        opacity: .6;
        box-shadow: 0 0 8px 4px rgba(34, 197, 94, 0.2);
    }
}

/* ===== AI SECTION ===== */
.ai-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #0f0d2e 0%, #1a1145 50%, #0f0d2e 100%);
    color: var(--white);
    overflow: hidden;
}

.ai-section .section-badge {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.15);
}

.ai-section-badge {
    border: 1px solid rgba(167, 139, 250, 0.3) !important;
}

.ai-section .section-title {
    color: var(--white);
}

.ai-section .section-description {
    color: rgba(255, 255, 255, 0.65);
}

.ai-section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.ai-orb-1 {
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(79, 70, 229, 0.25);
    animation: pulse-glow 8s ease-in-out infinite;
}

.ai-orb-2 {
    bottom: 10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: rgba(168, 85, 247, 0.2);
    animation: pulse-glow 8s ease-in-out infinite 3s;
}

.ai-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(167, 139, 250, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* AI Features Grid */
.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.ai-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(12px);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.ai-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.ai-card-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(168, 85, 247, 0.1));
    border-color: rgba(167, 139, 250, 0.25);
}

.ai-card-featured .ai-card-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ai-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(168, 85, 247, 0.3));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #c4b5fd;
    margin-bottom: 1rem;
}

.ai-card-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(167, 139, 250, 0.15);
    color: #c4b5fd;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.ai-card h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.ai-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ai-card-features {
    list-style: none;
}

.ai-card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0;
}

.ai-card-features li i {
    color: #34d399;
    font-size: 0.9rem;
}

/* AI Chat Preview */
.ai-chat-preview {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(79, 70, 229, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-chat-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.ai-chat-header h4 {
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

.ai-chat-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: ai-blink 1.5s infinite;
}

.ai-chat-messages {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-msg {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-xl);
    max-width: 85%;
}

.ai-msg p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.ai-msg p:last-child {
    margin-bottom: 0;
}

.ai-msg-bot {
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.2);
    align-self: flex-start;
}

.ai-msg-user {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-self: flex-end;
}

.ai-chat-footer {
    padding: 1rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-chat-footer span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== AI ROLES SECTION ===== */
.ai-roles-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.ai-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ai-role-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.ai-role-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.ai-role-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-300);
}

.ai-role-card-highlight {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.04), rgba(168, 85, 247, 0.04));
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.08);
}

.ai-role-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ai-role-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.ai-role-card>p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ai-role-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ai-role-card ul li {
    font-size: 0.9rem;
    color: var(--gray-700);
}

/* AI Section Responsive */
@media (max-width: 1024px) {
    .ai-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-card-featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .ai-features-grid {
        grid-template-columns: 1fr;
    }

    .ai-card-featured {
        grid-column: span 1;
    }

    .ai-roles-grid {
        grid-template-columns: 1fr;
    }

    .ai-chat-preview {
        margin: 0 -0.5rem;
    }
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 3rem 0 var(--section-padding);
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    /* background: var(--gradient-primary); */
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.feature-icon.secondary {
    background: var(--gradient-secondary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.feature-card:hover h3 {
    color: var(--primary);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.feature-line {
    margin-top: 1.5rem;
    height: 3px;
    width: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

.feature-card:hover .feature-line {
    width: 100%;
}

/* ===== STATS SECTION ===== */
.stats-section {
    position: relative;
    padding: 100px 20px;
    background: var(--gradient-primary);
    overflow: hidden;
    text-align: center;
}

/* Pattern Background */
.stats-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Floating Orbs */
.stats-orb {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 10s ease-in-out infinite;
}

.stats-orb-1 {
    top: 2rem;
    left: 5%;
    width: 8rem;
    height: 8rem;
}

.stats-orb-2 {
    bottom: 2rem;
    right: 5%;
    width: 12rem;
    height: 12rem;
    animation-delay: 3s;
}

/* Header */
.stats-header {
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.stats-subtitle {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Grid */
.stats-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

/* Stat Box */
.big-stat {
    text-align: center;
}

.big-stat-value {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.big-stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stats-orb-2 {
        width: 8rem;
        height: 8rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .stats-section {
        padding: 80px 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .stats-title {
        font-size: 1.8rem;
    }

    .stats-subtitle {
        font-size: 0.95rem;
    }

    .stats-orb-1,
    .stats-orb-2 {
        display: none;
        /* remove floating circles on small screens */
    }
}

/* ===== MODULES SECTION ===== */
.modules {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    position: relative;
}

.modules::before,
.modules::after {
    content: '';
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(100px);
}

.modules::before {
    top: 0;
    left: 25%;
    background: rgba(79, 70, 229, 0.05);
}

.modules::after {
    bottom: 0;
    right: 25%;
    background: rgba(16, 185, 129, 0.05);
}

.modules-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.module-card {
    position: relative;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.module-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.module-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--shadow-xl);
}

.module-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.module-badge.core {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.module-badge.finance {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.module-badge.comm {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.module-badge.support {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.module-badge.admin {
    background: rgba(244, 63, 94, 0.1);
    color: #e11d48;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.module-badge.portal {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.module-badge.platform {
    background: rgba(6, 182, 212, 0.1);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.module-badge.ai-mod {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(168, 85, 247, 0.15));
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.3);
    font-weight: 700;
}

.module-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: transform var(--transition-base);
}

.module-card:hover .module-icon {
    transform: scale(1.1);
}

.module-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.module-card:hover h3 {
    color: var(--primary);
}

.module-card p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ===== ROLES SECTION ===== */
.roles {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.roles-column {
    position: relative;
}

.roles-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.roles-header-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.roles-header-icon.purple {
    background: var(--gradient-primary);
}

.roles-header-icon.green {
    background: var(--gradient-secondary);
}

.roles-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.roles-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.role-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.role-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    cursor: pointer;
    opacity: 0;
    transform: translateX(-20px);
}

.role-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.role-item:hover {
    transform: translateX(10px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--shadow-lg);
}

.role-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform var(--transition-base);
}

.role-item:hover .role-icon {
    transform: scale(1.1);
}

.role-item div {
    flex: 1;
}

.role-item strong {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    transition: color var(--transition-fast);
}

.role-item:hover strong {
    color: var(--primary);
}

.role-item span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition-base);
    cursor: pointer;
}

.role-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(16, 185, 129, 0.15));
}

.permissions-box {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-2xl);
}

.permissions-indicator {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.permissions-box h4 {
    display: inline;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.permissions-box p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    position: relative;
}

.testimonials::before,
.testimonials::after {
    content: '';
    position: absolute;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    filter: blur(80px);
}

.testimonials::before {
    top: 5rem;
    left: 5%;
    background: rgba(79, 70, 229, 0.05);
}

.testimonials::after {
    bottom: 5rem;
    right: 5%;
    background: rgba(16, 185, 129, 0.05);
}

.testimonials-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-3xl);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.3);
}

.testimonial-quote {
    position: absolute;
    top: -0.75rem;
    left: -0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.125rem;
    letter-spacing: 0.125rem;
    margin-bottom: 1rem;
}

.testimonial-content {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 70, 229, 0.2);
}

.testimonial-author strong {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
}

.testimonial-author span {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.testimonial-author .institution {
    color: var(--primary);
    font-size: 0.8125rem;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    position: relative;
}

.pricing::before,
.pricing::after {
    content: '';
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.pricing::before {
    top: -10%;
    left: 20%;
    background: rgba(79, 70, 229, 0.08);
}

.pricing::after {
    bottom: -10%;
    right: 20%;
    background: rgba(16, 185, 129, 0.08);
}

.pricing-controls {
    position: relative;
    z-index: 10;
    max-width: 55rem;
    margin: 0 auto 4rem auto;
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.student-slider-container label {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.slider-wrapper {
    position: relative;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.slider-dots {
    position: absolute;
    top: 4px;
    /* Center of the 8px track */
    left: calc(1rem + 8px);
    right: calc(1rem + 8px);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 1;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
}

.student-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--gray-200);
    outline: none;
    margin-bottom: 1rem;
}

.student-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
    transition: transform var(--transition-fast);
}

.student-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

@keyframes thumb-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(79, 70, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

.student-slider.pulse-animation::-webkit-slider-thumb {
    animation: thumb-pulse 1.5s infinite;
}

.student-slider.pulse-animation::-moz-range-thumb {
    animation: thumb-pulse 1.5s infinite;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Drag Hint Arrow */
.slider-drag-hint {
    position: absolute;
    top: -22px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    pointer-events: none;
    animation: dragHintBounce 1.8s ease-in-out infinite;
    white-space: nowrap;
    z-index: 5;
}

.slider-drag-hint svg {
    stroke: var(--primary);
}

@keyframes dragHintBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(8px);
    }
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.toggle-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.save-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-dark);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary);
    transition: .4s;
    border-radius: 34px;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.switch input:checked+.slider {
    background-color: var(--primary);
}

.switch input:not(:checked)+.slider {
    background-color: var(--gray-300);
}

.switch input:not(:checked)+.slider:before {
    transform: translateX(0);
}

.switch input:checked+.slider:before {
    transform: translateX(22px);
}

.pricing-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(79, 70, 229, 0.1);
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upcoming-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.pricing-header p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    min-height: 2.8rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-price .price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.pricing-price .price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-900);
    letter-spacing: -1px;
}

.pricing-price .period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.total-billed {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    font-weight: 500;
}

.pricing-features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features p {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.pricing-features ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.pricing-features ul li .ph-check-circle {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 1rem;
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Pricing Checklist */
/* Pricing Checklist */
.pricing-checklist {
    max-width: 65rem;
    margin: 4rem auto 3rem;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    justify-items: center;
}

.checklist-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    color: var(--gray-700);
    font-size: 1.05rem;
    font-weight: 500;
    width: 100%;
    max-width: 16rem;
}

.checklist-item i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.pricing-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9375rem;
    position: relative;
    z-index: 10;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        grid-column: 1 / -1;
    }

    .pricing-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 40rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .slider-labels {
        font-size: 0.65rem;
    }

    .pricing-checklist {
        grid-template-columns: 1fr;
        justify-items: start;
        max-width: 18rem;
    }
}

/* ===== CTA SECTION ===== */
.cta {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--gradient-primary);
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, white 2px, transparent 0);
    background-size: 30px 30px;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 10s ease-in-out infinite;
}

.cta-orb-1 {
    top: 3rem;
    left: 5%;
    width: 10rem;
    height: 10rem;
    background: rgba(255, 255, 255, 0.1);
}

.cta-orb-2 {
    bottom: 3rem;
    right: 5%;
    width: 15rem;
    height: 15rem;
    background: rgba(16, 185, 129, 0.2);
    animation-delay: 3s;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content>p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.cta-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-trust {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo-name {
    color: var(--white);
}

.footer-brand .logo-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand>p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 20rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact a,
.footer-contact span {
    display: flex;
    /* important */
    align-items: center;
    /* vertical alignment */
    gap: 0.6rem;
    /* space between icon and text */
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-contact svg,
.footer-contact i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }

    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes message-float {

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

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

@keyframes signal-flow {
    0% {
        background-position: 200% 0;
    }

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

@keyframes core-float {

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

    50% {
        transform: translateY(-6px) scale(1.02);
    }
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes ping-soft {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35);
        opacity: 1;
    }

    70% {
        box-shadow: 0 0 0 14px rgba(16, 185, 129, 0);
        opacity: 0.7;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        opacity: 1;
    }
}

@keyframes progress-grow {
    0% {
        width: 58%;
    }

    100% {
        width: 82%;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 4;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-items: center;
    }

    .stat-item {
        text-align: center;
    }

    .stat-value {
        justify-content: center;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 28rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .ai-interaction-stage {
        min-height: 500px;
    }

    .hero-3d-card {
        min-height: 500px;
    }

    .interaction-node-student {
        top: 96px;
        left: 16px;
        transform: none;
    }

    .interaction-node-teacher {
        top: 96px;
        right: 16px;
        left: auto;
        bottom: auto;
        transform: none;
    }

    .interaction-node-ai {
        top: 64%;
    }

    .interaction-line-student {
        width: 108px;
        height: 2px;
        top: 214px;
        left: 104px;
        transform: rotate(44deg);
    }

    .interaction-line-teacher {
        width: 108px;
        height: 2px;
        top: 214px;
        right: 104px;
        left: auto;
        bottom: auto;
        transform: rotate(-44deg);
        transform-origin: right center;
    }

    .interaction-line-loop {
        display: none;
    }

    .interaction-chip {
        width: 132px;
        padding: 0.72rem 0.78rem;
    }

    .interaction-chip strong {
        font-size: 0.8rem;
    }

    .interaction-chip span {
        font-size: 0.66rem;
        line-height: 1.35;
    }

    .interaction-label {
        min-width: 148px;
        padding: 0.7rem 0.8rem;
    }

    .interaction-message {
        max-width: calc(100% - 28px);
        padding: 0.72rem 0.85rem;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .interaction-message-top {
        top: 14px;
    }

    .interaction-message-bottom {
        bottom: 14px;
    }

    .interaction-pulse-1 {
        top: 236px;
        left: 205px;
    }

    .interaction-pulse-2 {
        top: 236px;
        right: 205px;
    }

    .floating-card {
        position: static;
        margin-top: 1rem;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .cta-benefits {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .ai-interaction-stage {
        min-height: 470px;
    }

    .hero-3d-card {
        min-height: 470px;
    }

    .interaction-avatar {
        width: 3.4rem;
        height: 3.4rem;
        border-radius: 1rem;
        font-size: 1.4rem;
    }

    .interaction-label {
        min-width: 138px;
        bottom: -0.5rem;
    }

    .interaction-chip {
        width: 118px;
        padding: 0.68rem 0.72rem;
    }

    .interaction-message {
        max-width: calc(100% - 22px);
        font-size: 0.74rem;
        padding: 0.68rem 0.78rem;
    }

    .interaction-node-student {
        left: 10px;
        top: 90px;
    }

    .interaction-node-teacher {
        right: 10px;
        top: 90px;
    }

    .interaction-node-ai {
        top: 66%;
    }

    .interaction-line-student {
        width: 88px;
        top: 206px;
        left: 90px;
    }

    .interaction-line-teacher {
        width: 88px;
        top: 206px;
        right: 90px;
    }

    .interaction-pulse-1 {
        top: 226px;
        left: 171px;
    }

    .interaction-pulse-2 {
        top: 226px;
        right: 171px;
    }

    .interaction-message-top {
        top: 10px;
    }

    .interaction-message-bottom {
        bottom: 10px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

.feature-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 255, 255, 0.92));
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg,
            rgba(166, 166, 246, 0.08),
            rgba(107, 152, 136, 0.06));
    box-shadow: var(--shadow-xl);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ==============================
   CONTACT US SECTION
============================== */
.contact {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    overflow: hidden;
}

/* Background glow */
.contact::before,
.contact::after {
    content: '';
    position: absolute;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.contact::before {
    top: -6rem;
    left: 5%;
    background: rgba(79, 70, 229, 0.08);
}

.contact::after {
    bottom: -6rem;
    right: 5%;
    background: rgba(16, 185, 129, 0.08);
}

/* Wrapper */
.contact-wrapper {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==============================
   FORM CARD
============================== */
.contact-form {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 255, 255, 0.94));
    border-radius: var(--radius-3xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(79, 70, 229, 0.12);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* ==============================
   FORM GROUP
============================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Label */
.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* Inputs & Textarea */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-900);
    transition: all var(--transition-base);
    box-sizing: border-box;
}

/* Focus */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* ==============================
   SUBMIT BUTTON
============================== */
.contact-form button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.5rem;
}

/* ==============================
   STATUS MESSAGE
============================== */
.form-status {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    color: var(--gray-600);
    transition: opacity 0.3s ease;
    min-height: 20px;
}

.form-status.success {
    color: var(--secondary);
}

.form-status.error {
    color: #dc2626;
}

/* ==============================
   TABLET
============================== */
@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .form-group.full-width,
    .contact-form button,
    .form-status {
        grid-column: 1;
    }
}

/* ==============================
   MOBILE (SMALL DEVICES)
============================== */
@media (max-width: 480px) {
    .contact {
        padding: 3rem 0;
    }

    .contact-form {
        padding: 1.5rem;
        border-radius: var(--radius-2xl);
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.75rem 0.85rem;
    }
}

/* ==============================
   EXTRA SAFETY (NO HORIZONTAL SCROLL)
============================== */
.contact,
.contact * {
    max-width: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
}

.contact-item .contact-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-900);
    font-size: 1.5rem;
}

.contact-item .contact-icon i {
    flex-shrink: 0;
}

.contact-item .contact-icon span {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--gray-900);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ===== NAVBAR ===== */
/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ===== LINKS ===== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #111827;
}

/* ===== CTA VISIBILITY ===== */
.desktop-only {
    display: flex;
    gap: 1rem;
}

.mobile-only {
    display: none;
}

/* ===== MOBILE BUTTON ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #111827;
    transition: 0.3s ease;
}

/* ===== ANIMATION TO X ===== */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 992px) {

    /* Hide desktop CTA completely */
    .nav-cta,
    .desktop-only {
        display: none !important;
    }

    .mobile-only .btn-primary {
        color: #ffffff;
        /* Change to whatever color you want */
    }

    /* Show hamburger */
    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile menu container */
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
        display: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    /* Show mobile CTAs */
    .mobile-only {
        display: block;
        width: 100%;
    }

    .full-width {
        width: 100%;
        text-align: center;
    }
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray-500);
}

/* ===== NAV LINKS ===== */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    white-space: nowrap;
}

.nav-links a {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

/* Underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--gray-900);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== CTA BUTTONS ===== */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

/* Hamburger → X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

    /* Hide desktop items */
    .nav-links,
    .nav-cta {
        display: none;
    }

    /* Mobile menu open */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        padding: 1.25rem;
        gap: 1rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        overflow-x: hidden;
    }

    .nav-links a {
        padding: 0.75rem 0;
        width: 100%;
    }

    /* Mobile CTA buttons inside menu */
    .nav-links.active+.nav-cta {
        display: flex;
        flex-direction: column;
        padding: 0 1.25rem 1.25rem;
        gap: 0.75rem;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-cta a {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Safety: prevent horizontal scroll */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== SECTION BACKGROUND ===== */
.contact {
    padding: 80px 16px;
    background: linear-gradient(135deg, #eef2ff, #ecfdf5);
}

/* ===== LAYOUT ===== */
.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ===== LEFT SIDE ===== */
.contact-info h2 {
    font-size: 34px;
    font-weight: 800;
    color: #4f46e5;
}

.contact-info p {
    margin: 12px 0 24px;
    color: #475569;
    line-height: 1.6;
}

/* ===== SMALL BOXES ===== */
.contact-boxes {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-box .icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, );

    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

/* ===== IMAGES ===== */
.contact-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-images img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* ===== FORM ===== */
.contact-form {
    background: white;
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* ===== BUTTON ===== */
.contact-form button {
    grid-column: 1 / -1;
    width: 100%;
    background: linear-gradient(135deg, #6366f1, #22c55e);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(99, 102, 241, 0.25);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-images img {
        height: 110px;
    }
}

@media (max-width: 500px) {
    .contact {
        padding: 60px 14px;
    }

    .contact-info h2 {
        font-size: 26px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .contact-images {
        grid-template-columns: 1fr;
    }
}

/* ===== CONTACT INFO ROW ===== */
.contact-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 boxes in one row */
    gap: 14px;
    margin: 20px 0 26px;
}

/* ===== SINGLE BOX ===== */
.contact-box {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 14px;
    background: var(--white);

    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);

    min-height: 60px;
}

/* ICON STYLE */
.contact-box .icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    color: var(--white);

    /* Erexa blue gradient only */
    background: linear-gradient(135deg, var(--primary), var(--primary-light));

    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
}

/* TEXT STYLE */
.contact-box strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
}

.contact-box span {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===== TABLET ===== */
@media (max-width: 900px) {
    .contact-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== MOBILE ===== */
@media (max-width: 520px) {
    .contact-boxes {
        grid-template-columns: 1fr;
        /* stack vertically */
    }

    .contact-box {
        justify-content: flex-start;
    }
}

/* ===== CONTACT SUBMIT BUTTON (EREXA BLUE ONLY) ===== */
.contact-form button {
    grid-column: 1 / -1;

    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);

    border: none;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-xl);

    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;

    cursor: pointer;
    transition: all var(--transition-base);

    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
}

/* Hover */
.contact-form button:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.35);
}

/* Active click */
.contact-form button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 12px rgba(79, 70, 229, 0.25);
}

/* Focus accessibility */
.contact-form button:focus {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(79, 70, 229, 0.25),
        0 10px 20px rgba(79, 70, 229, 0.25);
}

/* Icon Base Styling */
.feature-icon i,
.module-icon i,
.mini-card-icon i,
.floating-card-icon i,
.roles-header-icon i,
.role-icon i,
.pricing-icon i,
.contact-icon i {
    font-size: 26px;
    color: #140839;
    /* Your brand primary */
}

/* Optional section-based color overrides */
.floating-card-icon.green i {
    color: #22c55e;
}

.floating-card-icon.purple i {
    color: #a855f7;
}

/* ===== AI PRICE TOGGLE ===== */
.ai-addon-box {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.ai-addon-box.active {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: inset 0 0 15px rgba(139, 92, 246, 0.05);
}

.ai-addon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.ai-addon-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #6d28d9;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.sparkle-icon {
    font-size: 1.1rem;
}

.ai-addon-info {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-align: left;
}

/* Switch styling */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: .4s;
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

.toggle-switch input:checked+.slider {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

.toggle-switch input:focus+.slider {
    box-shadow: 0 0 1px #8b5cf6;
}

.toggle-switch input:checked+.slider:before {
    transform: translateX(20px);
}

.toggle-switch .slider.round {
    border-radius: 34px;
}

.toggle-switch .slider.round:before {
    border-radius: 50%;
}
