:root {
    /* OpenAI / Modern Tech Palette */
    --bg-main: #000000;
    --bg-secondary: #0F0F0F;
    --bg-card: #181818;
    
    --accent: #10A37F; /* OpenAI Green */
    --accent-hover: #0D8C6C;
    --accent-light: rgba(16, 163, 127, 0.15);
    
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    
    --border: #2A2A2A;
    
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo__icon {
    color: var(--text-main);
    font-size: 24px;
}

.logo__text {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
}
.logo__text span { color: var(--accent); }

.nav__links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav__links a:not(.btn-nav) {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
.nav__links a:hover { color: #fff; }

.btn-nav {
    background: var(--text-main);
    color: #000;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}
.btn-nav:hover { background: #ddd; }

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 50% 30%, #1a2c27 0%, #000000 60%);
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--accent);
    border: 1px solid rgba(16, 163, 127, 0.3);
}

.dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); }

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__desc {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.6;
}

/* Promo Widget */
.promo-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    max-width: 400px;
    font-family: var(--font-mono);
}

.promo-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.code-container {
    background: #000;
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    transition: 0.2s;
}
.code-container:hover { border-color: var(--accent); }

#promoText { color: var(--accent); font-weight: 700; font-size: 18px; }
.copy-indicator { font-size: 10px; background: #222; padding: 2px 6px; border-radius: 4px; color: #888; }

.promo-val { font-size: 12px; color: #666; text-align: right; }

/* Buttons */
.hero__actions { display: flex; gap: 15px; }

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--outline {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
}
.btn--outline:hover { border-color: #fff; }

/* Visual */
.hero__visual {
    position: relative;
    z-index: 1;
}

.chat-interface {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.chat-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.model-select {
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.chat-body {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.message {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 90%;
    line-height: 1.5;
}
.message.user { background: #2A2A2A; align-self: flex-end; color: #fff; }
.message.ai { background: transparent; align-self: flex-start; color: #ddd; padding-left: 0; }

.typing-indicator span {
    display: inline-block; width: 6px; height: 6px; background: #555; border-radius: 50%;
    margin-right: 4px; animation: type 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes type { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

.chat-input {
    background: #2A2A2A;
    border-radius: 24px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 14px;
}
.send-btn {
    width: 30px; height: 30px; background: #444; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
}

.float-card {
    position: absolute;
    background: rgba(24,24,24,0.95);
    backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--accent);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    animation: float 6s infinite ease-in-out;
    z-index: 10;
}
.float-card i { color: var(--accent); font-size: 16px; }
.f-1 { top: -15px; right: -10px; animation-delay: 0s; } 
.f-2 { bottom: 20px; left: -20px; animation-delay: 1s; }
.f-3 { bottom: -25px; right: 10px; animation-delay: 2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 80px 0; border-top: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 60px; max-width: 600px; margin: 0 auto 60px; }
.section-head h2 { font-size: 36px; margin-bottom: 15px; letter-spacing: -0.5px; }
.section-head p { color: var(--text-muted); font-size: 18px; }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
.feature-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: 0.2s;
}
.feature-card:hover { border-color: var(--accent); background: var(--bg-card); }
.feature-card .icon-box {
    width: 48px; height: 48px; background: var(--accent-light); color: var(--accent);
    border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 600; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Process */
.process-box {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
}
.steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.step-num {
    font-family: var(--font-mono); color: var(--accent); font-size: 14px; font-weight: 700; display: block; margin-bottom: 15px;
}
.step h4 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* Pricing */
.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(to bottom, #1a2c27, #181818);
}

.card-header { margin-bottom: 20px; }
.card-header h3 { font-size: 20px; margin-bottom: 10px; }
.badge { font-size: 12px; padding: 4px 10px; border-radius: 4px; background: #333; font-weight: 600; }
.badge.premium { background: var(--accent); color: #fff; }

.popular-badge {
    background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; text-align: center;
    padding: 6px; margin: -40px -40px 20px -40px; border-radius: 16px 16px 0 0;
}

.price { font-size: 42px; font-weight: 700; margin-bottom: 30px; letter-spacing: -1px; }
.price .period { font-size: 16px; color: var(--text-muted); font-weight: 500; }

.features-list { flex: 1; margin-bottom: 30px; }
.features-list li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 15px; color: #ddd; }
.features-list i { color: var(--accent); }

.full-width { width: 100%; }

/* FAQ */
.faq-section { padding: 80px 0; border-top: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.faq-item h4 { font-size: 18px; margin-bottom: 10px; }
.faq-item p { color: var(--text-muted); font-size: 15px; }

/* Footer */
.footer { padding: 60px 0; border-top: 1px solid var(--border); }
.footer__content { display: flex; justify-content: space-between; align-items: center; }
.footer-brand span { font-weight: 700; font-size: 18px; }
.footer-brand p { color: #666; font-size: 13px; margin-top: 5px; }

/* Toast */
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 8px;
    font-weight: 600; display: flex; gap: 10px; align-items: center; opacity: 0; transition: 0.3s; z-index: 200;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (max-width: 992px) {
    .hero__content { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .hero__text { margin: 0 auto; }
    .hero h1 { font-size: 42px; }
    .hero__actions { justify-content: center; }
    .promo-widget { margin: 0 auto 40px; }
    
    .hero__visual { max-width: 500px; margin: 0 auto; } 
    
    .steps { grid-template-columns: 1fr; gap: 30px; }
    .step { display: flex; align-items: flex-start; gap: 20px; text-align: left; padding: 20px; background: rgba(255,255,255,0.03); border-radius: 12px; }
    .step-num { margin-bottom: 0; font-size: 24px; opacity: 0.5; }
    
    .pricing-wrapper { flex-direction: column; align-items: center; }
    .pricing-card { width: 100%; max-width: 500px; }
    .nav__links { display: none; }
}

@media (max-width: 768px) {
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .hero h1 { font-size: 36px; }
    
    .chat-interface { padding: 15px; }
    .message { font-size: 13px; padding: 10px 12px; }
    .chat-input { font-size: 12px; padding: 8px 12px; }
    
    .f-1 { right: 0; top: -25px; }
    .f-2 { left: 0; bottom: 10px; }
    .f-3 { right: 0; bottom: -35px; }
    
    .section { padding: 60px 0; }
    .section-head h2 { font-size: 28px; }
    
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { display: flex; align-items: center; gap: 20px; padding: 20px; text-align: left; }
    .feature-card .icon-box { margin-bottom: 0; flex-shrink: 0; }
    
    .process-box { padding: 30px 20px; }
    .faq-grid { grid-template-columns: 1fr; gap: 20px; }
}