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

/* ── Hero ── */
.hero {
    min-height: 92vh;
    width: 100%;
    background: linear-gradient(145deg, #0a2420 0%, #0e2d27 40%, #133829 70%, #0e3530 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background grid lines */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(78,179,154,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(78,179,154,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Radial glow */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(78,179,154,.13) 0%, transparent 68%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
    max-width: 780px;
    animation: heroFade .7s ease both;
}

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

.hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: .65rem;
    font-weight: 500;
    color: rgba(111,209,179,.65);
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-eyebrow::before { content: '//'; opacity: .45; }
.hero-eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #6fd1b3;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.8); }
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
}
.hero h1 em {
    font-style: normal;
    color: #6fd1b3;
}

.hero-desc {
    font-size: clamp(.9rem, 2vw, 1.05rem);
    color: rgba(255,255,255,.52);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4eb39a;
    color: #0e2d27;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .18s;
    white-space: nowrap;
}
.btn-hero-primary:hover { background: #6fd1b3; transform: translateY(-2px); }
.btn-hero-primary svg  { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255,255,255,.7);
    padding: 12px 22px;
    border-radius: var(--radius);
    border: 1.5px solid rgba(78,179,154,.3);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s;
    white-space: nowrap;
}
.btn-hero-ghost:hover {
    border-color: rgba(78,179,154,.7);
    color: #6fd1b3;
    background: rgba(78,179,154,.06);
}
.btn-hero-ghost svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Hero stats bar */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(78,179,154,.14);
    border-radius: 12px;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
    font-family: 'DM Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6fd1b3;
    line-height: 1;
    display: block;
}
.hero-stat-label {
    font-family: 'DM Mono', monospace;
    font-size: .6rem;
    color: rgba(255,255,255,.3);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 4px;
}
.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(78,179,154,.15);
    flex-shrink: 0;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: rgba(255,255,255,.25);
    transition: color .2s;
    z-index: 1;
}
.hero-scroll:hover { color: rgba(111,209,179,.6); }
.hero-scroll-text {
    font-family: 'DM Mono', monospace;
    font-size: .58rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hero-scroll svg {
    width: 18px; height: 18px;
    stroke: currentColor; fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
    animation: scrollBob 1.6s ease-in-out infinite;
}
@keyframes scrollBob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* ── Feature strip ── */
.feature-strip {
    background: #fff;
    border-bottom: 1px solid rgba(78,179,154,.12);
    padding: .85rem 0;
}
.feature-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.fs-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}
.fs-item svg {
    width: 14px; height: 14px;
    stroke: var(--brand); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}
.fs-divider {
    width: 1px; height: 18px;
    background: rgba(78,179,154,.15);
    flex-shrink: 0;
}

/* ── Section overrides (homepage flavour) ── */
.section-inner { padding: 3rem 0; }
.section-inner h2 {
    font-size: 1.5rem;
    color: #1a2e2b;
    font-weight: 700;
}
.section-inner p.section-sub {
    color: var(--text-muted);
    margin-top: .35rem;
    margin-bottom: 0;
    font-size: .9rem;
}

/* Section header row */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}
.section-head-text {}
.section-view-all {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color .15s;
    flex-shrink: 0;
    margin-bottom: 2px;
}
.section-view-all:hover { color: var(--brand-dark); }
.section-view-all svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Category accent bar above section heading */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .4rem;
}
.section-eyebrow .ey-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ey-connect { color: #3a9b83; }
.ey-connect .ey-dot { background: #4eb39a; }
.ey-aws     { color: #2563eb; }
.ey-aws     .ey-dot { background: #3b82f6; }
.ey-tools   { color: #b45309; }
.ey-tools   .ey-dot { background: #f59e0b; }
.ey-data    { color: #7c3aed; }
.ey-data    .ey-dot { background: #8b5cf6; }

/* ── Cards (extend global .card) ── */
.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    border: 1px solid #e9ecef;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: background .2s;
    border-radius: 8px 0 0 8px;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.08); border-color: rgba(78,179,154,.25); }
.card:hover::before { background: var(--brand); }

.card-tag {
    font-family: 'DM Mono', monospace;
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    border-radius: 10px;
    padding: 2px 8px;
    display: inline-flex;
    align-items: center;
    margin-bottom: .6rem;
    width: fit-content;
}
.tag-connect { background: rgba(78,179,154,.12); color: #3a9b83; }
.tag-aws     { background: rgba(37,99,235,.09);  color: #2563eb; }
.tag-tools   { background: rgba(217,119,6,.09);  color: #b45309; }
.tag-data    { background: rgba(124,58,237,.09); color: #7c3aed; }
.tag-new     {
    position: absolute;
    top: .9rem; right: .9rem;
    background: rgba(220,38,38,.09);
    color: #dc2626;
    margin: 0;
}

.card h3 {
    margin-bottom: .5rem;
    color: #345475;
    font-size: .95rem;
    line-height: 1.35;
    font-weight: 700;
}
.card p {
    color: #555;
    margin-bottom: 1.1rem;
    font-size: .875rem;
    flex: 1;
    line-height: 1.6;
}

/* ── "New" announcement banner ── */
.announce-bar {
    background: linear-gradient(90deg, rgba(14,45,39,.96) 0%, rgba(26,74,61,.96) 100%);
    border-bottom: 1px solid rgba(78,179,154,.25);
    padding: .55rem 0;
    text-align: center;
}
.announce-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
}
.announce-pill {
    font-family: 'DM Mono', monospace;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: #dc2626;
    color: #fff;
    border-radius: 20px;
    padding: 2px 9px;
    flex-shrink: 0;
}
.announce-text {
    font-size: .82rem;
    color: rgba(255,255,255,.75);
}
.announce-text a {
    color: #6fd1b3;
    font-weight: 600;
    text-decoration: none;
}
.announce-text a:hover { text-decoration: underline; }

/* ── Alternating section bg ── */
.section-alt { background: #fff; }

/* ── "View all tools" CTA section ── */
.cta-section {
    background: linear-gradient(145deg, #0e2d27 0%, #1a4a3d 100%);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(78,179,154,.1) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section-inner {
    position: relative;
    z-index: 1;
}
.cta-section h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: .6rem;
    letter-spacing: -.02em;
}
.cta-section h2 em { font-style: normal; color: #6fd1b3; }
.cta-section p {
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 1.75rem;
}
.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .hero { min-height: 88vh; }
    .hero-stat-divider { display: none; }
    .hero-stats { gap: 1.25rem; }
    .feature-strip-inner { gap: 1rem; }
    .fs-divider { display: none; }
    .section-head { flex-direction: column; align-items: flex-start; gap: .4rem; }
    .announce-bar-inner { flex-direction: column; gap: .35rem; }
}
