
/* CSS Variables */
:root {
    --primary: #1e90ff;
    --secondary: #0064c8;
    --accent: #4682ff;
    --bg-dark: #050a14;
    --bg-card: rgba(10, 15, 30, 0.8);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(30, 144, 255, 0.2);
    --glow: 0 0 20px rgba(30, 144, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile-specific CSS Variables for much brighter background */
@media (max-width: 768px) {
    :root {
        --bg-dark: #2a4058; /* Much brighter background for mobile */
        --bg-card: rgba(40, 60, 80, 0.95); /* Brighter cards */
        --text-primary: #ffffff; /* Brighter text */
        --text-secondary: rgba(255, 255, 255, 0.9); /* Brighter secondary text */
    }
}

/* Portrait mode specific adjustments for even better visibility */
@media (max-width: 768px) and (orientation: portrait) {
    :root {
        --bg-dark: #324a68; /* Much brighter for portrait mode */
        --bg-card: rgba(50, 70, 90, 0.95);
        --text-primary: #ffffff; /* Ensure bright text */
        --text-secondary: rgba(255, 255, 255, 0.95); /* Very bright secondary text */
    }
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove all default link underlines and borders */
a {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
}

a:link,
a:visited,
a:active {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
}

/* Remove any pseudo-element underlines */
a::before,
a::after,
span::before,
span::after {
    border: none !important;
    border-bottom: none !important;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(
        135deg,
        #050a14 0%,
        #0a1220 25%,
        #0f1a2c 50%,
        #0a1220 75%,
        #050a14 100%
    );
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding-top: 80px; /* Add space for fixed header */
}

/* Universal Container Fix */
.container {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Remove all gaps between sections */
main {
    margin: 0;
    padding: 0;
    width: 100%;
}

section {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Global Mobile Optimizations */
* {
    box-sizing: border-box;
}

/* Prevent horizontal scrolling on all devices */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Ensure all content respects viewport width */
*, *::before, *::after {
    max-width: 100%;
}

/* Fix any overflowing elements */
img, video, iframe, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* Responsive text wrapping - prevent mid-word breaks and hyphens */
h1, h2, h3, h4, h5, h6, p, span, div, a {
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    white-space: normal;
}

/* Bright White Gleam Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background:
        /* Bright white gleam highlights */
        radial-gradient(ellipse 800px 400px at 25% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 600px 300px at 75% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 500px 250px at 50% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse 400px 200px at 10% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse 350px 175px at 90% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 35%),
        /* Subtle blue energy fields */
        radial-gradient(ellipse 800px 400px at 30% 20%, rgba(0, 255, 255, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 600px 300px at 70% 80%, rgba(30, 144, 255, 0.03) 0%, transparent 70%),
        /* Brightened foundation */
        linear-gradient(135deg,
            rgba(5, 10, 20, 1) 0%,
            rgba(8, 15, 25, 0.98) 50%,
            rgba(5, 10, 20, 1) 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    /* Removed background animation to prevent flickering */
}



/* Simplified Energy Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background:
        /* Subtle energy streams */
        linear-gradient(
            45deg,
            transparent 0%,
            rgba(0, 255, 255, 0.01) 50%,
            transparent 100%
        );
    background-size: 400px 400px;
    /* Removed stream animation to prevent flickering */
    mix-blend-mode: screen;
}

/* Dynamic Flow Layout - No Grid */
.page-flow {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Bright White Energy Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(5, 10, 20, 1) 0%,
        rgba(15, 25, 45, 0.95) 15%,
        rgba(25, 40, 70, 0.9) 30%,
        rgba(30, 50, 85, 0.85) 45%,
        rgba(25, 40, 70, 0.9) 60%,
        rgba(15, 25, 45, 0.95) 75%,
        rgba(5, 10, 20, 1) 100%
    );
    /* Single professional gleam gradient - no tiling */
}





/* Simplified Wave Visualization */
.audio-wave-visualization {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.wave-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.wave-layer-1 {
    background: radial-gradient(ellipse at 30% 30%, rgba(0, 255, 255, 0.02) 0%, transparent 70%);
}

.wave-layer-2 {
    background: radial-gradient(ellipse at 70% 70%, rgba(30, 144, 255, 0.015) 0%, transparent 70%);
}

.wave-layer-3 {
    background: linear-gradient(135deg, transparent 0%, rgba(0, 255, 255, 0.01) 50%, transparent 100%);
    /* Subtle accent layer - no tiling */
}

.wellness-energy-orbs {
    position: absolute;
    top: -100%;
    left: -100%;
    right: -100%;
    bottom: -100%;
    width: 300%;
    height: 300%;
    pointer-events: none;
    overflow: visible;
    /* Remove 3D properties to prevent rendering issues */
    z-index: 10;
}

.energy-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(0, 255, 255, 0.3) 0%,
        rgba(30, 144, 255, 0.2) 25%,
        rgba(0, 100, 200, 0.15) 50%,
        rgba(0, 50, 150, 0.08) 75%,
        transparent 100%
    );
    /* Enhanced appearance for smooth parallax */
    box-shadow:
        inset 0 0 15px rgba(0, 255, 255, 0.12),
        0 0 25px rgba(0, 255, 255, 0.1);
    pointer-events: none;
    opacity: 0.7;
    /* Optimized for smooth parallax transforms */
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Energy waves emanating from the spheres using pseudo-elements */
.energy-orb::before,
.energy-orb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
}

.energy-orb::before {
    width: 100%;
    height: 100%;
    animation: energyWaveExpand 5s linear infinite;
    animation-delay: 0s;
}

.energy-orb::after {
    width: 100%;
    height: 100%;
    animation: energyWaveExpand 7s linear infinite;
    animation-delay: 2.5s;
    border-color: rgba(30, 144, 255, 0.35);
}

/* Large spheres - strategic distribution with varied wave speeds */
.orb-1 {
    width: 180px;
    height: 180px;
    top: 10%;
    left: 5%;
    z-index: 20;
}

.orb-1::before {
    animation: energyWaveExpand 8s linear infinite;
    animation-delay: 0s;
}

.orb-1::after {
    animation: energyWaveExpand 12s linear infinite;
    animation-delay: 4s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 8%;
    z-index: 20;
}

.orb-3::before {
    animation: energyWaveExpand 9s linear infinite;
    animation-delay: 1.5s;
}

.orb-3::after {
    animation: energyWaveExpand 13s linear infinite;
    animation-delay: 6.5s;
}

.orb-5 {
    width: 160px;
    height: 160px;
    bottom: 20%;
    left: 50%;
    z-index: 20;
}

.orb-5::before {
    animation: energyWaveExpand 7s linear infinite;
    animation-delay: 3s;
}

.orb-5::after {
    animation: energyWaveExpand 11s linear infinite;
    animation-delay: 8s;
}



/* Small spheres - background layer with faster waves */
.orb-2 {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 80%;
    z-index: 5;
    opacity: 0.4;
}

.orb-2::before {
    animation: energyWaveExpand 4s linear infinite;
    animation-delay: 0.5s;
}

.orb-2::after {
    animation: energyWaveExpand 6s linear infinite;
    animation-delay: 2.5s;
}

.orb-4 {
    width: 80px;
    height: 80px;
    bottom: 40%;
    left: 20%;
    z-index: 5;
    opacity: 0.4;
}

.orb-4::before {
    animation: energyWaveExpand 4.5s linear infinite;
    animation-delay: 1s;
}

.orb-4::after {
    animation: energyWaveExpand 6.5s linear infinite;
    animation-delay: 3.5s;
}

/* New additional spheres - balanced distribution with medium wave speeds */
.orb-6 {
    width: 140px;
    height: 140px;
    top: 15%;
    right: 15%;
    z-index: 15;
}

.orb-6::before {
    animation: energyWaveExpand 6.5s linear infinite;
    animation-delay: 2s;
}

.orb-6::after {
    animation: energyWaveExpand 9.5s linear infinite;
    animation-delay: 5.5s;
}

.orb-7 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 40%;
    z-index: 10;
}

.orb-7::before {
    animation: energyWaveExpand 5.5s linear infinite;
    animation-delay: 1.2s;
}

.orb-7::after {
    animation: energyWaveExpand 8s linear infinite;
    animation-delay: 4.2s;
}

.orb-8 {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 30%;
    z-index: 12;
}

.orb-8::before {
    animation: energyWaveExpand 6s linear infinite;
    animation-delay: 0.8s;
}

.orb-8::after {
    animation: energyWaveExpand 8.5s linear infinite;
    animation-delay: 4.8s;
}





/* Seamless sections - no gaps or spacing */
.section {
    padding: 0.5rem 0;
    margin: 0;
    position: relative;
    z-index: 100;
    background: transparent;
    border: none;
    transition: none;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Remove 3D properties to prevent rendering issues */
    backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
}

/* Remove background from hero section to allow text overlay */
.section.hero {
    background: none !important;
    border: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

/* Improved text layout for all section content */
.section p {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    padding: 0 1rem;
}

/* Override section p styles for hero subtitle */
.section.hero .hero-subtitle,
.hero .hero-subtitle {
    max-width: 85% !important;
    padding: 0 2rem !important;
    font-size: clamp(1.2rem, 3.5vw, 1.8rem) !important;
    color: var(--text-primary) !important;
    background: none !important;
    position: relative !important;
    z-index: 200 !important;
}

.section ul, .section ol {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding: 0 1rem;
}

.section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.section:nth-child(even) {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

/* Problem and solution section specific text styling */
.problem-list, .solution-list {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding: 0 1rem;
}

.problem-list li, .solution-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

/* Center the grid containers - seamless */
.problem-grid, .solution-grid {
    display: flex;
    justify-content: center;
    margin: 0;
}

.problem-grid > div, .solution-grid > div {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}





.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.section-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Completely transparent section containers */
.section-container {
    background: transparent;
    border: none;
    isolation: isolate;
    border-radius: 8px;
    padding: 2rem 2rem;
    margin: 1rem auto;
    backdrop-filter: none;
    position: relative;
    overflow: visible;
    box-shadow: none;
    max-width: 1200px;
}

/* Section containers with header images - seamless connection */
.section-container:has(.section-header-image) {
    border-radius: 0;
    border: none;
}
    transition: none;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    min-width: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    will-change: transform;
    opacity: 0.9;
}

/* Remove gleam effect for seamless design */
.section-container::before {
    display: none;
}

/* No hover effects for fluid design */

/* Ensure all child elements respect container bounds */
.section-container * {
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}

/* Section Header Images */
.section-header-image {
    position: relative;
    width: 100%; /* Contained within section bounds */
    height: 300px;
    margin: 0 0 1rem 0; /* Tighter spacing for better flow */
    border-radius: 8px; /* Subtle rounded corners */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Subtle depth */
}

.header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    filter: brightness(0.8) contrast(1.1);
}



.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 12, 28, 0.3) 0%,
        rgba(0, 255, 255, 0.1) 50%,
        rgba(0, 12, 28, 0.4) 100%
    );
    pointer-events: none;
}

