:root {
    --bg-dark: #0b0f1a;
    --bg-alt: #050608;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --primary: #2fd9ff;
    --secondary: #6d3cff;
    --accent: #ff0055;
    --cyan: #4FD1C5;
    --purple: #9F56FF;
    --blue: #4D4DFF;
    --lime: #a3e635;
    --border: rgba(255, 255, 255, 0.1);
    --glow-grad: linear-gradient(135deg, #4FD1C5 0%, #4D4DFF 100%);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: #fff;
}

.text-gradient {
    background: var(--glow-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px; /* Slightly wider padding */
    border-radius: 12px; /* More rounded modern corners */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: var(--font-display); /* Switch to Outfit for buttons */
    letter-spacing: 0.02em;
    font-size: 1.05rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 217, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(11, 15, 26, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.nav-logo {
    height: 32px;
}

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

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

.nav-links a.btn-primary {
    color: #000;
}
.nav-links a.btn-primary:hover {
    color: #000;
    opacity: 0.9;
}

.lang-switcher {
    position: relative;
    padding: 8px 0; /* Add vertical padding to connect with dropdown */
    margin: 0 8px;
    cursor: pointer;
}

.current-lang {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.lang-switcher:hover .current-lang {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.current-lang::after {
    content: '▼';
    font-size: 0.6em;
    margin-left: 2px;
    opacity: 0.7;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 100px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 1100;
    
    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    
    /* Transition when hiding (mouse leave) - Delay 0.5s */
    transition: opacity 0.3s ease 0.5s, transform 0.3s ease 0.5s, visibility 0s linear 0.8s;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    
    /* Transition when showing (mouse enter) - Instant */
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 20px; /* Slight movement effect */
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #1a0b2e 0%, var(--bg-dark) 70%);
    z-index: -1;
}

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

.hero-text-col {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 60px rgba(79, 209, 197, 0.3); /* Attractive Glow */
}

.hero-subtitle {
    font-family: var(--font-main); /* Switch to Inter for better readability */
    font-size: 1.25rem;
    color: #cbd5e1; /* Lighter, clearer text */
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-label {
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    display: inline-block;
    background: rgba(47, 217, 255, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(47, 217, 255, 0.2);
}

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

.hero-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(109, 60, 255, 0.3));
    transform-origin: center;
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* =========================================
   7. Hero Section - Cinematic Redesign
   ========================================= */
.hero-split-identity {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    background: linear-gradient(115deg, #2b00ff 0%, #7c00ff 40%, #00e5ff 100%);
    overflow: hidden; /* Allow image to overflow visually but not scrollbar */
    padding: 0; /* Remove padding to allow full bleed */
}

/* Seamless Transition Layer */
.hero-split-identity::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, rgba(11, 15, 26, 0) 0%, #0b0f1a 100%);
    z-index: 6; /* Above image, below text */
    pointer-events: none;
}

/* Background Layer */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 40%, rgba(0, 229, 255, 0.2) 0%, transparent 60%);
    mix-blend-mode: screen;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(43, 0, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.3) 0%, transparent 50%);
    filter: blur(60px);
    opacity: 0.6;
    z-index: 0;
}

/* Container & Grid */
.hero-grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split layout */
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1600px; /* Wider container for cinematic feel */
    margin: 0 auto;
    padding: 0 2rem;
    height: 100vh; /* Ensure grid spans full height */
}

/* Image Column - Visuals */
.hero-visual-split {
    position: relative;
    height: 100%; /* Take full height of grid */
    display: flex;
    align-items: flex-end; /* Align image to bottom */
    justify-content: flex-start; /* Align to left */
}

.split-image-wrapper {
    position: absolute;
    bottom: 0;
    left: -5%; /* Slight offset to bleed off edge */
    width: auto;
    height: 90vh; /* Cinematic Scale: 90% of viewport */
    z-index: 5;
    pointer-events: none; /* Let clicks pass through if needed */
    display: flex;
    align-items: flex-end;
}

.split-img {
    height: 100%;
    width: auto; /* Maintain aspect ratio */
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(0, 229, 255, 0.2)); /* Subtle glow */
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%); /* Fade at bottom */
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* The Glowing Divider Line */
.split-line-glow {
    position: absolute;
    top: 5%; /* Adjust based on image face position */
    bottom: 5%;
    left: 50%; /* Center of the image wrapper */
    width: 4px; /* Thicker neon line */
    background: linear-gradient(to bottom, transparent, #00e5ff, #fff, #00e5ff, transparent);
    z-index: 10;
    box-shadow: 0 0 30px #00e5ff, 0 0 10px #fff;
    opacity: 1;
    transform: translateX(-50%);
}

/* Geometric Decorations */
.split-decor-1 {
    display: none; 
}

.hero-shape-triangle {
    position: absolute;
    width: 600px; /* Larger shapes */
    height: 600px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), transparent);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 10%;
    left: -20%;
    z-index: 0;
    filter: blur(50px);
    transform: rotate(-15deg);
    animation: floatShape 20s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-40px) rotate(-10deg); }
}

