
/* CSS Variables for Ruby Portfolio Theme */
:root {
    /* Colors */
    --bg-dark: #000000;
    --bg-surface: rgba(10, 10, 10, 0.7);
    --bg-surface-light: rgba(20, 20, 20, 0.8);
    
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    
    --accent-primary: #eab308; /* Gold 500 */
    --accent-secondary: #fde047; /* Gold 300 */
    --accent-gold: #eab308;
    --accent-cyan: #22d3ee; /* Cyan 400 */
    --accent-pink: #ec4899; /* Pink 500 */
    
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(234, 179, 8, 0.2); /* Subtle Gold Border */
    --glass-highlight: rgba(234, 179, 8, 0.4);

    /* Typography */
    --font-heading: 'Comfortaa', sans-serif;
    --font-body: 'Comfortaa', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Education Section Poster Theme Override */
#education {
    --bg-surface: rgba(26, 20, 18, 0.7);
    --bg-surface-light: rgba(36, 28, 25, 0.8);
    --accent-primary: #facd47;
    --accent-secondary: #fef3cd;
    --accent-gold: #facd47;
    --accent-cyan: #facd47;
    --accent-pink: #5c3d2e;
    --glass-border: rgba(250, 205, 71, 0.2);
    --glass-highlight: rgba(250, 205, 71, 0.4);
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.font-mono {
    font-family: var(--font-mono);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* -------------------------------------
   RUBY STARFIELD ANIMATED BACKGROUND
-------------------------------------- */
.animated-background {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: var(--bg-dark);
    will-change: transform;
    transform: translateZ(0);
}

.stars {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 200%;
    will-change: transform;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, white, transparent),
        radial-gradient(1px 1px at 30% 40%, rgba(234, 179, 8, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 60% 10%, rgba(34, 211, 238, 0.8), transparent),
        radial-gradient(1px 1px at 80% 50%, white, transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(236, 72, 153, 0.8), transparent),
        radial-gradient(1px 1px at 90% 90%, white, transparent),
        radial-gradient(1.5px 1.5px at 20% 80%, rgba(234, 179, 8, 0.8), transparent),
        radial-gradient(1px 1px at 50% 30%, white, transparent);
    background-size: 200px 200px;
    animation: starScroll 100s linear infinite;
    opacity: 0.6;
}

.stars-2 {
    background-size: 300px 300px;
    animation: starScroll 150s linear infinite;
    opacity: 0.4;
}

.stars-3 {
    background-size: 400px 400px;
    animation: starScroll 200s linear infinite;
    opacity: 0.2;
}

@keyframes starScroll {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

.glow-orb {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
    will-change: transform, opacity;
}
.top-orb {
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.4) 0%, rgba(234, 179, 8, 0) 70%);
    animation: pulse 8s alternate infinite;
}
.bottom-orb {
    bottom: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.35) 0%, rgba(236, 72, 153, 0) 70%);
    animation: pulse 10s alternate-reverse infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 1; }
}




/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0; left: 0; width: 300px; height: 300px;
    background: radial-gradient(circle closest-side, rgba(234, 179, 8, 0.15), transparent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* -------------------------------------
   SCROLL REVEAL ANIMATIONS
-------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Glowing Pulse Animations */
.glow-pulse { animation: pulse-glow 3s infinite alternate; }
@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(234, 179, 8, 0.2); }
    100% { box-shadow: 0 0 25px rgba(234, 179, 8, 0.5); border-color: rgba(234, 179, 8, 0.6); }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(to right, var(--accent-gold), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient.tech {
    background: linear-gradient(to right, var(--accent-cyan), #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient.events {
    background: linear-gradient(to right, var(--accent-pink), #fbcfe8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gold { color: var(--accent-gold); }
.text-cyan { color: var(--accent-cyan); }
.glow-text-cyan { text-shadow: 0 0 15px rgba(34, 211, 238, 0.5); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.margin-top { margin-top: 2rem; }
.margin-top-lg { margin-top: 4rem; }
.full-width { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 1rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
    font-family: var(--font-mono);
}

.btn-primary {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    box-shadow: inset 0 0 10px rgba(234, 179, 8, 0.2), 0 0 15px rgba(234, 179, 8, 0.2);
}
.btn-primary:hover {
    background: var(--accent-gold);
    color: black;
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--accent-gold); font-weight: 600; margin-top: 1rem;
    font-family: var(--font-mono); font-size: 0.9rem;
}
.text-link:hover { color: var(--accent-secondary); text-shadow: 0 0 10px rgba(234, 179, 8, 0.5); }
.text-link i { transition: transform 0.3s ease; }
.text-link:hover i { transform: translateX(6px); }

/* Glassmorphism & Interactive Borders */
.glass-panel, .glass-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.5);
}

.interactive-border {
    position: relative;
}
.interactive-border::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-gold), transparent, var(--accent-cyan));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}
.interactive-border:hover::after { opacity: 0.5; }

/* 3D Tilt Card Base */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Navigation */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
}

.logo {
    display: flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800;
    letter-spacing: -0.05em;
}
.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    mix-blend-mode: screen;
}

.logo:hover .logo-img {
    transform: scale(1.08);
}

.nav-links { display: flex; gap: 1rem; }
.nav-btn {
    padding: 0.5rem 1rem; border-radius: var(--radius-sm);
    color: var(--text-muted); font-weight: 500; font-family: var(--font-mono); font-size: 0.9rem;
    transition: var(--transition); border: 1px solid transparent;
}
.nav-btn:hover { color: var(--text-main); }
.nav-btn.active {
    color: var(--accent-gold);
    background: rgba(234, 179, 8, 0.1);
    border-color: rgba(234, 179, 8, 0.3);
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

body.software-active .nav-btn.active {
    color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.3);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }


/* Layout */
.app-container { display: flex; flex-direction: column; min-height: 100vh; }
.main-content { flex: 1; margin-top: 80px; }
.page-section { display: none; }
.page-section.active {
    display: block;
    animation: fadeScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.98) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.section-padding { padding: 8rem 5%; max-width: var(--container-width); margin: 0 auto; }
.dark-surface {
    background-color: rgba(10,10,10,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%; max-width: 100%; padding: 8rem 5%;
    backdrop-filter: blur(5px);
}
.dark-surface > * { max-width: var(--container-width); margin-left: auto; margin-right: auto; }

.section-header { text-align: center; margin-bottom: 5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 3.5rem; margin-bottom: 1rem; letter-spacing: -0.03em; }
.section-header p { color: var(--accent-gold); font-size: 1.1rem; }

/* Hero Sections */
.hero { min-height: 85vh; display: flex; align-items: center; padding: 0 5%; max-width: var(--container-width); margin: 0 auto; position: relative; }
.hero-content { flex: 1; max-width: 650px; z-index: 2; }
.badge {
    display: inline-block; padding: 0.5rem 1rem;
    background: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: var(--radius-sm); font-size: 0.8rem; color: var(--accent-gold);
    margin-bottom: 1.5rem; backdrop-filter: blur(5px);
}
.badge.tech-badge { color: var(--accent-cyan); background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.3); }
.badge.glow { color: #ec4899; background: rgba(236, 72, 153, 0.1); border-color: rgba(236, 72, 153, 0.3); }

.hero-title { font-size: 5.5rem; margin-bottom: 1.5rem; letter-spacing: -0.04em; line-height: 1; font-weight: 800; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 600px; }
.hero-actions { display: flex; gap: 1rem; }
.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; height: 100%; }
.hero-glass-container { position: relative; z-index: 1; }
.hero-glass {
    width: 320px; box-shadow: 0 0 100px rgba(234, 179, 8, 0.2), inset -10px -10px 20px rgba(0,0,0,0.9);
    background: rgba(10,10,10,0.8); border: 1px solid rgba(234,179,8,0.3); border-radius: var(--radius-md);
}
.hero-glass i { font-size: 3rem; margin-bottom: 1rem; filter: drop-shadow(0 0 15px rgba(234, 179, 8, 0.8)); }
.hero-glass h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.hero-glass-small {
    position: absolute; width: 220px; padding: 1.5rem;
    backdrop-filter: blur(20px); background: rgba(5,5,5,0.9);
    border: 1px solid rgba(34,211,238,0.4); border-radius: var(--radius-sm); z-index: 2;
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.2);
}
.hero-glass-small i { font-size: 2rem; margin-bottom: 0.5rem; filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.8)); }

/* Home Pillars Grid */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.pillar-card {
    background: rgba(10,10,10,0.8); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md); padding: 2.5rem; transition: var(--transition); position: relative; overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pillar-card .text-link {
    margin-top: auto;
    align-self: flex-start;
}
.pillar-card:hover { border-color: rgba(234,179,8,0.4); box-shadow: 0 0 30px rgba(234,179,8,0.15); }
.pillar-number {
    font-size: 2.5rem; font-weight: 700; color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.2); margin-bottom: 1.5rem; transition: var(--transition);
}
.pillar-card:hover .pillar-number { -webkit-text-stroke: 1px var(--accent-gold); color: rgba(234,179,8,0.1); text-shadow: 0 0 20px rgba(234,179,8,0.5); }
.pillar-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pillar-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

/* Stats Banner */
.stats-banner { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(5,5,5,0.8); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.stat-item { padding: 4rem 2rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.05); }
.stat-item:last-child { border-right: none; }
.stat-item h4 { font-size: 3.5rem; color: white; text-shadow: 0 0 20px rgba(255,255,255,0.3); margin-bottom: 0.5rem; line-height: 1; }
.stat-item > span { color: var(--text-muted); font-weight: 500; font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.05em; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.feature-item { padding: 2rem; border-radius: var(--radius-md); transition: var(--transition); border: 1px solid transparent; }
.feature-item:hover { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.05); }
.feature-item i {
    font-size: 2.5rem; color: var(--accent-gold); margin-bottom: 1.5rem; display: inline-block;
    padding: 1rem; background: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: var(--radius-sm); box-shadow: 0 0 15px rgba(234,179,8,0.2);
}
.feature-item h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Education Page specific */
.page-header { padding: 10rem 5% 5rem; text-align: center; }
.page-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.page-subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 650px; margin: 0 auto 3rem; }

.toggle-container {
    display: inline-flex; background: rgba(5,5,5,0.8); border: 1px solid rgba(234,179,8,0.3);
    border-radius: var(--radius-sm); padding: 0.25rem; position: relative;
    box-shadow: 0 0 20px rgba(234,179,8,0.1);
}
.toggle-btn {
    padding: 0.75rem 2.5rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
    color: var(--text-muted); position: relative; z-index: 2; transition: var(--transition);
}
.toggle-btn.active { color: black; }
.toggle-bg {
    position: absolute; top: 0.25rem; left: 0.25rem; height: calc(100% - 0.5rem); width: calc(50% - 0.25rem);
    background: var(--accent-gold); border-radius: var(--radius-sm); z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(234,179,8,0.5);
}

