* { margin: 0; padding: 0; box-sizing: border-box; }

:root { --primary: #6366f1; --primary-dark: #4f46e5; --secondary: #ec4899; --accent: #8b5cf6; --dark: #0f172a; --dark-lighter: #1e293b; --dark-card: #1a1f36; --gray: #64748b; --light: #f1f5f9; --white: #ffffff; --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%); --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%); }

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.6; color: var(--dark); background: var(--white); overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(99, 102, 241, 0.1); transition: all 0.3s ease; }

header.scrolled { background: rgba(255, 255, 255, 0.95); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }

nav { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; }

.logo { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; color: var(--dark); text-decoration: none; }

.logo-icon { width: 40px; height: 40px; background: var(--gradient-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 18px; }

.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }

.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 15px; transition: color 0.3s ease; position: relative; }

.nav-links a:hover { color: var(--primary); }

.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: width 0.3s ease; }

.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; gap: 16px; align-items: center; }

.btn { padding: 12px 28px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); }

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4); }

.btn-secondary { background: transparent; color: var(--dark); border: 2px solid var(--light); }

.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark); }

/* Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(8px); z-index: 10000; align-items: center; justify-content: center; }

.modal-overlay.active { display: flex; }

.modal { background: #f5f5f5 !important; border-radius: 24px; padding: 48px; max-width: 500px; width: 90%; box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3); position: relative; animation: modalSlideIn 0.4s ease; }

@keyframes modalSlideIn { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }

.modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 28px; color: var(--gray); cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: all 0.3s ease; }

.modal-close:hover { background: var(--light); color: var(--dark); }

.modal-icon { width: 80px; height: 80px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 auto 24px; }

.modal h3 { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 16px; color: var(--dark); }

.modal p { font-size: 16px; color: var(--gray); text-align: center; line-height: 1.7; margin-bottom: 32px; }

.modal-actions { display: flex; gap: 12px; }

.modal-actions .btn { flex: 1; justify-content: center; }

/* Hero Section */
#hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); padding-top: 80px; }

.hero-background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.4; pointer-events: none; }

.hero-grid { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px); background-size: 50px 50px; }

.hero-gradient-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; animation: float 20s ease-in-out infinite; }

.orb-1 { width: 500px; height: 500px; background: var(--gradient-primary); top: -200px; right: -100px; animation-delay: 0s; }

.orb-2 { width: 400px; height: 400px; background: var(--gradient-3); bottom: -150px; left: -100px; animation-delay: 7s; }

@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.1); } 66% { transform: translate(-20px, 20px) scale(0.9); } }

.hero-content { position: relative; z-index: 10; text-align: center; max-width: 900px; margin: 0 auto; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(99, 102, 241, 0.1); padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 24px; border: 1px solid rgba(99, 102, 241, 0.2); }

.hero-badge .sparkle { font-size: 16px; }

h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: var(--dark); letter-spacing: -0.02em; }

.gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-subtitle { font-size: clamp(18px, 2.5vw, 22px); color: var(--gray); margin-bottom: 24px; line-height: 1.6; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-textarea-wrapper { max-width: 720px; margin: 0 auto 40px; position: relative; }

.hero-textarea { width: 100%; min-height: 140px; padding: 18px 20px; border-radius: 14px; border: 2px solid rgba(99, 102, 241, 0.18); background: rgba(255, 255, 255, 0.9); font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.6; color: var(--dark); box-shadow: 0 20px 60px rgba(99, 102, 241, 0.08); transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; resize: vertical; }

.hero-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 25px 70px rgba(99, 102, 241, 0.18); transform: translateY(-1px); }

.hero-textarea-action { position: absolute; right: 12px; bottom: 12px; transform: translateY(50%); }

.hero-textarea-action .btn-primary { padding: 12px 20px; border-radius: 10px; box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25); font-size: 14px; }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.btn-large { padding: 18px 40px; font-size: 17px; }

.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 64px; }

.stat { text-align: center; }

.stat-value { font-size: 36px; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; margin-bottom: 4px; }

.stat-label { font-size: 14px; color: var(--gray); font-weight: 500; }

/* Code Preview Section */
#preview { padding: 120px 0; background: var(--dark); position: relative; overflow: hidden; }

