/* Cyberdeep home — mobile-first layout */

.index-page {
    overflow-x: hidden;
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.cs-hero {
    position: relative;
    text-align: center;
    padding: 5.5rem 1.5rem 4.5rem;
    overflow: hidden;
    border-bottom: 1px solid #1a1f28;
}

.cs-glow {
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: min(860px, 120vw);
    height: 620px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 157, 0.09) 0%, transparent 68%);
    pointer-events: none;
}

.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.9rem;
    background: rgba(0, 255, 157, 0.07);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 99px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00ff9d;
    margin-bottom: 1.6rem;
    position: relative;
}

.cs-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff9d;
    animation: csdot 2s ease-in-out infinite;
}

@keyframes csdot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.65); }
}

.cs-title {
    font-size: clamp(1.85rem, 8vw, 3.7rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #f0f4f8;
    margin: 0 0 1.3rem;
    position: relative;
}

.cs-accent {
    background: linear-gradient(135deg, #00ff9d 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cs-sub {
    font-size: clamp(0.95rem, 3.8vw, 1.07rem);
    line-height: 1.78;
    color: #9ca3af;
    max-width: 660px;
    margin: 0 auto 2.3rem;
    position: relative;
}

.cs-sub strong { color: #d1d5db; }

.cs-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    position: relative;
}

.cs-btn-primary,
.cs-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.82rem 1.85rem;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}

.cs-btn-primary {
    background: linear-gradient(135deg, #00cc7a 0%, #00b368 100%);
    color: #061008;
    box-shadow: 0 0 28px rgba(0, 255, 157, 0.28);
}

.cs-btn-primary:hover {
    box-shadow: 0 0 44px rgba(0, 255, 157, 0.45);
    transform: translateY(-2px);
}

.cs-btn-secondary {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #dbeafe;
}

.cs-btn-secondary:hover {
    border-color: rgba(96, 165, 250, 0.55);
    transform: translateY(-1px);
}

.cs-tagline {
    font-size: 0.8rem;
    color: #4b5563;
    letter-spacing: 0.03em;
}

/* Mobile quick actions */
.index-quick {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto 2rem;
    position: relative;
}

.index-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 96px;
    padding: 1rem 0.75rem;
    border-radius: 14px;
    border: 1px solid #2d3544;
    background: #131820;
    color: #e8eaed;
    text-decoration: none;
    text-align: center;
    transition: border-color 0.2s, transform 0.15s;
}

.index-quick-card:hover {
    border-color: rgba(0, 255, 157, 0.35);
    transform: translateY(-2px);
}

.index-quick-card.support {
    border-color: rgba(96, 165, 250, 0.28);
}

.index-quick-card strong {
    font-size: 0.92rem;
}

.index-quick-card span {
    font-size: 0.72rem;
    color: #9ca3af;
    line-height: 1.35;
}

/* Feature cards */
.cs-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    max-width: 720px;
    margin: 0 auto 3.2rem;
    text-align: left;
    position: relative;
}

.cs-card {
    background: #131820;
    border: 1px solid #1f2635;
    border-radius: 14px;
    padding: 1.45rem 1.35rem;
    transition: border-color 0.2s, transform 0.2s;
}

.cs-card:hover {
    border-color: rgba(0, 255, 157, 0.28);
    transform: translateY(-3px);
}

.cs-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(0, 255, 157, 0.07);
    border: 1px solid rgba(0, 255, 157, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff9d;
    margin-bottom: 0.9rem;
}

.cs-card h3 {
    margin: 0 0 0.5rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: #e8eaed;
}

.cs-card p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: #6b7280;
}

/* 20% security fee callout */
.index-fee-box {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    max-width: 720px;
    margin: 0 auto 2.8rem;
    padding: 1.35rem 1.4rem;
    text-align: left;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.06) 0%, rgba(255, 180, 50, 0.05) 100%);
    border: 1px solid rgba(0, 255, 157, 0.22);
    border-radius: 14px;
    position: relative;
    z-index: 1;
}

.index-fee-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.18);
}

.index-fee-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00ff9d;
}

.index-fee-title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f0b429;
    line-height: 1.3;
}

.index-fee-text {
    margin: 0 0 0.75rem;
    font-size: 0.86rem;
    line-height: 1.7;
    color: #9ca3af;
}

.index-fee-text:last-child {
    margin-bottom: 0;
}

.index-fee-text strong {
    color: #e5e7eb;
}

/* Stats */
.cs-stats {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    border: 1px solid #1f2635;
    border-radius: 12px;
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.cs-stat {
    flex: 1;
    min-width: 120px;
    padding: 1.1rem 0.5rem;
    text-align: center;
}

.cs-stat strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #00ff9d;
    margin-bottom: 0.2rem;
}

.cs-stat span {
    font-size: 0.72rem;
    color: #4b5563;
    letter-spacing: 0.02em;
}

.cs-stat-sep {
    width: 1px;
    height: 40px;
    background: #1f2635;
    flex-shrink: 0;
    align-self: center;
}

/* Services */
.srv-section {
    max-width: 980px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
}

.srv-section h2 {
    text-align: center;
    font-size: clamp(1.35rem, 5vw, 1.65rem);
    color: #e8eaed;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.srv-section .srv-lead {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 2.8rem;
    padding: 0 0.25rem;
}

.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.srv-card {
    background: #151a23;
    border: 1px solid #2d3544;
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.srv-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.06), transparent);
    transition: left 0.55s ease;
}

.srv-card:hover::before { left: 100%; }

.srv-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}

.srv-card h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: #00ff9d;
    margin: 0 0 0.55rem;
}

.srv-card p {
    font-size: 0.83rem;
    line-height: 1.65;
    color: #6b7280;
    margin: 0;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 760px) {
    .index-quick {
        display: grid;
    }

    .cs-hero {
        padding: 2.5rem 1rem 2.5rem;
        padding-top: max(2.5rem, env(safe-area-inset-top));
    }

    .cs-cta-row {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .cs-btn-primary,
    .cs-btn-secondary {
        width: 100%;
    }

    .cs-tagline {
        text-align: center;
    }

    .cs-cards,
    .srv-grid {
        grid-template-columns: 1fr;
    }

    .index-fee-box {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 2.2rem;
    }

    .cs-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }

    .cs-stat-sep {
        display: none;
    }

    .cs-stat {
        min-width: 0;
        border-bottom: 1px solid #1f2635;
    }

    .cs-stat:nth-child(odd) {
        border-right: 1px solid #1f2635;
    }

    .cs-stat:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .srv-section {
        padding: 2.5rem 1rem 3.5rem;
        padding-bottom: max(3.5rem, env(safe-area-inset-bottom));
    }

    .site-footer {
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    }
}

@media (min-width: 761px) and (max-width: 940px) {
    .cs-cards,
    .srv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