.sub-section { display: none; padding: 0 5% 8rem; max-width: var(--container-width); margin: 0 auto; }
.sub-section.active { display: block; animation: fadeScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.content-split { display: flex; gap: 5rem; align-items: center; }
.content-split.reverse { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-visual { flex: 1; position: relative; }

.split-text h2 { font-size: 3rem; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.lead { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; }
.process-steps { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; position: relative; }
.process-steps::before {
    content: ''; position: absolute; top: 0; left: 1.25rem; bottom: 0; width: 1px;
    background: linear-gradient(to bottom, rgba(234,179,8,0.5), transparent);
}
.step { display: flex; gap: 1.5rem; position: relative; }
.step-num {
    font-size: 1rem; color: black; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm);
    background: var(--accent-gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    box-shadow: 0 0 15px rgba(234,179,8,0.5);
}
.step-info h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step-info p { color: var(--text-muted); font-size: 0.95rem; }
.check-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.check-list li { display: flex; align-items: center; gap: 1rem; font-size: 1rem; }
.check-list i { color: var(--accent-gold); font-size: 1.25rem; }

/* Software Tech Layouts */
.tech-hero { justify-content: center; text-align: center; min-height: 75vh; }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.timeline-card {
    background: rgba(10,10,10,0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-md);
    padding: 2.5rem; transition: var(--transition);
}
.timeline-card:hover { border-color: rgba(34,211,238,0.4); box-shadow: 0 0 30px rgba(34,211,238,0.1); }
.timeline-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.timeline-header .code { background: rgba(34,211,238,0.1); padding: 0.25rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.85rem; }
.timeline-card h5 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.timeline-card p { color: var(--text-muted); font-size: 0.95rem; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.service-item {
    display: flex; flex-direction: column; padding: 2.5rem;
    background: rgba(5,5,5,0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-md);
}
.service-item:hover { border-color: var(--accent-cyan); background: rgba(34,211,238,0.05); }
.service-icon { font-size: 2.5rem; color: var(--accent-cyan); margin-bottom: 1.5rem; filter: drop-shadow(0 0 10px rgba(34,211,238,0.5)); }
.service-item h4 { font-size: 1.25rem; margin-bottom: 1rem; }
.service-item p { color: var(--text-muted); font-size: 0.95rem; }

.integrations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.integration-card { padding: 2rem; border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-md); background: rgba(10,10,10,0.6); }
.tag { display: inline-block; padding: 0.25rem 0.75rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; }
.integration-card h4 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.integration-card p { font-size: 0.9rem; color: var(--text-muted); }

.products-list { display: flex; flex-direction: column; gap: 3rem; }
.product-card { display: flex; background: rgba(15,15,15,0.8); border: 1px solid rgba(34,211,238,0.2); border-radius: var(--radius-md); overflow: hidden; }
.product-info { padding: 3rem; }
.product-badge { font-size: 0.85rem; margin-bottom: 1rem; display: inline-block; padding: 0.3rem 0.75rem; background: rgba(34,211,238,0.1); border-radius: var(--radius-sm); border: 1px solid rgba(34,211,238,0.3); }
.product-info h3 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.product-info h4 { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 1.5rem; font-weight: 400; }
.product-info p { margin-bottom: 2rem; font-size: 1rem; max-width: 800px; }

/* Events */
.events-hero { justify-content: center; text-align: center; min-height: 75vh; }
.offerings-list { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
.offerings-list li { display: flex; align-items: center; gap: 1rem; font-size: 1rem; padding: 1rem 1.5rem; background: rgba(10,10,10,0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-sm); transition: var(--transition); }
.offerings-list li:hover { transform: translateX(10px); border-color: rgba(236,72,153,0.4); background: rgba(236,72,153,0.05); box-shadow: 0 0 20px rgba(236,72,153,0.1); }
.offerings-list i { color: var(--accent-pink); font-size: 1.25rem; filter: drop-shadow(0 0 5px rgba(236,72,153,0.5)); }

.benefit-card { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; background: rgba(5,5,5,0.8); border: 1px solid rgba(236,72,153,0.2); border-radius: var(--radius-md); margin-bottom: 1.5rem; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); }
.benefit-icon { width: 48px; height: 48px; background: rgba(236,72,153,0.1); border: 1px solid var(--accent-pink); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--accent-pink); box-shadow: 0 0 15px rgba(236,72,153,0.4); }

/* Contact Page */
#contact {
    position: relative;
    background: transparent;
}
#contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('./images/contact_bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}
.contact-container { 
    padding-top: 10rem; 
    position: relative;
    z-index: 1; /* Ensures content sits above the overlay */
}
.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 4rem; }
.contact-card { text-align: center; padding: 3rem 1.5rem; background: rgba(10,10,10,0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-md); }
.contact-card:hover { border-color: var(--accent-gold); background: rgba(234,179,8,0.05); box-shadow: 0 0 30px rgba(234,179,8,0.1); }
.contact-icon { font-size: 3rem; color: var(--accent-gold); margin-bottom: 1.5rem; display: inline-block; filter: drop-shadow(0 0 10px rgba(234,179,8,0.5)); }
.contact-card h3 { margin-bottom: 0.5rem; font-size: 1.25rem; color: var(--accent-gold); }
.contact-link { color: var(--text-muted); font-size: 1rem; }
.contact-link:hover { color: white; }

.contact-form-container { max-width: 800px; margin: 0 auto; padding: 3rem; border-color: rgba(234,179,8,0.2); }
.contact-form-container h3 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.form-row { display: flex; gap: 1.5rem; }
.form-group { flex: 1; margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--accent-gold); font-size: 0.85rem; letter-spacing: 0.05em; }
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm);
    color: white; font-family: var(--font-body); font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-gold); background: rgba(0,0,0,0.8); box-shadow: 0 0 15px rgba(234,179,8,0.2); }

/* Footer */
.footer { background: rgba(5,5,5,0.9); border-top: 1px solid rgba(255,255,255,0.05); padding: 4rem 5% 2rem; margin-top: 4rem; }
.footer-content { max-width: var(--container-width); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1rem; }
.footer-brand p { font-size: 0.9rem; }
.footer-contact { text-align: center; color: var(--text-muted); }
.footer-info { text-align: right; color: var(--text-muted); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .content-split, .content-split.reverse { flex-direction: column; }
    .split-visual { position: static; width: 100%; margin-top: 2rem; }
    .timeline-grid, .integrations-grid, .contact-cards, .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-banner { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-bottom: 1px solid rgba(255,255,255,0.05); }
    .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        justify-content: flex-start;
        padding-top: 2rem;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-btn {
        font-size: 1.5rem;
    }
    .mobile-menu-btn { display: block; }
    .hero { flex-direction: column; text-align: center; padding-top: 5rem; }
    .hero-actions { justify-content: center; flex-direction: column; gap: 1rem; width: 100%; padding: 0 1rem; }
    .hero-actions .btn { width: 100%; margin: 0; }
    .hero-visual { margin-top: 4rem; }
    .timeline-grid, .services-grid, .integrations-grid, .contact-cards, .pillars-grid, .features-grid, .skv-pillars-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 0; }
    .footer-content { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
    .footer-contact, .footer-info { text-align: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .stats-banner { grid-template-columns: 1fr; }
    .stat-item { border-right: none; padding: 2rem; }
    
    /* General Mobile Typography & Spacing optimizations */
    .section-padding { padding: 4rem 5%; }
    h2 { font-size: clamp(2rem, 8vw, 3rem); }
    h3 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem) !important; line-height: 1.1; }
    .new-hero-title { font-size: clamp(2rem, 8vw, 3rem) !important; }
}

.hero-centered {
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 150px; /* Large safe zone for marquee */
    position: relative;
}

.hero-top-tag {
    font-size: 0.425rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}
.line-bar {
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
}

.new-hero-title {
    font-size: 7rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 800;
}
.outline-text {
    color: transparent;
    -webkit-text-stroke: 3px var(--accent-gold);
}
.solid-text {
    color: var(--accent-gold);
    text-shadow: 0 0 40px rgba(234, 179, 8, 0.6);
}

.justify-center {
    justify-content: center;
}
.mt-6 {
    margin-top: 2.5rem;
}

.btn-gold-solid {
    background: var(--accent-gold);
    color: black;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.4);
    border: 1px solid var(--accent-gold);
}
.btn-gold-solid:hover {
    box-shadow: 0 0 40px rgba(234, 179, 8, 0.8);
    transform: translateY(-2px);
}

.btn-dark-outline {
    background: rgba(10, 10, 10, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-dark-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Floating Parallax Icons */
.parallax-icons {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 1;
}
.floating-icon {
    position: absolute;
    color: #ffffe0; /* 88% white, 12% yellow */
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 224, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 224, 0.15));
    animation: floatIcon 6s ease-in-out infinite;
    /* transition for smooth parallax mouse follow */
    transition: transform 0.1s linear;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
@keyframes randomMove1 {
    0% { transform: translate(0vw, 0vh) rotate(0deg); }
    33% { transform: translate(35vw, -45vh) rotate(120deg); }
    66% { transform: translate(-25vw, 35vh) rotate(240deg); }
    100% { transform: translate(0vw, 0vh) rotate(360deg); }
}
@keyframes randomMove2 {
    0% { transform: translate(0vw, 0vh) rotate(0deg); }
    33% { transform: translate(-45vw, 35vh) rotate(-120deg); }
    66% { transform: translate(35vw, -25vh) rotate(-240deg); }
    100% { transform: translate(0vw, 0vh) rotate(-360deg); }
}
@keyframes randomMove3 {
    0% { transform: translate(0vw, 0vh) rotate(0deg); }
    33% { transform: translate(-35vw, -35vh) rotate(90deg); }
    66% { transform: translate(45vw, 45vh) rotate(-90deg); }
    100% { transform: translate(0vw, 0vh) rotate(0deg); }
}

.icon-1 { top: 20%; left: 15%; animation: randomMove1 42s ease-in-out infinite; animation-delay: -5s; font-size: 1.2rem; }
.icon-2 { top: 40%; left: 8%; animation: randomMove2 48s ease-in-out infinite; animation-delay: -12s; font-size: 1.4rem; opacity: 0.6; }
.icon-3 { top: 15%; right: 15%; animation: randomMove3 38s ease-in-out infinite; animation-delay: -3s; font-size: 1.5rem; }
.icon-4 { top: 60%; right: 10%; animation: randomMove1 55s ease-in-out infinite; animation-delay: -18s; font-size: 1.2rem; color: #f0f0f0; filter: drop-shadow(0 0 10px rgba(255,255,255,0.6)) drop-shadow(0 0 25px rgba(255,255,255,0.3)); }
/* Sharp 5-pointed star via clip-path */
.sharp-star {
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #fef3c7, #eab308, #b8860b, #eab308, #fef3c7);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.icon-5 {
    top: 30%; right: 25%; animation-delay: 4s;
    filter: drop-shadow(0 0 4px #ffffff) drop-shadow(0 0 10px rgba(253, 224, 71, 1)) drop-shadow(0 0 25px rgba(234, 179, 8, 0.7)) drop-shadow(0 0 50px rgba(234, 179, 8, 0.3));
    animation: randomMove2 46s ease-in-out infinite, starShine 2.5s ease-in-out infinite;
}

.icon-6 { top: 10%; left: 35%; animation: randomMove3 44s ease-in-out infinite; animation-delay: -7s; font-size: 1.3rem; opacity: 0.8; }
.icon-7 { top: 75%; left: 25%; animation: randomMove1 52s ease-in-out infinite; animation-delay: -14s; font-size: 1.5rem; opacity: 0.5; }
.icon-8 { top: 25%; right: 35%; animation: randomMove2 36s ease-in-out infinite; animation-delay: -2s; font-size: 1.1rem; }
.icon-9 { top: 85%; right: 25%; animation: randomMove3 49s ease-in-out infinite; animation-delay: -22s; font-size: 1.4rem; opacity: 0.7; }
.icon-10 { top: 50%; left: 85%; animation: randomMove1 39s ease-in-out infinite; animation-delay: -9s; font-size: 1.6rem; opacity: 0.6; }
.icon-11 { top: 35%; left: 55%; animation: randomMove2 58s ease-in-out infinite; animation-delay: -25s; font-size: 1.2rem; }

@keyframes starShine {
    0% { opacity: 0.6; transform: scale(0.9) rotate(0deg); filter: drop-shadow(0 0 4px #ffffff) drop-shadow(0 0 10px rgba(253, 224, 71, 0.8)) drop-shadow(0 0 20px rgba(234, 179, 8, 0.4)); }
    50% { opacity: 1; transform: scale(1.25) rotate(20deg); filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 15px rgba(253, 224, 71, 1)) drop-shadow(0 0 35px rgba(234, 179, 8, 0.9)) drop-shadow(0 0 60px rgba(234, 179, 8, 0.4)); }
    100% { opacity: 0.6; transform: scale(0.9) rotate(0deg); filter: drop-shadow(0 0 4px #ffffff) drop-shadow(0 0 10px rgba(253, 224, 71, 0.8)) drop-shadow(0 0 20px rgba(234, 179, 8, 0.4)); }
}

@media (max-width: 992px) {
    .new-hero-title { font-size: 6.5rem; }
    .icon-1 { left: 5%; }
    .icon-3 { right: 5%; }
}
@media (max-width: 768px) {
    .new-hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1rem; padding: 0 1rem; }
    .icon-2, .icon-5 { display: none; }
    .icon-1 { top: 10%; left: 5%; font-size: 1.2rem; }
    .icon-3 { top: 12%; right: 5%; font-size: 1.5rem; }
    .icon-4 { top: 82%; right: 8%; font-size: 1.5rem; }
}

/* Scrolling Marquee */
.marquee-container {
    position: absolute;
    bottom: 2rem; /* Sits 2rem above the bottom of the section */
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: rgba(20, 15, 0, 0.9);
    border-top: 1px solid rgba(234, 179, 8, 0.2);
    border-bottom: 1px solid rgba(234, 179, 8, 0.2);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.marquee-track {
    display: flex;
    width: fit-content;
    animation: scrollMarquee 30s linear infinite;
}
.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem; /* Same as gap to keep spacing consistent when looping */
}
.marquee-content span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: white;
    white-space: nowrap;
}
.marquee-content i {
    font-size: 0.9rem;
    color: var(--accent-gold);
}
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Education Page Rockets */
#education {
    position: relative;
    overflow: hidden;
}
.rocket-left, .rocket-right {
    position: fixed; /* Fixed so they fly up the whole screen even if scrolled */
    bottom: -200px;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}
.rocket-left {
    left: 10%;
    font-size: 10rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.6));
}
.rocket-right {
    right: 15%;
    font-size: 5rem;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 20px rgba(234, 179, 8, 0.6));
}

