/* ============================================
   HEADREST ADS - VIRAL MODERN DESIGN
   In-Taxi Advertising Platform
   ============================================ */

/* Local Inter Font - All Weights */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Colors - Orange/Amber Theme */
    --primary-color: rgb(255, 147, 51);
    --primary-hover: rgb(173, 91, 17);
    --primary-glow: rgba(255, 147, 51, 0.4);
    --primary-light: rgba(255, 147, 51, 0.15);
    --secondary-color: #64748b;
    --accent-color: rgb(173, 91, 17);
    --accent-glow: rgba(173, 91, 17, 0.3);

    /* Background Colors */
    --background-primary: #0a0a0f;
    --background-secondary: #12121a;
    --background-tertiary: #1a1a25;
    --background-card: rgba(26, 26, 37, 0.7);
    --background-glass: rgba(255, 255, 255, 0.03);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Effects Colors */
    --border-color: rgba(255, 147, 51, 0.15);
    --border-glow: rgba(255, 147, 51, 0.3);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    --shadow-glow: 0 0 40px rgba(255, 147, 51, 0.2);
    --shadow-glow-intense: 0 0 60px rgba(255, 147, 51, 0.3), 0 0 120px rgba(255, 147, 51, 0.15);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Aurora Colors */
    --aurora-1: rgba(255, 147, 51, 0.15);
    --aurora-2: rgba(255, 100, 50, 0.1);
    --aurora-3: rgba(173, 91, 17, 0.12);
    --aurora-4: rgba(255, 200, 100, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   AURORA BACKGROUND
   ============================================ */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: auroraFloat 20s ease-in-out infinite;
}

.aurora-blob-1 {
    width: 600px;
    height: 600px;
    background: var(--aurora-1);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.aurora-blob-2 {
    width: 500px;
    height: 500px;
    background: var(--aurora-2);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.aurora-blob-3 {
    width: 400px;
    height: 400px;
    background: var(--aurora-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

.aurora-blob-4 {
    width: 350px;
    height: 350px;
    background: var(--aurora-4);
    top: 30%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes auroraFloat {

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

    25% {
        transform: translate(30px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }

    75% {
        transform: translate(50px, 20px) scale(1.05);
    }
}

/* Animated Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 147, 51, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 147, 51, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

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

/* ============================================
   CURSOR GLOW TRAIL
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

body:hover .cursor-glow {
    opacity: 0.6;
}

/* ============================================
   GLASSMORPHISM HEADER
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    transition: all var(--transition-normal);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-color) 50%,
            transparent 100%);
    opacity: 0.5;
}

header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-glow);
    padding: 0.75rem 2rem;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo with Glow Effect */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.logo img {
    height: 55px;
    width: auto;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all var(--transition-fast);
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 2px;
}

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

nav a:hover::before,
nav a.active::before {
    width: 80%;
}

/* Magnetic effect container */
nav a .magnetic-area {
    position: relative;
    display: inline-block;
    transition: transform var(--transition-fast);
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.burger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-fast);
    box-shadow: 0 0 10px var(--primary-glow);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 6rem 2rem;
}

.hero video.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.15;
    filter: saturate(0.5);
}

/* Scanline Effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
    pointer-events: none;
    z-index: 1;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% {
        background-position: 0 0;
    }

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

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    padding: 2rem;
}

.hero-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
    justify-items: center;
}

/* 3D Tilt Image Cards */
.hero-split img {
    max-height: 500px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-slow);
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 1px solid var(--glass-border);
    margin: 0 auto;
    display: block;
}

.hero-split img:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: var(--shadow-glow-intense);
}

/* ============================================
   TYPOGRAPHY WITH EFFECTS
   ============================================ */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.03em;
    text-align: center;
    background: linear-gradient(135deg,
            var(--text-primary) 0%,
            var(--primary-color) 50%,
            var(--text-primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
    text-shadow: 0 0 40px var(--primary-glow);
}

@keyframes gradientShift {

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

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

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    position: relative;
    text-align: center;
    width: 100%;
}

/* Shimmer Text Effect */
.shimmer-text {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.shimmer-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
    animation: shimmerMove 3s ease-in-out infinite;
}

@keyframes shimmerMove {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   MAGNETIC BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px var(--primary-glow);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-top: 1.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow-intense);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Button Ripple Effect */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Pulse Animation for CTAs */
.btn-pulse {
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px var(--primary-glow);
    }

    50% {
        box-shadow: 0 4px 30px var(--primary-glow), 0 0 60px var(--primary-glow);
    }
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
    padding: 5rem 2rem;
    position: relative;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto 0;
    border-radius: 2px;
    animation: dividerShine 2s ease-in-out infinite;
}

@keyframes dividerShine {

    0%,
    100% {
        opacity: 0.7;
        width: 80px;
    }

    50% {
        opacity: 1;
        width: 120px;
    }
}

/* ============================================
   3D TILT CARDS
   ============================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    list-style: none;
}

.grid li,
.card {
    background: var(--background-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all var(--transition-normal);
    cursor: default;
}

/* Card Spotlight Effect */
.grid li::before,
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            var(--primary-light) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 1;
}

.grid li:hover::before,
.card:hover::before {
    opacity: 1;
}

/* Card Gradient Border */
.grid li::after,
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            transparent 50%,
            var(--accent-color) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.grid li:hover::after,
.card:hover::after {
    opacity: 1;
}

.grid li:hover,
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.grid li strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.grid li strong::before {
    content: '✦';
    margin-right: 0.5rem;
    color: var(--primary-color);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {

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

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

/* ============================================
   FORMS WITH GLASSMORPHISM
   ============================================ */
.flash,
.flash-message {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(74, 222, 128, 0.3);
    backdrop-filter: blur(10px);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 550px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--background-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

/* Form Glow Effect */
.form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent,
            var(--primary-light),
            transparent 30%);
    animation: formGlow 10s linear infinite;
    opacity: 0.3;
}

@keyframes formGlow {
    0% {
        transform: rotate(0deg);
    }

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

.form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
    padding: 1rem 1.25rem;
    background: var(--background-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light), 0 0 20px var(--primary-glow);
    background: var(--background-tertiary);
}

.form input::placeholder,
.form textarea::placeholder {
    color: var(--text-muted);
}

.form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.form button:hover::before {
    left: 100%;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-img {
    max-width: 450px;
    width: 100%;
    height: auto;
    margin: 3rem auto;
    display: block;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-slow);
}

.about-img:hover {
    transform: scale(1.02) rotateY(5deg);
    box-shadow: var(--shadow-glow-intense);
}

main>ul {
    list-style: none;
    max-width: 700px;
    margin: 2rem auto;
    padding: 0;
}

main>ul li {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: var(--background-card);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--primary-color);
    position: relative;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

main>ul li:hover {
    transform: translateX(10px);
    border-left-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
}

main>ul li::before {
    content: '→';
    position: absolute;
    right: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-normal);
}

main>ul li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   FEATURE CARDS - Premium 3D Style
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 1rem;
}

