/* =============================================
   CSS Variables
   ============================================= */
:root {
    --bg:        #070b14;
    --bg-2:      #0d1120;
    --bg-card:   rgba(255,255,255,0.03);
    --border:    rgba(255,255,255,0.08);
    --red:       #e11d48;
    --red-dark:  #be123c;
    --text:      #f8fafc;
    --text-2:    #94a3b8;
    --text-muted:#475569;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
img, svg { display: block; }

/* =============================================
   HEADER
   ============================================= */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: padding 0.3s, background 0.3s, border-color 0.3s;
}
#header.scrolled {
    padding: 14px 0;
    background: rgba(7,11,20,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text);
}
.logo span { color: var(--red); }
nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}
nav ul a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
nav ul a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}
.btn-nav {
    background: var(--red) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}
.btn-nav:hover { background: var(--red-dark) !important; }

/* =============================================
   HAMBURGER
   ============================================= */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 130px 0 90px;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(225,29,72,0.13) 0%, transparent 65%);
    top: -150px; right: -150px;
}
.hero-orb-2 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 65%);
    bottom: -50px; left: -100px;
}
.hero-inner { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2);
    color: #10b981;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 32px;
}
.badge-dot {
    width: 7px; height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--red) 0%, #fb7185 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 560px;
    margin-bottom: 44px;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.03);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 36px;
}
.stat-item { text-align: left; }
.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}
.stat-plus { font-size: 1.5rem; font-weight: 800; color: var(--red); }
.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.stat-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-dot {
    width: 6px; height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: bounce-dot 2s ease-in-out infinite;
}
@keyframes bounce-dot {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50%       { transform: translateY(10px); opacity: 0.2; }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section { padding: 110px 0; }

.section-head {
    text-align: center;
    margin-bottom: 70px;
}
.section-tag {
    display: inline-block;
    background: rgba(225,29,72,0.08);
    border: 1px solid rgba(225,29,72,0.2);
    color: var(--red);
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.section-desc {
    color: var(--text-2);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   SERVICES
   ============================================= */
.services { background: var(--bg-2); }

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-color: rgba(225,29,72,0.4);
    transform: translateY(-5px);
    background: rgba(255,255,255,0.04);
}
.service-card.featured {
    border-color: rgba(225,29,72,0.25);
    background: rgba(225,29,72,0.04);
}
.card-glow {
    position: absolute;
    top: -20px; right: -20px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(225,29,72,0.18), transparent 65%);
    pointer-events: none;
}
.service-icon {
    font-size: 2rem;
    width: 54px; height: 54px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.service-badge {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--red);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.service-card p {
    color: var(--text-2);
    font-size: 0.875rem;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}
.card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 500;
}

/* =============================================
   FEATURES / WHY US
   ============================================= */
.features { background: var(--bg); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
    border-color: rgba(139,92,246,0.35);
    transform: translateY(-4px);
}
.feature-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.feature-card p {
    color: var(--text-2);
    font-size: 0.875rem;
    line-height: 1.65;
}

/* =============================================
   PROCESS
   ============================================= */
.process { background: var(--bg-2); }

.process-steps {
    display: flex;
    align-items: flex-start;
}
.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.process-connector {
    flex: 0 0 48px;
    height: 2px;
    background: linear-gradient(90deg, rgba(225,29,72,0.5), rgba(225,29,72,0.1));
    margin-top: 31px;
}
.step-num {
    width: 62px; height: 62px;
    background: rgba(225,29,72,0.08);
    border: 2px solid rgba(225,29,72,0.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--red);
    flex-shrink: 0;
}
.step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.step-content p {
    color: var(--text-2);
    font-size: 0.85rem;
    line-height: 1.65;
}

/* =============================================
   CTA
   ============================================= */
.cta-section {
    padding: 120px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 350px;
    background: radial-gradient(ellipse, rgba(225,29,72,0.1) 0%, transparent 65%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-section h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.cta-section p {
    color: var(--text-2);
    font-size: 1.05rem;
    margin-bottom: 44px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-large { padding: 16px 34px !important; font-size: 1rem !important; }
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.05);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}
.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}
.footer-brand h3 span { color: var(--red); }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; }
.footer-tagline { margin-top: 4px; }
.footer-section h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: 18px;
}
.footer-section p { margin-bottom: 10px; }
.footer-link {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}
.footer-link:hover { color: var(--text); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.83rem;
}

/* =============================================
   RESPONSIVE — Tablet
   ============================================= */
@media (max-width: 1024px) {
    .service-grid   { grid-template-columns: repeat(2, 1fr); }
    .features-grid  { grid-template-columns: repeat(2, 1fr); }
    .process-steps  { flex-wrap: wrap; gap: 24px; justify-content: center; }
    .process-connector { display: none; }
    .process-step   { flex: 0 0 calc(50% - 12px); }
    .footer-top     { grid-template-columns: 1fr 1fr; }
    .footer-brand   { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0; right: 0;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: #0d1120;
        border-left: 1px solid var(--border);
        padding: 84px 28px 40px;
        gap: 4px;
        z-index: 1050;
    }
    nav ul.open { display: flex; }
    nav ul a { font-size: 1rem; padding: 10px 16px; }
    .btn-nav { margin-top: 8px; justify-content: center; }

    .hero-title     { letter-spacing: -1px; }
    .hero-stats     { gap: 20px; }
    .stat-number    { font-size: 1.9rem; }

    .service-grid   { grid-template-columns: 1fr; }
    .features-grid  { grid-template-columns: repeat(2, 1fr); }
    .process-step   { flex: 0 0 100%; }

    .footer-top     { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand   { grid-column: 1; }
}

/* =============================================
   RESPONSIVE — Mobile
   ============================================= */
@media (max-width: 480px) {
    .section { padding: 72px 0; }
    .hero    { padding: 110px 0 64px; }

    .hero-actions   { flex-direction: column; }
    .btn-primary,
    .btn-ghost      { justify-content: center; text-align: center; }

    .hero-stats     { flex-direction: column; align-items: flex-start; gap: 18px; }
    .stat-divider   { display: none; }

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

    .cta-actions    { flex-direction: column; align-items: center; }
    .btn-large      { width: 100%; justify-content: center; }
}