.section-header-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 255, 255, 0.1) 25%,
        transparent 50%,
        rgba(0, 255, 255, 0.1) 75%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}



/* Special container variants */
.section-container.problem-container {
    border: none;
    box-shadow: none;
}

.section-container.problem-container::before {
    display: none;
}

.section-container.solution-container {
    border: none;
    box-shadow: none;
}

.section-container.solution-container::before {
    display: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 144, 255, 0.3);
    transition: var(--transition);
    box-shadow:
        0 0 20px rgba(30, 144, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

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

.logo {
    font-family: 'Comfortaa', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}



.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(30, 144, 255, 0.4);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(30, 144, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}



.btn-primary {
    background:
        linear-gradient(135deg,
            rgba(0, 255, 255, 0.9) 0%,
            rgba(30, 144, 255, 0.8) 50%,
            rgba(0, 255, 255, 0.9) 100%);
    color: rgba(0, 8, 20, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}



.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    transition: var(--transition);
    padding: 5rem 2rem 2rem;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}



.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-auth-buttons .btn {
    justify-content: center;
    padding: 0.75rem;
}

/* Dynamic Section Flow - No Grid Areas Needed */

/* Hero section optimized for stable text rendering */
.hero {
    min-height: calc(100vh - 80px); /* Account for fixed header */
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 1rem;
    /* Remove all backgrounds for clean text overlay */
    background: none !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background:
        /* Bright white gleam highlights */
        radial-gradient(ellipse 600px 300px at 30% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 500px 250px at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 400px 200px at 50% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
        /* Central focus enhancement */
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(0, 255, 255, 0.06) 0%, transparent 70%),
        /* Corner accent lights */
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 144, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}



.orb-9 {
    width: 50px;
    height: 50px;
    top: 85%;
    left: 60%;
    z-index: -16;
}

.orb-9::before {
    animation: energyWaveExpand 3.5s linear infinite;
    animation-delay: 0.3s;
}

.orb-9::after {
    animation: energyWaveExpand 5.5s linear infinite;
    animation-delay: 2.3s;
}

.orb-10 {
    width: 70px;
    height: 70px;
    top: 10%;
    right: 30%;
    z-index: -15;
}

.orb-10::before {
    animation: energyWaveExpand 4.2s linear infinite;
    animation-delay: 0.7s;
}

.orb-10::after {
    animation: energyWaveExpand 6.2s linear infinite;
    animation-delay: 2.9s;
}

.orb-11 {
    width: 110px;
    height: 110px;
    top: 65%;
    left: 25%;
    z-index: -9;
}

.orb-11::before {
    animation: energyWaveExpand 5.8s linear infinite;
    animation-delay: 1.4s;
}

.orb-11::after {
    animation: energyWaveExpand 8.2s linear infinite;
    animation-delay: 4.6s;
}

.orb-12 {
    width: 35px;
    height: 35px;
    top: 40%;
    right: 5%;
    z-index: -20;
    opacity: 0.09;
}

.orb-12::before {
    animation: energyWaveExpand 3s linear infinite;
    animation-delay: 0.1s;
}

.orb-12::after {
    animation: energyWaveExpand 4.8s linear infinite;
    animation-delay: 1.9s;
}

/* Global energy field for sphere positioning */
.global-energy-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    /* Remove 3D properties to prevent rendering issues */
}

