/* =============================================================
   Abold.in — Main Stylesheet
   ============================================================= */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Nav ---------- */
.glass-nav {
    background: rgba(249, 250, 251, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease;
}
.dark .glass-nav {
    background: rgba(23, 23, 23, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
#main-nav.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.dark #main-nav.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* ---------- Typography ---------- */
.text-gradient {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Page Hero Banner ---------- */
.page-hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(239,68,68,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(185,28,28,0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* ---------- Cards ---------- */
.service-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dark .service-card {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.07);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 12px 32px -8px rgba(239, 68, 68, 0.12);
}
.dark .service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 32px -8px rgba(239, 68, 68, 0.2);
}

/* App cards */
.app-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}
.dark .app-card {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.07);
}
.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px -12px rgba(0,0,0,0.15);
}
.dark .app-card:hover {
    box-shadow: 0 20px 48px -12px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.12);
}
.app-card .app-card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

/* Stat cards */
.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(239,68,68,0.04);
    border: 1px solid rgba(239,68,68,0.12);
    border-radius: 1rem;
    transition: all 0.3s ease;
}
.dark .stat-card {
    background: rgba(239,68,68,0.06);
}
.stat-card:hover {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.3);
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ef4444;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(239,68,68,0.3);
    text-decoration: none;
}
.btn-primary:hover {
    background-color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239,68,68,0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(107,114,128,0.4);
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-1px);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #171717;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.2s, transform 0.15s;
    text-decoration: none;
}
.dark .btn-dark {
    background-color: #ffffff;
    color: #171717;
}
.btn-dark:hover {
    background-color: #374151;
    transform: translateY(-1px);
}
.dark .btn-dark:hover {
    background-color: #e5e7eb;
}

/* ---------- Section label ---------- */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ef4444;
    margin-bottom: 0.75rem;
}

/* ---------- Filter Tabs ---------- */
.filter-tab {
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid transparent;
    background: transparent;
    color: #6b7280;
    transition: all 0.2s ease;
}
.dark .filter-tab { color: #9ca3af; }
.filter-tab:hover {
    border-color: rgba(239,68,68,0.4);
    color: #ef4444;
}
.filter-tab.active {
    background-color: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

/* ---------- Pill badges ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.dark .pill {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
    color: #d1d5db;
}
.pill:hover {
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-1px);
}

/* ---------- Why Choose Us strip ---------- */
.brand-strip {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}
.why-item {
    transition: transform 0.2s ease;
}
.why-item:hover { transform: translateY(-4px); }

/* ---------- Team Cards ---------- */
.team-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}
.dark .team-card {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.07);
}
.team-card:hover {
    box-shadow: 0 16px 40px -8px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.dark .team-card:hover {
    box-shadow: 0 16px 40px -8px rgba(0,0,0,0.4);
}

/* ---------- Forge Hero (dark override) ---------- */
.forge-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a00 50%, #0a0a0a 100%);
    color: #ffffff;
}

/* ---------- Contact Cards ---------- */
.contact-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.dark .contact-card {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.07);
}
.contact-card:hover {
    border-color: rgba(239,68,68,0.4);
    box-shadow: 0 8px 24px rgba(239,68,68,0.08);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(239,68,68,0.4);
    border-radius: 3px;
}

/* ---------- Utility ---------- */
.section-pad { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) {
    .section-pad { padding-top: 7rem; padding-bottom: 7rem; }
}