#education.active .rocket-left {
    animation: flyUpLeft 4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
}
#education.active .rocket-right {
    animation: flyUpRight 5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes flyUpLeft {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { opacity: 0.4; }
    100% { transform: translateY(-120vh) scale(1); opacity: 0; }
}
@keyframes flyUpRight {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { opacity: 0.6; }
    100% { transform: translateY(-120vh) scale(1.2); opacity: 0; }
}

/* Software Page Tech BG */
#software {
    position: relative;
    overflow: hidden;
}
.tech-bg-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(10, 10, 10, 0.4);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease-in;
}
#software.active .tech-bg-container {
    opacity: 1;
}
#coding-shower {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.15; /* Subtle background effect */
    z-index: 0;
}

.events-bg-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(10, 10, 10, 0.4);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease-in;
}
#events.active .events-bg-container {
    opacity: 1;
}
#fireworks-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    opacity: 0.6; /* Adjust to ensure it looks good with text */
    z-index: 0;
}

/* Generalized Staggered Drop Animation for Grids */
.staggered-drop-grid.reveal {
    /* Disable the parent's reveal animation so it doesn't fight with the children's drop animation */
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}

.staggered-drop-grid > *,
.staggered-drop-grid > div,
.staggered-drop-grid > li,
.staggered-drop-grid > a {
    opacity: 0;
    transform: translateY(-80px);
}

.staggered-drop-grid.active > *,
.staggered-drop-grid.active > div,
.staggered-drop-grid.active > li,
.staggered-drop-grid.active > a {
    animation: dropArrange 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Staggering up to 10 items to be safe */
.staggered-drop-grid.active > *:nth-child(1) { animation-delay: 0.1s; }
.staggered-drop-grid.active > *:nth-child(2) { animation-delay: 0.2s; }
.staggered-drop-grid.active > *:nth-child(3) { animation-delay: 0.3s; }
.staggered-drop-grid.active > *:nth-child(4) { animation-delay: 0.4s; }
.staggered-drop-grid.active > *:nth-child(5) { animation-delay: 0.5s; }
.staggered-drop-grid.active > *:nth-child(6) { animation-delay: 0.6s; }
.staggered-drop-grid.active > *:nth-child(7) { animation-delay: 0.7s; }
.staggered-drop-grid.active > *:nth-child(8) { animation-delay: 0.8s; }
.staggered-drop-grid.active > *:nth-child(9) { animation-delay: 0.9s; }
.staggered-drop-grid.active > *:nth-child(10) { animation-delay: 1.0s; }

@keyframes dropArrange {
    0% { opacity: 0; transform: translateY(-80px) scale(0.95); }
    70% { transform: translateY(10px) scale(1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Spaceship Animation --- */
.spaceship-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 70px;
    z-index: -1;
    transition: transform 4s ease-in-out;
    will-change: transform;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.floating-shifter-container {
    position: absolute;
    top: 50px;
    left: 100px;
    width: 60px;
    height: 60px;
    z-index: -1;
    transition: transform 4s ease-in-out;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shifter-icon {
    font-size: 3.5rem;
    color: #eab308;
    transition: opacity 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.6));
}

.css-spaceship {
    position: absolute;
    width: 100px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
}

.css-spaceship .dome {
    width: 50px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px 50px 0 0;
    border: 2px solid #ffffff; /* White */
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    margin-bottom: -10px; /* overlaps saucer */
}

.css-spaceship .saucer {
    width: 100px;
    height: 30px;
    background: #1a1a1a; /* Black */
    border-radius: 50%;
    border: 3px solid #eab308; /* Goldish */
    box-shadow: 0 5px 15px rgba(234, 179, 8, 0.4);
    position: relative;
    z-index: 3;
}

.spaceship-container .passenger {
    font-size: 1.5rem;
    position: absolute;
    bottom: 22px; /* Sits exactly inside the dome */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1; /* Sits behind the glass dome */
    transition: opacity 0.5s ease;
}

.spaceship-container .skill-icon {
    color: var(--accent-gold);
    animation: swapPassengerSkill 6s infinite;
    filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.6));
}

.spaceship-container .music-icon {
    color: #ec4899;
    animation: swapPassengerMusic 6s infinite;
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.6));
}

@keyframes flySpaceship {
    0% {
        left: -10%;
        transform: translateY(0px) scaleX(1);
    }
    25% {
        left: 50%;
        transform: translateY(-30px) scaleX(1);
    }
    49.9% {
        left: 110%;
        transform: translateY(10px) scaleX(1);
    }
    50% {
        left: 110%;
        transform: translateY(10px) scaleX(-1);
    }
    75% {
        left: 50%;
        transform: translateY(-30px) scaleX(-1);
    }
    99.9% {
        left: -10%;
        transform: translateY(0px) scaleX(-1);
    }
    100% {
        left: -10%;
        transform: translateY(0px) scaleX(1);
    }
}

@keyframes swapPassengerSkill {
    0%, 45% { opacity: 1; transform: translateX(-50%) scale(1); }
    50%, 95% { opacity: 0; transform: translateX(-50%) scale(0.5); }
    100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes swapPassengerMusic {
    0%, 45% { opacity: 0; transform: translateX(-50%) scale(0.5); }
    50%, 95% { opacity: 1; transform: translateX(-50%) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) scale(0.5); }
}

/* --- CARTOON SOFTWARE PAGE THEME --- */
.cartoon-page {
    font-family: 'Comic Neue', cursive, sans-serif;
    background-color: #f8f9fa; 
    color: #333;
}
.cartoon-page .tech-bg-container {
    opacity: 1 !important;
    background: transparent !important;
}
.cartoon-hero {
    padding-top: 15vh;
}
.cartoon-badge {
    display: inline-block;
    padding: 10px 20px;
    border: 3px solid #333;
    border-radius: 50px;
    background: #ffeb3b;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    box-shadow: 4px 4px 0px #333;
    margin-bottom: 2rem;
    transform: rotate(-3deg);
}
.cartoon-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #333;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff, 4px 4px 0px #aaa;
}
.cartoon-highlight {
    color: #ef4444; 
    -webkit-text-stroke: 2px #333;
}
.cartoon-subtitle {
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    max-width: 800px;
    color: #444;
}

/* Doodle Elements */
.doodle-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.doodle-icon {
    position: absolute;
    color: #333;
    font-size: 3rem;
    opacity: 0.15;
}
.doodle-1 { top: 10%; left: 10%; font-size: 4rem; transform: rotate(-15deg); }
.doodle-2 { top: 20%; right: 15%; font-size: 3.5rem; transform: rotate(15deg); }
.doodle-3 { top: 60%; left: 5%; font-size: 5rem; transform: rotate(45deg); color: #ef4444; opacity: 0.2; }
.doodle-4 { top: 70%; right: 10%; font-size: 4rem; transform: rotate(-10deg); }
.doodle-5 { top: 40%; left: 80%; font-size: 4.5rem; }
.doodle-6 { top: 30%; left: 20%; font-size: 3.5rem; color: #fbbf24; opacity: 0.2; }

/* Sections */
.cartoon-section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}
.cartoon-tagline {
    font-family: 'Comic Neue', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 3rem;
}

/* Cards */
.cartoon-crew-grid, .cartoon-timeline, .cartoon-services-grid, .cartoon-integrations-grid, .cartoon-products-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    position: relative;
    z-index: 2;
}

.crew-card, .cartoon-step, .cartoon-service-card, .cartoon-integration-card, .cartoon-product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid #333;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 8px 8px 0px #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.crew-card:hover, .cartoon-step:hover, .cartoon-service-card:hover, .cartoon-integration-card:hover, .cartoon-product-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #333;
}

.crew-avatar {
    width: 120px;
    height: 120px;
    border: 4px solid #333;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    overflow: hidden;
    background: #f1f5f9;
}
.crew-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.crew-card h4, .cartoon-step h4, .cartoon-service-card h4, .cartoon-integration-card h4, .cartoon-product-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}
.crew-card p, .cartoon-step p, .cartoon-service-card p, .cartoon-integration-card p, .cartoon-product-card p {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    color: #555;
    font-weight: 700;
}

.step-bubble {
    width: 50px;
    height: 50px;
    background: #3b82f6;
    border: 3px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 3px 3px 0px #333;
}

.cartoon-service-icon {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.cartoon-tag, .cartoon-product-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #10b981;
    color: white;
    font-family: 'Fredoka', sans-serif;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 2px 2px 0px #333;
}
.cartoon-product-badge {
    background: #8b5cf6;
}

.cartoon-check-list {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}
.cartoon-check-list li {
    font-family: 'Comic Neue', cursive;
    font-weight: 700;
    color: #444;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cartoon-dark-section {
    background: #e2e8f0;
    border-top: 4px dashed #94a3b8;
    border-bottom: 4px dashed #94a3b8;
}

/* Floating Cartoon Faces */
.floating-face {
    position: absolute;
    width: 150px;
    height: 150px;
    z-index: 10;
    transition: transform 0.3s ease;
    pointer-events: none;
    mix-blend-mode: multiply;
}
.face-how-we-work {
    top: -60px;
    right: 15%;
    transform: rotate(10deg);
}
.face-services {
    top: -50px;
    left: 10%;
    transform: rotate(-15deg);
}
.face-integrations {
    top: -70px;
    right: 10%;
    transform: rotate(5deg);
}
.face-products {
    top: -40px;
    left: 15%;
    transform: rotate(-10deg);
}