.global-orb-1 {
    width: 140px;
    height: 140px;
    top: 120vh;
    left: 15%;
    z-index: -11;
    opacity: 0.17;
}

.global-orb-1::before {
    animation: energyWaveExpand 7.2s linear infinite;
    animation-delay: 2.1s;
}

.global-orb-1::after {
    animation: energyWaveExpand 10.8s linear infinite;
    animation-delay: 6.3s;
}

.global-orb-2 {
    width: 90px;
    height: 90px;
    top: 180vh;
    right: 20%;
    z-index: -14;
    opacity: 0.13;
}

.global-orb-2::before {
    animation: energyWaveExpand 4.8s linear infinite;
    animation-delay: 1.3s;
}

.global-orb-2::after {
    animation: energyWaveExpand 7.2s linear infinite;
    animation-delay: 3.9s;
}

.global-orb-3 {
    width: 110px;
    height: 110px;
    top: 250vh;
    left: 60%;
    z-index: -8;
    opacity: 0.18;
}

.global-orb-3::before {
    animation: energyWaveExpand 6.1s linear infinite;
    animation-delay: 0.9s;
}

.global-orb-3::after {
    animation: energyWaveExpand 8.7s linear infinite;
    animation-delay: 4.1s;
}

.global-orb-4 {
    width: 70px;
    height: 70px;
    top: 320vh;
    right: 10%;
    z-index: -16;
    opacity: 0.11;
}

.global-orb-4::before {
    animation: energyWaveExpand 4.3s linear infinite;
    animation-delay: 0.6s;
}

.global-orb-4::after {
    animation: energyWaveExpand 6.4s linear infinite;
    animation-delay: 2.8s;
}

.global-orb-5 {
    width: 130px;
    height: 130px;
    top: 400vh;
    left: 25%;
    z-index: -7;
    opacity: 0.19;
}

.global-orb-5::before {
    animation: energyWaveExpand 6.9s linear infinite;
    animation-delay: 1.7s;
}

.global-orb-5::after {
    animation: energyWaveExpand 10.1s linear infinite;
    animation-delay: 5.2s;
}

.global-orb-6 {
    width: 60px;
    height: 60px;
    top: 480vh;
    right: 35%;
    z-index: -18;
    opacity: 0.1;
}

.global-orb-7 {
    width: 100px;
    height: 100px;
    top: 560vh;
    left: 40%;
    z-index: -12;
    opacity: 0.15;
}

.global-orb-8 {
    width: 80px;
    height: 80px;
    top: 640vh;
    right: 15%;
    z-index: -15;
    opacity: 0.12;
}

/* Extended global orbs throughout entire site */
.global-orb-9 {
    width: 150px;
    height: 150px;
    top: 720vh;
    left: 20%;
    z-index: -10;
    opacity: 0.18;
}

.global-orb-10 {
    width: 75px;
    height: 75px;
    top: 800vh;
    right: 25%;
    z-index: -17;
    opacity: 0.11;
}

.global-orb-11 {
    width: 120px;
    height: 120px;
    top: 880vh;
    left: 45%;
    z-index: -12;
    opacity: 0.15;
}

.global-orb-12 {
    width: 65px;
    height: 65px;
    top: 960vh;
    right: 10%;
    z-index: -19;
    opacity: 0.09;
}

.global-orb-13 {
    width: 140px;
    height: 140px;
    top: 1040vh;
    left: 30%;
    z-index: -9;
    opacity: 0.17;
}

.global-orb-14 {
    width: 85px;
    height: 85px;
    top: 1120vh;
    right: 35%;
    z-index: -16;
    opacity: 0.12;
}

.global-orb-15 {
    width: 110px;
    height: 110px;
    top: 1200vh;
    left: 15%;
    z-index: -13;
    opacity: 0.14;
}

.global-orb-16 {
    width: 55px;
    height: 55px;
    top: 1280vh;
    right: 20%;
    z-index: -20;
    opacity: 0.08;
}

/* Extended spheres with decreasing frequency down the page */
.global-orb-17 {
    width: 95px;
    height: 95px;
    top: 1400vh;
    left: 35%;
    z-index: -14;
    opacity: 0.12;
}

.global-orb-18 {
    width: 70px;
    height: 70px;
    top: 1600vh;
    right: 30%;
    z-index: -18;
    opacity: 0.09;
}

.global-orb-19 {
    width: 85px;
    height: 85px;
    top: 1900vh;
    left: 25%;
    z-index: -16;
    opacity: 0.10;
}

.global-orb-20 {
    width: 60px;
    height: 60px;
    top: 2300vh;
    right: 15%;
    z-index: -19;
    opacity: 0.08;
}

.global-orb-21 {
    width: 75px;
    height: 75px;
    top: 2800vh;
    left: 40%;
    z-index: -17;
    opacity: 0.09;
}

.global-orb-22 {
    width: 50px;
    height: 50px;
    top: 3500vh;
    right: 25%;
    z-index: -21;
    opacity: 0.07;
}

.global-orb-23 {
    width: 65px;
    height: 65px;
    top: 4300vh;
    left: 30%;
    z-index: -18;
    opacity: 0.08;
}

.global-orb-24 {
    width: 45px;
    height: 45px;
    top: 5200vh;
    right: 35%;
    z-index: -22;
    opacity: 0.06;
}



.hero-content {
    position: relative;
    z-index: 200;
    isolation: isolate;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    will-change: transform;
    overflow: visible;
    background: none !important; /* Ensure no background */
    border: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--primary);
    backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-decoration: none;
}

.hero-badge::after {
    display: none;
}

/* Static energy rings - no animation */
.sound-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: none;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    z-index: 5;
    box-shadow: 0 0 4px rgba(0, 255, 255, 0.1);
    /* Static rings for visual depth without animation */
}

/* OLD ENERGY WAVES REMOVED - REPLACED WITH PULSE RINGS */

/* OLD ENERGY WAVE VARIANTS REMOVED */

/* OLD ENERGY WAVE KEYFRAMES REMOVED */



/* Enable smooth parallax for spheres */
.parallax-layer {
    will-change: transform;
    transition: none;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    /* Hardware acceleration for smooth parallax */
}

/* Static sphere layers - no parallax movement */
.orb-1, .orb-3, .orb-5 {
    z-index: 20;
    filter: brightness(1.1) contrast(1.05);
    opacity: 0.8;
}

/* Medium spheres - static positioning */
.orb-6, .orb-8 {
    z-index: 15;
    filter: blur(0.3px) brightness(1.0) contrast(0.98);
    opacity: 0.7;
}

/* Small spheres - static positioning */
.orb-2, .orb-4, .orb-7 {
    z-index: 10;
    filter: blur(0.6px) brightness(0.95) contrast(0.95);
    opacity: 0.6;
}

/* Content layers should be above parallax elements - no 3D transforms */
.hero-content {
    position: relative;
    z-index: 100;
    /* Remove 3D transform to prevent text flickering */
}

.section-content {
    position: relative;
    z-index: 50;
    /* Remove 3D transform to prevent text flickering */
}

/* OLD ENERGY WAVE VARIANTS REMOVED */

