/* ============================================================
   RED MAPLE DIGITAL AGENCY — NAVY & INDIGO THEME
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-card:      #ffffff;
  --red:          #4f46e5;
  --red-dark:     #3730a3;
  --red-deep:     #0a0f2c;
  --red-bright:   #6366f1;
  --red-light:    #e0e7ff;
  --red-xlight:   #eef2ff;
  --purple:       #7c3aed;
  --text:         #0f172a;
  --text-sec:     #475569;
  --text-muted:   #94a3b8;
  --border:       rgba(79,70,229,0.12);
  --border-hv:    rgba(79,70,229,0.4);
  --grad:         linear-gradient(135deg, #4f46e5, #7c3aed);
  --grad-dark:    linear-gradient(135deg, #0a0f2c, #312e81);
  --shadow:       0 4px 24px rgba(79,70,229,0.10);
  --shadow-hv:    0 16px 48px rgba(79,70,229,0.18);
  --glow:         0 0 40px rgba(79,70,229,0.25);
  --radius:       16px;
  --radius-sm:    8px;
  --ease:         all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.4rem,5.5vw,4.8rem); }
h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); }
h3 { font-size: clamp(1.2rem,2vw,1.6rem); }
p  { color: var(--text-sec); line-height: 1.7; }
a  { color: inherit; text-decoration: none; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── LAYOUT ─────────────────────────────────────────── */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-xlight); border: 1px solid rgba(79,70,229,0.2);
  color: var(--red); padding: 6px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header p { margin-top: 14px; font-size: 1.05rem; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: none; transition: var(--ease); position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 18px rgba(79,70,229,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(79,70,229,0.45); }
.btn-outline {
  background: transparent; color: var(--red); border: 2px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: var(--red-xlight); color: var(--red); }
.btn-ghost:hover { background: var(--red-light); }
.btn-white { background: #fff; color: var(--red); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

/* ── NAVBAR ──────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: var(--ease);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 11px; font-family: 'Space Grotesk',sans-serif; font-weight: 800; font-size: 1.15rem; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 12px rgba(79,70,229,0.35);
}
.logo-text { color: var(--text); }
.logo-text span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li > a {
  padding: 8px 13px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-sec); transition: var(--ease);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--red); background: var(--red-xlight); }
.nav-links > li.has-dropdown { position: relative; }
.nav-links > li.has-dropdown > a::after { content: ' ›'; font-size: 1rem; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px; width: 220px; opacity: 0; visibility: hidden;
  box-shadow: var(--shadow-hv); transition: var(--ease);
}
.nav-links > li.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 0.875rem; color: var(--text); transition: var(--ease); }
.dropdown a:hover { background: var(--red-xlight); color: var(--red); }
.dropdown a i { width: 18px; color: var(--red); }
.nav-cta { margin-left: 8px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--ease); }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0a0f2c 0%, #1a1060 55%, #312e81 100%);
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(99,102,241,0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,102,241,0.07) 1px, transparent 1px);
  background-size: 50px 50px; pointer-events: none;
}
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 65%);
  top: -150px; right: -200px; pointer-events: none;
}
.hero-glow-2 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 65%);
  bottom: -100px; left: -100px; pointer-events: none;
}
#particles-js { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.35);
  color: #a5b4fc; padding: 7px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.04em;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #6366f1; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.hero-title { font-size: clamp(2.8rem,5vw,4.2rem); line-height: 1.1; color: #fff; margin-bottom: 22px; }
.hero-title .typewriter-wrap { display: inline-block; min-width: 240px; }
.hero-desc { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 540px; margin-bottom: 36px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 36px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num { font-family: 'Space Grotesk',sans-serif; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-card-main {
  border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5); width: 100%; max-width: 460px;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-card-main img { width: 100%; height: 300px; object-fit: cover; display: block; }
.hero-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
  background: linear-gradient(0deg, rgba(10,15,44,0.95) 0%, transparent 100%); color: #fff;
}
.hero-card-overlay .title { font-weight: 700; font-size: 1rem; }
.hero-card-overlay .sub { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 3px; }
.floating-card {
  position: absolute; background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}
.floating-card-1 { top: -30px; right: -30px; }
.floating-card-2 { bottom: 30px; left: -40px; }
.fc-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.fc-val { font-family: 'Space Grotesk',sans-serif; font-weight: 800; font-size: 1rem; color: #fff; }
.fc-lab { font-size: 0.72rem; color: rgba(255,255,255,0.6); }

/* ── CLIENTS ──────────────────────────────────────────── */
.clients-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: center; }
.client-logo {
  font-family: 'Space Grotesk',sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--text-muted); letter-spacing: -0.02em; opacity: 0.6; transition: var(--ease);
}
.client-logo:hover { opacity: 1; color: var(--red); }

