:root {
    --bg-color: #050505;
    --surface-color: #222;
    --text-color: #e0e0e0;
    --accent-lime: #7fbf00;
    --accent-dim: rgba(204, 255, 0, 0.1);
    --grid-line: #222;
    --error-red: #ff3333;

    --font-display: 'Unbounded', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --spacing-unit: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

/* Utility: Grid overlay */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
            linear-gradient(var(--grid-line) 1px, transparent 1px),
            linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

/* Utility: Noise Grain */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Typography Helpers */
.display-text {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.mono-label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}

/* --- STICKY HEADER --- */
.sticky-deploy {
    position: fixed;
    top: -100px; /* Hidden initially */
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-lime);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 900;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-deploy.visible {
    top: 0;
}

.sticky-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-color);
}

.small-btn {
    background: var(--accent-lime);
    color: #000;
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

/* --- NAVIGATION --- */
nav {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    z-index: 100;
}

.logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--accent-lime);
}

.nav-status {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-lime);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.4); }
    50% { opacity: 0.5; box-shadow: 0 0 0 10px rgba(204, 255, 0, 0); }
    100% { opacity: 1; box-shadow: 0 0 0 0 rgba(204, 255, 0, 0); }
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem 2rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--grid-line);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.6);
    z-index: 1;
}

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

h1 {
    font-size: clamp(3rem, 12vw, 10rem);
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
}

h1 span {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

h1 span:nth-child(2) {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-lime);
    animation-delay: 0.1s;
}

h1 span:nth-child(3) {
    animation-delay: 0.2s;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin-top: 4rem;
    border-top: 1px solid var(--grid-line);
    padding-top: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.cta-box {
    margin-top: 1rem;
    display: inline-block;
}

.primary-btn {
    background: var(--accent-lime);
    color: #000;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    text-decoration: none;
    display: inline-block;
}

.primary-btn:hover {
    transform: scale(1.02);
}

/* --- MARQUEE --- */
.marquee-container {
    border-bottom: 1px solid var(--grid-line);
    padding: 1rem 0;
    overflow: hidden;
    background: var(--accent-lime);
    color: #000;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: scroll 10s linear infinite;
}

.marquee-item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 4rem;
    text-transform: uppercase;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- THE PROBLEM (ANALOG DECAY) --- */
.problem-section {
    background: #0a0a0a;
    padding: 8rem 2rem;
    border-bottom: 1px solid var(--grid-line);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.problem-content {
    text-align: center;
    width: 100%;
    perspective: 1000px;
}

.flip-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 400px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.flip-card-inner.flipped {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.problem-cta {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    color: #fff;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.02em;
    font-weight: 900;
    margin: 0;
}

.problem-body {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #999;
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
    padding: 2rem;
}

.decay-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 900px) {
    .decay-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.decay-text {
    position: relative;
    z-index: 2;
}

.decay-visual {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--error-red);
    border: 1px solid #333;
    padding: 1rem;
    background: rgba(0,0,0,0.5);
    position: relative;
}

.glitch-text {
    color: #555;
    position: relative;
}

.glitch-text::before {
    content: "ANALOG_DECAY";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    color: var(--error-red);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%); transform: translate(-2px, 2px); }
    20% { clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); transform: translate(2px, -2px); }
    40% { clip-path: polygon(0 30%, 100% 30%, 100% 40%, 0 40%); transform: translate(2px, 2px); }
    100% { clip-path: polygon(0 80%, 100% 80%, 100% 90%, 0 90%); transform: translate(-2px, -2px); }
}

/* --- FEATURES GRID --- */
.features {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    border-right: 1px solid var(--grid-line);
    border-bottom: 1px solid var(--grid-line);
    padding: 3rem 2rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    transition: background 0.3s;
}

.feature-card:hover {
    background: var(--surface-color);
}

