/* ==========================================
   HOME PAGE — Dark Premium SaaS
   ========================================== */

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 100px;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.04) 40%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 13px;
    color: var(--primary-teal);
    margin-bottom: 36px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

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

.hero-title {
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.hero-title .line {
    display: block;
    height: auto;
    width: auto;
    background: none;
    border-radius: 0;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta a {
    text-decoration: none;
}

/* ==========================================
   TRUST BAR
   ========================================== */

.trust-bar {
    padding: 60px 0;
    background: var(--bg-lighter);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 72px;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.trust-number {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}

.trust-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==========================================
   CAPABILITIES — BENTO GRID
   ========================================== */

.capabilities {
    background: var(--bg-dark);
    padding: 120px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-card {
    background: var(--gradient-glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(16,185,129,0) 0%, rgba(16,185,129,0.2) 50%, rgba(16,185,129,0) 100%);
    -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);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(16,185,129,0.06);
}

.bento-card--wide {
    grid-column: span 2;
}

.bento-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    margin-bottom: 24px;
}

.bento-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.bento-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.bento-card--wide p {
    max-width: 520px;
}

/* ==========================================
   PROCESS — HORIZONTAL STRIP
   ========================================== */

.process {
    background: var(--bg-lighter);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 120px 0;
}

.process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-track::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-teal) 20%, var(--primary-teal) 80%, transparent 100%);
    opacity: 0.25;
}

.process-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.process-num {
    font-size: 48px;
    font-weight: 800;
    color: rgba(16, 185, 129, 0.12);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    transition: color 0.3s ease;
}

.process-item:hover .process-num {
    color: rgba(16, 185, 129, 0.3);
}

.process-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.process-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* ==========================================
   PRODUCT SPOTLIGHT
   ========================================== */

.spotlight {
    background: var(--bg-dark);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: '';
    position: absolute;
    right: -200px;
    top: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.spotlight-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.spotlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--primary-teal);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.spotlight-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--text-primary);
}

.spotlight-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.spotlight-features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.spotlight-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.spotlight-features li svg {
    flex-shrink: 0;
}

.spotlight-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.spotlight-link:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--primary-teal);
    gap: 12px;
}

.spotlight-visual {
    position: relative;
}

.spotlight-window {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(16, 185, 129, 0.05);
}

.spotlight-window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.sw-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sw-dot:nth-child(1) { background: #ff5f56; }
.sw-dot:nth-child(2) { background: #ffbd2e; }
.sw-dot:nth-child(3) { background: #27c93f; }

.sw-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.spotlight-window-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 280px;
}

.sw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sw-logo {
    width: 90px;
    height: 8px;
    background: var(--primary-teal);
    border-radius: 4px;
    opacity: 0.35;
}

.sw-nav {
    display: flex;
    gap: 10px;
}

.sw-nav span {
    width: 44px;
    height: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
}

.sw-nav span:first-child {
    background: rgba(16, 185, 129, 0.2);
    width: 52px;
}

.sw-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex: 1;
}

.sw-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.sw-card-img {
    height: 56px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(6, 182, 212, 0.04) 100%);
}

.sw-card-lines {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sw-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.sw-line:first-child { width: 55%; }
.sw-line:last-child { width: 75%; }

.sw-bar {
    height: 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

/* ==========================================
   CTA OVERRIDE
   ========================================== */

.home-cta {
    background: var(--bg-lighter);
    border-top: 1px solid var(--border-color);
}

.home-cta .cta-wrapper {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, rgba(6, 182, 212, 0.02) 100%);
}

/* ==========================================
   RESPONSIVE — 1024px
   ========================================== */

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 160px 20px 80px;
    }

    .hero-title {
        font-size: clamp(36px, 5vw, 56px);
    }

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

    .bento-card--wide {
        grid-column: span 2;
    }

    .trust-inner {
        gap: 48px;
    }

    .process-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-track::before {
        display: none;
    }

    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .spotlight-visual {
        max-width: 520px;
        margin: 0 auto;
    }
}

/* ==========================================
   RESPONSIVE — 768px
   ========================================== */

@media (max-width: 768px) {
    .hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: clamp(32px, 7vw, 42px);
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta a,
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        justify-content: center;
        max-width: 320px;
    }

    .trust-inner {
        gap: 32px;
    }

    .trust-number {
        font-size: 32px;
    }

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

    .bento-card--wide {
        grid-column: span 1;
    }

    .bento-card {
        padding: 32px 28px;
    }

    .process-track {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .process-num {
        font-size: 36px;
    }

    .spotlight-title {
        font-size: 30px;
    }

    .sw-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-badge {
        font-size: 12px;
    }

    .trust-inner {
        flex-direction: column;
        gap: 24px;
    }
}