.bg-soft { background: var(--bg-soft); }

/* ── SERVICE CARDS ─────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-card); border-radius: var(--radius); border: 1.5px solid var(--border);
  overflow: hidden; transition: var(--ease); cursor: default;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,70,229,0.45);
  box-shadow: 0 20px 48px rgba(79,70,229,0.14);
}
.service-card-img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--red-xlight); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 14px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--text-sec); flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-weight: 600; font-size: 0.88rem;
  margin-top: 16px; transition: var(--ease);
}
.service-link:hover { gap: 10px; }

/* Services listing */
.services-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-list-card {
  background: #fff; border-radius: var(--radius); border: 1.5px solid var(--border);
  overflow: hidden; transition: var(--ease); box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.service-list-card:hover {
  transform: translateY(-5px); border-color: rgba(79,70,229,0.4);
  box-shadow: 0 20px 48px rgba(79,70,229,0.14);
}
.service-list-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.service-list-body { padding: 22px; }
.service-list-body .service-icon { margin-bottom: 12px; }
.service-list-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.service-list-body p { font-size: 0.88rem; color: var(--text-sec); margin-bottom: 14px; }
.service-list-body .btn { font-size: 0.85rem; padding: 9px 18px; }

/* ── WHY US ─────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img-wrap { position: relative; }
.why-img-wrap img { width: 100%; border-radius: var(--radius); display: block; box-shadow: var(--shadow-hv); }
.why-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--grad); color: #fff; padding: 16px 20px;
  border-radius: var(--radius); text-align: center; box-shadow: var(--shadow);
}
.why-img-badge .num { font-family: 'Space Grotesk',sans-serif; font-size: 2rem; font-weight: 800; line-height: 1; }
.why-img-badge .lab { font-size: 0.75rem; opacity: 0.85; margin-top: 3px; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-feature { display: flex; gap: 14px; align-items: flex-start; }
.why-feature-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--red-xlight); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.why-feature-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.why-feature-text p { font-size: 0.85rem; }

/* ── PROCESS ─────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--purple)); opacity: 0.2;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 60px; height: 60px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk',sans-serif; font-weight: 800; color: #fff; font-size: 1.1rem;
  margin: 0 auto 16px; box-shadow: 0 8px 24px rgba(79,70,229,0.3);
}
.process-step h4 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.82rem; }

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1.5px solid var(--border); transition: var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.testimonial-card:hover { border-color: var(--border-hv); box-shadow: var(--shadow-hv); transform: translateY(-4px); }
.stars { color: #f59e0b; margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-text { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.author-info .name { font-weight: 700; font-size: 0.9rem; }
.author-info .role { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA SECTION ─────────────────────────────────────── */
.cta-section {
  background: var(--grad-dark); border-radius: 24px;
  padding: 70px 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(circle at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(124,58,237,0.15) 0%, transparent 50%);
}
.cta-section .section-label { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); }
.cta-section h2 { color: #fff; margin-bottom: 14px; position: relative; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; position: relative; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── CONTACT ─────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: var(--red-xlight); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.88rem; }
.contact-form {
  background: #fff; border-radius: var(--radius); padding: 36px;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: #fff; color: var(--text);
  font-family: 'Inter',sans-serif; font-size: 0.9rem; transition: var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── PAGE HERO (INNER PAGES) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0a0f2c 0%, #1a1060 55%, #312e81 100%);
  padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(99,102,241,0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99,102,241,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero h1, .page-hero p { color: #fff; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.72); margin-top: 14px; font-size: 1.1rem; max-width: 600px; margin-inline: auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.5); position: relative; z-index: 1; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── ABOUT PAGE ──────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1.5px solid var(--border); text-align: center; transition: var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hv); border-color: var(--border-hv); }
.value-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--red-xlight); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto 14px;
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid var(--border); transition: var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hv); }
.team-card img { width: 100%; height: 220px; object-fit: cover; object-position: top; display: block; }
.team-info { padding: 18px; }
.team-info .name { font-weight: 700; margin-bottom: 3px; }
.team-info .role { font-size: 0.82rem; color: var(--red); font-weight: 600; }
.team-info .bio { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-box { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; }
.stat-box .num { font-family: 'Space Grotesk',sans-serif; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.stat-box .lab { font-size: 0.85rem; opacity: 0.8; margin-top: 6px; }

/* ── SERVICE DETAIL PAGE ─────────────────────────────── */
.service-hero {
  position: relative; height: 65vh; min-height: 400px; display: flex; align-items: center;
}
.service-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,15,44,0.92) 40%, rgba(10,15,44,0.4) 100%);
}
.service-hero-content { position: relative; z-index: 2; max-width: 600px; }
.service-hero-icon {
  width: 60px; height: 60px; border-radius: 14px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; margin-bottom: 16px;
}
.service-hero-content h1 { color: #fff; margin-bottom: 12px; }
.service-hero-content p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 24px; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-item {
  background: #fff; border-radius: var(--radius-sm); padding: 20px;
  border: 1.5px solid var(--border); display: flex; align-items: center; gap: 12px; transition: var(--ease);
}
.feature-item:hover { border-color: var(--border-hv); box-shadow: var(--shadow); }
.feature-item i { color: var(--red); font-size: 1rem; }
.feature-item span { font-size: 0.9rem; font-weight: 600; }
.process-list { display: flex; flex-direction: column; gap: 16px; }
.process-item {
  display: flex; gap: 20px; align-items: flex-start; padding: 20px;
  background: #fff; border-radius: var(--radius-sm); border: 1.5px solid var(--border); transition: var(--ease);
}
.process-item:hover { border-color: var(--border-hv); box-shadow: var(--shadow); }
.process-badge {
  min-width: 48px; height: 48px; border-radius: 12px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-family: 'Space Grotesk',sans-serif; font-size: 1rem;
}
.process-item h4 { font-size: 1rem; margin-bottom: 4px; }
.process-item p { font-size: 0.87rem; }
.results-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.result-box { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 24px; text-align: center; }
.result-box .num { font-family: 'Space Grotesk',sans-serif; font-size: 2rem; font-weight: 800; }
.result-box .lab { font-size: 0.8rem; opacity: 0.8; margin-top: 5px; }
.service-cta { background: var(--grad-dark); border-radius: var(--radius); padding: 48px; text-align: center; color: #fff; }
.service-cta h2 { color: #fff; margin-bottom: 10px; }
.service-cta p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ──────────────────────────────────────────── */
.footer { background: #0a0f2c; color: #fff; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: #a5b4fc; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: rgba(255,255,255,0.9); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: var(--ease); }
.footer-col li a:hover { color: #a5b4fc; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: rgba(255,255,255,0.35);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease); font-size: 0.9rem;
}
.footer-social a:hover { background: var(--red); color: #fff; }
.tagline { font-size: 0.78rem; color: rgba(255,255,255,0.28); margin-top: 10px; }

/* ── 404 ─────────────────────────────────────────────── */
.not-found {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
  background: linear-gradient(135deg, #0a0f2c 0%, #1a1060 100%);
}
.not-found h1 { font-size: 8rem; font-weight: 900; line-height: 1; color: var(--red); }
.not-found h2 { font-size: 1.8rem; margin: 8px 0; color: #fff; }
.not-found p { color: rgba(255,255,255,0.6); margin-bottom: 24px; }

/* ── ADMIN PANEL ─────────────────────────────────────── */
.admin-body { background: #f8fafc; min-height: 100vh; }
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a0f2c, #312e81);
}
.login-box {
  background: #fff; border-radius: var(--radius); padding: 40px;
  width: 100%; max-width: 400px; box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo h2 { font-size: 1.5rem; color: var(--text); }
.login-logo p  { font-size: 0.85rem; color: var(--text-muted); margin-top: 3px; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: #0a0f2c; padding: 24px; flex-shrink: 0;
  position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto;
}
.admin-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-radius: 10px; color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: var(--ease); font-weight: 500;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(79,70,229,0.25); color: #fff; }
.admin-main { margin-left: 260px; flex: 1; padding: 32px; min-height: 100vh; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-header h1 { font-size: 1.7rem; }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
}
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 28px; }
.stat-card {
  background: #fff; border: 1.5px solid rgba(0,0,0,0.06); border-radius: var(--radius);
  padding: 22px; display: flex; align-items: center; gap: 14px;
}
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.stat-icon.red    { background: #eef2ff; color: var(--red); }
.stat-icon.orange { background: #fff7ed; color: #ea580c; }
.stat-icon.purple { background: #f3e8ff; color: #7c3aed; }
.stat-icon.blue   { background: #eff6ff; color: #2563eb; }
.stat-icon.cyan   { background: #ecfeff; color: #0891b2; }
.stat-icon.green  { background: #ecfdf5; color: #059669; }
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--text); line-height: 1; font-family:'Space Grotesk',sans-serif; }
.stat-lab { font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }
.table-wrap { background: #fff; border-radius: var(--radius); border: 1.5px solid rgba(0,0,0,0.06); overflow: hidden; }
.table-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.table-header h3 { font-size: 1rem; }
table { width: 100%; border-collapse: collapse; }
thead { background: #f8fafc; }
th, td { padding: 13px 16px; text-align: left; font-size: 0.875rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
th { font-weight: 600; color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
tr:hover td { background: #fafafa; }
tr:last-child td { border-bottom: none; }
.td-name { font-weight: 600; font-size: 0.9rem; }
.td-email { font-size: 0.8rem; color: var(--red); }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.badge-new       { background: #eef2ff; color: var(--red); }
.badge-contacted { background: #fffbeb; color: #b45309; }
.badge-converted { background: #f0fdf4; color: #166534; }
.action-form { display: inline; }
.action-btn { width: 30px; height: 30px; border-radius: 7px; border: none; cursor: pointer; font-size: 0.8rem; margin: 0 2px; transition: var(--ease); }
.action-btn.mark    { background: #eff6ff; color: #2563eb; }
.action-btn.convert { background: #f0fdf4; color: #059669; }
.action-btn.del     { background: #fef2f2; color: #dc2626; }
.action-btn:hover   { transform: scale(1.1); }
.empty-state { text-align: center; padding: 60px; color: var(--text-muted); }
.empty-state i { font-size: 3rem; margin-bottom: 14px; display: block; }
.empty-state h3 { margin-bottom: 6px; color: var(--text); }

/* ── TYPEWRITER ──────────────────────────────────────── */
.typewriter::after { content: '|'; animation: blink 0.8s infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ── MOBILE NAV ──────────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(10,15,44,0.97); backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.4rem; font-weight: 700; color: #fff; padding: 10px 20px; font-family: 'Space Grotesk',sans-serif; }
.mobile-nav a:hover { color: #a5b4fc; }
.mobile-nav .close-btn { position: absolute; top: 24px; right: 24px; font-size: 1.5rem; color: rgba(255,255,255,0.7); cursor: pointer; }

/* ── AOS ─────────────────────────────────────────────── */
[data-aos="fade-up"]    { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
[data-aos="fade-right"] { opacity: 0; transform: translateX(-24px); transition: opacity 0.6s, transform 0.6s; }
[data-aos="fade-left"]  { opacity: 0; transform: translateX(24px); transition: opacity 0.6s, transform 0.6s; }
[data-aos="zoom-in"]    { opacity: 0; transform: scale(0.96); transition: opacity 0.6s, transform 0.6s; }
[data-aos].aos-animate  { opacity: 1 !important; transform: none !important; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container    { grid-template-columns: 1fr; }
  .hero-visual        { display: none; }
  .services-grid      { grid-template-columns: repeat(2,1fr); }
  .services-list-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid           { grid-template-columns: 1fr; gap: 40px; }
  .process-grid       { grid-template-columns: repeat(3,1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2,1fr); }
  .team-grid          { grid-template-columns: repeat(2,1fr); }
  .values-grid        { grid-template-columns: repeat(2,1fr); }
  .stats-grid         { grid-template-columns: repeat(2,1fr); }
  .results-grid       { grid-template-columns: repeat(2,1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features-grid      { grid-template-columns: repeat(2,1fr); }
  .why-features       { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .cta-section        { padding: 48px 32px; }
  .service-cta        { padding: 36px 28px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger           { display: flex; }
  .section             { padding: 64px 0; }
  .hero                { padding: 100px 0 60px; }
  .services-grid       { grid-template-columns: 1fr; }
  .services-list-grid  { grid-template-columns: 1fr; }
  .process-grid        { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .team-grid           { grid-template-columns: repeat(2,1fr); }
  .values-grid         { grid-template-columns: 1fr; }
  .stats-grid          { grid-template-columns: repeat(2,1fr); }
  .footer-grid         { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom       { flex-direction: column; gap: 14px; text-align: center; }
  .features-list       { grid-template-columns: 1fr; }
  .admin-sidebar       { display: none; }
  .admin-main          { margin-left: 0; padding: 20px; }
  .stats-row           { grid-template-columns: repeat(2,1fr); }
  .form-row            { grid-template-columns: 1fr; }
  .cta-section         { padding: 40px 24px; }
  .why-img-badge       { right: 10px; bottom: -14px; }
  .hero-stats          { gap: 20px; }
}