/* OLD ENERGY WAVE CLASSES REMOVED - NOW USING PSEUDO-ELEMENTS */

@keyframes energyWaveExpand {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
        border-width: 1px;
    }
    20% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.5);
        border-width: 0.8px;
    }
    40% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(2.5);
        border-width: 0.6px;
    }
    60% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(4);
        border-width: 0.4px;
    }
    80% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(6);
        border-width: 0.3px;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(8);
        border-width: 0.2px;
    }
}





/* Static ring sizes for visual depth */
.wave-1 {
    width: 150px;
    height: 150px;
    opacity: 0.3;
}

.wave-2 {
    width: 250px;
    height: 250px;
    opacity: 0.2;
}



@keyframes heroGleamFlow {
    0%, 100% {
        background-position: 30% 40%, 70% 60%, 50% 20%;
        opacity: 0.9;
    }
    50% {
        background-position: 40% 50%, 60% 50%, 60% 30%;
        opacity: 1.0;
    }
}







.hero-title {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(3.2rem, 9vw, 5.5rem);
    font-weight: 800;
    font-variation-settings: 'wght' 800;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg,
        #87ceeb 0%,
        #4fc3f7 15%,
        #29b6f6 30%,
        #03a9f4 45%,
        #039be5 60%,
        #0288d1 75%,
        #0277bd 90%,
        #01579b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    line-height: 0.9;
    letter-spacing: 0.04em;
    text-shadow:
        0 0 10px rgba(135, 206, 235, 0.4),
        0 0 20px rgba(79, 195, 247, 0.3),
        0 0 30px rgba(41, 182, 246, 0.2);
    -webkit-text-stroke: 0.8px rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    position: relative;
    padding: 2rem 3rem;
    text-transform: uppercase;
    text-align: center;
    width: fit-content;
    max-width: 90%;
    margin: 0 auto 0.2rem auto;
    overflow: visible;
    white-space: nowrap;
    /* Removed animation to prevent blinking */
}









.hero-tagline {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 700;
    background: linear-gradient(135deg, #00ffff 0%, #1e90ff 50%, #0064c8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
    opacity: 1;
    /* Removed blur text-shadow and filter */
    text-align: center;
    width: 100%;
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem); /* Better scaling like main title */
    color: var(--text-primary); /* Brighter text color */
    margin-top: 2.5rem;
    margin-bottom: 3.5rem;
    line-height: 1.5;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    max-width: 85%; /* More margin on both sides */
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 400;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 255, 255, 0.3);
    background: none !important; /* Force no background */
    padding: 0 2rem; /* Add horizontal padding for more margin */
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    text-align: center;
    position: relative;
    z-index: 200; /* Ensure it overlays properly */
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    align-items: stretch;
    margin: 4rem auto 0 auto;
    max-width: 800px;
    padding: 1.5rem 2rem;
    background:
        linear-gradient(135deg,
            rgba(0, 12, 30, 0.9) 0%,
            rgba(2, 18, 40, 0.85) 50%,
            rgba(0, 12, 30, 0.9) 100%);
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 24px;
    backdrop-filter: blur(30px) saturate(1.3);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(0, 255, 255, 0.2),
        0 0 60px rgba(30, 144, 255, 0.1);
}

.hero-stats .stat {
    flex: 1 1 160px;
    min-width: 140px;
    max-width: 200px;
}

.stat {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1rem;
    backdrop-filter: none;
    transition: none;
    position: relative;
    overflow: visible;
    box-shadow: none;
    text-align: center;
    min-width: 120px;
}



.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.btn-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 255, 255, 0.6) 25%,
        rgba(0, 255, 255, 0.8) 50%,
        rgba(0, 255, 255, 0.6) 75%,
        transparent 100%);
    border-radius: 20px 20px 0 0;
}



.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(30, 144, 255, 0.1);
}





/* Problem/Solution Sections - seamless styling with opacity */
.problem {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    opacity: 0.9;
}

.solution {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    opacity: 0.9;
}

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

.problem-list, .solution-list {
    list-style: none;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}

.problem-list li::before {
    content: "❌";
    flex-shrink: 0;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}

.solution-list li::before {
    content: "✅";
    flex-shrink: 0;
}

/* Stable Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.75rem;
    background: linear-gradient(
        135deg,
        #00ffff 0%,
        #1e90ff 50%,
        #00ffff 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Removed blur text-shadow */
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    margin-right: auto;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 400;
    opacity: 1;
    text-shadow:
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(0, 255, 255, 0.3);
    background: transparent;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    backdrop-filter: none;
}

/* Dynamic Responsive Card Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 0;
    justify-items: center;
    justify-content: center;
}

.feature-card {
    background: linear-gradient(135deg,
        rgba(0, 12, 28, 0.9) 0%,
        rgba(2, 18, 40, 0.85) 50%,
        rgba(0, 12, 28, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 0;
    backdrop-filter: blur(20px) saturate(1.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 20px rgba(30, 144, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    text-align: center;
    transform: translateY(0);
    min-height: 260px;
    max-width: 280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
    margin: 0 auto;
    flex: 0 0 auto;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 30px rgba(30, 144, 255, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}





.feature-image {
    width: 100%;
    height: 192px;
    margin: 0;
    position: relative;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg,
        rgba(30, 144, 255, 0.1) 0%,
        rgba(0, 212, 255, 0.05) 100%);
    padding: 0;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.4) contrast(1.3) saturate(1.4);
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0;
    opacity: 1;
}

.feature-card:hover .feature-img {
    transform: scale(1.08);
    filter: brightness(1.5) contrast(1.4) saturate(1.5);
}

.feature-content {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}




.feature-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
    font-size: 0.7rem;
    opacity: 1;
    font-weight: 400;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    margin: 0;
    text-align: center;
    padding: 0;
    letter-spacing: 0.005em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Dynamic Social Proof Layout */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.testimonial-grid .testimonial {
    flex: 1 1 320px;
    max-width: 450px;
    min-width: 300px;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid rgba(30, 144, 255, 0.4);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(30, 144, 255, 0.15);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 700;
}

.testimonial-info h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Dynamic Pricing Layout */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-grid .pricing-card {
    flex: 1 1 300px;
    max-width: 420px;
    min-width: 280px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(30, 144, 255, 0.4);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    transition: var(--transition);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(30, 144, 255, 0.15);
}

.pricing-card.featured {
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 30px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(30, 144, 255, 0.2);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.pricing-price {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.25rem;
}

.pricing-period {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}

.pricing-features .check {
    color: var(--primary);
}

.pricing-cta {
    width: 100%;
    justify-content: center;
}

/* Dynamic FAQ Layout */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(30, 144, 255, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(30, 144, 255, 0.15);
}

.faq-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    padding: 0 0.5rem;
}

