/* ══════════════════════════════════════════════
   style.css — Overpick shared stylesheet
   ══════════════════════════════════════════════ */

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

:root {
    --bg:     #141414;
    --bg2:    #1a1a1a;
    --bg3:    #444444;
    --border: rgba(255,255,255,0.08);
    --text:   #f0efe8;
    --muted:  #888895;
    --accent: #4DFFBC;
    --accent2:#FF4D4D;
    --serif:  'Oswald', Georgia, serif;
    --sans:   'Inter', sans-serif;
    --sportbold: 'Anton', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3Etext%7Bfont-family:monospace;font-size:30px;fill:%2360d4f0;opacity:0.08;%7D%3C/style%3E%3Ctext x='15' y='20'%3E+%3C/text%3E%3Ctext x='45' y='20'%3E−%3C/text%3E%3Ctext x='15' y='50'%3E−%3C/text%3E%3Ctext x='45' y='50'%3E+%3C/text%3E%3C/svg%3E");

    background-repeat: repeat;
    animation: checkerMove 40s linear infinite;
}

@keyframes checkerMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 500px 500px;
    }
}

/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 68px;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

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

.nav-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
}

.nav-tab {
    padding: 7px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    border: none;
    background: none;
    font-family: var(--sans);
    text-decoration: none;
    display: inline-block;
}

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

.nav-tab.active {
    background: var(--accent);
    color: #0a0a0f;
    font-weight: 500;
}

.nav-cta {
    padding: 9px 22px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--sans);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ══════════════════════════════════════════════
   PAGE WRAPPER & ANIMATION
   ══════════════════════════════════════════════ */
.page-content {
    padding-top: 68px;
    animation: fadeIn 0.4s ease;
}

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

/* ══════════════════════════════════════════════
   SHARED COMPONENTS
   ══════════════════════════════════════════════ */

/* Divider */
.divider {
    max-width: 1100px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid var(--border);
}

/* Section */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--accent2);
}

.section-body {
    color: var(--muted);
    max-width: 580px;
    line-height: 1.75;
    font-weight: 300;
    font-size: 17px;
}

/* Buttons */
.btn-primary {
    padding: 14px 32px;
    background: var(--accent);
    color: #0a0a0f;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--sans);
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200,240,96,0.25);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 15px;
    font-family: var(--sans);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover { border-color: var(--text); }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: -0.02em;
}

.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ══════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════ */

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 24px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, #0f3225 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 36px;
    animation: fadeIn 0.6s ease 0.1s both;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease infinite;
}

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

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(52px, 8vw, 96px);
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    max-width: 900px;
    animation: fadeIn 0.6s ease 0.2s both;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent2);
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 48px;
    font-weight: 300;
    animation: fadeIn 0.6s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeIn 0.6s ease 0.4s both;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2px;
    margin-top: 60px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.feature-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;  /* instead of space-between */
    gap: 50px;                     /* controls spacing */
    margin-bottom: 10px;
}

.feature-card {
    background: var(--bg2);
    padding: 40px 36px;
    transition: background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #123b2b;
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.feature-title {
    font-family: var(--serif);
    font-size: 30px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 300;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Big quote */
.quote-section {
    padding: 100px 24px;
    text-align: center;
}

.big-quote {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 820px;
    margin: 0 auto 24px;
}

.big-quote em {
    color: var(--accent);
    font-style: italic;
}

/* ══════════════════════════════════════════════
   BLOG PAGE
   ══════════════════════════════════════════════ */

.blog-header {
    padding: 80px 24px 60px;
    max-width: 1100px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
}

.blog-posts {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-post {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.blog-post:hover { background: var(--bg3); transform: translateX(4px); }

.post-date {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
    padding-top: 4px;
}

.post-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tag-update       { background: rgba(200,240,96,0.12);  color: var(--accent); }
.tag-milestone    { background: rgba(96,212,240,0.12);  color: #ffb460; }
.tag-announcement { background: rgba(255,180,96,0.12);  color: var(--accent2); }

.post-title {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 10px;
}

.post-excerpt {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
    font-weight: 300;
}

.post-body {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 300;
}

.post-body.open {
    display: block;
    animation: fadeIn 0.3s ease;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}

.read-more-arrow { transition: transform 0.2s ease; }
.blog-post.expanded .read-more-arrow { transform: rotate(90deg); }

/* ══════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════ */

.contact-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 100px 24px;
}

.contact-title {
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 60px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 18px;
}

.contact-title em { color: var(--accent2); font-style: italic; }

.contact-sub {
    color: var(--muted);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 52px;
}

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 300;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); opacity: 0.6; }

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200,240,96,0.08);
}

.form-textarea { min-height: 120px; }

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: #0a0a0f;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--sans);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    letter-spacing: 0.01em;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200,240,96,0.25);
}

.form-submit:active { transform: translateY(0); }

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
    animation: fadeIn 0.4s ease;
}

.form-success.show { display: block; }

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(200,240,96,0.1);
    border: 1px solid rgba(200,240,96,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px;
}

.success-title {
    font-family: var(--serif);
    font-size: 28px;
    margin-bottom: 10px;
}

.success-sub { color: var(--muted); font-weight: 300; }

.privacy-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 16px;
    opacity: 0.7;
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 52px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.social-link:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.2);
}

.form-submit.loading {
    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 700px) {
    nav { padding: 0 20px; }
    .nav-cta { display: none; }
    .blog-post { grid-template-columns: 1fr; gap: 8px; }
    .post-date { padding-top: 0; }
    footer { padding: 24px 20px; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .nav-tab { padding: 7px 14px; font-size: 13px; }
}