.section-header { text-align: center; margin-bottom: 64px; }

.section-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(99, 102, 241, 0.15); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 16px; border: 1px solid rgba(99, 102, 241, 0.3); }

h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--white); letter-spacing: -0.02em; }

.section-subtitle { font-size: 20px; color: var(--gray); max-width: 600px; margin: 0 auto; }

.preview-container { background: var(--dark-card); border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); }

.preview-header { background: rgba(255, 255, 255, 0.05); padding: 16px 24px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

.preview-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gray); }

.preview-dot:nth-child(1) { background: #ff5f56; }

.preview-dot:nth-child(2) { background: #ffbd2e; }

.preview-dot:nth-child(3) { background: #27c93f; }

.preview-content { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.05); }

.preview-input, .preview-output { padding: 32px; min-height: 400px; }

.preview-input { background: var(--dark-card); }

.preview-output { background: var(--white); display: flex; align-items: center; justify-content: center; }

.preview-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

.preview-input .preview-label { color: var(--primary); }

.preview-output .preview-label { color: var(--secondary); }

.code-block { font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 1.8; color: var(--light); }

.code-line { display: block; padding: 2px 0; }

.code-comment { color: #7c7c7c; }

.code-keyword { color: #c678dd; }

.code-string { color: #98c379; }

.code-function { color: #61afef; }

.output-mockup { width: 100%; max-width: 400px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 16px; padding: 40px; color: white; text-align: center; }

.output-mockup h3 { font-size: 28px; margin-bottom: 12px; }

.output-mockup p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }

.output-mockup .btn { background: white; color: #667eea; }

/* Features Section */
#features { padding: 120px 0; background: var(--white); }

.section-header.dark h2, .section-header.dark .section-badge { color: var(--dark); }

.section-header.dark .section-badge { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.2); }

.section-header.dark .section-subtitle { color: var(--gray); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 64px; }

.feature-card { background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); border: 2px solid var(--light); border-radius: 20px; padding: 40px; transition: all 0.4s ease; position: relative; overflow: hidden; }

.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: var(--gradient-primary); opacity: 0; transition: opacity 0.4s ease; z-index: 0; }

.feature-card:hover::before { opacity: 0.05; }

.feature-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15); }

.feature-card > * { position: relative; z-index: 1; }

.feature-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 24px; transition: transform 0.4s ease; }

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }

.feature-icon.icon-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

.feature-icon.icon-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }

.feature-icon.icon-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.feature-icon.icon-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.feature-icon.icon-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.feature-icon.icon-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }

.feature-card p { color: var(--gray); line-height: 1.7; font-size: 16px; }

/* How It Works */
#how-it-works { padding: 120px 0; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }

.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 64px; position: relative; }

.step { text-align: center; position: relative; }

.step-number { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-primary); color: white; font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); position: relative; z-index: 2; }

.step h3 { margin-bottom: 12px; }

.step p { color: var(--gray); font-size: 16px; line-height: 1.7; }

/* Pricing */
#pricing { padding: 120px 0; background: var(--dark); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 64px; max-width: 1100px; margin-left: auto; margin-right: auto; }

.pricing-card { background: var(--dark-card); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 48px; position: relative; transition: all 0.4s ease; }

.pricing-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3); }

.pricing-card.featured { border-color: var(--primary); background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%); transform: scale(1.05); }

