:root {
    --purple:  #7c3aed;
    --purple2: #6d28d9;
    --green:   #16a34a;
    --green2:  #22c55e;
    --orange:  #f97316;
    --ink:     #111827;
    --muted:   #6b7280;
    --soft:    #9ca3af;
    --border:  #e5e7eb;
    --bg:      #f9fafb;
    --white:   #ffffff;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { font-size: 15px; }
  body {
    font-family: 'Nunito Sans', sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* ── HEADER ── */
  header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  }
  .logo {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--purple);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .logo-dot { color: var(--green); }

  .header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fef3c7;
    border: 1.5px solid #fde68a;
    border-radius: 20px;
    padding: 5px 14px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: #92400e;
    letter-spacing: 0.04em;
  }
  .pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--orange);
    animation: blink 1.8s ease-in-out infinite;
    flex-shrink: 0;
  }
  @keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

   /* ── MAIN ── */
  main { flex: 1; }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 45%, #9333ea 100%);
    padding: 64px 32px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
  }
  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 5px 16px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
  }
  .hero h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: white;
    line-height: 1.18;
    margin-bottom: 16px;
    position: relative;
  }
  .hero h1 span { color: #fde68a; }
  .hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
  }

  /* floating emojis */
  .floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .float-emoji {
    position: absolute;
    font-size: 2rem;
    opacity: 0.18;
    animation: floatUp linear infinite;
  }
  @keyframes floatUp {
    0%   { transform: translateY(110%) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.18; }
    90%  { opacity: 0.18; }
    100% { transform: translateY(-20%) rotate(20deg); opacity: 0; }
  }

  /* ── PROGRESS SECTION ── */
  .progress-section {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeUp .6s .2s ease forwards;
  }
  .progress-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .progress-bar-wrap {
    width: 100%;
    max-width: 500px;
  }
  .progress-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
  }
  .progress-meta strong { color: var(--purple); }
  .progress-track {
    height: 10px;
    background: #ede9fe;
    border-radius: 10px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--purple), var(--green2));
    border-radius: 10px;
    animation: fill 2s .8s cubic-bezier(.4,0,.2,1) forwards;
    position: relative;
  }
  .progress-fill::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 20px;
    background: rgba(255,255,255,0.4);
    filter: blur(4px);
    animation: shimmer 1.5s 2.8s ease-in-out infinite;
  }
  @keyframes fill { to { width: 72%; } }
  @keyframes shimmer { 0%,100%{opacity:0;} 50%{opacity:1;} }

  @keyframes fadeUp {
    from { opacity:0; transform:translateY(16px); }
    to   { opacity:1; transform:translateY(0); }
  }

  /* ── FORM SECTION ── */
  .form-section {
    padding: 52px 32px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    animation: fadeUp .6s .35s ease forwards;
  }
  .form-section h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 8px;
  }
  .form-section p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 24px;
  }
  .form-row {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(124,58,237,0.12);
    border: 1.5px solid #ddd6fe;
    transition: border-color .2s, box-shadow .2s;
  }
  .form-row:focus-within {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
  }
  .form-row input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    background: var(--white);
    color: var(--ink);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
  }
  .form-row input::placeholder { color: var(--soft); }
  .form-row button {
    padding: 14px 22px;
    background: var(--purple);
    color: white;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
  }
  .form-row button:hover { background: var(--purple2); }
  .form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
    padding: 14px 20px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 14px;
    color: #166534;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
  }

  /* ── KATEGORİLER TEASER ── */
  .cats-section {
    padding: 48px 32px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    animation: fadeUp .6s .5s ease forwards;
  }
  .cats-section h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    text-align: center;
    color: var(--ink);
    margin-bottom: 28px;
  }
  .cats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
  }
  .cat-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 8px 16px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--ink);
    cursor: pointer;
    transition: all .2s;
  }
  .cat-pill:hover {
    border-color: var(--purple);
    background: #f5f3ff;
    color: var(--purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124,58,237,0.1);
  }
  .cat-pill .icon { font-size: 1.1rem; }

  /* ── FEATURES ── */
  .features-section {
    padding: 52px 32px;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    animation: fadeUp .6s .65s ease forwards;
  }
  .features-section h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    text-align: center;
    color: var(--ink);
    margin-bottom: 28px;
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
  }
  .feat-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color .2s, transform .2s, box-shadow .2s;
  }
  .feat-card:hover {
    border-color: var(--purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124,58,237,0.1);
  }
  .feat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
  }
  .feat-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .feat-desc {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.65;
  }

  /* ── ESNAF CTA ── */
  .esnaf-section {
    padding: 52px 32px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4c1d95 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeUp .6s .8s ease forwards;
  }
  .esnaf-section::before {
    content: '🏪';
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.08;
  }
  .esnaf-section h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 10px;
    position: relative;
  }
  .esnaf-section p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    max-width: 420px;
    margin: 0 auto 24px;
    line-height: 1.7;
    position: relative;
  }
  .btn-esnaf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--purple);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 12px 26px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    text-decoration: none;
    position: relative;
  }
  .btn-esnaf:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

  /* ── FOOTER ── */
  footer {
    background: #1f1f2e;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-copy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
  }
  .footer-copy a {
    color: rgba(167,139,250,0.6);
    text-decoration: none;
    transition: color .2s;
  }
  .footer-copy a:hover { color: #a78bfa; }
  .footer-links {
    display: flex;
    gap: 18px;
  }
  .footer-links a {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color .2s;
  }
  .footer-links a:hover { color: rgba(255,255,255,0.6); }

  @media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
    header { padding: 0 20px; }
    .hero, .form-section, .cats-section, .features-section, .esnaf-section { padding-left: 20px; padding-right: 20px; }
    footer { padding: 20px; }
  }