/* =============================================
   FRAMEHOLLOW DIGITAL — Stylesheet
   Font: Plus Jakarta Sans (Google Fonts)
   Accent: Electric Blue #00d4ff
============================================= */

/* =============================================
   Custom Properties
============================================= */
:root {
    --bg:           #0a0a0a;
    --bg-alt:       #0f0f0f;
    --bg-card:      #131313;
    --bg-card-h:    #181818;
    --border:       rgba(255, 255, 255, 0.07);
    --border-h:     rgba(0, 212, 255, 0.28);
    --text:         #f0f0f0;
    --text-muted:   #888;
    --text-dim:     #444;
    --accent:       #00d4ff;
    --accent-dim:   rgba(0, 212, 255, 0.1);
    --accent-glow:  rgba(0, 212, 255, 0.22);
    --font:         'Plus Jakarta Sans', -apple-system, sans-serif;
    --max-w:        1160px;
    --nav-h:        68px;
    --r:            12px;
    --r-sm:         8px;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

/* =============================================
   Layout Utilities
============================================= */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(0, 212, 255, 0.18);
    padding: 0.28rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 0.9rem;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 500px;
}

.accent {
    color: var(--accent);
}

/* =============================================
   Fade-In Animation (Intersection Observer)
============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Buttons
============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #000;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.8rem 1.65rem;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    transition: opacity 0.25s var(--ease),
                transform 0.25s var(--ease),
                box-shadow 0.25s var(--ease);
    white-space: nowrap;
}

.btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 10px 36px var(--accent-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.btn-large {
    font-size: 1rem;
    padding: 0.95rem 2.2rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.8rem 1.65rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
    white-space: nowrap;
}

.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.18);
}

/* =============================================
   Navigation
============================================= */
#navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background 0.3s var(--ease),
                border-color 0.3s var(--ease),
                backdrop-filter 0.3s var(--ease);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    transition: color 0.2s;
    flex-shrink: 0;
}

.logo:hover { color: var(--accent); }

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

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

.nav-links a:hover { color: var(--text); }

.nav-cta {
    color: var(--accent) !important;
    border: 1px solid rgba(0, 212, 255, 0.32);
    padding: 0.42rem 1rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent-dim);
    color: var(--accent) !important;
}

/* Mobile hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 201;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* =============================================
   Hero
============================================= */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}

/* Dot grid */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

/* Accent ambient glow */
.hero-glow {
    position: absolute;
    top: 15%;
    left: -10%;
    width: 65%;
    height: 65%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.055) 0%, transparent 68%);
    z-index: 0;
    pointer-events: none;
}

.hero-inner {
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(0, 212, 255, 0.18);
    padding: 0.28rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-headline {
    font-size: clamp(2.8rem, 7.5vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.06;
    margin-bottom: 1.6rem;
    max-width: 860px;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.175rem);
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 2.75rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =============================================
   How It Works
============================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

/* Top accent line on hover */
.step-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.step-card:hover {
    border-color: var(--border-h);
    background: var(--bg-card-h);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.4rem;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(0, 212, 255, 0.25) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
}

.step-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* =============================================
   Services
============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 2.25rem;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-dim);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
}

.service-card > p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}

.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
    top: 2px;
}

/* =============================================
   Who It's For
============================================= */
.who-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: start;
}

.who-left .section-sub {
    margin-bottom: 1.25rem;
}

.who-note {
    font-size: 0.875rem;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.6;
}

.who-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.who-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 1.1rem 1.35rem;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.who-list li:hover {
    border-color: var(--border-h);
    background: var(--bg-card-h);
}

.who-list li strong {
    color: var(--text);
    font-weight: 700;
}

.check {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 1.65;
}

/* =============================================
   Stats / Results
============================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.stat-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
}

.stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.stat-value.accent-val {
    color: var(--accent);
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.85rem;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =============================================
   CTA Section
============================================= */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0, 212, 255, 0.055) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-inner .section-label {
    display: inline-flex;
}

.cta-inner .section-sub {
    margin: 0 auto 2.75rem;
    max-width: 520px;
}

.cta-note {
    margin-top: 1.2rem;
    font-size: 0.825rem;
    color: var(--text-dim);
}

/* =============================================
   Footer
============================================= */
#footer {
    border-top: 1px solid var(--border);
    padding: 2.25rem 0;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-muted);
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* =============================================
   Responsive — Tablet (≤ 1024px)
============================================= */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   Responsive — Mobile (≤ 768px)
============================================= */
@media (max-width: 768px) {
    :root { --nav-h: 60px; }

    .section { padding: 4.5rem 0; }

    /* Nav mobile */
    .menu-toggle { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        inset-inline: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1.5rem 0 2rem;
        border-top: 1px solid var(--border);
        overflow-y: auto;
    }

    .nav-links.open { display: flex; }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 0.9rem 2rem;
        font-size: 1rem;
        color: var(--text-muted);
        border-radius: 0;
        border: none !important;
        background: transparent !important;
    }

    .nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.03) !important; }

    /* Grids → single column */
    .steps-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .who-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }

    .hero-headline { letter-spacing: -0.035em; }
}

/* =============================================
   Responsive — Small Mobile (≤ 480px)
============================================= */
@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }

    .stats-grid { grid-template-columns: 1fr; }

    .hero-actions { flex-direction: column; align-items: flex-start; }

    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