.feature-visual {
    flex-grow: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.feature-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.feature-desc {
    color: #888;
    font-size: 0.9rem;
    max-width: 420px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
    nav {
        padding: 1.5rem 1.25rem;
    }

    .hero {
        padding: 5rem 1.5rem 2.5rem;
        align-items: center;
    }

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

    h1 {
        font-size: clamp(2.4rem, 11vw, 3.2rem);
        line-height: 1;
        text-align: center;
    }

    .hero-meta {
        margin-top: 2.5rem;
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-meta > div {
        text-align: center;
    }

    .problem-section {
        padding: 5rem 1.5rem;
    }

    /* Stop Guessing: disable flip and show static centered content on mobile */
    .flip-card {
        height: auto;
        min-height: auto;
    }

    .flip-card-inner {
        transform: none !important;
    }

    .flip-card-front,
    .flip-card-back {
        position: static;
        height: auto;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
        transform: none;
        display: block;
        padding: 0;
    }

    .problem-cta {
        font-size: clamp(2.4rem, 10vw, 3rem);
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .problem-body {
        padding: 0;
        margin: 0 auto;
        text-align: center;
    }

    .screenshots-section {
        padding: 5rem 1.5rem;
    }

    .screenshots-header h2 {
        font-size: 2.3rem !important;
    }

    .features {
        border-left: 1px solid var(--grid-line);
        border-right: 1px solid var(--grid-line);
    }

    .feature-card {
        padding: 2.5rem 1.5rem;
        min-height: auto;
    }

    .feature-visual {
        width: 100%;
        justify-content: center;
    }

    .visual-container-nutrition {
        width: 100%;
        max-width: 320px;
        height: 140px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Footer spacing on mobile */
    .footer-cta {
        padding: 4rem 1.5rem;
        height: auto;
    }
}

/* Extracted Visual Styles */
.visual-container-nutrition {
    border: 1px solid #333;
    width: 100%;
    max-width: 340px;
    height: 150px;
    position: relative;
    background: #000;
    margin: 0 auto;
}

.scan-data {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: var(--accent-lime);
    font-size: 0.7rem;
}

.visual-container-bars {
    display: flex;
    gap: 5px;
    align-items: flex-end;
    height: 100px;
}

.bar-1 { width: 10px; height: 40%; background: #333; animation: bar 1s infinite alternate; }
.bar-2 { width: 10px; height: 80%; background: var(--accent-lime); animation: bar 0.8s infinite alternate; }
.bar-3 { width: 10px; height: 60%; background: #333; animation: bar 1.2s infinite alternate; }
.bar-4 { width: 10px; height: 90%; background: #333; animation: bar 0.9s infinite alternate; }

@keyframes bar { 0% { height: 20%; } 100% { height: 100%; } }

/* --- IOS ECOSYSTEM (SYSTEM ARCHITECTURE) --- */
.ios-section {
    padding: 6rem 2rem;
    border-bottom: 1px solid var(--grid-line);
}

.ios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--grid-line);
    border: 1px solid var(--grid-line);
}

.ios-card {
    background: var(--bg-color);
    padding: 2rem;
    position: relative;
}

.spec-tag {
    border: 1px solid var(--accent-lime);
    color: var(--accent-lime);
    font-size: 0.6rem;
    padding: 2px 6px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

/* --- PRICING (PROTOCOLS) --- */
.pricing-section {
    padding: 6rem 2rem;
    border-bottom: 1px solid var(--grid-line);
}

.license-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 900px) {
    .license-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.license-card {
    border: 1px solid #333;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.license-card.highlight {
    border-color: var(--accent-lime);
    box-shadow: 0 0 20px var(--accent-dim);
    background: rgba(204, 255, 0, 0.02);
}

.price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin: 1rem 0;
    color: var(--text-color);
}

.license-features {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.license-features li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
}

.license-features li::before {
    content: ">>";
    color: var(--accent-lime);
    margin-right: 10px;
    font-size: 0.8rem;
}

/* --- DIAGNOSTICS (FAQ) --- */
.diagnostics-section {
    padding: 6rem 2rem;
    border-bottom: 1px solid var(--grid-line);
    max-width: 800px;
    margin: 0 auto;
    border-left: 1px solid var(--grid-line);
    border-right: 1px solid var(--grid-line);
}

.accordion-item {
    border-bottom: 1px solid #333;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    color: var(--accent-lime);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

/* --- PROOF --- */
.proof-section {
    padding: 6rem 2rem;
    border-bottom: 1px solid var(--grid-line);
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .proof-section {
        grid-template-columns: 1fr 2fr;
    }
}

.proof-header {
    font-size: 3rem;
    line-height: 1;
}

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

.stat-item h3 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--accent-lime);
    font-weight: 300;
}

/* --- FOOTER CTA --- */
.footer-cta {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 70%);
}

.big-link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 6rem);
    color: #fff;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

.big-link:hover {
    color: var(--accent-lime);
    font-style: italic;
}

.footer-decor {
    position: static;
    bottom: auto;
    left: auto;
    margin-top: 2rem;
    width: 100%;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #444;
}

/* Animations & Specific Visuals */
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-lime);
    box-shadow: 0 0 10px var(--accent-lime);
    top: 0;
    animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

.data-stream {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-lime);
    opacity: 0.7;
    text-align: left;
    width: 100%;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-lime);
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: width 0.2s, height 0.2s, transform 0.2s;
    mix-blend-mode: difference;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Hide default cursor on clickable elements */
a, button, .accordion-header {
    cursor: none !important;
}


