/* ================================================================
   INTERLIK SOLUTIONS — INDEX PAGE STYLES
   index.css
================================================================ */

/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 7rem 5% 5rem;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 200, 160, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 160, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

#hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 200, 160, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 200, 160, 0.1);
    border: 1px solid rgba(0, 200, 160, 0.25);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ── HERO VISUAL / FLOAT CARDS ── */
.hero-visual {
    position: relative;
    height: 420px;
}

.float-card {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    animation: float 6s ease-in-out infinite;
}

.float-card:nth-child(1) {
    top: 0;
    right: 0;
    width: 280px;
    animation-delay: 0s;
}

.float-card:nth-child(2) {
    top: 120px;
    left: 0;
    width: 240px;
    animation-delay: 1.5s;
}

.float-card:nth-child(3) {
    bottom: 30px;
    right: 50px;
    width: 220px;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    font-size: 1.2rem;
}

.card-icon.teal {
    background: rgba(0, 200, 160, 0.15);
}

.card-icon.blue {
    background: rgba(59, 130, 246, 0.15);
}

.card-icon.purple {
    background: rgba(168, 85, 247, 0.15);
}

.float-card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.float-card p {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 200, 160, 0.12);
    border: 1px solid rgba(0, 200, 160, 0.2);
    border-radius: 100px;
    padding: 0.25rem 0.7rem;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.6rem;
}

/* ── STATS STRIP ── */
.stats-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 5%;
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .num {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-item .num span {
    color: var(--accent);
}

.stat-item .label {
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
}

/* ── SECTIONS ── */
section {
    padding: 6rem 5%;
    position: relative;
}

/* ── ABOUT ── */
#about {
    background: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    max-width: 440px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.about-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(0, 200, 160, 0.12) 0%,
            rgba(10, 13, 20, 0.35) 60%,
            rgba(10, 13, 20, 0.55) 100%);
    pointer-events: none;
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    inset: -10px -10px 10px 10px;
    border: 1px solid rgba(0, 200, 160, 0.18);
    border-radius: 22px;
    z-index: -1;
    pointer-events: none;
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-img-wrap:hover img {
    transform: scale(1.04);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--ink);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 200, 160, 0.35);
    z-index: 2;
}

.about-badge .big {
    font-size: 2rem;
    display: block;
    line-height: 1;
}

.about-badge .sm {
    font-size: 0.72rem;
    display: block;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

.pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.pillar {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.2rem;
    transition: border-color 0.2s;
}

.pillar:hover {
    border-color: rgba(0, 200, 160, 0.3);
}

.pillar-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.pillar h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.pillar p {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ── SERVICES ── */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 200, 160, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.svc-num {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.svc-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.7rem;
    letter-spacing: -0.02em;
}

.service-card p {
    font-size: 0.87rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.2rem;
}

.svc-tag {
    font-size: 0.7rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.2rem 0.65rem;
}

/* ── PROCESS ── */
#process {
    background: var(--surface);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.process-step {
    padding: 2rem 1.8rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
    position: relative;
}

.process-step:hover {
    background: rgba(0, 200, 160, 0.04);
}

.process-step:nth-child(3n) {
    border-right: none;
}

.process-step:nth-child(n+4) {
    border-bottom: none;
}

.step-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 200, 160, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

    .hero-inner,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

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

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

    .process-step:nth-child(3n) {
        border-right: 1px solid var(--border);
    }

    .process-step:nth-child(2n) {
        border-right: none;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .about-img-wrap {
        max-width: 100%;
    }
}

@media (max-width: 600px) {

    .services-grid,
    .process-grid,
    .pillars {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }
}