@media (max-width: 768px) {
    .floating-face {
        width: 100px;
        height: 100px;
    }
    .face-how-we-work { top: -40px; right: 5%; }
    .face-services { top: -40px; left: 5%; }
    .face-integrations { top: -50px; right: 5%; }
    .face-products { top: -30px; left: 5%; }

    /* Cartoon Software Page Mobile Optimizations */
    .cartoon-title {
        font-size: 2.8rem;
    }
    .cartoon-section-title {
        font-size: 2rem;
    }
    .cartoon-subtitle {
        font-size: 1.1rem;
    }
    .cartoon-tagline {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    .cartoon-hero {
        padding-top: 10vh;
    }
    .cartoon-badge {
        font-size: 1rem;
        padding: 8px 16px;
    }
    .doodle-icon {
        font-size: 2rem;
    }
    .doodle-3 { font-size: 3rem; }
    .doodle-5 { font-size: 2.5rem; }
    
    .cartoon-crew-grid, .cartoon-timeline, .cartoon-services-grid, .cartoon-integrations-grid, .cartoon-products-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .crew-card, .cartoon-step, .cartoon-service-card, .cartoon-integration-card, .cartoon-product-card {
        padding: 1.5rem;
    }
}


/* --- SOFTWARE SAMPLE 3 STYLES --- */

/* --- S3 FULL PAGE OVERRIDES --- */
#software.page-section {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    text-align: left;
}
#software .s3-hero {
    display: block;
    align-items: initial;
    max-width: none;
    margin: 0;
}
#software h1, #software h2, #software h3, #software h4, #software p {
    margin-bottom: initial;
    color: inherit;
}
#software ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
#software a {
    text-decoration: none;
}



#software {
  --ink:#171717;
  --paper:#fffaf0;
  --paper2:#f4ead8;
  --red:#e6392e;
  --orange:#ff8a18;
  --yellow:#ffd447;
  --blue:#1769d2;
  --green:#2b9a62;
  --muted:#655f56;
  --line:#171717;
  --maxw:1180px;
} #software *{margin:0;padding:0;box-sizing:border-box}

#software {
  background: transparent !important;
  color:var(--text-main);
  font-family: var(--font-body);
  line-height:1.55;
  overflow-x:hidden;
}
#software::before {
  content:"";
  position:fixed;inset:0;pointer-events:none;z-index:100;
  opacity:.055;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
} #software h1, #software h2, #software h3, #software h4{font-family: var(--font-heading);letter-spacing:.02em;line-height:1.05} #software a{color:inherit;text-decoration:none} #software .s3-wrap{max-width:var(--maxw);margin:auto;padding:0 28px} #software img, #software svg{display:block;max-width:100%} #software .mono{font-family: var(--font-body);text-transform:none;letter-spacing:.03em;font-size:1rem}

header{
  position:sticky;top:0;z-index:50;
  background:rgba(0,0,0,0.2);
  backdrop-filter:blur(10px);
  border-bottom:3px solid var(--ink);
}
nav.s3-wrap{height:78px;display:flex;align-items:center;justify-content:space-between} #software .brand{
  display:flex;align-items:center;gap:9px;
  font-family: var(--font-heading);font-size:1.65rem;letter-spacing:.04em;
} #software .brand .dot{
  width:18px;height:18px;background:var(--red);border:3px solid var(--ink);
  border-radius:50%;box-shadow:3px 3px 0 var(--ink);
} #software .navlinks{display:flex;gap:28px;font-family: var(--font-body);font-size:1.12rem;font-weight:600} #software .navlinks a:hover{color:var(--red);transform:rotate(-2deg)} #software .nav-cta, #software .s3-btn-primary, #software .submit-btn{
  display:inline-block;background:var(--red);color:white;
  border:3px solid var(--ink);border-radius:12px;
  padding:11px 20px;font-family: var(--font-heading);font-size:1.05rem;letter-spacing:.05em;
  box-shadow:4px 4px 0 var(--ink);transition:.18s;
} #software .nav-cta:hover, #software .s3-btn-primary:hover, #software .submit-btn:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink)}
@media(max-width:860px){.navlinks{display:none}} #software .s3-hero{
  position:relative;min-height:650px;padding:75px 0 65px;overflow:hidden;
  border-bottom:4px solid var(--ink);
  background:
    linear-gradient(transparent 96%,rgba(23,23,23,.06) 96%),
    var(--paper);
} #software .hero-inner{position:relative;z-index:2;max-width:720px} #software .eyebrow{
  display:inline-block;color:var(--ink);background:var(--yellow);
  border:3px solid var(--ink);padding:6px 14px;border-radius:50%;
  transform:rotate(-3deg);margin-bottom:25px;font-family: var(--font-body);font-size:1.15rem;
} #software h1.headline{
  font-size:clamp(3.7rem,8vw,7.4rem);
  color:var(--ink);max-width:760px;margin-bottom:24px;
  text-shadow:3px 3px 0 var(--yellow);
} #software h1.headline em{font-style:normal;color:var(--red);display:inline-block;transform:rotate(-2deg)} #software .s3-hero p.lede{
  max-width:620px;color:var(--muted);font-size:1.15rem;
  font-family: var(--font-body);line-height:1.45;margin-bottom:32px;
} #software .hero-ctas{display:flex;gap:18px;flex-wrap:wrap} #software .s3-btn-secondary{
  border:3px solid var(--ink);padding:11px 20px;border-radius:12px;
  background: rgba(255, 255, 255, 0.05);font-family: var(--font-heading);font-size:1.05rem;box-shadow:4px 4px 0 var(--ink);
} #software .s3-btn-secondary:hover{transform:rotate(-2deg);background:var(--yellow)} #software .hero-doodles{position:absolute;inset:0;pointer-events:none} #software .doodle-star{position:absolute;font-size:3.5rem;color:var(--yellow);-webkit-text-stroke:3px var(--ink);animation:float 4s ease-in-out infinite} #software .s1{right:47%;top:12%} #software .s2{right:8%;top:28%;font-size:2.2rem} #software .s3{right:32%;bottom:15%;font-size:2.5rem}  
@keyframes float{50%{transform:translateY(-10px) rotate(5deg)}}

@media(max-width:900px){
 #software .s3-hero{min-height:760px} #software .speed-lines{right:-120px;opacity:.45}
}
@media(max-width:600px){.hero-inner{padding-bottom:210px}} #software section{padding:92px 0;border-bottom:3px solid var(--ink);position:relative;} #software .section-head{max-width:700px;margin-bottom:48px} #software .section-head .mono{display:inline-block;color:white;background:var(--blue);padding:4px 12px;border:2px solid var(--ink);--r: -2deg;transform:rotate(var(--r));margin-bottom:15px;animation: floatBadge 4s ease-in-out infinite;} #software .section-head h2{font-size:clamp(2.7rem,5vw,4.6rem);text-shadow:2px 2px 0 var(--yellow);margin-bottom:14px} #software .section-head p{color:var(--muted);font-family: var(--font-body);font-size:1.2rem} #software .process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px} #software .process-card, #software .service-card, #software .integ-card{
  background: rgba(255, 255, 255, 0.05);border:3px solid var(--ink);border-radius:18px;
  box-shadow:7px 8px 0 var(--ink);position:relative;overflow:hidden;
} #software .process-card{padding:35px 30px} #software .process-card:nth-child(2){transform:rotate(1.2deg);background: rgba(255, 255, 255, 0.05);5bf} #software .process-card:nth-child(3){transform:rotate(-1deg);background:rgba(23, 105, 210, 0.1)} #software .process-card .id{color:var(--red);font-weight:bold;margin-bottom:18px} #software .process-card h3, #software .service-card h3{font-size:2rem;margin-bottom:10px} #software .process-card p, #software .service-card p, #software .integ-card p{color:var(--muted);font-family: var(--font-body);font-size:1.08rem}
@media(max-width:860px){.process-grid{grid-template-columns:1fr}} #software .services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px} #software .service-card{padding:34px} #software .service-card:nth-child(1){transform:rotate(-1deg)} #software .service-card:nth-child(2){transform:rotate(1deg)} #software .service-card:nth-child(3){transform:rotate(.7deg)} #software .service-card:nth-child(4){transform:rotate(-.8deg)} #software .service-card:after{
  content:"✦";position:absolute;right:18px;top:12px;color:var(--red);font-size:2rem
} #software .service-card .num{display:inline-block;color:var(--ink);background:var(--yellow);border:2px solid var(--ink);padding:2px 9px;border-radius:50%;margin-bottom:18px} #software .service-card .link{display:inline-block;margin-top:20px;color:var(--blue);font-family: var(--font-heading);font-size:1.05rem}
@media(max-width:760px){.services-grid{grid-template-columns:1fr}} #software .integ-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px} #software .integ-card{padding:26px} #software .integ-card .tag{color:var(--red);font-family: var(--font-heading);font-size:1.1rem} #software .integ-card h4{font-size:1.6rem;margin:7px 0}
@media(max-width:860px){.integ-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.integ-grid{grid-template-columns:1fr}} #software .s3-product{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;padding:52px 0;border-top:3px dashed var(--ink);align-items:center} #software .s3-product:first-of-type{border-top:none} #software .product-visual{
  aspect-ratio: 1 / 1; border:4px solid var(--ink);border-radius:25px;background:var(--yellow);
  display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
  box-shadow:9px 10px 0 var(--ink);transform:rotate(-1.5deg)
} #software .s3-product:nth-child(3n) .product-visual{background:rgba(23, 105, 210, 0.1)} #software .s3-product:nth-child(4n) .product-visual{background:rgba(230, 57, 46, 0.1)} #software .product-visual .glyph{font-family: var(--font-heading);font-size:5rem;color:var(--blue);text-shadow:4px 4px 0 white,-3px -3px 0 var(--ink);z-index:2} #software .product-visual:before{
  content:"";position:absolute;width:170px;height:170px;border:7px solid var(--ink);
  border-radius:50%;transform:rotate(-20deg);opacity:.18
} #software .product-visual .starpoint{width:13px;height:13px;background:var(--red);border:3px solid var(--ink);border-radius:50%;box-shadow:0 0 0 5px white} #software .product-kicker{color:var(--red);font-family: var(--font-heading);font-size:1.15rem} #software .s3-product h3{font-size:3rem;margin-bottom:5px} #software .s3-product .role{display:block;color:var(--blue);font-family: var(--font-body);font-size:1.2rem;margin-bottom:15px} #software .s3-product p.desc{color:var(--muted);font-family: var(--font-body);font-size:1.12rem;margin-bottom:20px} #software .feat-list{list-style:none;margin-bottom:24px} #software .feat-list li{font-family: var(--font-body);font-size:1.05rem;margin:9px 0} #software .feat-list li:before{content:"✦";color:var(--red);margin-right:10px} #software .product-ctas{display:flex;gap:12px} #software .product-ctas a{font-family: var(--font-heading);padding:10px 16px;border:3px solid var(--ink);border-radius:10px;box-shadow:3px 3px 0 var(--ink)} #software .product-ctas .primary{background:var(--red);color:white} #software .product-ctas .secondary{background: rgba(255, 255, 255, 0.05);}
@media(max-width:860px){.s3-product{grid-template-columns:1fr;gap:30px}} #software .contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:50px} #software .contact-info h3{font-size:2.5rem;margin-bottom:15px} #software .contact-info p{font-family: var(--font-body);font-size:1.15rem;color:var(--muted);margin-bottom:28px} #software .info-row{margin-bottom:20px} #software .info-row .mono{color:var(--red);font-weight:bold} #software .info-row div.val{font-family: var(--font-body);font-size:1.08rem} #software form{display:grid;gap:18px;background: rgba(255, 255, 255, 0.05);border:3px solid var(--ink);padding:30px;border-radius:18px;box-shadow:8px 9px 0 var(--ink)} #software .form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px} #software label{font-family: var(--font-body);font-size:1.05rem;font-weight:bold} #software input, #software textarea{width:100%;background: rgba(255, 255, 255, 0.05);af0;border:3px solid var(--ink);border-radius:9px;padding:13px;color:var(--ink);font: 1rem var(--font-body)} #software input:focus, #software textarea:focus{outline:none;border-color:var(--blue)} #software textarea{min-height:120px} #software .placeholder-note{margin-top:12px;background:var(--yellow);border:3px solid var(--ink);padding:10px 14px;border-radius:10px;font-family: var(--font-body)}
@media(max-width:860px){.contact-grid{grid-template-columns:1fr} #software .form-row{grid-template-columns:1fr}}

footer{padding:60px 0 35px;background:#171717;color:white} #software .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:35px;margin-bottom:45px} #software .footer-grid h5{font-family: var(--font-heading);font-size:1.35rem;color:var(--yellow);margin-bottom:14px} #software .footer-grid ul{list-style:none} #software .footer-grid li{margin-bottom:9px;font-family: var(--font-body);font-size:1.02rem;color:#ddd} #software .footer-brand p{font-family: var(--font-body);font-size:1.05rem;color:#ccc;margin-top:14px;max-width:290px} #software .footer-bottom{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;border-top:2px solid #555;padding-top:25px;color:#bbb;font-family: var(--font-body)} #software .footer-bottom .links{display:flex;gap:20px}
@media(max-width:760px){.footer-grid{grid-template-columns:1fr 1fr}}

/* Floating Cartoon Faces */
 #software .floating-face {
    position: absolute;
    width: 150px;
    height: 150px;
    z-index: 10;
    pointer-events: none;
    mix-blend-mode: multiply;
    animation: floatFace 4s ease-in-out infinite;
}
@keyframes floatFace {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--r, 0deg)); }
}