.feature-card {
    position: relative;
    background: linear-gradient(135deg,
            rgba(26, 26, 37, 0.9) 0%,
            rgba(18, 18, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    overflow: hidden;
    transition: all var(--transition-normal);
    transform-style: preserve-3d;
    cursor: default;
}

/* Animated Gradient Border */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(var(--gradient-angle, 135deg),
            var(--primary-color) 0%,
            transparent 40%,
            transparent 60%,
            var(--accent-color) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% {
        --gradient-angle: 0deg;
    }

    100% {
        --gradient-angle: 360deg;
    }
}

@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 135deg;
    inherits: false;
}

/* Spotlight Effect */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            var(--primary-light) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 1;
}

/* Glow Effect */
.feature-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
            var(--primary-glow) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--border-glow);
    box-shadow:
        0 20px 40px rgba(255, 147, 51, 0.15),
        0 0 60px rgba(255, 147, 51, 0.1);
}

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

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover .feature-glow {
    opacity: 0.3;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 30px var(--primary-glow);
}

/* Feature Icon */
.feature-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--accent-color) 100%);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    transition: all var(--transition-bounce);
    box-shadow: 0 8px 20px rgba(255, 147, 51, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

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

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

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 1s;
}

.feature-card:nth-child(4) .feature-icon {
    animation-delay: 1.5s;
}

.feature-card:nth-child(5) .feature-icon {
    animation-delay: 2s;
}

/* Feature Content */
.feature-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.feature-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* CTA Section */
.cta-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg,
            rgba(255, 147, 51, 0.1) 0%,
            rgba(173, 91, 17, 0.05) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent,
            var(--primary-light),
            transparent 20%);
    animation: ctaGlow 8s linear infinite;
    opacity: 0.5;
}

@keyframes ctaGlow {
    0% {
        transform: rotate(0deg);
    }

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

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

.cta-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive Feature Cards */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .feature-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-secondary);
    color: var(--text-secondary);
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-color) 50%,
            transparent 100%);
    animation: footerLineMove 3s ease-in-out infinite;
}