/* ===== MOBILE RESPONSIVE DESIGN ===== */

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    /* Base Layout */
    body {
        padding-top: 55px;
    }

    /* Header */
    .header {
        height: 55px;
    }

    .header-content {
        padding: 0.25rem 0.75rem;
        height: 55px;
        gap: 0.5rem;
    }

    /* Logo */
    .logo {
        font-size: 1rem;
    }

    .logo-main {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.55rem;
    }

    /* Auth Buttons */
    .auth-buttons .btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }

    .auth-buttons .btn i {
        font-size: 0.65rem;
        margin-right: 0.2rem;
    }

    /* Mobile Nav Toggle */
    .mobile-nav-toggle {
        font-size: 1rem;
        padding: 0.2rem;
    }

    /* Much brighter background for small mobile devices */
    body {
        background: linear-gradient(135deg,
            #3a5a76 0%,
            #426484 25%,
            #4a6e92 50%,
            #426484 75%,
            #3a5a76 100%) !important;
    }

    /* Enhanced background effects for small screens */
    .bg-effects {
        opacity: 1.0 !important;
    }

    .wave-layer-1 {
        background: radial-gradient(circle at 25% 25%, rgba(0, 255, 255, 0.6) 0%, transparent 60%) !important;
        opacity: 1.0 !important;
    }

    .wave-layer-2 {
        background: radial-gradient(circle at 75% 75%, rgba(30, 144, 255, 0.5) 0%, transparent 60%) !important;
        opacity: 1.0 !important;
    }

    .wave-layer-3 {
        background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 255, 0.45) 50%, transparent 100%) !important;
        opacity: 1.0 !important;
    }

    /* Hero Section */
    .hero {
        min-height: calc(100vh - 55px);
        padding: 1rem 0.5rem;
    }

    .hero-content {
        padding: 1.5rem 0.5rem 0.75rem 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
    }

    /* Hide hero badge on small mobile */
    .hero-badge {
        display: none !important;
    }

    /* Brighter images and higher contrast on small mobile */
    img, .feature-img, .header-img, .research-thumbnail img {
        filter: brightness(1.3) contrast(1.2) !important;
    }

    /* Seamless transparent containers on small mobile */
    .section-container, .feature-card {
        background: rgba(50, 70, 90, 0.3) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .hero-title {
        font-size: clamp(2rem, 12vw, 3.2rem);
        margin-bottom: 1rem;
        letter-spacing: 0.01em;
        line-height: 1.1;
        padding: 0 0.5rem;
        white-space: nowrap;
        overflow: visible;
        word-wrap: normal;
        overflow-wrap: normal;
        color: #ffffff !important;
        background: none !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: #ffffff !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9) !important;
    }

    .hero-tagline,
    .section.hero .hero-tagline,
    .hero .hero-tagline {
        font-size: clamp(0.9rem, 4vw, 1.3rem) !important; /* Much smaller for mobile */
        letter-spacing: 0.04em !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(30, 144, 255, 0.5) !important;
    }

    .hero-subtitle,
    .section.hero .hero-subtitle,
    .hero .hero-subtitle {
        font-size: clamp(1rem, 5vw, 1.4rem) !important; /* Better mobile scaling */
        margin-top: 1.2rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.4 !important;
        padding: 0 1.5rem !important; /* More margin on both sides */
        max-width: 90% !important; /* Ensure proper centering with margins */
        margin-left: auto !important;
        margin-right: auto !important;
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 1.0) !important;
        color: rgba(255, 255, 255, 0.98) !important;
        background: none !important; /* Force no background */
        position: relative !important;
        z-index: 200 !important;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-large {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
        border-radius: 8px;
        justify-content: center;
    }

    /* Forms */
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-row .form-group {
        margin-bottom: 1rem;
    }

    .modal-content {
        padding: 1rem;
        margin: 1rem 0;
    }

    /* Mobile sections - elegant spacing */
    .section {
        padding: 0.5rem 0;
        margin: 0.5rem 0;
        z-index: 100;
    }

    /* Containers */
    .section-container {
        padding: 1.5rem 1rem;
        margin: 0.5rem auto;
        width: calc(100% - 2rem);
        max-width: calc(100vw - 2rem);
    }

    .container {
        padding: 0 0.375rem;
    }

    .section-content {
        padding: 0 0.375rem;
    }

    .section-narrow {
        padding: 0 0.375rem;
    }

    /* Mobile text improvements */
    .section p {
        max-width: 100%;
        padding: 0 0.5rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .faq-item p {
        max-width: 100%;
        padding: 0 0.25rem;
        font-size: 0.85rem;
    }

    .problem-list, .solution-list {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    /* Header Images */
    .section-header-image {
        height: 200px;
        margin: 0 0 0.75rem 0;
        border-radius: 8px;
        width: 100%;
    }

    /* Feature Cards - Mobile Centered Style - Single Column */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 400px;
        justify-items: center;
        justify-content: center;
        align-items: center;
    }

    .feature-card {
        padding: 0;
        min-height: 240px;
        max-width: 300px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .feature-image {
        width: 100%;
        height: 168px;
        margin-bottom: 0;
        border-radius: 12px 12px 0 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .feature-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        margin: 0 auto;
    }

    .feature-content {
        padding: 0.75rem 1rem 1rem 1rem;
        flex: 1;
    }

    .feature-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
}

/* Tablet and Medium Mobile Devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Much brighter background for medium mobile devices */
    body {
        padding-top: 60px;
        background: linear-gradient(135deg,
            #2f4a70 0%,
            #375a7e 25%,
            #3f648c 50%,
            #375a7e 75%,
            #2f4a70 100%) !important;
    }

    /* Enhanced background effects for medium screens */
    .bg-effects {
        opacity: 0.9 !important;
    }

    .wave-layer-1 {
        background: radial-gradient(circle at 25% 25%, rgba(0, 255, 255, 0.55) 0%, transparent 60%) !important;
        opacity: 1.0 !important;
    }

    .wave-layer-2 {
        background: radial-gradient(circle at 75% 75%, rgba(30, 144, 255, 0.45) 0%, transparent 60%) !important;
        opacity: 1.0 !important;
    }

    .wave-layer-3 {
        background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 255, 0.4) 50%, transparent 100%) !important;
        opacity: 1.0 !important;
    }

    /* Ensure single column for program cards on medium mobile */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 420px;
        margin: 0 auto;
        justify-items: center;
        align-items: center;
        padding: 1.5rem;
    }

    .feature-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        max-width: 350px;
        width: 100%;
    }

    .feature-image {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .feature-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        margin: 0 auto;
    }

    /* Hide hero badge on medium mobile */
    .hero-badge {
        display: none !important;
    }

    /* Brighter images and higher contrast on medium mobile */
    img, .feature-img, .header-img, .research-thumbnail img {
        filter: brightness(1.3) contrast(1.2) !important;
    }

    /* Seamless transparent containers on medium mobile */
    .section-container, .feature-card {
        background: rgba(50, 70, 90, 0.3) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* Header */
    .header {
        height: 60px;
    }

    .header-content {
        padding: 0.5rem 1rem;
        height: 60px;
        width: 100%;
        max-width: 100%;
        gap: 0.75rem;
    }

    /* Logo */
    .logo {
        font-size: 1.2rem;
    }

    .logo-main {
        font-size: 1.2rem;
        letter-spacing: 0.02em;
    }

    .logo-sub {
        font-size: 0.6rem;
        opacity: 0.8;
    }

    /* Auth Buttons */
    .auth-buttons {
        gap: 0.25rem;
        flex-wrap: nowrap;
    }

    .auth-buttons .btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
        white-space: nowrap;
        min-width: auto;
    }

    .auth-buttons .btn i {
        font-size: 0.7rem;
        margin-right: 0.25rem;
    }

    /* Mobile Nav Toggle */
    .mobile-nav-toggle {
        font-size: 1.1rem;
        padding: 0.25rem;
        color: var(--text-primary);
    }

    /* Hero Section */
    .hero {
        min-height: calc(100vh - 60px);
        padding: 2rem 1rem 1rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        padding: 2rem 1rem 1rem 1rem;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(3.2rem, 12vw, 4.8rem);
        margin-bottom: 1.2rem;
        letter-spacing: 0.02em;
        padding: 0 0.5rem;
        line-height: 1.05;
    }

    .hero-tagline,
    .section.hero .hero-tagline,
    .hero .hero-tagline {
        font-size: clamp(1.1rem, 4.5vw, 1.6rem) !important; /* Better scaling for medium mobile */
        letter-spacing: 0.06em !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }

    .hero-subtitle,
    .section.hero .hero-subtitle,
    .hero .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.6rem) !important; /* Better scaling for medium mobile */
        margin-top: 1.5rem !important;
        margin-bottom: 2.5rem !important;
        line-height: 1.4 !important;
        padding: 0 2rem !important; /* More margin on both sides */
        max-width: 85% !important; /* Better centering with margins */
        margin-left: auto !important;
        margin-right: auto !important;
        background: none !important; /* Force no background */
        position: relative !important;
        z-index: 200 !important;
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 1.0) !important;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        margin: 2rem 0;
        padding: 1rem 1rem;
        max-width: 500px;
    }

    .hero-stats .stat {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
    }

    .stat {
        padding: 1rem 0.75rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 1.25rem;
        margin-top: 2rem;
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        border-radius: 10px;
        justify-content: center;
    }

    /* Medium mobile sections - elegant spacing */
    .section {
        padding: 0.75rem 0;
        margin: 0.75rem 0;
        z-index: 100;
    }

    /* Containers */
    .section-container {
        padding: 2rem 1.5rem;
        margin: 0.75rem auto;
        width: calc(100% - 2rem);
        max-width: calc(100vw - 2rem);
    }

    .container {
        padding: 0 1rem;
    }

    .section-content {
        padding: 0 1rem;
    }

    .section-narrow {
        padding: 0 0.5rem;
        max-width: 100%;
    }

    /* Tablet text improvements */
    .section p {
        max-width: 700px;
        padding: 0 1rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    .faq-item p {
        max-width: 550px;
        padding: 0 0.75rem;
    }

    .problem-list, .solution-list {
        max-width: 600px;
        padding: 0 1rem;
    }

    /* Header Images */
    .section-header-image {
        height: 240px;
        margin: 0 0 1rem 0;
        border-radius: 10px;
        width: 100%;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Enhanced background effects for mobile visibility */
    body {
        background: linear-gradient(135deg,
            #2a4058 0%,
            #324a68 25%,
            #3a5476 50%,
            #324a68 75%,
            #2a4058 100%) !important;
    }

    /* High contrast section titles for mobile - no glow */
    .section-title, .feature-title, h1, h2, h3 {
        color: #ffffff !important;
        background: none !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 1.0) !important;
    }

    /* Hero title - keep minimal glow for branding */
    .hero-title {
        color: #ffffff !important;
        background: none !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 1.0) !important;
    }

    /* Hero subtitle - high contrast, no glow */
    .hero-subtitle {
        color: #ffffff !important;
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 1.0) !important;
    }

    /* Higher contrast for all text elements */
    .section-subtitle, .feature-description, p {
        color: #ffffff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
    }

    /* Brighter images with higher contrast on mobile */
    img, .feature-img, .header-img, .research-thumbnail img {
        filter: brightness(1.3) contrast(1.2) !important;
    }

    /* Seamless transparent containers */
    .section-container, .feature-card, .pricing-card {
        background: rgba(50, 70, 90, 0.3) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* Enhanced button contrast */
    .btn-primary {
        background: linear-gradient(135deg,
            rgba(0, 255, 255, 1.0) 0%,
            rgba(30, 144, 255, 0.9) 50%,
            rgba(0, 255, 255, 1.0) 100%) !important;
        color: rgba(0, 8, 20, 1.0) !important;
    }

    /* Seamless section containers on mobile */
    .section-container {
        background: rgba(20, 35, 55, 0.4) !important;
        border: none !important;
        border-radius: 0 !important;
        backdrop-filter: blur(5px) !important;
        box-shadow: none !important;
    }

    /* Hide hero badge on mobile */
    .hero-badge {
        display: none !important;
    }

    /* MOBILE PERFORMANCE OPTIMIZATION: Hide all visual effects for maximum performance */

    /* Hide ALL wave layers on mobile */
    .audio-wave-visualization,
    .wave-layer,
    .wave-layer-1,
    .wave-layer-2,
    .wave-layer-3 {
        display: none !important;
    }

    /* Hide ALL background effects on mobile */
    .bg-effects,
    .bg-effects::before,
    .bg-effects::after {
        display: none !important;
    }

    /* Hide ALL energy orbs and spheres on mobile for maximum performance */
    .energy-orb,
    .orb-1, .orb-2, .orb-3, .orb-4, .orb-5, .orb-6, .orb-7, .orb-8,
    .orb-9, .orb-10, .orb-11, .orb-12 {
        display: none !important;
    }

    /* Hide ALL global energy orbs on mobile */
    .global-energy-field,
    .global-orb-1, .global-orb-2, .global-orb-3, .global-orb-4,
    .global-orb-5, .global-orb-6, .global-orb-7, .global-orb-8,
    .global-orb-9, .global-orb-10, .global-orb-11, .global-orb-12,
    .global-orb-13, .global-orb-14, .global-orb-15, .global-orb-16,
    .global-orb-17, .global-orb-18, .global-orb-19, .global-orb-20 {
        display: none !important;
    }

    /* Hide wellness energy orbs */
    .wellness-energy-orbs {
        display: none !important;
    }

    /* Hide all sound waves and energy waves */
    .sound-wave,
    .energy-wave {
        display: none !important;
    }

    /* DISABLE ALL ANIMATIONS AND EFFECTS ON MOBILE FOR MAXIMUM PERFORMANCE */

    /* Disable all parallax effects on mobile */
    .parallax-layer {
        transform: none !important;
        will-change: auto !important;
        animation: none !important;
        transition: none !important;
    }

    /* Force disable ALL animations on mobile */
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        will-change: auto !important;
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        -ms-animation: none !important;
    }

    /* Only allow essential UI animations (spinners, notifications) */
    .spinner,
    .loading-content .spinner,
    .spinner-ring,
    .notification {
        animation: revert !important;
        transition: revert !important;
        -webkit-animation: revert !important;
    }

    /* Disable CSS transforms for better mobile performance */
    * {
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -o-transform: none !important;
        transform: none !important;
    }

    /* Optimize mobile rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeSpeed;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    /* Smooth scrolling for mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Optimize touch interactions */
    button, .btn, a {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px;
    }
}