/* --- SCHEMATIC SECTION --- */
.schematic-section {
    padding: 6rem 2rem;
    background: var(--bg-color);
    position: relative;
}

.schematic-header {
    text-align: left;
    margin-bottom: 6rem;
    max-width: 800px;
}

.schematic-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0; /* Gaps handled by padding/margins for connecting lines */
}

.schematic-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding: 4rem 0;
}

@media (min-width: 900px) {
    .schematic-item {
        flex-direction: row;
        align-items: center;
        gap: 6rem;
    }

    /* Alternating Layout */
    .schematic-item.left { text-align: left; }
    .schematic-item.right { flex-direction: row-reverse; text-align: right; }

    .schematic-item.right .schematic-content { align-items: flex-end; }
}

.schematic-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schematic-content h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin: 1rem 0;
    text-transform: uppercase;
}

.schematic-content p {
    color: #888;
    max-width: 350px;
}

/* Technical Details */
.schematic-marker {
    font-family: var(--font-mono);
    font-size: 4rem;
    color: #222;
    font-weight: 700;
    line-height: 1;
    position: absolute;
    top: 0;
    z-index: 0;
}

.schematic-item.left .schematic-marker { left: 0; }
.schematic-item.right .schematic-marker { right: 0; }

.schematic-decor {
    width: 50px;
    height: 2px;
    background: var(--accent-lime);
    margin-top: 2rem;
    position: relative;
}

.schematic-decor::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 2px;
    height: 10px;
    background: var(--accent-lime);
}

/* Connector Lines */
.schematic-connector {
    height: 100px;
    width: 1px;
    background: #333;
    margin: 0 auto;
    position: relative;
}

.schematic-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border: 1px solid var(--accent-lime);
    background: #000;
}

/* Abstract Visuals for Schematic */
.schematic-visual {
    flex: 1;
    height: 300px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Visual 1: LiDAR Cone */
.lidar-cone {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-top: 150px solid rgba(204, 255, 0, 0.1);
    position: relative;
    animation: scanPulse 2s infinite;
}
@keyframes scanPulse {
    0% { opacity: 0.3; transform: scaleY(0.9); }
    50% { opacity: 0.8; transform: scaleY(1.1); }
    100% { opacity: 0.3; transform: scaleY(0.9); }
}

/* Visual 2: Dynamic Island */
.dynamic-island-mock {
    width: 200px;
    height: 50px;
    background: #000;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    position: relative;
}
.island-notch {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: islandExpand 4s infinite ease-in-out;
}
.island-content {
    font-size: 0.8rem;
    color: var(--accent-lime);
}
@keyframes islandExpand {
    0%, 100% { width: 40%; }
    50% { width: 90%; }
}

/* Visual 3: Heart Graph */
.heart-graph {
    width: 80%;
    color: var(--error-red);
}
.pulse-line {
    width: 100%;
    height: auto;
}

/* --- SCREENSHOTS SHOWCASE --- */
.screenshots-section {
    padding: 8rem 2rem;
    border-bottom: 1px solid var(--grid-line);
    background: radial-gradient(ellipse at center, rgba(127, 191, 0, 0.03) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.screenshots-header {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 2000px;
}

@media (min-width: 900px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

.screenshot-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 3rem;
    padding: 0.5rem;
    box-shadow: 
        0 0 0 1px rgba(127, 191, 0, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(127, 191, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: float 6s ease-in-out infinite;
}

.screenshot-container:nth-child(2) .phone-frame {
    animation-delay: -3s;
}

.phone-frame:hover {
    transform: translateY(-10px) rotateY(5deg) rotateX(2deg);
    box-shadow: 
        0 0 0 1px rgba(127, 191, 0, 0.4),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(127, 191, 0, 0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(2deg); }
}

.phone-notch {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 1.5rem;
    background: #000;
    border-radius: 0 0 1rem 1rem;
    z-index: 10;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 2.5rem;
    overflow: hidden;
    background: #000;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-frame:hover .screenshot-img {
    transform: scale(1.05);
}

.phone-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 3rem;
    background: linear-gradient(135deg, 
        rgba(127, 191, 0, 0.3) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(127, 191, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
}

.phone-frame:hover .phone-glow {
    opacity: 1;
}

.screenshot-label {
    text-align: center;
    max-width: 300px;
}

.screenshot-label p {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Additional decorative elements */
.screenshots-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(127, 191, 0, 0.1);
    border-radius: 50%;
    animation: pulse-ring 4s ease-in-out infinite;
    pointer-events: none;
}

.screenshots-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(127, 191, 0, 0.1);
    border-radius: 50%;
    animation: pulse-ring 4s ease-in-out infinite 2s;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}