#software .face-how-we-work {
    top: -10px;
    right: 15%;
    --r: 10deg;
    animation-delay: 0s;
} #software .face-services {
    top: -5px;
    left: 3%;
    --r: -15deg;
    animation-delay: -1s;
} #software .face-integrations {
    top: 20px;
    right: 15%;
    --r: 5deg;
    animation-delay: -2s;
} #software .face-products {
    top: 0.5px;
    left: 3%;
    --r: -10deg;
    animation-delay: -3s;
}

@media (max-width: 768px) {
 #software .floating-face {
        width: 100px;
        height: 100px;
    } #software .face-how-we-work { top: -10px; right: 5%; } #software .face-services { top: -50px; left: 5%; } #software .face-integrations { top: 20px; right: 10%; } #software .face-products { top: -50px; left: 55%; }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-8px) rotate(var(--r, 0deg)); }
}

@keyframes shootingStars {
    0% { transform: translateX(50vw) translateY(-12.5vw); opacity: 0; }
    5% { opacity: 1; }
    100% { transform: translateX(-150vw) translateY(37.5vw); opacity: 0; }
}

#software .shooting-stars-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
#software .s-star {
    position: absolute;
    right: -300px;
    display: flex;
    align-items: center;
    transform: rotate(-14deg);
    animation: shootStar linear infinite;
    opacity: 0;
}
#software .s-head {
    font-size: 1.4rem;
    color: var(--yellow);
    -webkit-text-stroke: 1.5px var(--ink);
    margin-right: -4px;
    z-index: 2;
}
#software .s-tail {
    width: 250px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--star-color) 0%, transparent 100%);
    border: none;
}
#software .s-tail.red { --star-color: var(--red); }
#software .s-tail.blue { --star-color: var(--blue); }
#software .s-tail.yellow { --star-color: var(--yellow); }
#software .s-tail.ink { --star-color: var(--ink); }

@keyframes shootStar {
    0% { transform: rotate(-14deg) translateX(10vw); opacity: 0; }
    5% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: rotate(-14deg) translateX(-150vw); opacity: 0; }
}

#software .ss-1 { top: -5%; right: -50px; animation-duration: 4.5s; animation-delay: 0s; }
#software .ss-2 { top: 25%; right: -250px; animation-duration: 3.8s; animation-delay: 2s; }
#software .ss-3 { top: -15%; right: -100px; animation-duration: 5.2s; animation-delay: 0.8s; }
#software .ss-4 { top: 65%; right: -300px; animation-duration: 4.2s; animation-delay: 3.5s; }
#software .ss-5 { top: 10%; right: -150px; animation-duration: 3.5s; animation-delay: 1.5s; }
#software .ss-6 { top: 85%; right: -50px; animation-duration: 4.8s; animation-delay: 4.5s; }
#software .ss-7 { top: 55%; right: -200px; animation-duration: 3.2s; animation-delay: 5.5s; }
#software .ss-8 { top: -10%; right: 0px; animation-duration: 5.5s; animation-delay: 6.8s; }

/* Hover animations for cards and boxes */
#software .process-card, #software .service-card, #software .integ-card, #software .product-visual, #software form {
    transition: top 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), left 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    top: 0;
    left: 0;
    position: relative;
}

#software .process-card:hover, #software .service-card:hover, #software .integ-card:hover {
    top: -6px;
    left: -6px;
    box-shadow: 13px 14px 0 var(--ink);
    cursor: pointer;
}

#software .product-visual:hover {
    top: -8px;
    left: -8px;
    box-shadow: 17px 18px 0 var(--ink);
    cursor: pointer;
}

#software form:hover {
    top: -6px;
    left: -6px;
    box-shadow: 14px 15px 0 var(--ink);
}

/* ============================================
   SOFTWARE PAGE — MOBILE RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 768px) {
    /* Hero section */
    #software .s3-hero {
        min-height: auto;
        padding: 100px 0 40px;
    }
    #software h1.headline {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        max-width: 100%;
    }
    #software .s3-hero p.lede {
        font-size: 1rem;
    }
    #software .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }
    #software .hero-ctas a {
        text-align: center;
        width: 100%;
    }
    #software .speed-lines {
        display: none;
    }

    /* Section padding */
    #software section {
        padding: 50px 0;
    }
    #software .section-head {
        margin-bottom: 30px;
    }
    #software .section-head h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    /* Process cards — stack to 1 column */
    #software .process-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    #software .process-card {
        padding: 24px 20px;
    }
    #software .process-card h3 {
        font-size: 1.5rem;
    }

    /* Service cards — stack to 1 column */
    #software .services-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    #software .service-card {
        padding: 24px 20px;
    }
    #software .service-card h3 {
        font-size: 1.5rem;
    }

    /* Integration cards — stack to 1 column */
    #software .integ-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    #software .integ-card {
        padding: 20px;
    }
    #software .integ-card h4 {
        font-size: 1.3rem;
    }

    /* Product sections — stack visual above text */
    #software .s3-product {
        grid-template-columns: 1fr !important;
        gap: 24px;
        padding: 36px 0;
    }
    #software .product-visual {
        aspect-ratio: 16 / 9;
        min-height: 180px;
        border-radius: 18px;
    }
    #software .s3-product h3 {
        font-size: 2rem;
    }
    #software .product-ctas {
        flex-direction: column;
        gap: 10px;
    }
    #software .product-ctas a {
        text-align: center;
        width: 100%;
    }

    /* Contact section — stack form below info */
    #software .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    #software .form-row {
        grid-template-columns: 1fr !important;
    }
    #software form {
        padding: 20px;
        box-shadow: 5px 6px 0 var(--ink);
    }
    #software .contact-info h3 {
        font-size: 1.8rem;
    }

    /* Footer grid — 2 columns on mobile */
    #software .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    /* Reduce card box shadows for mobile */
    #software .process-card,
    #software .service-card,
    #software .integ-card {
        box-shadow: 4px 5px 0 var(--ink);
    }

    /* Disable hover lift on touch devices */
    #software .process-card:hover,
    #software .service-card:hover,
    #software .integ-card:hover,
    #software .product-visual:hover,
    #software form:hover {
        top: 0;
        left: 0;
    }
}