.pricing-badge { position: absolute; top: 24px; right: 24px; background: var(--gradient-primary); color: white; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.pricing-card h3 { color: var(--white); font-size: 28px; margin-bottom: 8px; }

.pricing-description { color: var(--gray); font-size: 15px; margin-bottom: 24px; }

.pricing-price { margin-bottom: 32px; }

.price-amount { font-size: 56px; font-weight: 800; color: var(--white); line-height: 1; }

.price-currency { font-size: 32px; vertical-align: super; }

.price-period { color: var(--gray); font-size: 18px; font-weight: 500; }

.pricing-features { list-style: none; margin-bottom: 32px; }

.pricing-features li { color: var(--light); padding: 12px 0; display: flex; align-items: center; gap: 12px; font-size: 15px; }

.pricing-features li::before { content: '✓'; color: #4ade80; font-weight: 700; font-size: 18px; }

.pricing-card .btn { width: 100%; justify-content: center; }

/* CTA Section */
#cta { padding: 120px 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); position: relative; overflow: hidden; }

#cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 50px 50px; opacity: 0.5; }

.cta-content { text-align: center; max-width: 800px; margin: 0 auto; position: relative; z-index: 10; }

.cta-content h2 { color: var(--white); margin-bottom: 24px; }

.cta-content p { font-size: 20px; color: rgba(255, 255, 255, 0.9); margin-bottom: 40px; line-height: 1.7; }

.cta-content .btn-primary { background: white; color: #667eea; }

.cta-content .btn-primary:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }

/* Footer */
footer { background: var(--dark); color: var(--light); padding: 80px 0 32px; }

.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-brand { max-width: 350px; }

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }

.footer-brand p { color: var(--gray); line-height: 1.7; margin-bottom: 24px; }

.social-links { display: flex; gap: 12px; }

.social-link { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; color: var(--light); text-decoration: none; transition: all 0.3s ease; font-size: 18px; }

.social-link:hover { background: var(--primary); color: white; transform: translateY(-3px); }

.footer-column h4 { color: var(--white); font-size: 16px; font-weight: 600; margin-bottom: 20px; }

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a { color: var(--gray); text-decoration: none; font-size: 15px; transition: color 0.3s ease; }

.footer-links a:hover { color: var(--primary); }

.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; color: var(--gray); font-size: 14px; }

/* Responsive */
@media (max-width: 768px) { .mobile-menu-btn { display: block; } .nav-links, .nav-cta { display: none; } h1 { font-size: 36px; } h2 { font-size: 32px; } .hero-cta { flex-direction: column; } .btn-large { width: 100%; justify-content: center; } .preview-content { grid-template-columns: 1fr; } .preview-input, .preview-output { min-height: 300px; } .features-grid, .steps-container, .pricing-grid { grid-template-columns: 1fr; } .pricing-card.featured { transform: scale(1); } .footer-content { grid-template-columns: 1fr; gap: 40px; } .footer-brand { max-width: 100%; } .modal { padding: 32px 24px; } .modal-actions { flex-direction: column; } }

@media (max-width: 480px) { .hero-stats { gap: 32px; } .stat-value { font-size: 28px; } .pricing-card { padding: 32px 24px; } .price-amount { font-size: 42px; } }

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) { #hero { min-height: -webkit-fill-available; } }
.pure-menu-horizontal {width: fit-content;}


.aaa {
    background-color: white;
    padding: 15px;
    margin-bottom: 20px;
  input {
      padding: 0px;
      border: none;
  }  
}

*:focus {
    outline: none;
}





  .plan{
    appearance:none;
    border:1px solid var(--stroke);
    background: var(--btn-bg);
    color:inherit;
    border-radius: var(--radius);
    padding:0;
    text-align:left;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    cursor:pointer;
    transition: transform .08s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
    box-shadow: 0 2px 0 rgba(0,0,0,.05) inset;
    width:100%;
    color:#000;
  }
  .plan:hover{ background: var(--btn-hover); border-color: color-mix(in oklab, var(--stroke), white 14%); }
  .plan:active{ background: var(--btn-active); transform: translateY(1px); }
  .plan:focus-visible{
    outline: 3px solid color-mix(in oklab, var(--brand), white 18%);
    outline-offset: 2px;
  }

  .plan__info{ display:flex; flex-direction:column; gap:6px; }
  .plan__name{
    font-weight:700;
    font-size:1.05rem;
    letter-spacing:.2px;
  }
  .plan__meta{    
    font-size:.95rem;
  }
  .plan__price{
    font-weight:800;
    font-size:1.05rem;
    white-space:nowrap;
    padding:8px 12px;
    border-radius: 999px;
    border:1px solid #cacaca;
    background: linear-gradient(180deg, color-mix(in oklab, var(--panel), white 6%), var(--panel));
  }


.badgeB {
    font-size: .75rem;
    font-weight: 700;
    color: var(--brand);
    background: 
 color-mix(in oklab, #0b00ff, transparent 85%);
    border: 1px solid
 color-mix(in oklab, #0b00ff, transparent 50%);
    padding: 4px 8px;
    border-radius: 999px;
    margin-left: auto;
}