.hero-shape-triangle-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(225deg, rgba(124, 0, 255, 0.15), transparent);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    bottom: 20%;
    right: 10%; /* Relative to wrapper */
    z-index: 0;
    filter: blur(40px);
    transform: rotate(15deg);
    animation: floatShapeReverse 25s ease-in-out infinite;
}

@keyframes floatShapeReverse {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(30px) rotate(10deg); }
}

/* Text Column */
.hero-text-split {
    text-align: left;
    padding-left: 2rem;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-label-split {
    display: block;
    font-family: var(--font-main);
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 1;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

.hero-title-split {
    font-family: var(--font-main); /* 'Inter' */
    font-size: clamp(2.5rem, 5vw, 4rem); /* Smaller but bold ~64px max */
    font-weight: 800;
    line-height: 1.15; /* More breathing room */
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #2EF2E8; /* Neon Cyan */
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(46, 242, 232, 0.4);
}

.text-highlight-cyan {
    color: #00e5ff;
}

.hero-subtitle-split {
    font-family: var(--font-main);
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-cta-group-split {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary-split {
    background: linear-gradient(90deg, #00e5ff 0%, #7c00ff 100%);
    color: #fff;
    padding: 18px 56px;
    border-radius: 60px;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary-split:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.8);
    filter: brightness(1.15);
}

.btn-outline-split {
    color: #fff;
    padding: 16px 36px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.btn-outline-split:hover {
    border-color: #00e5ff;
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .hero-split-identity {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
        overflow: visible;
    }
    
    .hero-grid-split {
        grid-template-columns: 1fr;
        height: auto;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text-split {
        order: 1; 
        align-items: center;
        text-align: center;
        padding-left: 0;
        height: auto;
    }
    
    .hero-visual-split {
        order: 2;
        height: 50vh;
        justify-content: center;
        width: 100%;
    }
    
    .split-image-wrapper {
        position: relative;
        left: auto;
        bottom: auto;
        height: 100%;
        width: auto;
        max-width: 100%;
    }

    .hero-title-split {
        font-size: 3.5rem;
    }
}

/* --- Feature Story --- */
.feature-story-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 10;
    margin-top: -50px; /* Slight overlap for seamless blend */
}

.feature-story-section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

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

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.story-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.story-link span {
    transition: transform 0.2s;
}

.story-link:hover span {
    transform: translateX(4px);
}

.story-visual img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.story-visual img:hover {
    transform: translateY(-10px);
}

/* --- Works / Integrations (Premium Redesign) --- */
.works-section {
    padding: 140px 0;
    position: relative;
    text-align: center;
    /* Modern Gradient: Deep Purple -> Electric Blue -> Dark Teal/Green */
    background: linear-gradient(135deg, #1a0b2e 0%, #0f1535 40%, #071a2e 75%, #021412 100%);
    overflow: hidden;
}

.works-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft Rainbow Flow: Purple -> Blue -> Cyan -> Lime hint */
    background: linear-gradient(110deg, 
        rgba(159, 86, 255, 0.15) 0%, 
        rgba(77, 77, 255, 0.15) 30%, 
        rgba(0, 229, 255, 0.1) 60%, 
        rgba(163, 230, 53, 0.05) 100%
    );
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
    mix-blend-mode: screen;
}

.works-section .content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.works-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #4ff5e6;
    text-shadow: 0 0 40px rgba(79, 245, 230, 0.25);
    letter-spacing: -1px;
}

.works-subtitle {
    font-family: var(--font-main);
    color: #94a3b8;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0 auto 2.5rem; /* Reduced from 4rem for compact layout */
    max-width: 600px;
    font-weight: 400;
}

/* Center Visual & Connecting Line */
.works-center-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem; /* Reduced from 3rem */
    position: relative;
}

.icon-wrapper {
    margin-bottom: 0.75rem; /* Reduced from 1rem */
    animation: floatCenter 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.floating-icon {
    width: 70px; /* Reduced from 100px (60-70%) */
    height: auto;
    /* Reduced glow strength for cleaner look */
    filter: drop-shadow(0 0 15px rgba(79, 245, 230, 0.3));
}

@keyframes floatCenter {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.connecting-curve {
    width: 100%;
    max-width: 600px;
    height: 60px;
    opacity: 0.4;
    margin-top: -10px;
}

.connecting-curve path {
    stroke: #4ff5e6;
    stroke-width: 2;
    stroke-dasharray: 6 10;
}

/* Icon Grid */
.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.5rem;
    max-width: 1000px;
    margin: 1rem auto 0;
    padding: 0 2rem;
}

.icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: 1;
    /* Full color, slight boost */
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.icon:hover {
    transform: scale(1.15);
    /* Glow effect on hover */
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 20px rgba(79, 245, 230, 0.5));
}

/* --- How It Works (Premium Redesign) --- */
.how-it-works-section {
    padding: 100px 0;
    position: relative;
    /* Deep Dark Gradient to match Why Section */
    background: linear-gradient(to bottom, var(--bg-alt), #0b1020);
    overflow: hidden;
}

.hiw-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(159, 86, 255, 0.08) 0%, transparent 70%); /* Subtle Purple Tint */
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.hiw-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.hiw-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #4ff5e6; /* Bright Cyan/Teal */
    text-shadow: 0 0 25px rgba(79, 245, 230, 0.25);
}

.hiw-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.hiw-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.hiw-step:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 245, 230, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hiw-step-img {
    height: 160px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.hiw-step:hover .hiw-step-img {
    transform: scale(1.05);
}

.hiw-step-title {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.hiw-step-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Why Grid (Premium Redesign) --- */
.why-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to bottom, #0b1020, #0f1b2e, #070b14);
    overflow: hidden;
}

.why-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.why-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.why-eyebrow {
    color: var(--purple);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.why-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #4ff5e6; /* Bright Cyan/Teal */
    text-shadow: 0 0 25px rgba(79, 245, 230, 0.25);
}

.why-subtitle {
    color: #94a3b8; /* Muted light gray-blue */
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    grid-auto-rows: minmax(200px, auto);
    position: relative;
    z-index: 10;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 245, 230, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.why-card.span-3 { grid-column: span 3; }
.why-card.span-6 { grid-column: span 6; }
.why-card.span-4 { grid-column: span 4; }

.why-card h3 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
}

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

.why-card-img {
    margin-top: 1rem;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.why-card:hover .why-card-img {
    opacity: 1;
}

/* --- About Page Specifics --- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px; /* Adjust for mobile/desktop */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--purple), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 24px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--purple);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(159, 86, 255, 0.2);
    color: var(--purple);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.bright-section {
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%);
    padding: 100px 0;
}

/* --- Animation Utilities --- */
.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Soundboard Grid Styles --- */
.sound-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.sound-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy spring effect */
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sound-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--purple);
    box-shadow: 0 10px 30px rgba(159, 86, 255, 0.2);
}