@keyframes footerLineMove {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.animate {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate.show {
    opacity: 1;
}

.fade-up {
    transform: translateY(40px);
}

.fade-up.show {
    transform: translateY(0);
}

.slide-left {
    transform: translateX(-50px);
}

.slide-left.show {
    transform: translateX(0);
}

.slide-right {
    transform: translateX(50px);
}

.slide-right.show {
    transform: translateX(0);
}

.slide-down {
    transform: translateY(-30px);
}

.slide-down.show {
    transform: translateY(0);
}

.zoom {
    transform: scale(0.9);
}

.zoom.show {
    transform: scale(1);
}

/* Staggered Animation Delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation-delay: -10s;
}

@keyframes floatShape {

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

    25% {
        transform: translate(20px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-10px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(30px, 10px) rotate(270deg);
    }
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: relative;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollBounce {

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

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

@keyframes scrollDot {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First Approach
   Breakpoints:
   - Mobile S: 320px - 374px
   - Mobile M: 375px - 424px  
   - Mobile L: 425px - 767px
   - Tablet: 768px - 1023px
   - Laptop: 1024px - 1439px
   - Desktop: 1440px - 2559px
   - 4K: 2560px+
   ============================================ */

/* ========== Extra Large Desktop / 4K (2560px+) ========== */
@media (min-width: 2560px) {
    :root {
        font-size: 20px;
    }

    .header-content,
    main,
    .container {
        max-width: 2000px;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-split {
        gap: 5rem;
    }

    .hero-split img {
        max-height: 600px;
    }

    .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .aurora-blob-1 {
        width: 900px;
        height: 900px;
    }

    .aurora-blob-2 {
        width: 750px;
        height: 750px;
    }
}

/* ========== Large Desktop (1440px - 2559px) ========== */
@media (min-width: 1440px) and (max-width: 2559px) {

    .header-content,
    main,
    .container {
        max-width: 1400px;
    }

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

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

/* ========== Laptop / Small Desktop (1024px - 1439px) ========== */
@media (min-width: 1024px) and (max-width: 1439px) {
    :root {
        font-size: 15px;
    }

    .header-content,
    main,
    .container {
        max-width: 1000px;
        padding: 0 2rem;
    }

    header {
        padding: 0.875rem 1.5rem;
    }

    .logo img {
        height: 50px;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .hero {
        min-height: 95vh;
        padding: 5rem 1.5rem;
    }

    .hero-split {
        gap: 2rem;
    }

    .hero-split img {
        max-height: 400px;
    }

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .grid li,
    .card {
        padding: 1.75rem;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .form {
        max-width: 500px;
        padding: 2rem;
    }

    .benefits {
        padding: 4rem 1.5rem;
    }

    footer {
        padding: 3rem 1.5rem;
    }

    .aurora-blob-1 {
        width: 500px;
        height: 500px;
    }

    .aurora-blob-2 {
        width: 400px;
        height: 400px;
    }
}

/* ========== Tablet (768px - 1023px) ========== */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        font-size: 15px;
    }

    header {
        padding: 0.75rem 1.25rem;
    }

    .header-content {
        max-width: 100%;
        gap: 1.5rem;
    }

    .logo img {
        height: 45px;
    }

    /* Show burger menu on tablet */
    .burger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        z-index: 1000;
    }

    nav ul.active {
        transform: translateX(0);
    }

    nav a {
        padding: 1rem 2rem;
        font-size: 1.25rem;
        min-height: 50px;
    }

    main {
        padding: 1.5rem;
    }

    .hero {
        min-height: 90vh;
        padding: 4rem 1.5rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

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

    .hero-split img {
        max-height: 350px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    p {
        font-size: 1.05rem;
    }

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

    .grid li,
    .card {
        padding: 1.5rem;
    }

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

    .feature-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .form {
        max-width: 500px;
        padding: 2rem;
    }

    .btn {
        padding: 0.875rem 2rem;
    }

    .benefits {
        padding: 3.5rem 1.5rem;
    }

    .cta-section {
        padding: 2.5rem;
    }

    footer {
        padding: 3rem 1.5rem;
    }

    .scroll-indicator {
        margin-top: 2.5rem;
    }

    .aurora-blob {
        filter: blur(70px);
        opacity: 0.5;
    }

    .aurora-blob-1 {
        width: 400px;
        height: 400px;
    }

    .aurora-blob-2 {
        width: 350px;
        height: 350px;
    }

    .cursor-glow {
        display: none;
    }
}

/* ========== Mobile L (480px - 767px) ========== */
@media (min-width: 480px) and (max-width: 767px) {
    :root {
        font-size: 15px;
    }

    header {
        padding: 0.75rem 1rem;
    }

    .header-content {
        gap: 1rem;
    }

    .logo img {
        height: 40px;
    }

    .burger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        z-index: 1000;
    }

    nav ul.active {
        transform: translateX(0);
    }

    nav a {
        padding: 1rem 2rem;
        font-size: 1.2rem;
        min-height: 48px;
        width: 80%;
        text-align: center;
    }

    main {
        padding: 1rem;
    }

    .hero {
        min-height: 90vh;
        padding: 3rem 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-split img {
        max-height: 280px;
        max-width: 100%;
    }

    h1 {
        font-size: 1.875rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .grid li,
    .card {
        padding: 1.5rem;
    }

    .grid li strong {
        font-size: 1.15rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0.5rem;
    }

    .feature-card {
        padding: 1.5rem;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .feature-content h3 {
        font-size: 1.15rem;
    }

    .feature-content p {
        font-size: 0.95rem;
    }

    .form {
        width: 100%;
        max-width: none;
        margin: 1rem 0;
        padding: 1.5rem;
    }

    .form input,
    .form select,
    .form textarea {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .form button {
        padding: 1rem;
        min-height: 50px;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        min-height: 50px;
        font-size: 1rem;
    }

    .benefits {
        padding: 3rem 1rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
        margin-top: 2.5rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }

    footer {
        padding: 2.5rem 1rem;
        margin-top: 3rem;
    }

    .about-img {
        max-width: 100%;
        margin: 2rem auto;
    }

    .scroll-indicator {
        margin-top: 2rem;
    }

    .aurora-blob {
        filter: blur(60px);
        opacity: 0.4;
    }

    .aurora-blob-1 {
        width: 300px;
        height: 300px;
    }

    .aurora-blob-2 {
        width: 250px;
        height: 250px;
    }

    .aurora-blob-3,
    .aurora-blob-4 {
        display: none;
    }

    .cursor-glow {
        display: none;
    }

    .floating-shapes {
        display: none;
    }
}

/* ========== Mobile M (375px - 479px) ========== */
@media (min-width: 375px) and (max-width: 479px) {
    :root {
        font-size: 14px;
    }

    header {
        padding: 0.625rem 0.875rem;
    }

    .header-content {
        gap: 0.75rem;
    }

    .logo img {
        height: 36px;
    }

    .burger {
        display: flex;
        padding: 0.375rem;
    }

    .burger span {
        width: 24px;
        height: 2.5px;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        z-index: 1000;
    }

    nav ul.active {
        transform: translateX(0);
    }

    nav a {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        min-height: 48px;
        width: 85%;
        text-align: center;
    }

    main {
        padding: 0.75rem;
    }

    .hero {
        min-height: 85vh;
        padding: 2.5rem 0.75rem;
    }

    .hero-content {
        padding: 0.75rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .hero-split img {
        max-height: 240px;
        max-width: 100%;
    }

    h1 {
        font-size: 1.625rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .grid li,
    .card {
        padding: 1.25rem;
    }

    .grid li strong {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.25rem;
    }

    .feature-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .feature-content h3 {
        font-size: 1.1rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }

    .form {
        width: 100%;
        margin: 0.75rem 0;
        padding: 1.25rem;
    }

    .form h3 {
        font-size: 1.1rem;
    }

    .form label {
        font-size: 0.9rem;
        gap: 0.4rem;
    }

    .form input,
    .form select,
    .form textarea {
        padding: 0.8rem;
        font-size: 1rem;
        min-height: 46px;
    }

    .form button {
        padding: 0.875rem;
        min-height: 48px;
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1.25rem;
        min-height: 48px;
        font-size: 0.95rem;
    }

    .benefits {
        padding: 2.5rem 0.75rem;
    }

    .benefits h2::after {
        width: 60px;
        height: 3px;
    }

    .cta-section {
        padding: 1.5rem 1.25rem;
        margin-top: 2rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    footer {
        padding: 2rem 0.75rem;
        margin-top: 2.5rem;
    }

    footer p {
        font-size: 0.875rem;
    }

    .about-img {
        max-width: 100%;
        margin: 1.5rem auto;
        border-radius: var(--radius-lg);
    }

    main>ul li {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        margin-top: 1.75rem;
        font-size: 0.8rem;
    }

    .scroll-indicator::after {
        width: 20px;
        height: 34px;
    }

    .aurora-blob {
        filter: blur(50px);
        opacity: 0.35;
    }

    .aurora-blob-1 {
        width: 250px;
        height: 250px;
    }

    .aurora-blob-2 {
        width: 200px;
        height: 200px;
    }

    .aurora-blob-3,
    .aurora-blob-4 {
        display: none;
    }

    .cursor-glow,
    .floating-shapes,
    .grid-bg {
        display: none;
    }
}

/* ========== Mobile S (320px - 374px) ========== */
@media (max-width: 374px) {
    :root {
        font-size: 13px;
    }

    header {
        padding: 0.5rem 0.625rem;
    }

    .header-content {
        gap: 0.5rem;
    }

    .logo img {
        height: 32px;
    }

    .burger {
        display: flex;
        padding: 0.25rem;
    }

    .burger span {
        width: 22px;
        height: 2px;
        gap: 4px;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        z-index: 1000;
    }

    nav ul.active {
        transform: translateX(0);
    }

    nav a {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
        min-height: 44px;
        width: 90%;
        text-align: center;
    }

    main {
        padding: 0.5rem;
    }

    .hero {
        min-height: 80vh;
        padding: 2rem 0.5rem;
    }

    .hero-content {
        padding: 0.5rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-split img {
        max-height: 200px;
        max-width: 100%;
    }

    h1 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.875rem;
    }

    h2 {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.875rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        margin: 1.5rem 0;
    }

    .grid li,
    .card {
        padding: 1rem;
    }

    .grid li strong {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        padding: 0;
    }

    .feature-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0.75rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .feature-content h3 {
        font-size: 1rem;
    }

    .feature-content p {
        font-size: 0.85rem;
    }

    .form {
        width: 100%;
        margin: 0.5rem 0;
        padding: 1rem;
    }

    .form h3 {
        font-size: 1rem;
    }

    .form label {
        font-size: 0.85rem;
        gap: 0.3rem;
    }

    .form input,
    .form select,
    .form textarea {
        padding: 0.75rem;
        font-size: 1rem;
        min-height: 44px;
    }

    .form button {
        padding: 0.75rem;
        min-height: 44px;
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        min-height: 44px;
        font-size: 0.9rem;
    }

    .benefits {
        padding: 2rem 0.5rem;
    }

    .benefits h2::after {
        width: 50px;
        height: 3px;
    }

    .cta-section {
        padding: 1.25rem 1rem;
        margin-top: 1.5rem;
    }

    .cta-text {
        font-size: 0.95rem;
    }

    footer {
        padding: 1.5rem 0.5rem;
        margin-top: 2rem;
    }

    footer p {
        font-size: 0.8rem;
    }

    .about-img {
        max-width: 100%;
        margin: 1.25rem auto;
    }

    main>ul li {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        margin-top: 1.5rem;
        font-size: 0.75rem;
    }

    .scroll-indicator::after {
        width: 18px;
        height: 30px;
    }

    .aurora-blob {
        filter: blur(40px);
        opacity: 0.3;
    }

    .aurora-blob-1 {
        width: 200px;
        height: 200px;
    }

    .aurora-blob-2 {
        width: 150px;
        height: 150px;
    }

    .aurora-blob-3,
    .aurora-blob-4 {
        display: none;
    }

    .cursor-glow,
    .floating-shapes,
    .grid-bg {
        display: none;
    }

    /* Simplify animations for performance */
    .animate {
        transition-duration: 0.4s;
    }
}

/* ========== Touch Device Optimizations ========== */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    nav a,
    .btn,
    .form button,
    .form input,
    .form select,
    .form textarea {
        min-height: 44px;
    }

    /* Disable hover effects that don't work on touch */
    .feature-card:hover,
    .grid li:hover,
    .card:hover {
        transform: none;
    }

    .feature-card:hover .feature-icon {
        transform: none;
    }

    /* Remove cursor-based effects */
    .cursor-glow {
        display: none;
    }

    /* Add active states instead of hover */
    .btn:active,
    .form button:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .feature-card:active,
    .grid li:active,
    .card:active {
        transform: scale(0.98);
    }
}

/* ========== Landscape Mobile ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 1rem;
    }

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

    .hero-split img {
        max-height: 150px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    nav ul {
        padding: 1rem;
        gap: 0.5rem;
    }

    nav a {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate {
        opacity: 1;
        transform: none;
    }

    .cursor-glow {
        display: none;
    }
}

/* Focus Visible Styles */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .hero video.bg,
    .aurora-bg,
    .grid-bg,
    .cursor-glow,
    .floating-shapes {
        display: none;
    }

    .animate {
        opacity: 1 !important;
        transform: none !important;
    }

    body {
        background: white;
        color: black;
    }
}