/* --- STAR NEXUS SOFTWARE THEME ISOLATION --- */
#software.starnexus-theme {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    text-align: left;
    background-color: var(--navy);
}

  #software.starnexus-theme {
    --navy:#0A0E27;
    --indigo:#141A45;
    --panel:#181F52;
    --gold:#F2B84B;
    --cyan:#5FD4D0;
    --off-white:#F3F4FA;
    --muted:#9BA1C7;
    --line:rgba(243,244,250,0.10);
    --maxw:1180px;
  } #software.starnexus-theme * {margin:0;padding:0;box-sizing:border-box;} #software.starnexus-theme {
    background:var(--navy);
    color:var(--off-white);
    font-family: var(--font-body);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  } #software.starnexus-theme h1, #software.starnexus-theme h2, #software.starnexus-theme h3, #software.starnexus-theme h4{
    font-family: var(--font-heading);
    font-weight:600;
    letter-spacing:-0.01em;
  } #software.starnexus-theme .mono{
    font-family: var(--font-mono);
    letter-spacing:0.06em;
    text-transform:uppercase;
    font-size:0.72rem;
  } #software.starnexus-theme a{color:inherit;text-decoration:none;} #software.starnexus-theme .wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px;} #software.starnexus-theme img, #software.starnexus-theme svg{display:block;max-width:100%;} #software.starnexus-theme ::selection{background:var(--gold);color:var(--navy);}

  /* ---------- Nav ---------- */
 #software.starnexus-theme header{
    position:sticky;top:0;z-index:50;
    background:rgba(10,14,39,0.82);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  } #software.starnexus-theme nav.wrap{
    display:flex;align-items:center;justify-content:space-between;
    height:76px;
  } #software.starnexus-theme .brand{display:flex;align-items:center;gap:10px;font-family: var(--font-heading);font-weight:700;font-size:1.15rem;} #software.starnexus-theme .brand .dot{width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 12px 2px rgba(242,184,75,0.6);} #software.starnexus-theme .navlinks{display:flex;gap:36px;font-size:0.92rem;color:var(--muted);} #software.starnexus-theme .navlinks a:hover{color:var(--off-white);} #software.starnexus-theme .nav-cta{
    background:var(--gold);color:var(--navy);
    padding:10px 20px;border-radius:6px;font-weight:600;font-size:0.9rem;
  } #software.starnexus-theme .nav-cta:hover{background:#ffd27a;}
  @media (max-width:860px){ #software.starnexus-theme .navlinks{display:none;}}

  /* ---------- Hero ---------- */
 #software.starnexus-theme .hero {
    position:relative;
    padding:110px 0 90px;
    overflow:hidden;
    border-bottom:1px solid var(--line);
  } #software.starnexus-theme #constellation{
    position:absolute;inset:0;width:100%;height:100%;
    opacity:0.9;
  } #software.starnexus-theme .hero-inner{position:relative;z-index:2;} #software.starnexus-theme .eyebrow{
    color:var(--cyan);margin-bottom:22px;display:flex;align-items:center;gap:10px;
  } #software.starnexus-theme .eyebrow::before{content:"";width:26px;height:1px;background:var(--cyan);} #software.starnexus-theme h1.headline{
    font-size:clamp(2.4rem,5vw,4rem);
    max-width:820px;
    line-height:1.08;
    margin-bottom:26px;
  } #software.starnexus-theme h1.headline em{
    font-style:normal;color:var(--gold);
  } #software.starnexus-theme .hero p.lede{
    max-width:600px;color:var(--muted);font-size:1.12rem;margin-bottom:40px;
  } #software.starnexus-theme .hero-ctas{display:flex;gap:16px;flex-wrap:wrap;} #software.starnexus-theme .btn-primary{
    background:var(--gold);color:var(--navy);padding:14px 26px;border-radius:6px;font-weight:600;
  } #software.starnexus-theme .btn-primary:hover{background:#ffd27a;} #software.starnexus-theme .btn-secondary{
    border:1px solid var(--line);padding:14px 26px;border-radius:6px;font-weight:600;color:var(--off-white);
  } #software.starnexus-theme .btn-secondary:hover{border-color:var(--cyan);color:var(--cyan);}

  /* ---------- Section shared ---------- */
 #software.starnexus-theme .page-section-starnexus {padding:100px 0;border-bottom:1px solid var(--line);} #software.starnexus-theme .section-head{max-width:640px;margin-bottom:64px;} #software.starnexus-theme .section-head .mono{color:var(--gold);margin-bottom:14px;display:block;} #software.starnexus-theme .section-head h2{font-size:clamp(1.8rem,3.2vw,2.6rem);margin-bottom:16px;} #software.starnexus-theme .section-head p{color:var(--muted);font-size:1.05rem;}

  /* ---------- Process ---------- */
 #software.starnexus-theme .process-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
    background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden;
  } #software.starnexus-theme .process-card{background:var(--navy);padding:40px 34px;position:relative;transition:background 0.3s ease, border-color 0.3s ease;} #software.starnexus-theme .process-card:hover{background:var(--indigo);} #software.starnexus-theme .process-card .id{color:var(--cyan);margin-bottom:22px;display:block;} #software.starnexus-theme .process-card h3{font-size:1.28rem;margin-bottom:12px;} #software.starnexus-theme .process-card p{color:var(--muted);font-size:0.96rem;}
  @media (max-width:860px){ #software.starnexus-theme .process-grid{grid-template-columns:1fr;}}

  /* ---------- Services ---------- */
 #software.starnexus-theme .services-grid{
    display:grid;grid-template-columns:repeat(2,1fr);gap:24px;
  } #software.starnexus-theme .service-card{
    background:var(--panel);border-radius:12px;padding:38px;
    transition:transform .25s ease, box-shadow .25s ease, background 0.3s ease;
  } #software.starnexus-theme .service-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -20px rgba(0,0,0,0.6);background:var(--indigo);} #software.starnexus-theme .service-card .num{color:var(--muted);font-size:0.8rem;margin-bottom:18px;display:block;} #software.starnexus-theme .service-card h3{font-size:1.3rem;margin-bottom:12px;} #software.starnexus-theme .service-card p{color:var(--muted);font-size:0.96rem;margin-bottom:20px;} #software.starnexus-theme .service-card .link{color:var(--gold);font-size:0.88rem;font-weight:600;}
  @media (max-width:760px){ #software.starnexus-theme .services-grid{grid-template-columns:1fr;}}

  /* ---------- Integrations ---------- */
 #software.starnexus-theme .integ-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;} #software.starnexus-theme .integ-card{
    border:1px solid var(--line);border-radius:10px;padding:28px;background:rgba(255,255,255,0.015);
    transition:background 0.3s ease, border-color 0.3s ease;
  } #software.starnexus-theme .integ-card:hover{background:rgba(255,255,255,0.05); border-color:var(--cyan);} #software.starnexus-theme .integ-card .tag{color:var(--cyan);margin-bottom:14px;display:block;} #software.starnexus-theme .integ-card h4{font-size:1.06rem;margin-bottom:10px;} #software.starnexus-theme .integ-card p{color:var(--muted);font-size:0.9rem;}
  @media (max-width:860px){ #software.starnexus-theme .integ-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:560px){ #software.starnexus-theme .integ-grid{grid-template-columns:1fr;}}

  /* ---------- Products ---------- */
 #software.starnexus-theme .product{
    display:grid;grid-template-columns:0.9fr 1.1fr;gap:56px;
    padding:52px 0;border-top:1px solid var(--line);
    align-items:center;
  } #software.starnexus-theme .product:first-of-type{border-top:none;} #software.starnexus-theme .product-visual{
    aspect-ratio:4/3;border-radius:14px;
    background:linear-gradient(155deg,var(--panel),var(--indigo));
    display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
    border:1px solid var(--line);
  } #software.starnexus-theme .product-visual .glyph{font-family: var(--font-heading);font-weight:700;font-size:3.4rem;color:rgba(243,244,250,0.14);} #software.starnexus-theme .product-visual .starpoint{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--gold);box-shadow:0 0 10px 2px rgba(242,184,75,0.7);} #software.starnexus-theme .product-kicker{color:var(--muted);margin-bottom:10px;display:block;} #software.starnexus-theme .product h3{font-size:1.7rem;margin-bottom:6px;} #software.starnexus-theme .product .role{color:var(--gold);font-size:0.92rem;margin-bottom:18px;display:block;} #software.starnexus-theme .product p.desc{color:var(--muted);margin-bottom:22px;} #software.starnexus-theme .feat-list{list-style:none;margin-bottom:26px;} #software.starnexus-theme .feat-list li{
    display:flex;gap:12px;color:var(--off-white);font-size:0.93rem;margin-bottom:10px;padding-left:0;
  } #software.starnexus-theme .feat-list li::before{content:"—";color:var(--cyan);flex-shrink:0;} #software.starnexus-theme .product-ctas{display:flex;gap:14px;} #software.starnexus-theme .product-ctas a{font-size:0.88rem;font-weight:600;padding:11px 18px;border-radius:6px;} #software.starnexus-theme .product-ctas .primary{background:var(--gold);color:var(--navy);} #software.starnexus-theme .product-ctas .secondary{border:1px solid var(--line);}
  @media (max-width:860px){ #software.starnexus-theme .product{grid-template-columns:1fr;gap:28px;}}

  /* ---------- Contact ---------- */
 #software.starnexus-theme .contact-grid{display:grid;grid-template-columns:0.85fr 1.15fr;gap:60px;} #software.starnexus-theme .contact-info h3{font-size:1.4rem;margin-bottom:16px;} #software.starnexus-theme .contact-info p{color:var(--muted);margin-bottom:32px;} #software.starnexus-theme .info-row{margin-bottom:24px;} #software.starnexus-theme .info-row .mono{color:var(--gold);margin-bottom:6px;display:block;} #software.starnexus-theme .info-row div.val{font-size:1rem;} #software.starnexus-theme form{display:grid;gap:18px;} #software.starnexus-theme .form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;} #software.starnexus-theme label{font-size:0.8rem;color:var(--muted);margin-bottom:8px;display:block;} #software.starnexus-theme input, #software.starnexus-theme textarea{
    width:100%;background:var(--panel);border:1px solid var(--line);border-radius:6px;
    padding:13px 14px;color:var(--off-white);font-family: var(--font-body);font-size:0.94rem;
  } #software.starnexus-theme input:focus, #software.starnexus-theme textarea:focus{outline:none;border-color:var(--cyan);} #software.starnexus-theme textarea{resize:vertical;min-height:110px;} #software.starnexus-theme .submit-btn{
    background:var(--gold);color:var(--navy);padding:14px 26px;border-radius:6px;font-weight:600;
    border:none;cursor:pointer;font-family: var(--font-body);font-size:0.95rem;width:fit-content;
  } #software.starnexus-theme .submit-btn:hover{background:#ffd27a;}
  @media (max-width:860px){ #software.starnexus-theme .contact-grid{grid-template-columns:1fr;} #software.starnexus-theme .form-row{grid-template-columns:1fr;}}

  /* Staggered Drop Grid Animation */
 #software.starnexus-theme .staggered-drop-grid.reveal {
      transform: none !important;
      opacity: 1 !important;
      transition: none !important;
        padding: 20px;
        box-shadow: 5px 6px 0 var(--ink);
    }
    #software .contact-info h3 {
        font-size: 1.8rem;
    }

    /* Footer grid — 2 columns on mobile */
    #software .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    /* Reduce card box shadows for mobile */
    #software .process-card,
    #software .service-card,
    #software .integ-card {
        box-shadow: 4px 5px 0 var(--ink);
    }

    /* Disable hover lift on touch devices */
    #software .process-card:hover,
    #software .service-card:hover,
    #software .integ-card:hover,
    #software .product-visual:hover,
    #software form:hover {
        top: 0;
        left: 0;
    }
}