.sound-card:active {
    transform: scale(0.95);
}

.sound-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.sound-name {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

/* --- Soundboard Hero Specifics --- */
.hero-soundboard {
    background: radial-gradient(circle at 70% 30%, rgba(109, 60, 255, 0.15) 0%, var(--bg-dark) 60%),
                radial-gradient(circle at 20% 80%, rgba(79, 209, 197, 0.1) 0%, transparent 50%);
}

.text-gradient-purple {
    background: linear-gradient(135deg, #9F56FF 0%, #ff0055 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-glow-purple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(159, 86, 255, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    font-size: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: floatBob 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    --rot: 0deg;
}

.float-1 { top: 15%; left: 10%; --rot: -10deg; animation-delay: 0s; }
.float-2 { top: 25%; right: 15%; --rot: 15deg; animation-delay: 1.5s; font-size: 2.5rem; }
.float-3 { bottom: 20%; left: 5%; --rot: 5deg; animation-delay: 2.5s; }
.float-4 { bottom: 30%; right: 8%; --rot: -5deg; animation-delay: 0.5s; }
.float-5 { 
    top: 50%; 
    left: 45%; 
    font-size: 1.5rem; 
    font-weight: 800; 
    padding: 0.5rem 1rem;
    background: rgba(109, 60, 255, 0.2);
    border-color: var(--purple);
    animation-delay: 3s;
    opacity: 0.8;
    color: #fff;
    --rot: 5deg;
}

.float-6 {
    top: 12%;
    left: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    color: #4FD1C5; /* Cyan */
    border-color: #4FD1C5;
    background: rgba(79, 209, 197, 0.1);
    animation-delay: 1s;
    --rot: 8deg;
}

.float-7 {
    bottom: 18%;
    right: 35%;
    font-size: 2.5rem;
    animation-delay: 2.2s;
    --rot: -12deg;
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0) rotate(var(--rot)); }
    50% { transform: translateY(-20px) rotate(var(--rot)); }
}

