/* 
====================================================================
   STROOMUP - ULTRA PREMIUM DESIGN SYSTEM v3.0
   THEME: True Black, Glassmorphism, Electric Accents
==================================================================== 
*/

:root {
    /* --- Color Palette --- */
    --bg-dark: #000000;
    --bg-deep: #050505;
    --bg-card: rgba(20, 20, 22, 0.4);
    --bg-glass: rgba(255, 255, 255, 0.03);

    --primary: #2563eb;
    /* Electric Blue */
    --primary-light: #60a5fa;
    --secondary: #7c3aed;
    /* Deep Purple */
    --accent: #22d3ee;
    /* Cyan */

    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* --- Gradients --- */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.5) 0%, rgba(124, 58, 237, 0.5) 100%);
    --gradient-text: linear-gradient(to right, #ffffff 10%, #94a3b8 100%);
    --gradient-card-border: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);

    /* --- Shadows & Glows --- */
    --glow-primary: 0 0 20px rgba(37, 99, 235, 0.3);
    --glow-accent: 0 0 20px rgba(34, 211, 238, 0.2);
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.5);

    /* --- Dimensions & Spacing --- */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --container-width: 1280px;
    --header-height: 80px;

    /* --- Fonts --- */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Animated subtle grain/noise could go here if requested, keeping clean for now */
}

/* Background Ambient Glows */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: floatOrb 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

body::before {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

body::after {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: translate(100px, 50px);
        opacity: 0.5;
    }
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    outline: none;
}

/* --- Utility Classes --- */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.strike-text {
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.6);
    /* Subtle strike */
    opacity: 0.7;
}

/* Glass Card - The core building block */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: var(--gradient-card-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    /* Fix lint */
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Glow Hover Effect */
.glow-hover {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.glow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-glow-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    transition: opacity 0.4s ease;
}

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


/* --- Button Components --- */
.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    color: var(--text-main);
    box-shadow: 0 0 40px var(--glow-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.glow-effect {
    animation: btnPulse 3s infinite;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
    }

    50% {
        box-shadow: 0 0 25px rgba(37, 99, 235, 0.8), 0 0 5px rgba(255, 255, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
    }
}

/* --- Layout Sections --- */
section {
    padding: 120px 0;
    position: relative;
}

.section-header-new,
.journey-header,
.creator-header-section,
.team-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 1rem;
}

.title-new,
.journey-title,
.creator-title,
.team-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.subtitle-new,
.journey-intro,
.creator-intro,
.team-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 70px;
}

.logo-img {
    height: 32px;
    filter: drop-shadow(0 0 8px var(--primary));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-getstarted {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--glow-primary);
}

.btn-getstarted:hover {
    background: var(--primary-light);
    box-shadow: 0 0 30px var(--primary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: -80px;
    /* Offset for header */
}

.hero-background-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    background: url('mockup 5.png') center/cover no-repeat;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    animation: zoomHero 30s infinite alternate;
}

@keyframes zoomHero {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%);
}