/* --- STAR NEXUS SOFTWARE THEME ISOLATION --- */
#software.starnexus-theme {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    text-align: left;
    background-color: var(--navy);
}

  #software.starnexus-theme {
    --navy:#0A0E27;
    --indigo:#141A45;
    --panel:#181F52;
    --gold:#F2B84B;
    --cyan:#5FD4D0;
    --off-white:#F3F4FA;
    --muted:#9BA1C7;
    --line:rgba(243,244,250,0.10);
    --maxw:1180px;
  } #software.starnexus-theme * {margin:0;padding:0;box-sizing:border-box;} #software.starnexus-theme {
    background:var(--navy);
    color:var(--off-white);
    font-family: var(--font-body);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  } #software.starnexus-theme h1, #software.starnexus-theme h2, #software.starnexus-theme h3, #software.starnexus-theme h4{
    font-family: var(--font-heading);
    font-weight:600;
    letter-spacing:-0.01em;
  } #software.starnexus-theme .mono{
    font-family: var(--font-mono);
    letter-spacing:0.06em;
    text-transform:uppercase;
    font-size:0.72rem;
  } #software.starnexus-theme a{color:inherit;text-decoration:none;} #software.starnexus-theme .wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px;} #software.starnexus-theme img, #software.starnexus-theme svg{display:block;max-width:100%;} #software.starnexus-theme ::selection{background:var(--gold);color:var(--navy);}

  /* ---------- Nav ---------- */
 #software.starnexus-theme header{
    position:sticky;top:0;z-index:50;
    background:rgba(10,14,39,0.82);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  } #software.starnexus-theme nav.wrap{
    display:flex;align-items:center;justify-content:space-between;
    height:76px;
  } #software.starnexus-theme .brand{display:flex;align-items:center;gap:10px;font-family: var(--font-heading);font-weight:700;font-size:1.15rem;} #software.starnexus-theme .brand .dot{width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 12px 2px rgba(242,184,75,0.6);} #software.starnexus-theme .navlinks{display:flex;gap:36px;font-size:0.92rem;color:var(--muted);} #software.starnexus-theme .navlinks a:hover{color:var(--off-white);} #software.starnexus-theme .nav-cta{
    background:var(--gold);color:var(--navy);
    padding:10px 20px;border-radius:6px;font-weight:600;font-size:0.9rem;
  } #software.starnexus-theme .nav-cta:hover{background:#ffd27a;}
  @media (max-width:860px){ #software.starnexus-theme .navlinks{display:none;}}

  /* ---------- Hero ---------- */
 #software.starnexus-theme .hero {
    position:relative;
    padding:110px 0 90px;
    overflow:hidden;
    border-bottom:1px solid var(--line);
  } #software.starnexus-theme #constellation{
    position:absolute;inset:0;width:100%;height:100%;
    opacity:0.9;
  } #software.starnexus-theme .hero-inner{position:relative;z-index:2;} #software.starnexus-theme .eyebrow{
    color:var(--cyan);margin-bottom:22px;display:flex;align-items:center;gap:10px;
  } #software.starnexus-theme .eyebrow::before{content:"";width:26px;height:1px;background:var(--cyan);} #software.starnexus-theme h1.headline{
    font-size:clamp(2.4rem,5vw,4rem);
    max-width:820px;
    line-height:1.08;
    margin-bottom:26px;
  } #software.starnexus-theme h1.headline em{
    font-style:normal;color:var(--gold);
  } #software.starnexus-theme .hero p.lede{
    max-width:600px;color:var(--muted);font-size:1.12rem;margin-bottom:40px;
  } #software.starnexus-theme .hero-ctas{display:flex;gap:16px;flex-wrap:wrap;} #software.starnexus-theme .btn-primary{
    background:var(--gold);color:var(--navy);padding:14px 26px;border-radius:6px;font-weight:600;
  } #software.starnexus-theme .btn-primary:hover{background:#ffd27a;} #software.starnexus-theme .btn-secondary{
    border:1px solid var(--line);padding:14px 26px;border-radius:6px;font-weight:600;color:var(--off-white);
  } #software.starnexus-theme .btn-secondary:hover{border-color:var(--cyan);color:var(--cyan);}

  /* ---------- Section shared ---------- */
 #software.starnexus-theme .page-section-starnexus {padding:100px 0;border-bottom:1px solid var(--line);} #software.starnexus-theme .section-head{max-width:640px;margin-bottom:64px;} #software.starnexus-theme .section-head .mono{color:var(--gold);margin-bottom:14px;display:block;} #software.starnexus-theme .section-head h2{font-size:clamp(1.8rem,3.2vw,2.6rem);margin-bottom:16px;} #software.starnexus-theme .section-head p{color:var(--muted);font-size:1.05rem;}

  /* ---------- Process ---------- */
 #software.starnexus-theme .process-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
    background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden;
  } #software.starnexus-theme .process-card{background:var(--navy);padding:40px 34px;position:relative;transition:background 0.3s ease, border-color 0.3s ease;} #software.starnexus-theme .process-card:hover{background:var(--indigo);} #software.starnexus-theme .process-card .id{color:var(--cyan);margin-bottom:22px;display:block;} #software.starnexus-theme .process-card h3{font-size:1.28rem;margin-bottom:12px;} #software.starnexus-theme .process-card p{color:var(--muted);font-size:0.96rem;}
  @media (max-width:860px){ #software.starnexus-theme .process-grid{grid-template-columns:1fr;}}

  /* ---------- Services ---------- */
 #software.starnexus-theme .services-grid{
    display:grid;grid-template-columns:repeat(2,1fr);gap:24px;
  } #software.starnexus-theme .service-card{
    background:var(--panel);border-radius:12px;padding:38px;
    transition:transform .25s ease, box-shadow .25s ease, background 0.3s ease;
  } #software.starnexus-theme .service-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -20px rgba(0,0,0,0.6);background:var(--indigo);} #software.starnexus-theme .service-card .num{color:var(--muted);font-size:0.8rem;margin-bottom:18px;display:block;} #software.starnexus-theme .service-card h3{font-size:1.3rem;margin-bottom:12px;} #software.starnexus-theme .service-card p{color:var(--muted);font-size:0.96rem;margin-bottom:20px;} #software.starnexus-theme .service-card .link{color:var(--gold);font-size:0.88rem;font-weight:600;}
  @media (max-width:760px){ #software.starnexus-theme .services-grid{grid-template-columns:1fr;}}

  /* ---------- Integrations ---------- */
 #software.starnexus-theme .integ-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;} #software.starnexus-theme .integ-card{
    border:1px solid var(--line);border-radius:10px;padding:28px;background:rgba(255,255,255,0.015);
    transition:background 0.3s ease, border-color 0.3s ease;
  } #software.starnexus-theme .integ-card:hover{background:rgba(255,255,255,0.05); border-color:var(--cyan);} #software.starnexus-theme .integ-card .tag{color:var(--cyan);margin-bottom:14px;display:block;} #software.starnexus-theme .integ-card h4{font-size:1.06rem;margin-bottom:10px;} #software.starnexus-theme .integ-card p{color:var(--muted);font-size:0.9rem;}
  @media (max-width:860px){ #software.starnexus-theme .integ-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:560px){ #software.starnexus-theme .integ-grid{grid-template-columns:1fr;}}

  /* ---------- Products ---------- */
 #software.starnexus-theme .product{
    display:grid;grid-template-columns:0.9fr 1.1fr;gap:56px;
    padding:52px 0;border-top:1px solid var(--line);
    align-items:center;
  } #software.starnexus-theme .product:first-of-type{border-top:none;} #software.starnexus-theme .product-visual{
    aspect-ratio:4/3;border-radius:14px;
    background:linear-gradient(155deg,var(--panel),var(--indigo));
    display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
    border:1px solid var(--line);
  } #software.starnexus-theme .product-visual .glyph{font-family: var(--font-heading);font-weight:700;font-size:3.4rem;color:rgba(243,244,250,0.14);} #software.starnexus-theme .product-visual .starpoint{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--gold);box-shadow:0 0 10px 2px rgba(242,184,75,0.7);} #software.starnexus-theme .product-kicker{color:var(--muted);margin-bottom:10px;display:block;} #software.starnexus-theme .product h3{font-size:1.7rem;margin-bottom:6px;} #software.starnexus-theme .product .role{color:var(--gold);font-size:0.92rem;margin-bottom:18px;display:block;} #software.starnexus-theme .product p.desc{color:var(--muted);margin-bottom:22px;} #software.starnexus-theme .feat-list{list-style:none;margin-bottom:26px;} #software.starnexus-theme .feat-list li{
    display:flex;gap:12px;color:var(--off-white);font-size:0.93rem;margin-bottom:10px;padding-left:0;
  } #software.starnexus-theme .feat-list li::before{content:"—";color:var(--cyan);flex-shrink:0;} #software.starnexus-theme .product-ctas{display:flex;gap:14px;} #software.starnexus-theme .product-ctas a{font-size:0.88rem;font-weight:600;padding:11px 18px;border-radius:6px;} #software.starnexus-theme .product-ctas .primary{background:var(--gold);color:var(--navy);} #software.starnexus-theme .product-ctas .secondary{border:1px solid var(--line);}
  @media (max-width:860px){ #software.starnexus-theme .product{grid-template-columns:1fr;gap:28px;}}

  /* ---------- Contact ---------- */
 #software.starnexus-theme .contact-grid{display:grid;grid-template-columns:0.85fr 1.15fr;gap:60px;} #software.starnexus-theme .contact-info h3{font-size:1.4rem;margin-bottom:16px;} #software.starnexus-theme .contact-info p{color:var(--muted);margin-bottom:32px;} #software.starnexus-theme .info-row{margin-bottom:24px;} #software.starnexus-theme .info-row .mono{color:var(--gold);margin-bottom:6px;display:block;} #software.starnexus-theme .info-row div.val{font-size:1rem;} #software.starnexus-theme form{display:grid;gap:18px;} #software.starnexus-theme .form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;} #software.starnexus-theme label{font-size:0.8rem;color:var(--muted);margin-bottom:8px;display:block;} #software.starnexus-theme input, #software.starnexus-theme textarea{
    width:100%;background:var(--panel);border:1px solid var(--line);border-radius:6px;
    padding:13px 14px;color:var(--off-white);font-family: var(--font-body);font-size:0.94rem;
  } #software.starnexus-theme input:focus, #software.starnexus-theme textarea:focus{outline:none;border-color:var(--cyan);} #software.starnexus-theme textarea{resize:vertical;min-height:110px;} #software.starnexus-theme .submit-btn{
    background:var(--gold);color:var(--navy);padding:14px 26px;border-radius:6px;font-weight:600;
    border:none;cursor:pointer;font-family: var(--font-body);font-size:0.95rem;width:fit-content;
  } #software.starnexus-theme .submit-btn:hover{background:#ffd27a;}
  @media (max-width:860px){ #software.starnexus-theme .contact-grid{grid-template-columns:1fr;} #software.starnexus-theme .form-row{grid-template-columns:1fr;}}

  /* Staggered Drop Grid Animation */
 #software.starnexus-theme .staggered-drop-grid.reveal {
      transform: none !important;
      opacity: 1 !important;
      transition: none !important;
  } #software.starnexus-theme .staggered-drop-grid > * {
      opacity: 0;
      transform: translateY(-60px);
  } #software.starnexus-theme .staggered-drop-grid.active > * {
      animation: dropArrange 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  } #software.starnexus-theme .staggered-drop-grid.active > *:nth-child(1) { animation-delay: 0.1s; } #software.starnexus-theme .staggered-drop-grid.active > *:nth-child(2) { animation-delay: 0.2s; } #software.starnexus-theme .staggered-drop-grid.active > *:nth-child(3) { animation-delay: 0.3s; } #software.starnexus-theme .staggered-drop-grid.active > *:nth-child(4) { animation-delay: 0.4s; } #software.starnexus-theme .staggered-drop-grid.active > *:nth-child(5) { animation-delay: 0.5s; } #software.starnexus-theme .staggered-drop-grid.active > *:nth-child(6) { animation-delay: 0.6s; }

  @keyframes dropArrange {
      0% { opacity: 0; transform: translateY(-60px) scale(0.98); }
      60% { transform: translateY(5px) scale(1); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
  }

  @media (prefers-reduced-motion: reduce){
    
  }

/* =========================================================
   SKILLVERSE — PREMIUM EDUCATION THEME V2
   ========================================================= */

/* ---------- Container & Canvas ---------- */
.skv {
    position: relative;
    padding: 2rem 1rem 4rem;
    overflow: hidden;
    max-width: 1900px; /* Expanded to allow for the 1000px image + 15rem gap + 550px text */
    margin: 0 auto;
}
.skv-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ---------- Floating Chalk Doodles ---------- */
.skv-doodles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.doodle {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(245, 158, 11, 0.08);
    animation: doodleFloat 12s ease-in-out infinite;
    user-select: none;
}
.doodle-1 { top: 5%;  left: 8%;  animation-delay: 0s;   font-size: 3rem; }
.doodle-2 { top: 15%; right: 12%; animation-delay: 1.5s; font-size: 4rem; }
.doodle-3 { top: 35%; left: 3%;  animation-delay: 3s;   font-size: 2rem; }
.doodle-4 { top: 55%; right: 5%; animation-delay: 4.5s; font-size: 3.5rem; }
.doodle-5 { top: 70%; left: 15%; animation-delay: 2s;   font-size: 2rem; }
.doodle-6 { top: 85%; right: 18%; animation-delay: 5s;  font-size: 2.5rem; }
.doodle-7 { top: 45%; left: 45%; animation-delay: 6s;  font-size: 3rem; }
.doodle-8 { top: 25%; left: 60%; animation-delay: 3.5s; font-size: 2rem; }

@keyframes doodleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.08; }
    25%      { transform: translateY(-15px) rotate(5deg) scale(1.05); opacity: 0.15; }
    50%      { transform: translateY(-25px) rotate(-3deg) scale(1.1); opacity: 0.12; }
    75%      { transform: translateY(-10px) rotate(2deg) scale(1.02); opacity: 0.1; }
}

/* ---------- Section Title ---------- */
.skv-section-title {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.skv-section-title i {
    color: #F59E0B;
    font-size: 1.5rem;
}

/* ========== HERO ========== */
.skv-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 0;
}
.skv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #F59E0B;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.3); }
    50%      { box-shadow: 0 0 20px 5px rgba(245,158,11,0.15); }
}
/* ========== SPLIT HERO & STATS ========== */
.skv-hero-split {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 5rem;
    padding: 2rem 0;
}
@media (min-width: 900px) {
    .skv-hero-split {
        flex-direction: row;
        justify-content: space-between; 
        align-items: stretch;
        gap: 4rem; /* A safe, consistent gap */
    }
    .skv-hero-info {
        /* Protect the text/stats from getting squished by the massive image */
        flex: 0 0 450px; 
        max-width: 550px; 
    }
    .skv-hero-visual {
        /* Take up all the remaining space and allow it to grow huge */
        flex: 1 1 auto;
        max-width: 1000px; 
        margin-left: auto; /* Force to the absolute right side */
    }
}

.skv-hero-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.skv-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
}
.skv-title-line {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: #E2E8F0;
    letter-spacing: -1px;
}
.skv-title-accent {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #F59E0B, #FBBF24, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    background-size: 200% 200%;
    line-height: 1.1;
    filter: drop-shadow(0 0 20px rgba(245,158,11,0.3));
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.skv-hero-desc {
    color: #94A3B8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.skv-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Buttons */
.skv-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
    position: relative;
    overflow: hidden;
}
.skv-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.skv-btn-primary:hover::before { transform: translateX(100%); }
.skv-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.5);
}
.skv-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #F59E0B;
    border: 2px solid rgba(245,158,11,0.4);
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.skv-btn-outline:hover {
    background: rgba(245,158,11,0.1);
    border-color: #F59E0B;
    transform: translateY(-2px);
}