/* --- Soundboard Feature Visuals --- */
.soundboard-stories {
    position: relative;
    background: linear-gradient(to bottom, var(--bg-dark), #13161f);
}

.story-label {
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.sb-visual-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Feature 1: Community */
.sb-visual-community {
    justify-content: flex-start;
    padding-top: 3rem;
}
.sb-search-bar {
    width: 80%;
    background: rgba(0,0,0,0.3);
    padding: 0.8rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sb-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 80%;
}
.sb-mini-item {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid transparent;
}
.sb-mini-item:hover {
    border-color: var(--cyan);
    background: rgba(79, 209, 197, 0.1);
}

/* Feature 2: Chat */
.sb-visual-chat {
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.2) 100%);
    position: relative;
}
.sb-status-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--lime);
    font-weight: 600;
    background: rgba(0,0,0,0.4);
    padding: 4px 8px;
    border-radius: 12px;
    z-index: 10;
}
.status-dot {
    width: 6px;
    height: 6px;
    background: var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--lime);
}
.sb-bg-tiles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    padding: 20px;
    z-index: 1;
    opacity: 0.3;
}
.bg-tile {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.bg-tile.active {
    background: rgba(159, 86, 255, 0.2);
    border-color: var(--purple);
    box-shadow: 0 0 20px rgba(159, 86, 255, 0.2);
}
.chat-overlay {
    position: relative;
    z-index: 5;
    width: 100%;
    background: rgba(11, 15, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.chat-header {
    color: #ff0055;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.chat-msg {
    background: rgba(0,0,0,0.4);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    width: 100%;
}
.chat-msg.highlight {
    background: rgba(159, 86, 255, 0.15);
    border-left: 3px solid var(--purple);
}
.chat-user { font-weight: 700; margin-right: 0.5rem; }
.u1 { color: var(--cyan); }
.u2 { color: var(--lime); }
.u3 { color: var(--purple); }

/* Feature 3: Custom */
.sb-visual-custom {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 1rem;
    padding: 2rem;
}
.sb-slot {
    aspect-ratio: 1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.sb-slot.filled {
    background: rgba(163, 230, 53, 0.1);
    border: 1px solid var(--lime);
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.2);
}
.sb-slot.empty {
    border: 2px dashed rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.2);
    cursor: pointer;
}

/* Feature 4: Unlimited */
.sb-visual-unlimited {
    background: radial-gradient(circle at center, rgba(255, 0, 85, 0.1) 0%, rgba(0,0,0,0.2) 80%);
    border-color: rgba(255, 0, 85, 0.2);
}
.sb-badge {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}
.sb-action-row {
    display: flex;
    gap: 0.8rem;
}
.sb-pill {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Feature 5: Create & Share */
.sb-visual-share {
    justify-content: center;
}
.sb-waveform {
    display: flex;
    gap: 6px;
    align-items: center;
    height: 60px;
    margin-bottom: 2rem;
}
.bar {
    width: 8px;
    background: var(--blue);
    border-radius: 4px;
    animation: wave 1s ease-in-out infinite;
}
.bar:nth-child(odd) { animation-duration: 0.8s; height: 60%; }
.bar:nth-child(even) { animation-duration: 1.2s; height: 100%; }
@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}
.sb-share-btn {
    background: var(--blue);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 20px rgba(77, 77, 255, 0.4);
}

.no-border { border-bottom: none; }

.sb-fade-bottom {
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-alt));
    margin-top: -100px;
    position: relative;
    z-index: 5;
    pointer-events: none;
}