/* Portrait Mode Specific Optimizations */
@media (max-width: 768px) and (orientation: portrait) {
    /* Clean background for portrait mode - no effects */
    body {
        background: linear-gradient(135deg,
            #2a4058 0%,
            #324a68 25%,
            #3a5476 50%,
            #324a68 75%,
            #2a4058 100%) !important;
    }

    /* Ensure all effects remain hidden in portrait mode */
    .bg-effects,
    .bg-effects::before,
    .bg-effects::after,
    .audio-wave-visualization,
    .wave-layer,
    .wave-layer-1,
    .wave-layer-2,
    .wave-layer-3,
    .energy-orb,
    .global-energy-field,
    .wellness-energy-orbs,
    .sound-wave,
    .energy-wave {
        display: none !important;
        opacity: 0 !important;
    }

    /* Enhanced text visibility for portrait mode */
    .hero-title {
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(0, 255, 255, 0.3);
    }

    .hero-tagline {
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 0.7),
            0 0 15px rgba(30, 144, 255, 0.4);
    }

    .hero-subtitle,
    .section.hero .hero-subtitle,
    .hero .hero-subtitle {
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 0.8),
            0 0 8px rgba(0, 255, 255, 0.15) !important;
        color: rgba(255, 255, 255, 0.98) !important;
        font-size: clamp(1.1rem, 4.5vw, 1.7rem) !important; /* Enhanced scaling for portrait */
        padding: 0 2.5rem !important; /* Even more margin for portrait */
        max-width: 80% !important;
        background: none !important;
        position: relative !important;
        z-index: 200 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Seamless section containers for portrait */
    .section-container {
        background: rgba(20, 30, 50, 0.3);
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Desktop and Large Screens (769px+) */
@media (min-width: 769px) {
    /* Base Layout */
    body {
        padding-top: 80px;
    }

    /* Header */
    .header {
        height: 80px;
    }

    .header-content {
        padding: 1rem 2rem;
        height: 80px;
    }

    /* Navigation */
    .nav-links {
        display: flex;
        justify-content: center;
    }

    .mobile-nav-toggle {
        display: none;
    }

    .mobile-nav {
        display: none;
    }

    /* Hero Section */
    .hero {
        padding: 1rem 1rem;
        min-height: calc(100vh - 80px);
    }

    .hero-content {
        padding: 1.5rem 1rem 0.75rem 1rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .hero-stats .stat {
        flex: 1 1 auto;
        min-width: 160px;
    }

    .features {
        padding: 1.5rem 1rem;
    }

    .cta-buttons {
        flex-wrap: nowrap;
        flex-direction: row;
    }

    .btn-large {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 900px;
        justify-content: center;
        justify-items: center;
    }

    .feature-card {
        padding: 0;
        min-height: 260px;
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
    }

    .feature-image {
        width: 100%;
        height: 192px;
        margin-bottom: 0;
        border-radius: 12px 12px 0 0;
        padding: 0;
    }

    .feature-content {
        padding: 0.75rem 1rem 1rem 1rem;
        flex: 1;
    }

    .feature-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .hero-title {
        font-size: clamp(4rem, 8vw, 5.5rem);
    }

    .hero-subtitle,
    .section.hero .hero-subtitle,
    .hero .hero-subtitle {
        font-size: clamp(1.4rem, 3vw, 1.8rem) !important; /* Better desktop scaling */
        padding: 0 3rem !important; /* More margin for desktop */
        max-width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background: none !important;
        position: relative !important;
        z-index: 200 !important;
        color: var(--text-primary) !important;
    }

    /* Large desktop text improvements */
    .section p {
        max-width: 900px;
        padding: 0 1.5rem;
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .faq-item p {
        max-width: 700px;
        padding: 0 1rem;
        font-size: 1rem;
    }

    .problem-list, .solution-list {
        max-width: 750px;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1440px) {
    .hero-content {
        max-width: 1000px;
    }

    .hero-title {
        font-size: 5.5rem;
    }

    /* Extra large desktop - 3 column centered */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: 1000px;
        justify-content: center;
        justify-items: center;
    }

    .feature-card {
        max-width: 320px;
        min-height: 280px;
        padding: 0;
        width: 100%;
    }

    .feature-image {
        width: 100%;
        height: 216px;
        margin-bottom: 0;
        border-radius: 12px 12px 0 0;
        padding: 0;
    }

    .feature-content {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
        flex: 1;
    }

    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
}
}

/* Reduced motion preferences and mobile optimization */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .bg-effects,
    .bg-effects::before,
    .bg-effects::after,
    .hero-badge,
    .hero-title {
        animation: none;
    }

    /* Slower energy waves for reduced motion */
    .energy-wave {
        animation-duration: 8s; /* Slower for reduced motion */
    }

    .sound-wave {
        animation-duration: 8s; /* Slower for reduced motion */
    }
}



/* Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.auth-modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(30, 144, 255, 0.4);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 420px;
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(30, 144, 255, 0.15);
    margin: auto 0;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

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

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}



.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow:
        0 0 20px rgba(30, 144, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-input:focus {
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 0 3px rgba(30, 144, 255, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.form-icon {
    position: absolute;
    left: 0.875rem;
    top: 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.password-toggle {
    position: absolute;
    right: 0.875rem;
    top: 2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}



.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.link-button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.875rem;
}

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

.form-divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.form-divider span {
    background: var(--bg-card);
    padding: 0 1rem;
}

.auth-switch {
    text-align: center;
    color: var(--text-secondary);
}

.coupon-status {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.coupon-status.valid {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.coupon-status.invalid {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.coupon-status.checking {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.coupon-status.info {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.hidden {
    display: none !important;
}

/* Authentication-conditional content */
.auth-conditional {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-conditional.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

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

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.user-status {
    font-size: 0.75rem;
    color: var(--primary);
}

/* Button sizing variants */
.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.user-menu .btn-sm {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    border-radius: 8px;
}

.user-menu .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    border: none;
}



/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    text-align: center;
    color: var(--text-primary);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2500;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    min-width: 300px;
    backdrop-filter: blur(10px);
    box-shadow: var(--glow);
    transform: translateX(100%);
    animation: slideIn 0.3s ease-out forwards;
}

.notification.success {
    border-color: #22c55e;
}

.notification.error {
    border-color: #ef4444;
}

.notification.warning {
    border-color: #f59e0b;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

/* Sci-Fi Loading Spinner */
.sci-fi-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: spinnerRotate 2s linear infinite;
}

.spinner-ring:nth-child(1) {
    width: 80px;
    height: 80px;
    border-top: 2px solid #1e90ff;
    animation-duration: 2s;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-right: 2px solid #00ffff;
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-bottom: 2px solid #0064c8;
    animation-duration: 1s;
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    opacity: 0.9;
    /* Removed loading pulse animation */
}



/* Global Spinner Styles - Consistent across all pages */
.spinner-small {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* Mobile Navigation Styles */
.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    z-index: 1001;
    transition: var(--transition);
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-auth-buttons .btn {
    justify-content: center;
    padding: 0.75rem;
    width: 100%;
}

/* User Menu Mobile Styles */
@media (max-width: 768px) {
    .user-menu {
        position: absolute;
        right: 0;
        top: 100%;
        transform: none;
        width: auto;
        min-width: 180px;
        max-width: calc(100vw - 2rem);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 0.75rem;
        margin-top: 0.5rem;
    }

    .user-info {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--border);
    }

    .user-name {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .user-status {
        font-size: 0.75rem;
        opacity: 0.8;
    }

    .user-menu .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .user-menu .btn:last-child {
        margin-bottom: 0;
    }

    /* Mobile Navigation Adjustments */
    .mobile-nav {
        max-height: calc(100vh - 60px);
        width: 100%;
        left: -100%;
        top: 60px;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 4rem 1.5rem 2rem;
    }

    .mobile-nav.active {
        left: 0;
    }

    .mobile-nav-links a {
        font-size: 1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-auth-buttons {
        gap: 0.75rem;
    }

    .mobile-auth-buttons .btn {
        padding: 0.75rem 1rem;
    }

    /* Mobile/Tablet Layout - Single Column for Better Mobile Experience */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 450px;
        justify-items: center;
        justify-content: center;
        align-items: center;
    }

    .feature-card {
        padding: 0;
        min-height: 250px;
        max-width: 300px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .feature-image {
        width: 100%;
        height: 180px;
        margin-bottom: 0;
        border-radius: 12px 12px 0 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .feature-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        margin: 0 auto;
    }

    .feature-content {
        padding: 0.75rem 1rem 1rem 1rem;
        flex: 1;
    }

    .feature-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .pricing-grid {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .pricing-grid .pricing-card {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .testimonial-grid {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .testimonial-grid .testimonial {
        flex: 1 1 auto;
        max-width: 100%;
    }

    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix any overflowing elements */
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    /* Text wrapping for mobile - prevent mid-word breaks and hyphens */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: normal;
        overflow-wrap: normal;
        word-break: keep-all;
        hyphens: none;
        white-space: normal;
    }
}

.spinner-large {
    width: 60px;
    height: 60px;
    border-width: 4px;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}


* {
    animation-timing-function: ease-out !important;
}

/* Override any cubic-bezier bounce functions */
*[style*="cubic-bezier(0.68, -0.55"] {
    animation-timing-function: ease-out !important;
    transition-timing-function: ease-out !important;
}

/* Ensure stable text rendering globally */
h1, h2, h3, h4, h5, h6, p, span, div, a, button {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
}

/* Prevent text flickering in hero section */
.hero h1, .hero h2, .hero h3, .hero p, .hero span {
    transform: translateZ(0);
    will-change: auto;
}

/* GLOBAL ANIMATION DISABLE - Complete stability (except parallax and energy orb waves) */
*:not(.parallax-layer):not(.energy-orb),
*:not(.parallax-layer):not(.energy-orb)::before,
*:not(.parallax-layer):not(.energy-orb)::after {
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
}

/* Allow energy orb pseudo-elements to animate with varied speeds */
.energy-orb::before,
.energy-orb::after {
    will-change: transform, opacity !important;
    /* Individual orb speeds are defined in their specific classes */
}

/* Disable transforms for most elements except parallax */
body *:not(.parallax-layer) {
    transform: none !important;
}

/* Explicitly allow transforms for parallax elements - no !important so JS can override */
.parallax-layer,
.energy-orb.parallax-layer,
.hero .energy-orb.parallax-layer {
    transform: translateY(0px); /* Initial position, JS will override this */
}

/* Force static positioning for all elements except parallax */
.bg-effects,
.bg-effects::before,
.bg-effects::after,
.hero-title,
.hero-title::before,
.hero-title::after,
.wave-layer-1,
.wave-layer-2,
.wave-layer-3,
.wellness-energy-orbs,
.energy-orb:not(.parallax-layer),
.sound-wave {
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
}

/* Allow parallax transforms for smooth scrolling effects - higher specificity */
.energy-orb.parallax-layer,
.parallax-layer {
    will-change: transform !important;
    transition: none !important;
    animation: none !important;
}

/* OLD ENERGY WAVE ELEMENT RULES REMOVED - NOW USING PSEUDO-ELEMENTS */

/* Ensure parallax elements can be transformed by JavaScript */
.hero .energy-orb.parallax-layer,
.energy-orb.parallax-layer,
.parallax-layer {
    /* No transform restrictions - let JavaScript control this */
}

/* Test animation to verify transforms work */
@keyframes testParallax {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.parallax-layer.test-animation {
    animation: testParallax 2s ease-in-out infinite;
}





/* Large Desktop Screens */
@media (min-width: 1400px) {
    .container, .section-container {
        max-width: 1400px;
    }

    .section-container {
        padding: 1rem 1.5rem;
    }

    /* Large Desktop Header Images */
    .section-header-image {
        height: 350px;
        margin-bottom: 2.5rem;
        border-radius: 16px;
    }
}

/* Freqipedia Research Section - seamless styling with opacity */
.freqipedia {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    opacity: 0.9;
}

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

.research-card {
    background:
        linear-gradient(135deg,
            rgba(0, 12, 30, 0.8) 0%,
            rgba(2, 18, 40, 0.7) 50%,
            rgba(0, 12, 30, 0.8) 100%);
    border: 1px solid rgba(30, 144, 255, 0.4);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(15px) saturate(1.1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(30, 144, 255, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}



.research-thumbnail {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.research-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.research-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.research-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.research-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    flex: 1;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
}

.research-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    margin-top: auto;
}



.research-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}



.freqipedia-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 1.5rem 2rem;
    background:
        linear-gradient(135deg,
            rgba(0, 12, 30, 0.9) 0%,
            rgba(2, 18, 40, 0.85) 50%,
            rgba(0, 12, 30, 0.9) 100%);
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(25px) saturate(1.3);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 255, 255, 0.15);
}

.freqipedia-cta h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.freqipedia-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        justify-items: center;
        align-items: center;
    }

    .research-card {
        margin: 0 auto;
        max-width: 350px;
        width: 100%;
    }

    .research-thumbnail {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .research-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        margin: 0 auto;
    }

    .research-content {
        padding: 0.75rem;
    }

    .research-content h3 {
        font-size: 0.9rem;
    }

    .research-content p {
        font-size: 0.8rem;
    }

    .freqipedia-cta {
        margin: 2rem 0 0 0;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .research-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
        align-items: center;
        padding: 1rem;
    }

    .research-card {
        margin: 0 auto;
        max-width: 300px;
        width: 100%;
    }
}

/* Enhanced text wrapping for all content - prevent mid-word breaks and hyphens */
p, span, div, li, h1, h2, h3, h4, h5, h6,
.feature-description, .testimonial-text, .research-content p,
.section-subtitle, .hero-subtitle, .problem-list li,
.solution-list li, .pricing-features li, .faq-item p,
.form-description, .auth-switch p, .modal-title,
.pricing-period, .pricing-title, .feature-title,
.testimonial-info h4, .testimonial-info p,
.research-content h3, .freqipedia-cta h3, .freqipedia-cta p {
    word-wrap: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
    white-space: normal !important;
}

/* Special handling for very long words or URLs */
.research-link, .link-button, a {
    word-wrap: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
}
