/* Tsokura – Homepage-only styles (loaded after style.css, scoped to body.home) */

.home {
    --accent: #3d7fd9;
    --accent-soft: rgba(61, 127, 217, 0.12);
    --navy-deep: #021a33;
}

/* ---------- Shared: one alignment rule for the whole page ---------- */
.home main section { text-align: center; }

.home .section-header { margin-bottom: 3rem; }

.home .eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.home .section-header h2::after,
.home .about-block h2::after,
.home .cta-band h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    border-radius: 2px;
}

.home .mt-2 { margin-top: 1rem; }

/* ---------- Hero ---------- */
.home .hero {
    padding: 7rem 0 6.5rem;
    background: var(--navy-deep);
}

.home .hero::before {
    background:
        radial-gradient(ellipse 60% 70% at 85% 20%, rgba(61, 127, 217, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 90%, rgba(0, 51, 102, 0.7) 0%, transparent 65%),
        linear-gradient(135deg, #000000 0%, #071a2e 55%, #0b2945 100%);
    opacity: 1;
}

/* Network / grid texture */
.home .hero-pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.55;
    pointer-events: none;
}

.home .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    pointer-events: none;
}

.home .hero-content { z-index: 2; }

.home .hero .eyebrow {
    color: #9cc3f5;
    border: 1px solid rgba(156, 195, 245, 0.35);
    background: rgba(61, 127, 217, 0.12);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    margin-bottom: 1.5rem;
}

.home .hero h1 {
    font-size: 4rem;
    letter-spacing: -0.5px;
}

.home .hero p {
    max-width: 760px;
    color: #c9d3de;
}

.home .hero .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
}
.home .hero .btn-primary:hover {
    background: #2f6bbd;
    border-color: #2f6bbd;
}

/* ---------- Service cards ---------- */
.home .services-grid {
    max-width: 960px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.home .service-card {
    position: relative;
    border: 1px solid #e6eaef;
    box-shadow: 0 6px 24px rgba(2, 26, 51, 0.06);
    padding: 3rem 2.25rem 2.5rem;
}

.home .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
}

.home .service-card:hover { border-color: #cfdcec; }

.home .service-icon {
    width: 76px;
    height: 76px;
    background: var(--accent-soft);
    color: var(--navy);
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.home .service-icon svg { width: 36px; height: 36px; }

.home .service-card h3 { font-size: 1.6rem; }
.home .service-card p { color: var(--grey-600); margin-bottom: 0; }

/* ---------- Who We Are ---------- */
.home .about-section {
    position: relative;
    overflow: hidden;
    background-color: #f3f6f9;
}

.home .about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 51, 102, 0.10) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
    pointer-events: none;
}

.home .about-block {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}

.home .about-block h2 { margin-bottom: 1.75rem; }

.home .about-block p {
    font-size: 1.1rem;
    color: #3a4552;
}

.home .about-block .lead {
    font-size: 1.25rem;
    color: var(--dark-grey);
}

/* ---------- Product feature card ---------- */
.home .product-card {
    max-width: 820px;
    margin: 0 auto;
    border: 1px solid #e6eaef;
}

.home .product-visual {
    position: relative;
    height: 220px;
    background:
        radial-gradient(circle at 50% 120%, rgba(61, 127, 217, 0.45) 0%, transparent 60%),
        linear-gradient(135deg, #000 0%, #0b2945 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home .product-visual svg {
    width: 100%;
    height: 100%;
}

.home .product-badge {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #9cc3f5;
    white-space: nowrap;
}

.home .product-card .card-content {
    padding: 2.5rem 2.5rem 2.75rem;
}

.home .product-card h3 { font-size: 1.85rem; }

.home .product-card p {
    max-width: 600px;
    margin: 0 auto 1rem;
    font-size: 1.05rem;
}

/* ---------- CTA band ---------- */
.home .cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000 0%, var(--navy-deep) 50%, var(--navy) 100%);
    color: var(--white);
}

.home .cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.home .cta-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.home .cta-band h2 { color: var(--white); margin-bottom: 1.5rem; }
.home .cta-band p { color: #c9d3de; font-size: 1.15rem; }

.home .cta-band .btn-dark {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.home .cta-band .btn-dark:hover {
    background: transparent;
    color: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .home .hero { padding: 4.5rem 0 4rem; }
    .home .hero h1 { font-size: 2.4rem; }
    .home .about-block p,
    .home .about-block .lead { font-size: 1.05rem; }
    .home .product-visual { height: 170px; }
    .home .product-card .card-content { padding: 2rem 1.5rem; }
    .home .services-grid { grid-template-columns: 1fr; }
}