/* Stats embedded in Hero */
.skv-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 1200px) {
    .skv-stats { grid-template-columns: repeat(4, 1fr); }
}
.skv-stat-item {
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(245,158,11,0.15);
    border-radius: 16px;
    padding: 1rem 0.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.skv-stat-item::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, rgba(245,158,11,0.3), transparent, rgba(16,185,129,0.3));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}
.skv-stat-item:hover::before { opacity: 1; }
.skv-stat-item:hover { transform: translateY(-5px); }
.skv-stat-number {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    color: #F59E0B;
    line-height: 1;
    display: inline;
}
.skv-stat-suffix {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: #FBBF24;
    display: inline;
}
.skv-stat-label {
    color: #94A3B8;
    font-size: 0.65rem;
    font-weight: 500;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    word-break: break-word;
}
.skv-stat-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}
.skv-stat-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #F59E0B, #10B981);
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.skv-stats.active .skv-stat-fill {
    width: var(--fill-width);
}

/* ========== HERO VISUAL (Right Column) ========== */
.skv-hero-visual {
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: stretch;
}
.skv-showcase-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
}
.skv-showcase-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.skv-showcase-main:hover img { transform: scale(1.05); }
.skv-showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    pointer-events: none;
}
.skv-showcase-overlay span {
    font-family: var(--font-body);
    font-weight: 700;
    color: #FBBF24;
    font-size: 1.1rem;
    letter-spacing: 1px;
}


/* ========== CORE PILLARS ========== */
.skv-pillars {
    position: relative;
    z-index: 1;
    margin-bottom: 5rem;
}
.skv-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .skv-pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
.skv-pillar-card {
    background: linear-gradient(145deg, rgba(15,23,42,0.8), rgba(15,23,42,0.4));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 1px solid rgba(245,158,11,0.2);
    border-radius: 16px;
    padding: 0; /* Remove padding here, move to content */
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensure image corners clip */
}
.skv-pillar-card:hover {
    transform: translateY(-5px);
    border-top: 1px solid rgba(245,158,11,0.6);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), inset 0 0 20px rgba(245,158,11,0.05);
}
.skv-pillar-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.skv-pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.85);
}
.skv-pillar-card:hover .skv-pillar-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}
.skv-pillar-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}
.skv-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245,158,11,0.1);
    color: #F59E0B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.4s;
}
.skv-pillar-card:hover .skv-pillar-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(245,158,11,0.2);
}
.skv-pillar-card h4 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: #F8FAFC;
    margin: 0;
}
.skv-pillar-card p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ========== JOURNEY / TIMELINE ========== */
.skv-journey {
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
}
.skv-journey-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 900px) {
    .skv-journey-track {
        flex-direction: row;
        gap: 0;
        justify-content: space-between;
    }
}
.skv-journey-line {
    display: none;
}
@media (min-width: 900px) {
    .skv-journey-line {
        display: block;
        position: absolute;
        top: 28px;
        left: 5%;
        right: 5%;
        height: 3px;
        background: linear-gradient(90deg, #F59E0B, #10B981, #3B82F6);
        border-radius: 2px;
        z-index: 0;
    }
    .skv-journey-line::after {
        content: '';
        position: absolute;
        inset: -3px 0;
        background: inherit;
        filter: blur(8px);
        opacity: 0.4;
    }
}
.skv-journey-step {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.skv-journey-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.4s;
    position: relative;
}
.skv-journey-step[data-step="1"] .skv-journey-icon {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    box-shadow: 0 0 20px rgba(245,158,11,0.4);
}
.skv-journey-step[data-step="2"] .skv-journey-icon {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    box-shadow: 0 0 20px rgba(16,185,129,0.4);
}
.skv-journey-step[data-step="3"] .skv-journey-icon {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #fff;
    box-shadow: 0 0 20px rgba(59,130,246,0.4);
}
.skv-journey-step:hover .skv-journey-icon {
    transform: scale(1.15) rotate(5deg);
}
.skv-journey-card {
    background: rgba(15,23,42,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 320px;
    transition: all 0.4s;
}
.skv-journey-step:hover .skv-journey-card {
    border-color: rgba(245,158,11,0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.skv-journey-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #F59E0B;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.3rem;
}
.skv-journey-card h4 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #F8FAFC;
    margin-bottom: 0.5rem;
}
.skv-journey-card p {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ========== MODULE CARDS ========== */
.skv-modules {
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
}
.skv-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .skv-modules-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .skv-modules-grid { grid-template-columns: repeat(4, 1fr); }
}
.skv-module-card {
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.skv-module-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(245,158,11,0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}
.skv-module-card:hover::before { opacity: 1; }
.skv-module-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(245,158,11,0.25);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.skv-module-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(16,185,129,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: #F59E0B;
    transition: all 0.3s;
}
.skv-module-card:hover .skv-module-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(245,158,11,0.3), rgba(16,185,129,0.2));
}
.skv-module-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 0.5rem;
}
.skv-module-card p {
    color: #94A3B8;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* ========== GALLERY CAROUSEL ========== */
.skv-gallery {
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
    overflow: hidden;
}
.skv-gallery-track {
    display: flex;
    gap: 1rem;
    animation: galleryScroll 25s linear infinite;
    width: max-content;
}
.skv-gallery-track:hover {
    animation-play-state: paused;
}
@keyframes galleryScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.skv-gallery-slide {
    flex: 0 0 280px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.skv-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.85);
}
.skv-gallery-slide:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ========== CTA BANNER ========== */
.skv-cta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(16,185,129,0.05));
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    overflow: hidden;
}
@media (min-width: 768px) {
    .skv-cta { grid-template-columns: 1fr auto; }
}
.skv-cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245,158,11,0.15), transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}
.skv-cta-content h3 {
    font-family: var(--font-body);
    font-size: 1.8rem;
    color: #F8FAFC;
    margin-bottom: 0.8rem;
}
.skv-cta-content p {
    color: #94A3B8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}
.skv-cta-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(245,158,11,0.3);
    box-shadow: 0 0 30px rgba(245,158,11,0.2);
    flex-shrink: 0;
    margin: 0 auto;
}
.skv-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .skv { padding: 1rem 0.5rem 2rem; }
    .skv-hero-split { gap: 2rem; padding: 1rem 0; margin-bottom: 3rem; }
    .skv-hero-info { text-align: center; }
    .skv-hero-actions { justify-content: center; margin-bottom: 2rem; }
    .skv-hero-visual { min-height: 350px; grid-template-columns: 1fr; }
    .skv-stat-number { font-size: 2rem; }
    .skv-gallery-slide { flex: 0 0 200px; height: 140px; }
    .skv-cta { padding: 2rem 1.2rem; }
    .skv-cta-content h3 { font-size: 1.3rem; }
    .skv-cta-image { width: 120px; height: 120px; }
}

/* =========================================================
   MUSICVERSE THEME
   ========================================================= */

/* ---------- Container ---------- */
.mv {
    position: relative;
    padding: 2rem 2rem 4rem;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #09090b, #1e1b4b);
    color: #f8fafc;
    border-radius: 24px;
    box-shadow: 0 0 50px rgba(79, 70, 229, 0.15);
}
.mv-particles {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.2), transparent 70%);
    pointer-events: none;
}
.mv-notes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.mv-notes .note {
    position: absolute;
    color: rgba(139, 92, 246, 0.15);
    font-size: 2rem;
    animation: floatNote 12s linear infinite;
}
.note-1 { bottom: -10%; left: 10%; font-size: 3rem; animation-delay: 0s; }
.note-2 { bottom: -10%; left: 40%; font-size: 2rem; animation-delay: 3s; }
.note-3 { bottom: -10%; right: 20%; font-size: 4rem; animation-delay: 6s; }
.note-4 { bottom: -10%; right: 5%; font-size: 2.5rem; animation-delay: 1.5s; }

@keyframes floatNote {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-1200px) rotate(360deg); opacity: 0; }
}

/* ---------- Title & Text ---------- */
.mv-section-title {
    font-family: var(--font-body);
    font-size: 2.2rem;
    color: #e0e7ff;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.mv-section-title i { color: #8b5cf6; }

/* ---------- Hero ---------- */
.mv-hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 4rem 0;
    margin-bottom: 4rem;
}
@media (min-width: 900px) {
    .mv-hero {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 4rem; /* Safe, consistent gap */
    }
    .mv-hero-content {
        /* Protect the text/stats from getting squished by the massive image */
        flex: 0 0 450px; 
        max-width: 550px; 
    }
    .mv-hero-visual {
        /* Take up all the remaining space and allow it to grow huge */
        flex: 1 1 auto;
        max-width: 1000px; 
        margin-left: auto; /* Force to the absolute right side */
    }
}
.mv-stats .skv-stat-bar { background: linear-gradient(90deg, #c084fc, #3b82f6); }
.mv-stats .skv-stat-fill { background: linear-gradient(90deg, #c084fc, #3b82f6); }
.mv-title {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}
.mv-title-accent {
    background: linear-gradient(135deg, #c084fc, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mv-subtitle {
    color: #a5b4fc;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.mv-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
}
.mv-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6);
}

/* Equalizer */
.mv-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-bottom: 1.5rem;
}
.mv-equalizer .bar {
    width: 8px;
    background: #c084fc;
    border-radius: 4px;
    animation: eqBounce 1s ease-in-out infinite alternate;
}
.bar-1 { height: 20%; animation-delay: 0.1s; }
.bar-2 { height: 60%; animation-delay: 0.3s; }
.bar-3 { height: 100%; animation-delay: 0s; }
.bar-4 { height: 40%; animation-delay: 0.2s; }
.bar-5 { height: 80%; animation-delay: 0.4s; }

@keyframes eqBounce {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* Vinyl Player visual */
.mv-vinyl-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 20px;
    perspective: 1000px;
}
.mv-vinyl-cover {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 70%;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 15px 15px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}
.mv-vinyl-cover img {
    width: 100%; height: 100%; object-fit: cover;
}
.mv-vinyl-record {
    position: absolute;
    right: 5%; top: 5%; bottom: 5%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: #111;
    border: 10px solid #222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1;
    animation: spinRecord 10s linear infinite;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mv-vinyl-record::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8%; height: 8%;
    background: #1e1b4b;
    border-radius: 50%;
    border: 3px solid #000;
    z-index: 2;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.mv-vinyl-record img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 0;
}

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

/* ---------- Album Feature Cards ---------- */
.mv-features { margin-bottom: 5rem; position: relative; z-index: 1; }
.mv-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .mv-features-grid { grid-template-columns: repeat(3, 1fr); }
}
.mv-album-card {
    background: rgba(30, 27, 75, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s ease;
}
.mv-album-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(124, 58, 237, 0.2);
}
.mv-album-cover {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.mv-album-cover img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
}
.mv-album-card:hover .mv-album-cover img { transform: scale(1.1); }
.mv-album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.mv-album-card:hover .mv-album-overlay { opacity: 1; }
.mv-album-overlay i {
    font-size: 4rem;
    color: white;
    filter: drop-shadow(0 0 15px #c084fc);
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mv-album-card:hover .mv-album-overlay i { transform: scale(1); }
.mv-album-info h4 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: #e0e7ff;
    margin-bottom: 0.8rem;
}
.mv-album-info p {
    color: #a5b4fc;
    font-size: 1rem;
    line-height: 1.6;
}

/* ---------- Gallery ---------- */
.mv-gallery { position: relative; z-index: 1; }
.mv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.mv-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1/1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.mv-gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 21/9;
}
.mv-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
    filter: grayscale(40%) brightness(0.8);
}
.mv-gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.1);
}

@media (max-width: 600px) {
    .mv { padding: 2rem 1rem; }
    .mv-vinyl-player { aspect-ratio: 1/1; }
    .mv-vinyl-record { right: -20%; }
}