.hero-content-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-label-pill {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-headline {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-copy {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- StroomGift Section --- */
.stroomgift-section {
    background: transparent;
}

.section-layout-new {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.description-new {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon-new {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: 0.3s;
}

.feature-item:hover .feature-icon-new {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-dim);
}

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

.mockup-display:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* --- TWO STAGE JOURNEY (TIMELINE) --- */
.journey-section {
    position: relative;
    overflow: hidden;
}

.journey-layout {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* The Wrapper for the timeline */
.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 800px;
}

/* SVG Line Styles */
.timeline-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    /* Width of the line visual */
    height: 100%;
    z-index: 0;
    overflow: visible;
}

/* The faint background line */
.timeline-path-bg {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
    fill: none;
}

/* The drawing active line */
.timeline-path-draw {
    stroke: var(--primary);
    stroke-width: 6;
    /* Thicker line for better visibility */
    fill: none;
    transition: stroke-dashoffset 0.1s linear;
    filter: drop-shadow(0 0 15px var(--primary)) drop-shadow(0 0 30px var(--primary));
    /* Stronger glow */
    stroke-linecap: round;
}

/* Timeline Nodes Container */
.timeline-nodes {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 15vh;
    /* Large spacing between stages */
    padding: 50px 0;
}

.timeline-node-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

/* Left aligned card, Marker in center, spacer right */
.timeline-node-row.left .timeline-content-card {
    margin-right: auto;
    margin-left: 5%;
}

.timeline-node-row.right .timeline-content-card {
    margin-left: auto;
    margin-right: 5%;
}

/* The Markers (Nodes on the line) */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
    transition: 0.4s ease;
}

.timeline-marker.active {
    background: var(--primary);
    border-color: var(--primary-light);
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
    transform: translate(-50%, -50%) scale(1.5);
}

/* Content Cards */
.timeline-content-card {
    width: 42%;
    padding: 3rem;
}

.stage-badge {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    pointer-events: none;
}

.timeline-content-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
}

.stage-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.stage-content strong {
    color: var(--text-main);
    font-weight: 600;
}

/* --- Creator Section --- */
.creator-section {
    padding-top: 50px;
}

.creator-layout {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.creator-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.creator-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    transition: 0.4s;
}

.creator-feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.creator-feature-card:hover .feature-number {
    -webkit-text-stroke: 1px var(--primary);
}

.analytics-section-new {
    background: linear-gradient(180deg, rgba(20, 20, 22, 0.6) 0%, rgba(10, 10, 12, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 4rem;
    text-align: center;
}

/* --- Team Section --- */
.team-layout {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-glass);
    padding: 3rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid transparent;
    transition: 0.4s;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-primary);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Fix for head cropping */
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
}

.team-role {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- Footer --- */
.footer {
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8rem 0 2rem;
    margin-top: 8rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 30px;
    margin-bottom: 15px;
}

/* Resize footer logo */
.footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links-list li,
.footer-contact-list li {
    margin-bottom: 0.8rem;
}

.footer-links-list a,
.footer-contact-list a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between icon and text */
}

.footer-contact-list .feather {
    width: 18px;
    height: 18px;
    color: var(--primary);
    /* Accent color for icons */
}

.footer-links-list a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* --- Store Modal --- */
.store-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.store-modal-content {
    background: #111;
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.2);
}

.store-link {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    background: #222;
    border-radius: 12px;
    font-weight: 600;
}

.store-link.apple:hover {
    background: #fff;
    color: #000;
}

.store-link.google:hover {
    background: #3bcc4a;
    color: #fff;
}

/* --- RESPONSIVE DESIGN --- */

/* Tablet & Smaller Laptops */
@media (max-width: 1024px) {
    .content-split {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-content-container {
        padding-top: 0;
    }

    .creator-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-node-row.left .timeline-content-card,
    .timeline-node-row.right .timeline-content-card {
        width: 80%;
        /* Wider cards on tablet */
        margin: 0 auto;
        /* Center them visually if we change layout */
    }
}

/* Mobile */
@media (max-width: 768px) {

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
        pointer-events: auto;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .hero-headline {
        font-size: 3rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    /* Timeline Mobile Overhaul */
    .timeline-svg {
        left: 20px;
        transform: none;
    }

    /* Move line to left */
    .timeline-marker {
        left: 20px;
        transform: translate(-50%, -50%);
    }

    .timeline-marker.active {
        transform: translate(-50%, -50%) scale(1.2);
    }

    .timeline-nodes {
        gap: 4rem;
    }

    .timeline-node-row {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
        /* Space for line */
    }

    .timeline-content-card {
        width: 100%;
        margin: 0 !important;
        padding: 2rem;
    }

    .creator-features-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Fix for drawer visibility */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    right: 20px;
    background: #111;
    border: 1px solid white;
    padding: 2rem;
    border-radius: 20px;
    width: 250px;
    gap: 1.5rem;
}