:root {
      --primary: #E91E63;
      --primary-dark: #C2185B;
      --accent: #00BCD4;
      --bg: #0a0a0f;
      --bg-card: #12121a;
      --bg-hover: #1a1a25;
      --border: #2a2a3a;
      --text: #ffffff;
      --text-muted: #8888aa;
      --gradient: linear-gradient(135deg, #E91E63 0%, #9C27B0 50%, #00BCD4 100%);
    }
    
    * { margin: 0; padding: 0; box-sizing: border-box; }
    
    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
    }
    
    /* ========== BACKGROUND EFFECTS ========== */
    .bg-gradient {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(ellipse at 20% 20%, rgba(233, 30, 99, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 188, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(156, 39, 176, 0.05) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }
    
    .grid-bg {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 50px 50px;
      pointer-events: none;
      z-index: 0;
    }
    
    /* ========== HEADER / NAVBAR ========== */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 0 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 64px;
      background: rgba(10, 10, 15, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    
    .logo {
      font-size: 22px;
      font-weight: 800;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .logo span {
      font-weight: 400;
      opacity: 0.7;
      background: inherit;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      padding: 8px 16px;
      border-radius: 8px;
      transition: all 0.2s;
    }
    
    .nav-links a:hover {
      color: var(--text);
      background: var(--bg-hover);
    }
    
    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    .nav-login-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--gradient);
      color: white;
      padding: 8px 20px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }
    
    .nav-login-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 25px rgba(233, 30, 99, 0.3);
    }
    
    #user-button {
      display: none;
    }

    .plan-badge {
      font-size: 13px;
      font-weight: 700;
      padding: 7px 16px;
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      white-space: nowrap;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .plan-badge:hover {
      transform: scale(1.08);
      box-shadow: 0 4px 18px rgba(233,30,99,0.35);
    }
    .plan-basic {
      background: linear-gradient(135deg, #e91e63, #9c27b0);
      color: #fff;
    }
    .plan-free {
      background: rgba(255,255,255,0.1);
      color: #ccc;
      border: 1px solid rgba(255,255,255,0.2);
    }
    .plan-free:hover {
      background: rgba(255,255,255,0.15);
      border-color: #E91E63;
      color: #fff;
    }

    /* ========== ACCOUNT MODAL ========== */
    .account-modal-backdrop {
      position: fixed; inset: 0; z-index: 99999;
      background: rgba(10,10,15,0.88); backdrop-filter: blur(10px);
      display: flex; align-items: center; justify-content: center;
      animation: acctFadeIn 0.2s ease;
    }
    @keyframes acctFadeIn { from { opacity: 0; } to { opacity: 1; } }
    .account-modal-card {
      background: #1a1a2e; border: 1px solid rgba(255,255,255,0.08);
      border-radius: 20px; padding: 36px 32px 32px; max-width: 520px; width: 94%;
      box-shadow: 0 24px 80px rgba(0,0,0,0.5); position: relative;
      max-height: 90vh; overflow-y: auto;
    }
    .account-modal-close {
      position: absolute; top: 12px; right: 16px; background: none;
      border: none; color: #666; font-size: 28px; cursor: pointer;
      transition: color 0.2s; line-height: 1;
    }
    .account-modal-close:hover { color: #fff; }
    .account-loading {
      text-align: center; color: #888; padding: 40px 0; font-size: 14px;
    }
    /* Plan header */
    .acct-plan-header {
      display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
    }
    .acct-plan-icon {
      width: 52px; height: 52px; border-radius: 14px; display: flex;
      align-items: center; justify-content: center; font-size: 26px;
    }
    .acct-plan-icon.free { background: rgba(136,136,170,0.15); }
    .acct-plan-icon.basic { background: linear-gradient(135deg, rgba(233,30,99,0.2), rgba(156,39,176,0.2)); }
    .acct-plan-name { font-size: 22px; font-weight: 700; color: #fff; }
    .acct-plan-label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
    /* Usage stats */
    .acct-usage-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px;
    }
    .acct-usage-card {
      background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
      border-radius: 12px; padding: 16px;
    }
    .acct-usage-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
    .acct-usage-value { font-size: 24px; font-weight: 700; color: #fff; }
    .acct-usage-value span { font-size: 14px; font-weight: 400; color: #666; }
    .acct-usage-bar {
      height: 4px; background: rgba(255,255,255,0.08); border-radius: 4px;
      margin-top: 8px; overflow: hidden;
    }
    .acct-usage-bar-fill {
      height: 100%; border-radius: 4px; transition: width 0.5s ease;
      background: linear-gradient(90deg, #E91E63, #9C27B0);
    }
    /* CTA button */
    .acct-cta-btn {
      display: flex; align-items: center; justify-content: center; gap: 10px;
      width: 100%; padding: 14px 24px; border: none; border-radius: 12px;
      font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.3s;
      font-family: 'Inter', sans-serif;
    }
    .acct-cta-upgrade {
      background: linear-gradient(135deg, #E91E63, #9C27B0); color: #fff;
      box-shadow: 0 6px 24px rgba(233,30,99,0.35);
    }
    .acct-cta-upgrade:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(233,30,99,0.45); }
    .acct-cta-manage {
      background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.12);
    }
    .acct-cta-manage:hover { background: rgba(255,255,255,0.12); }
    /* Designs list */
    .acct-designs-title {
      font-size: 13px; font-weight: 600; color: #888; text-transform: uppercase;
      letter-spacing: 0.5px; margin: 24px 0 12px;
    }
    .acct-design-item {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 14px; background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.05); border-radius: 10px;
      margin-bottom: 8px; transition: background 0.2s;
    }
    .acct-design-item:hover { background: rgba(255,255,255,0.06); }
    .acct-design-icon { font-size: 20px; flex-shrink: 0; }
    .acct-design-info { flex: 1; min-width: 0; }
    .acct-design-name {
      font-size: 13px; font-weight: 600; color: #ddd;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .acct-design-meta { font-size: 11px; color: #666; margin-top: 2px; }
    .acct-no-designs {
      text-align: center; color: #555; font-size: 13px; padding: 20px 0;
    }
    .acct-divider {
      height: 1px; background: rgba(255,255,255,0.06); margin: 20px 0;
    }

    /* Spacer for fixed header */
    .header-spacer {
      height: 64px;
    }
    
    /* ========== HERO ========== */
    .hero {
      position: relative;
      z-index: 10;
      text-align: center;
      padding: 80px 5% 60px;
    }
    
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(233, 30, 99, 0.1);
      border: 1px solid rgba(233, 30, 99, 0.3);
      padding: 8px 20px;
      border-radius: 30px;
      font-size: 13px;
      color: var(--primary);
      margin-bottom: 30px;
    }
    
    .hero-badge::before {
      content: "✨";
    }
    
    .hero h1 {
      font-size: clamp(40px, 8vw, 72px);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 25px;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .hero h1 .gradient {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .hero p {
      font-size: 20px;
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto 50px;
      line-height: 1.6;
    }
    
    /* ========== URL INPUT CONTAINER ========== */
    .upload-container {
      position: relative;
      z-index: 10;
      max-width: 800px;
      margin: 0 auto;
      padding: 0 5%;
    }
    

    
    /* ========== LOADING STATE ========== */
    .loading-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(10, 10, 15, 0.95);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
    
    .loading-overlay.active {
      display: flex;
    }

    
    
    .loading-steps {
      margin-top: 30px;
      text-align: left;
    }
    
    .loading-step {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 0;
      color: var(--text-muted);
      font-size: 14px;
    }
    
    .loading-step.active {
      color: var(--accent);
    }
    
    .loading-step.done {
      color: #4CAF50;
    }
    
    .loading-step .check {
      width: 20px;
      height: 20px;
      border: 2px solid currentColor;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
    }
    
    .loading-step.done .check::after {
      content: "✓";
    }
    
    .loading-step.active .check {
      border-color: var(--accent);
      animation: pulse 1s infinite;
    }
    
    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }
    
    /* ========== FLOW SECTION ========== */
    .flow-section {
      position: relative;
      z-index: 10;
      padding: 100px 5%;
      text-align: center;
    }
    
    .flow-section h2 {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 60px;
    }
    
    .flow-steps {
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: 20px;
      flex-wrap: nowrap;
      max-width: 1400px;
      margin: 0 auto;
    }
    
    .flow-step {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 30px 20px;
      flex: 1;
      min-width: 0;
      text-align: center;
      transition: all 0.3s;
      position: relative;
    }
    
    .flow-step:hover {
      transform: translateY(-5px);
      border-color: var(--primary);
    }
    
    .flow-step .number {
      position: absolute;
      top: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 30px;
      height: 30px;
      background: var(--gradient);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
    }
    
    .flow-step .icon {
      font-size: 48px;
      margin-bottom: 20px;
    }
    
    .flow-step h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    
    .flow-step p {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.6;
    }
    
    .flow-arrow {
      display: flex;
      align-items: center;
      color: var(--primary);
      font-size: 30px;
    }
    
    /* ========== FEATURES ========== */
    .features-section {
      position: relative;
      z-index: 10;
      padding: 60px 5% 100px;
    }
    
    .features-grid {
      display: flex;
      flex-wrap: nowrap;
      gap: 20px;
      max-width: 1400px;
      margin: 0 auto;
    }
    
    .feature {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 25px;
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: flex-start;
      gap: 15px;
      transition: all 0.3s;
    }
    
    .feature:hover {
      border-color: var(--accent);
      background: var(--bg-hover);
    }
    
    .feature .icon {
      font-size: 28px;
      flex-shrink: 0;
    }
    
    .feature h4 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
    }
    
    .feature p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }
    
    /* ========== FOOTER ========== */
    footer {
      position: relative;
      z-index: 10;
      text-align: center;
      padding: 40px 5%;
      border-top: 1px solid var(--border);
      color: var(--text-muted);
      font-size: 14px;
    }
    
    footer a {
      color: var(--primary);
      text-decoration: none;
    }
    
    /* ========== PRICING ========== */
    .pricing-section {
      position: relative;
      z-index: 10;
      padding: 100px 5%;
      text-align: center;
    }
    
    .pricing-section h2 {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    
    .pricing-section .subtitle {
      color: var(--text-muted);
      font-size: 18px;
      margin-bottom: 50px;
    }
    
    .pricing-cards {
      display: flex;
      justify-content: center;
      gap: 30px;
      max-width: 900px;
      margin: 0 auto;
    }
    
    .pricing-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 40px 35px;
      flex: 1;
      max-width: 420px;
      text-align: left;
      transition: all 0.3s;
      position: relative;
    }
    
    .pricing-card:hover {
      transform: translateY(-5px);
      border-color: var(--primary);
    }
    
    .pricing-card.featured {
      border-color: var(--primary);
      box-shadow: 0 0 40px rgba(233, 30, 99, 0.15);
    }
    
    .pricing-card .badge {
      position: absolute;
      top: -12px;
      right: 20px;
      background: var(--gradient);
      color: white;
      font-size: 12px;
      font-weight: 700;
      padding: 5px 14px;
      border-radius: 20px;
      text-transform: uppercase;
    }
    
    .pricing-card .plan-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }
    
    .pricing-card .price {
      font-size: 48px;
      font-weight: 800;
      margin-bottom: 4px;
      line-height: 1;
    }
    
    .pricing-card .price span {
      font-size: 18px;
      font-weight: 400;
      color: var(--text-muted);
    }
    
    .pricing-card .price-desc {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 30px;
    }
    
    .pricing-card ul {
      list-style: none;
      margin-bottom: 30px;
    }
    
    .pricing-card ul li {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0;
      font-size: 14px;
      color: var(--text);
    }
    
    .pricing-card ul li .check {
      color: #4CAF50;
      font-size: 16px;
      flex-shrink: 0;
    }
    
    .pricing-card ul li .cross {
      color: #666;
      font-size: 16px;
      flex-shrink: 0;
    }
    
    .pricing-card ul li.disabled {
      color: var(--text-muted);
      opacity: 0.5;
    }
    
    .pricing-btn {
      display: block;
      width: 100%;
      padding: 14px;
      border-radius: 12px;
      font-size: 16px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
      text-decoration: none;
    }
    
    .pricing-btn.primary {
      background: var(--gradient);
      color: white;
    }
    
    .pricing-btn.primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(233, 30, 99, 0.3);
    }
    
    .pricing-btn.secondary {
      background: var(--bg-hover);
      color: var(--text);
      border: 1px solid var(--border);
    }
    
    .pricing-btn.secondary:hover {
      border-color: var(--text-muted);
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 768px) {
      .flow-arrow {
        display: none;
      }
      
      .flow-steps {
        flex-direction: column;
        align-items: center;
      }
      
      .pricing-cards {
        flex-direction: column;
        align-items: center;
      }
      
      .pricing-card {
        max-width: 100%;
      }
      
      .features-grid {
        flex-wrap: wrap;
      }
      
      .feature {
        flex: 1 1 100%;
      }
      
      .nav-links {
        display: none;
      }
    }

    /* ========== LANG SWITCH ========== */
    .lang-switch {
      display: flex;
      gap: 4px;
      align-items: center;
    }
    .lang-switch button {
      background: none;
      border: 1px solid transparent;
      border-radius: 4px;
      cursor: pointer;
      padding: 4px;
      opacity: 0.5;
      transition: opacity 0.2s;
      line-height: 1;
      display: flex;
      align-items: center;
    }
    .lang-switch button svg {
      width: 22px;
      height: 16px;
      border-radius: 2px;
      display: block;
    }
    .lang-switch button.active {
      opacity: 1;
      border-color: var(--accent);
    }

    /* ========== WAITLIST MODAL ========== */
    .wl-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.75);
      z-index: 10000;
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(4px);
    }
    .wl-overlay.active { display: flex; }
    .wl-card {
      background: #12121A;
      border: 1px solid #3a3a50;
      border-radius: 16px;
      padding: 36px 32px 28px;
      max-width: 420px;
      width: 90%;
      position: relative;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .wl-close {
      position: absolute;
      top: 12px;
      right: 14px;
      background: none;
      border: none;
      color: #8888aa;
      font-size: 22px;
      cursor: pointer;
      line-height: 1;
      padding: 4px;
    }
    .wl-close:hover { color: #fff; }
    .wl-card h3 {
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #f0f0f5;
    }
    .wl-card p {
      font-size: 0.9rem;
      color: #747686;
      margin-bottom: 20px;
      line-height: 1.5;
    }
    .wl-input {
      width: 100%;
      padding: 12px 14px;
      border-radius: 10px;
      border: 1px solid #3a3a50;
      background: #2a2a3e;
      color: #f0f0f5;
      font-size: 0.95rem;
      font-family: 'Inter', sans-serif;
      outline: none;
      margin-bottom: 14px;
      transition: border-color 0.2s;
    }
    .wl-input:focus { border-color: #E91E63; }
    .wl-input::placeholder { color: #747686; }
    .wl-submit {
      width: 100%;
      padding: 12px;
      border: none;
      border-radius: 12px;
      background: var(--gradient);
      color: #fff;
      font-size: 1rem;
      font-weight: 600;
      font-family: 'Inter', sans-serif;
      cursor: pointer;
      transition: opacity 0.2s;
    }
    .wl-submit:hover { opacity: 0.9; }
    .wl-submit:disabled { opacity: 0.6; cursor: not-allowed; }
    .wl-error {
      color: #f44336;
      font-size: 0.82rem;
      margin-bottom: 10px;
      display: none;
    }
    .wl-success-msg {
      text-align: center;
      color: #4CAF50;
      font-size: 1rem;
      font-weight: 500;
      padding: 20px 0;
      line-height: 1.6;
    }