*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: #080b10;
    color: #e2e8f0;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.45);
    background: linear-gradient(135deg, #2dd4bf, #14b8a6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: #e2e8f0;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: #2dd4bf;
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.05);
    transform: translateY(-2px);
}

/* ─── Inputs ─── */
.input-field {
    background: #0d1117;
    border: 1px solid #1e2530;
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: #e2e8f0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}
.input-field::placeholder { color: #4a5568; }
.input-field:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* ─── Nav ─── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2dd4bf;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── Header scroll state ─── */
#site-header.scrolled {
    background: rgba(8, 11, 16, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ─── Hero cards ─── */
.hero-card {
    background: rgba(22, 27, 34, 0.8);
    border: 1px solid rgba(45, 212, 191, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}
.hero-card:hover {
    border-color: rgba(45, 212, 191, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.15);
}
.card-1 { animation: float1 6s ease-in-out infinite; }
.card-2 { animation: float2 6s ease-in-out infinite; }
.card-3 { animation: float3 6s ease-in-out infinite; }
.card-4 { animation: float4 6s ease-in-out infinite; }

@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float4 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ─── Service cards ─── */
.service-card {
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid rgba(45, 212, 191, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
}
.service-card:hover {
    border-color: rgba(45, 212, 191, 0.3);
    background: rgba(22, 27, 34, 0.9);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(20, 184, 166, 0.08);
}

/* ─── Why cards ─── */
.why-card {
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid rgba(45, 212, 191, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
}
.why-card:hover {
    border-color: rgba(45, 212, 191, 0.25);
    transform: translateY(-4px);
}

/* ─── Scroll reveal ─── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Mobile menu ─── */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(30, 37, 48, 0.5);
}
.mobile-link:last-child { border-bottom: none; }
