:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.35);
    --accent: #22d3ee;
    --bg: #07090f;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text: #f0f0f0;
    --text-muted: rgba(240, 240, 240, 0.55);
    --border: rgba(255, 255, 255, 0.09);
    --radius: 16px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
  }

  h1 { line-height: 1.05; letter-spacing: -0.03em; }
  h2 { line-height: 1.15; letter-spacing: -0.01em; }
  h3 { line-height: 1.25; }
  p  { line-height: 1.65; }

  /* ══ NAV ══ */
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(7, 9, 15, 0.85);
    border-bottom: 1px solid var(--border);
    height: 72px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .logo span { color: var(--accent); }
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.75rem;
  }
  .nav-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.25s;
  }
  .nav-links li a:hover { color: var(--text); }
  .cta {
    background: var(--primary);
    color: var(--text);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .cta:hover { box-shadow: 0 8px 24px var(--primary-glow); transform: translateY(-1px); }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { display: block; width: 26px; height: 2px; background: var(--text); border-radius: 2px; }

  /* ══ HERO ══ */
  header {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  header::before, header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: float 7s ease-in-out infinite;
    pointer-events: none;
  }
  header::before {
    width: 380px; height: 380px;
    background: rgba(99, 102, 241, 0.25);
    top: 15%; left: 10%;
    animation-delay: -3s;
  }
  header::after {
    width: 500px; height: 500px;
    background: rgba(34, 211, 238, 0.15);
    bottom: 10%; right: 10%;
  }
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
  }
  .eyebrow svg { width: 18px; height: 18px; }
  h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(38px, 7vw, 76px);
    font-weight: 900;
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
  }
  h1 span {
    background: linear-gradient(120deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-content > p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2.25rem;
    line-height: 1.7;
  }
  .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .primary-cta {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 24px var(--primary-glow);
  }
  .primary-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--primary-glow); }
  .ghost-cta {
    background: transparent;
    border: 1.5px solid rgba(99, 102, 241, 0.5);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .ghost-cta:hover { border-color: var(--primary); background: rgba(99, 102, 241, 0.08); transform: translateY(-2px); }

  /* ══ SECTIONS — centered column ══ */
  section {
    padding: 96px 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
  }
  section > h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text);
    text-align: center;
  }
  section > p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 52px;
    text-align: center;
    line-height: 1.7;
  }

  /* Decorative background number */
  .huge-bg-text {
    position: absolute;
    font-size: 200px;
    font-family: 'Syne', sans-serif;
    font-weight: 900;
    color: var(--text);
    opacity: 0.025;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    user-select: none;
  }

  /* ══ SERVICES GRID ══ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
  }
  .card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  }
  .card .icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
  }
  .card .icon svg { width: 24px; height: 24px; }
  .card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
  }
  .card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
  }

  /* ══ ABOUT ══ */
  #about { background: rgba(99, 102, 241, 0.04); }
  .about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: left;
  }
  .about-text { flex: 1; }
  .about-text h3 {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
  }
  .about-text > p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: none;
    text-align: left;
  }
  .stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }
  .stat {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
  }
  .stat span {
    font-family: 'Syne', sans-serif;
    font-size: 44px;
    font-weight: 900;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
  }
  .about-visual { flex: 0 0 380px; }
  .gradient-box {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    opacity: 0.85;
  }

  /* ══ TESTIMONIALS ══ */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
  }
  .testimonial:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.3); }
  .testimonial .stars {
    color: #f59e0b;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 14px;
  }
  .testimonial > p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
    max-width: none;
    text-align: center;
  }
  .testimonial .customer {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
  }

  /* ══ CONTACT ══ */
  #contact { background: rgba(34, 211, 238, 0.03); }
  form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
  }
  form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2px;
  }
  form label svg { width: 16px; height: 16px; }
  form input, form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
  }
  form input:focus, form textarea:focus { border-color: var(--primary); }
  form textarea { min-height: 220px; resize: vertical; }
  .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(120deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    align-self: flex-start;
  }
  .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--primary-glow); }
  .submit-btn svg { width: 18px; height: 18px; }

  /* ══ FOOTER (inside contact section) ══ */
  footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: 1140px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  footer > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    max-width: none;
  }
  .social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
  }
  .social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
  }
  .social-links a:hover { color: var(--accent); }

  /* ══ REVEAL ANIMATION ══ */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* ══ RESPONSIVE ══ */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .about-content { flex-direction: column; gap: 2rem; }
    .about-visual { flex: none; width: 100%; }
    .gradient-box { height: 220px; }
    .stats { gap: 1.25rem; }
    section { padding: 72px 1.25rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
  }

  /* ══ KEYFRAMES ══ */
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-22px); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }