/*
Theme Name: SEObly
Theme URI: https://seobly.pl
Author: SEObly
Description: Motyw strony głównej SEObly
Version: 1.0
*/

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

    :root {
      --ink:     #0d0d1a;
      --violet:  #7c3aed;
      --vlight:  #ede9fe;
      --orange:  #f97316;
      --white:   #ffffff;
      --gray:    #f4f4f8;
      --text:    #1e1e2e;
      --muted:   #6b7280;
      --border:  #e5e7eb;
      --card-sh: 0 4px 24px rgba(0,0,0,.07);
    }

    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.65; }
    img  { max-width: 100%; height: auto; display: block; }
    a    { text-decoration: none; color: inherit; }
    ul   { list-style: none; }

    /* ── UTILS ── */
    .container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
    .section-title {
      font-family: 'Poppins', sans-serif;
      font-size: 36px; font-weight: 800; line-height: 1.15;
      color: var(--text); margin-bottom: 12px;
    }
    .section-sub {
      font-size: 17px; color: var(--muted); max-width: 560px;
      margin-bottom: 48px;
    }
    .section-head-center { text-align: center; }
    .section-head-center .section-sub { margin-left: auto; margin-right: auto; }

    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 13px 28px; border-radius: 8px;
      font-family: 'Poppins', sans-serif;
      font-size: 14px; font-weight: 700; letter-spacing: .2px;
      cursor: pointer; transition: all .18s ease; border: 2px solid transparent;
    }
    .btn-violet  { background: var(--violet); color: #fff; }
    .btn-violet:hover  { background: #6d28d9; }
    .btn-orange  { background: var(--orange); color: #fff; }
    .btn-orange:hover  { background: #ea6c0a; }
    .btn-ghost   { background: transparent; color: var(--violet); border-color: var(--violet); }
    .btn-ghost:hover   { background: var(--vlight); }
    .btn-white   { background: #fff; color: var(--ink); }
    .btn-white:hover   { background: #f0f0f0; }
    .btn-lg { padding: 16px 36px; font-size: 15px; }

    /* ── HEADER ── */
    .site-header {
      position: sticky; top: 0; z-index: 999;
      background: var(--ink);
      height: 66px;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 44px;
    }
    .logo img { height: 42px; }
    .nav-links { display: flex; gap: 28px; align-items: center; }
    .nav-links a {
      color: #b0b0cc; font-family: 'Poppins', sans-serif;
      font-size: 14px; font-weight: 500;
      transition: color .15s;
    }
    .nav-links a:hover { color: #fff; }
    .nav-cta { display: flex; gap: 10px; align-items: center; }
    .hamburger {
      display: none; background: none; border: none; cursor: pointer;
      flex-direction: column; gap: 5px;
    }
    .hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
    .mobile-nav {
      display: none; position: fixed; top: 66px; inset-inline: 0;
      background: var(--ink); z-index: 998; padding: 16px 28px 24px;
    }
    .mobile-nav.open { display: block; }
    .mobile-nav a {
      display: block; color: #b0b0cc; padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,.07);
      font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 15px;
    }

    /* ── HERO ── */
    .hero {
      background: var(--ink);
      padding: 100px 44px 110px;
      position: relative; overflow: hidden;
    }
    /* dot grid */
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background-image: radial-gradient(rgba(124,58,237,.18) 1px, transparent 1px);
      background-size: 36px 36px;
      pointer-events: none; z-index: 0;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
      -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    }
    /* warm glow bottom-left */
    .hero::after {
      content: '';
      position: absolute; bottom: -100px; left: 10%;
      width: 420px; height: 420px; border-radius: 50%;
      background: radial-gradient(circle, rgba(249,115,22,.14) 0%, transparent 65%);
      pointer-events: none; z-index: 0;
    }
    /* violet glow top-right */
    .hero-glow {
      position: absolute; top: -180px; right: -120px;
      width: 700px; height: 700px; border-radius: 50%;
      background: radial-gradient(circle, rgba(124,58,237,.26) 0%, transparent 65%);
      pointer-events: none; z-index: 0;
    }
    /* animated orbs */
    @keyframes orbFloat1 {
      0%,100% { transform: translate(0,0) scale(1); }
      33%      { transform: translate(30px,-40px) scale(1.08); }
      66%      { transform: translate(-20px,20px) scale(.95); }
    }
    @keyframes orbFloat2 {
      0%,100% { transform: translate(0,0) scale(1); }
      40%      { transform: translate(-40px,30px) scale(1.1); }
      70%      { transform: translate(25px,-15px) scale(.92); }
    }
    @keyframes orbFloat3 {
      0%,100% { transform: translate(0,0); }
      50%      { transform: translate(20px,35px); }
    }
    .hero-orb {
      position: absolute; border-radius: 50%;
      pointer-events: none; z-index: 0;
    }
    .hero-orb-1 {
      width: 320px; height: 320px;
      top: 8%; left: 22%;
      background: radial-gradient(circle, rgba(124,58,237,.13) 0%, transparent 70%);
      animation: orbFloat1 9s ease-in-out infinite;
    }
    .hero-orb-2 {
      width: 200px; height: 200px;
      bottom: 10%; right: 12%;
      background: radial-gradient(circle, rgba(167,139,250,.18) 0%, transparent 70%);
      animation: orbFloat2 12s ease-in-out infinite;
    }
    .hero-orb-3 {
      width: 140px; height: 140px;
      top: 55%; left: 5%;
      background: radial-gradient(circle, rgba(249,115,22,.16) 0%, transparent 70%);
      animation: orbFloat3 7s ease-in-out infinite;
    }
    /* canvas particles */
    #heroCanvas {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      pointer-events: none; z-index: 0;
      opacity: .55;
    }
    .hero-inner {
      max-width: 1160px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 60px; align-items: center;
      position: relative; z-index: 1;
    }
    .hero h1 {
      font-family: 'Poppins', sans-serif;
      font-size: 52px; font-weight: 900; line-height: 1.08;
      color: #fff; margin-bottom: 22px;
    }
    .hero h1 em { font-style: normal; color: #a78bfa; }
    .hero-sub {
      color: #8b8baa; font-size: 17px; line-height: 1.7;
      margin-bottom: 40px; max-width: 520px;
    }
    .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
    .hero-visual { position: relative; }
    .hero-card {
      background: linear-gradient(135deg, #1e1b4b 0%, #1a1a3e 100%);
      border: 1px solid rgba(124,58,237,.3);
      border-radius: 20px; padding: 36px;
      animation: cardGlow 3.5s ease-in-out infinite;
    }
    .hero-card-row {
      display: flex; align-items: center; gap: 14px;
      padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07);
    }
    .hero-card-row:last-child { border-bottom: none; }
    .hero-card-icon {
      width: 42px; height: 42px; border-radius: 10px;
      background: rgba(124,58,237,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .hero-card-icon svg { width: 20px; height: 20px; fill: #a78bfa; }
    .hero-card-label { color: #b0b0cc; font-size: 13px; }
    .hero-card-val   { color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; }
    .hero-badge {
      position: absolute; top: -16px; right: -16px;
      background: var(--orange); color: #fff;
      padding: 10px 18px; border-radius: 12px;
      font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 13px;
      box-shadow: 0 8px 20px rgba(249,115,22,.45);
    }

    /* ── STATS ── */
    .stats {
      background: var(--white);
      border-bottom: 1px solid var(--border);
    }
    .stats-inner {
      max-width: 1160px; margin: 0 auto;
      display: grid; grid-template-columns: repeat(4, 1fr);
    }
    .stat {
      padding: 36px 28px;
      border-right: 1px solid var(--border);
      text-align: center;
    }
    .stat:last-child { border-right: none; }
    .stat-num {
      font-family: 'Poppins', sans-serif;
      font-size: 40px; font-weight: 900; color: var(--violet);
      line-height: 1; margin-bottom: 6px;
    }
    .stat-label { font-size: 14px; color: var(--muted); font-weight: 500; }

    /* ── SERVICES ── */
    .services {
      background: var(--gray);
      padding: 96px 28px;
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 1160px; margin: 0 auto;
    }
    .service-card {
      background: var(--white);
      border-radius: 16px; padding: 32px;
      border: 1px solid var(--border);
      box-shadow: var(--card-sh);
      transition: transform .2s, box-shadow .2s;
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(0,0,0,.1);
    }
    .service-icon {
      width: 52px; height: 52px; border-radius: 14px;
      background: var(--vlight); display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .service-icon svg { width: 26px; height: 26px; fill: var(--violet); }
    .service-card h3 {
      font-family: 'Poppins', sans-serif;
      font-size: 17px; font-weight: 700; margin-bottom: 8px;
    }
    .service-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

    /* ── WHY US ── */
    .why {
      background: var(--white);
      padding: 96px 28px;
    }
    .why-inner {
      max-width: 1160px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 80px; align-items: center;
    }
    /* why dashboard */
    .why-dashboard {
      background: var(--ink);
      border-radius: 20px;
      padding: 28px;
      box-shadow: 0 24px 64px rgba(0,0,0,.18);
      position: relative;
    }
    .why-db-top {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 22px;
    }
    .why-db-title {
      font-family: 'Poppins', sans-serif;
      font-size: 13px; font-weight: 700; color: #fff;
    }
    .why-db-badge {
      background: rgba(74,222,128,.15); color: #4ade80;
      border: 1px solid rgba(74,222,128,.3);
      font-size: 11px; font-weight: 700;
      padding: 3px 10px; border-radius: 100px;
      font-family: 'Poppins', sans-serif;
    }
    /* chart */
    .why-chart {
      display: flex; align-items: flex-end; gap: 6px;
      height: 90px; margin-bottom: 22px;
    }
    .why-bar {
      flex: 1; border-radius: 6px 6px 0 0;
      background: rgba(124,58,237,.25);
      position: relative;
      animation: barGrow .8s cubic-bezier(.16,1,.3,1) forwards;
      transform-origin: bottom;
    }
    .why-bar.highlight { background: var(--violet); }
    @keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    .why-bar:nth-child(1) { height: 35%; animation-delay: .05s; }
    .why-bar:nth-child(2) { height: 50%; animation-delay: .1s; }
    .why-bar:nth-child(3) { height: 42%; animation-delay: .15s; }
    .why-bar:nth-child(4) { height: 65%; animation-delay: .2s; }
    .why-bar:nth-child(5) { height: 55%; animation-delay: .25s; }
    .why-bar:nth-child(6) { height: 78%; animation-delay: .3s; }
    .why-bar:nth-child(7) { height: 70%; animation-delay: .35s; }
    .why-bar:nth-child(8) { height: 88%; animation-delay: .4s; }
    .why-bar:nth-child(9) { height: 95%; animation-delay: .45s; }
    /* metrics row */
    .why-metrics {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
      margin-bottom: 20px;
    }
    .why-metric {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 12px; padding: 12px 14px;
    }
    .why-metric-label { color: #6b6b88; font-size: 11px; margin-bottom: 4px; }
    .why-metric-val {
      font-family: 'Poppins', sans-serif;
      font-size: 18px; font-weight: 800; color: #fff;
    }
    .why-metric-val span { font-size: 12px; color: #4ade80; font-weight: 600; margin-left: 4px; }
    /* serp preview */
    .why-serp {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 12px; padding: 14px 16px;
    }
    .why-serp-label { color: #6b6b88; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
    .why-serp-item {
      display: flex; align-items: center; gap: 10px; padding: 6px 0;
      border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .why-serp-item:last-child { border-bottom: none; padding-bottom: 0; }
    .why-serp-pos {
      width: 22px; height: 22px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 800; flex-shrink: 0;
    }
    .pos-1 { background: rgba(250,204,21,.2); color: #fbbf24; }
    .pos-2 { background: rgba(148,163,184,.12); color: #94a3b8; }
    .pos-3 { background: rgba(148,163,184,.12); color: #94a3b8; }
    .why-serp-text { font-size: 12px; color: #c4b5fd; flex: 1; }
    .why-serp-arrow { color: #4ade80; font-size: 11px; font-weight: 700; }
    .why-list { display: flex; flex-direction: column; gap: 28px; }
    .why-item { display: flex; gap: 18px; align-items: flex-start; }
    .why-num {
      width: 40px; height: 40px; border-radius: 10px;
      background: var(--violet); color: #fff; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 15px;
    }
    .why-item h4 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
    .why-item p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

    /* ── PORTFOLIO ── */
    .portfolio {
      background: var(--gray);
      padding: 96px 28px;
    }
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 1160px; margin: 0 auto;
    }
    .portfolio-card {
      border-radius: 16px; overflow: hidden;
      box-shadow: var(--card-sh);
      border: 1px solid var(--border);
      background: var(--white);
      transition: transform .2s, box-shadow .2s;
    }
    .portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
    .portfolio-thumb { position: relative; overflow: hidden; }
    .portfolio-thumb img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
    .portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }
    .portfolio-thumb-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to bottom, transparent 40%, rgba(13,13,26,.7));
      opacity: 0; transition: opacity .25s;
      display: flex; align-items: flex-end; padding: 16px;
    }
    .portfolio-card:hover .portfolio-thumb-overlay { opacity: 1; }
    .portfolio-thumb-overlay a {
      color: #fff; font-family: 'Poppins', sans-serif;
      font-size: 13px; font-weight: 600;
      border: 1px solid rgba(255,255,255,.5); padding: 6px 14px; border-radius: 6px;
      backdrop-filter: blur(4px);
    }
    .portfolio-body { padding: 20px 22px; }
    .portfolio-tag {
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: .8px; color: var(--violet); margin-bottom: 6px;
    }
    .portfolio-body h3 {
      font-family: 'Poppins', sans-serif;
      font-size: 15px; font-weight: 700; margin-bottom: 4px;
    }
    .portfolio-body p { font-size: 13px; color: var(--muted); }
    .portfolio-cta { text-align: center; margin-top: 40px; max-width: 1160px; margin-inline: auto; }

    /* ── BLOG ── */
    .blog {
      background: var(--white);
      padding: 96px 28px;
    }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 1160px; margin: 0 auto;
    }
    .blog-card {
      border-radius: 16px; overflow: hidden;
      background: var(--white); border: 1px solid var(--border);
      box-shadow: var(--card-sh);
      transition: transform .2s;
    }
    .blog-card:hover { transform: translateY(-3px); }
    .blog-card img { width: 100%; height: 176px; object-fit: cover; }
    .blog-body { padding: 22px; }
    .blog-date { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
    .blog-body h3 {
      font-family: 'Poppins', sans-serif;
      font-size: 15px; font-weight: 700; line-height: 1.4;
      margin-bottom: 8px;
    }
    .blog-body h3 a { color: var(--text); transition: color .15s; }
    .blog-body h3 a:hover { color: var(--violet); }
    .blog-body p { font-size: 13px; color: var(--muted); line-height: 1.6; }
    .blog-cta { text-align: center; margin-top: 40px; }

    /* ── CTA BANNER ── */
    .cta-banner {
      background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #6d28d9 100%);
      padding: 88px 44px; text-align: center;
    }
    .cta-banner h2 {
      font-family: 'Poppins', sans-serif;
      font-size: 40px; font-weight: 900; color: #fff;
      margin-bottom: 14px; line-height: 1.15;
    }
    .cta-banner p { color: #ddd6fe; font-size: 18px; max-width: 600px; margin: 0 auto 36px; }

    /* ── CONTACT ── */
    .contact {
      background: var(--white);
      padding: 96px 28px;
      position: relative; overflow: hidden;
    }
    .contact::before {
      content: '';
      position: absolute; inset: 0; pointer-events: none;
      background-image: radial-gradient(rgba(124,58,237,.07) 1px, transparent 1px);
      background-size: 32px 32px;
      mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
      -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
    }
    .contact-head {
      text-align: center; max-width: 600px;
      margin: 0 auto 64px;
    }
    .contact-head h2 {
      font-family: 'Poppins', sans-serif;
      font-size: 38px; font-weight: 800; color: var(--text);
      margin-bottom: 12px; line-height: 1.15;
    }
    .contact-head p { color: var(--muted); font-size: 16px; line-height: 1.7; }
    .contact-inner {
      max-width: 1160px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1.1fr;
      gap: 56px; align-items: start;
      position: relative; z-index: 1;
    }
    /* LEFT — info */
    .contact-info { display: flex; flex-direction: column; gap: 16px; }
    .contact-promise {
      background: linear-gradient(135deg, var(--vlight), #f5f3ff);
      border: 1px solid rgba(124,58,237,.2);
      border-radius: 16px; padding: 24px 24px 20px;
      margin-bottom: 8px;
    }
    .contact-promise-top {
      display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
    }
    .contact-promise-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #4ade80;
      box-shadow: 0 0 8px rgba(74,222,128,.7);
      flex-shrink: 0;
      animation: dotPulse 2s ease-in-out infinite;
    }
    @keyframes dotPulse {
      0%,100% { opacity: 1; } 50% { opacity: .4; }
    }
    .contact-promise-top span {
      color: var(--violet); font-family: 'Poppins', sans-serif;
      font-size: 13px; font-weight: 600;
    }
    .contact-promise h3 {
      font-family: 'Poppins', sans-serif;
      color: var(--text); font-size: 17px; font-weight: 700; margin-bottom: 6px;
    }
    .contact-promise p { color: var(--muted); font-size: 14px; line-height: 1.6; }

    .contact-card {
      display: flex; gap: 14px; align-items: center;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px; padding: 16px 20px;
      box-shadow: 0 2px 12px rgba(0,0,0,.05);
      transition: border-color .2s, box-shadow .2s;
    }
    .contact-card:hover {
      border-color: rgba(124,58,237,.4);
      box-shadow: 0 4px 20px rgba(124,58,237,.1);
    }
    .contact-card-icon {
      width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
      background: var(--vlight);
      display: flex; align-items: center; justify-content: center;
    }
    .contact-card-icon svg { width: 19px; height: 19px; fill: var(--violet); }
    .contact-card-label { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 3px; }
    .contact-card-val   { color: var(--text); font-size: 15px; font-weight: 600; }

    .social-row { display: flex; gap: 10px; margin-top: 4px; }
    .soc-btn {
      width: 44px; height: 44px; border-radius: 12px;
      background: var(--gray);
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      transition: background .15s, border-color .15s, transform .15s;
    }
    .soc-btn:hover { background: var(--violet); border-color: var(--violet); transform: translateY(-2px); }
    .soc-btn svg { width: 17px; height: 17px; fill: var(--text); transition: fill .15s; }
    .soc-btn:hover svg { fill: #fff; }

    /* RIGHT — form */
    .contact-form {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 24px; padding: 40px;
      box-shadow: 0 8px 40px rgba(0,0,0,.07);
    }
    .form-title {
      font-family: 'Poppins', sans-serif;
      font-size: 19px; font-weight: 700; color: var(--text);
      margin-bottom: 6px;
    }
    .form-subtitle { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
    .service-chips {
      display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
    }
    .chip {
      padding: 7px 14px; border-radius: 100px;
      background: var(--gray);
      border: 1px solid var(--border);
      color: var(--muted); font-size: 12px; font-weight: 600;
      font-family: 'Poppins', sans-serif; cursor: pointer;
      transition: all .15s;
    }
    .chip:hover, .chip.active {
      background: var(--vlight);
      border-color: rgba(124,58,237,.4);
      color: var(--violet);
    }
    .field { margin-bottom: 16px; }
    .field label { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 7px; }
    .field label .req { color: #ef4444; margin-left: 2px; }
    .field input,
    .field textarea,
    .field select {
      width: 100%; padding: 12px 16px;
      background: var(--gray);
      border: 1px solid var(--border);
      border-radius: 10px; color: var(--text);
      font-family: 'Inter', sans-serif; font-size: 14px;
      transition: border-color .2s, background .2s, box-shadow .2s;
    }
    .field input::placeholder,
    .field textarea::placeholder { color: #adb5bd; }
    .field input:focus,
    .field textarea:focus,
    .field select:focus {
      outline: none;
      border-color: rgba(124,58,237,.6);
      background: var(--white);
      box-shadow: 0 0 0 3px rgba(124,58,237,.1);
    }
    .field textarea { min-height: 110px; resize: vertical; }
    .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; background-color: var(--gray); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-submit {
      width: 100%; padding: 15px;
      background: var(--violet); color: #fff; border: none;
      border-radius: 10px; font-family: 'Poppins', sans-serif;
      font-size: 15px; font-weight: 700;
      transition: background .2s, transform .15s, box-shadow .2s;
      position: relative; overflow: hidden;
    }
    .form-submit::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.15) 50%, transparent 60%);
      transform: translateX(-100%);
      transition: transform .45s ease;
    }
    .form-submit:hover { background: #6d28d9; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,58,237,.35); }
    .form-submit:hover::after { transform: translateX(100%); }
    .form-note {
      text-align: center; color: var(--muted); font-size: 12px; margin-top: 14px;
    }

    /* ── FOOTER ── */
    .footer {
      background: #07070f;
      border-top: 1px solid rgba(255,255,255,.06);
      padding: 56px 44px 28px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1fr;
      gap: 48px; max-width: 1160px;
      margin: 0 auto 40px;
    }
    .footer-logo img { height: 38px; margin-bottom: 16px; }
    .footer-about   { color: #5a5a75; font-size: 13px; line-height: 1.8; }
    .footer-title   { color: #fff; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 16px; letter-spacing: .3px; }
    .footer-links a { display: block; color: #5a5a75; font-size: 13px; padding: 4px 0; transition: color .15s; }
    .footer-links a:hover { color: #fff; }
    .footer-contact-item { display: flex; gap: 8px; align-items: center; color: #5a5a75; font-size: 13px; padding: 4px 0; }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.06);
      padding-top: 22px;
      display: flex; justify-content: space-between; align-items: center;
      max-width: 1160px; margin: 0 auto; flex-wrap: wrap; gap: 10px;
    }
    .footer-bottom p { color: #3d3d52; font-size: 12px; }
    .footer-socials { display: flex; gap: 12px; }
    .footer-socials a { color: #3d3d52; transition: color .15s; display: flex; }
    .footer-socials a:hover { color: #fff; }
    .footer-socials svg { width: 16px; height: 16px; fill: currentColor; }

    /* ── PRELOADER ── */
    #preloader {
      position: fixed; inset: 0; z-index: 100000;
      background: #0d0d1a;
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; gap: 24px;
      transition: opacity .6s ease, visibility .6s ease;
    }
    #preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
    .pre-logo { height: 48px; opacity: 0; animation: preReveal .5s .2s ease forwards; }
    @keyframes preReveal { to { opacity: 1; } }
    .pre-bar { width: 180px; height: 2px; background: rgba(124,58,237,.2); border-radius: 2px; overflow: hidden; }
    .pre-fill { height: 100%; width: 0; border-radius: 2px;
      background: linear-gradient(90deg, #7c3aed, #c084fc);
      animation: preFill 1.1s .3s cubic-bezier(.4,0,.2,1) forwards; }
    @keyframes preFill { to { width: 100%; } }

    /* ── CURSOR ── */
    #cur-dot {
      position: fixed; pointer-events: none; z-index: 99999;
      width: 7px; height: 7px;
      background: #a78bfa; border-radius: 50%;
      transform: translate(-50%,-50%);
      transition: width .15s, height .15s, background .2s;
    }
    #cur-ring {
      position: fixed; pointer-events: none; z-index: 99998;
      width: 38px; height: 38px;
      border: 1.5px solid rgba(124,58,237,.55);
      border-radius: 50%;
      transform: translate(-50%,-50%);
      transition: width .25s ease, height .25s ease, border-color .25s, background .25s;
    }
    .cur-hover #cur-ring {
      width: 58px; height: 58px;
      border-color: rgba(124,58,237,.9);
      background: rgba(124,58,237,.1);
    }
    .cur-hover #cur-dot { width: 4px; height: 4px; }

    /* ── SCROLL REVEAL ── */
    .sr { opacity: 0; transform: translateY(44px);
      transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
    .sr.visible { opacity: 1; transform: none; }
    .sr-left { opacity: 0; transform: translateX(-50px);
      transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
    .sr-left.visible { opacity: 1; transform: none; }
    .sr-right { opacity: 0; transform: translateX(50px);
      transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
    .sr-right.visible { opacity: 1; transform: none; }

    /* ── GLASSMORPHISM HEADER ── */
    .site-header { transition: background .35s, backdrop-filter .35s, box-shadow .35s; }
    .site-header.scrolled {
      background: rgba(13,13,26,.72);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
      box-shadow: 0 1px 0 rgba(255,255,255,.07);
    }

    /* ── AURORA in hero ── */
    .hero-aurora {
      position: absolute; inset: 0; z-index: 0; pointer-events: none;
      background:
        radial-gradient(ellipse 55% 55% at 15% 45%, rgba(124,58,237,.18), transparent),
        radial-gradient(ellipse 45% 60% at 85% 55%, rgba(99,102,241,.14), transparent),
        radial-gradient(ellipse 38% 38% at 50% 10%, rgba(192,132,252,.1), transparent);
      animation: auroraDrift 9s ease-in-out infinite alternate;
    }
    @keyframes auroraDrift {
      0%   { filter: hue-rotate(0deg)  blur(0px); opacity: .85; }
      50%  { filter: hue-rotate(15deg) blur(1px); opacity: 1; }
      100% { filter: hue-rotate(-10deg) blur(0px); opacity: .9; }
    }

    /* ── HERO H1 gradient text animation ── */
    .hero h1 em {
      font-style: normal;
      background: linear-gradient(90deg, #a78bfa 0%, #c084fc 30%, #f472b6 60%, #a78bfa 100%);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: gradShift 3.5s linear infinite;
    }
    @keyframes gradShift {
      0%   { background-position: 0% center; }
      100% { background-position: 200% center; }
    }

    /* ── HERO CARD glowing border pulse ── */
    @keyframes cardGlow {
      0%,100% { box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(124,58,237,.15), 0 0 40px rgba(124,58,237,.12); }
      50%      { box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(167,139,250,.5), 0 0 80px rgba(124,58,237,.28); }
    }

    /* hide default cursor */
    * { cursor: none !important; }
    @media (max-width: 768px) { #cur-dot, #cur-ring { display: none; } * { cursor: auto !important; } }

    /* ── 3D / ANIMATION ── */
    @keyframes float {
      0%,100% { transform: translateY(0) rotate(-1deg); }
      50%      { transform: translateY(-10px) rotate(1deg); }
    }
    .hero-badge { animation: float 3.4s ease-in-out infinite; }

    .btn-violet:hover { background: #6d28d9; box-shadow: 0 8px 24px rgba(124,58,237,.35); }

    /* card tilt — applied via JS */
    .tilt-card {
      transform-style: preserve-3d;
      transition: transform .08s linear, box-shadow .15s ease;
      will-change: transform;
    }
    .tilt-card .tilt-inner {
      transform-style: preserve-3d;
    }
    .tilt-card:hover {
      box-shadow: 0 20px 60px rgba(0,0,0,.16);
    }

    /* hero card 3D */
    .hero-visual { perspective: 1000px; }
    .hero-card   { transform-style: preserve-3d; transition: transform .1s linear; }

    /* stat counter */
    .stat-num { transition: color .3s; }
    .stat.counted .stat-num { color: var(--violet); }

    /* services icon pop */
    .service-card:hover .service-icon {
      background: var(--violet);
      transform: translateZ(20px) scale(1.1);
      transition: all .25s ease;
    }
    .service-card:hover .service-icon svg { fill: #fff; }

    /* CTA banner shimmer */
    .cta-banner {
      position: relative; overflow: hidden;
    }
    .cta-banner::before {
      content: '';
      position: absolute; top: -50%; left: -60%;
      width: 60%; height: 200%;
      background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
      animation: shimmer 4s ease-in-out infinite;
    }
    @keyframes shimmer {
      0%   { left: -60%; }
      100% { left: 120%; }
    }

    /* why-num 3D rotate on hover */
    .why-item:hover .why-num {
      transform: rotateY(360deg);
      transition: transform .6s ease;
    }
    .why-num { transition: transform .6s ease; }

    /* ── MOBILE ── */
    @media (max-width: 768px) {
      .site-header { padding: 0 20px; }
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }

      .hero { padding: 72px 20px 80px; }
      .hero-inner { grid-template-columns: 1fr; }
      .hero-visual { display: none; }
      .hero h1 { font-size: 32px; }
      .hero-sub { font-size: 15px; }

      .stats-inner { grid-template-columns: repeat(2, 1fr); }
      .stat { border-bottom: 1px solid var(--border); }

      .services-grid { grid-template-columns: 1fr; }
      .why-inner { grid-template-columns: 1fr; }
      .why-visual { display: none; }
      .portfolio-grid { grid-template-columns: 1fr; }
      .blog-grid { grid-template-columns: 1fr; }

      .cta-banner h2 { font-size: 26px; }
      .cta-banner p  { font-size: 15px; }

      .contact-head h2 { font-size: 26px; }
      .contact-inner { grid-template-columns: 1fr; gap: 40px; }
      .form-row { grid-template-columns: 1fr; }
      .contact-form { padding: 28px 20px; }

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