/* --- DSP Core Visual (Subtle Tech) --- */
.dsp-core-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    position: relative;
    width: 100%;
}

.dsp-core-svg {
    opacity: 0.25;
    filter: blur(1px) grayscale(60%);
    mask-image: radial-gradient(circle at center, black 20%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 85%);
    transition: all 0.6s ease-out;
    width: 100%;
    height: auto;
    max-width: 400px;
}

.dsp-core-container:hover .dsp-core-svg {
    opacity: 0.5;
    filter: blur(0px) grayscale(20%);
    transform: scale(1.02);
}

/* --- Educational Block (What is a Soundboard?) --- */
.what-is-sb-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #080a12);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.what-is-sb-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Visual slightly wider */
    gap: 5rem;
    align-items: center;
}

.what-is-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.what-is-frame {
    position: relative;
    max-width: 100%;
}

.what-is-img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.5s ease;
}

.what-is-frame:hover .what-is-img {
    transform: perspective(1000px) rotateY(0deg);
}

.wi-float {
    position: absolute;
    background: rgba(11, 15, 26, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 12px;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: floatBob 5s ease-in-out infinite;
    z-index: 2;
}

.wi-float-1 { top: -20px; right: -20px; animation-delay: 0s; font-size: 2.5rem; }
.wi-float-2 { bottom: 40px; left: -30px; animation-delay: 1.5s; }
.wi-float-3 { top: 40%; right: -40px; animation-delay: 2.5s; color: var(--cyan); }

.what-is-content {
    padding-right: 2rem;
}

.what-is-title {
    color: var(--cyan);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.what-is-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.what-is-body strong {
    color: #fff;
    font-weight: 600;
}

.what-is-body .highlight-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--purple);
}

@media (max-width: 900px) {
    .what-is-sb-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .what-is-visual {
        order: 2; /* Image below text on mobile if preferred, or keep above */
        margin-top: 2rem;
    }
    .what-is-content {
        padding-right: 0;
        text-align: center;
    }
    .what-is-body .highlight-text {
        padding-left: 0;
        border-left: none;
        border-top: 4px solid var(--purple);
        padding-top: 1.5rem;
    }
    .wi-float {
        transform: scale(0.8);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-grid, .feature-story-grid, .hiw-grid, .why-grid {
        grid-template-columns: 1fr;
    }
    
    .why-card.span-3, .why-card.span-6, .why-card.span-4 {
        grid-column: span 12;
    }
    
    .nav-links {
        display: none; /* Simple mobile hide for now */
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .float-item {
        transform: scale(0.7); /* Smaller on mobile */
    }
    .float-1, .float-2 { display: none; } /* Reduce clutter */
}
