/* === Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #0a0e1a; color: #e2e8f0; line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
a { color: inherit; text-decoration: none; }

/* === Gradient Text === */
.gradient-text {
    background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; border-radius: 12px; border: none; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; box-shadow: 0 4px 20px rgba(99,102,241,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(99,102,241,0.5); }
.btn-outline { background: transparent; color: #a5b4fc; border: 2px solid rgba(165,180,252,0.3); }
.btn-outline:hover { background: rgba(165,180,252,0.1); border-color: #a5b4fc; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }

/* === Navbar === */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 0; background: rgba(10,14,26,0.8); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.25rem; font-weight: 800; color: white; display: flex; align-items: center; gap: 0.5rem; }
.nav-logo i { color: #818cf8; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: #94a3b8; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: white; }

/* === Hero === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 4rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.15) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(139,92,246,0.1) 0%, transparent 50%); }
.hero-content { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.badge-new { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3); border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: #a5b4fc; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.1; color: white; margin-bottom: 1.5rem; }
.hero-description { font-size: 1.15rem; color: #94a3b8; max-width: 480px; margin-bottom: 2rem; line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat span { display: block; font-size: 1.5rem; font-weight: 800; color: white; }
.hero-stats .stat { font-size: 0.85rem; color: #64748b; }
.hero-image { position: relative; }
.app-screenshot { background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.1)); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.app-screenshot img { width: 100%; border-radius: 12px; display: block; }

/* === Section Headers === */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge { display: inline-block; padding: 0.3rem 1rem; background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.2); border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: #a5b4fc; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: white; }
.section-subtitle { color: #94a3b8; font-size: 1.1rem; margin-top: 0.75rem; }

/* === Features === */
.features { padding: 6rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 2rem; transition: all 0.3s; }
.feature-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(99,102,241,0.3); transform: translateY(-4px); }
.feature-icon { width: 48px; height: 48px; background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.2)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.25rem; color: #a5b4fc; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9rem; color: #94a3b8; line-height: 1.6; }

/* === How === */
.how-section { padding: 6rem 0; background: linear-gradient(180deg, transparent, rgba(99,102,241,0.03), transparent); }
.steps { display: flex; align-items: center; justify-content: center; gap: 0; max-width: 900px; margin: 0 auto; }
.step { display: flex; align-items: center; gap: 1.5rem; flex: 1; }
.step-number { width: 56px; height: 56px; min-width: 56px; background: linear-gradient(135deg, #6366f1, #8b5cf6); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: white; }
.step-content h3 { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.25rem; }
.step-content p { font-size: 0.85rem; color: #94a3b8; }
.step-line { width: 60px; height: 2px; background: linear-gradient(90deg, #6366f1, #8b5cf6); margin: 0 0.5rem; flex-shrink: 0; }

/* === Console Section === */
.console-section { padding: 6rem 0; background: linear-gradient(180deg, transparent, rgba(99,102,241,0.05), transparent); }
.console-content { max-width: 900px; margin: 0 auto; }
.console-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.console-step-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    min-width: 140px;
    flex: 1;
    transition: all 0.3s;
}
.console-step-card.highlight {
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.3);
}
.console-step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99,102,241,0.4);
}
.console-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.25rem;
    color: #a5b4fc;
}
.console-step-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}
.console-step-card p {
    font-size: 0.8rem;
    color: #94a3b8;
}
.console-arrow {
    color: #6366f1;
    font-size: 1.25rem;
    flex-shrink: 0;
    padding: 0 0.25rem;
}
.console-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.console-detail-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s;
}
.console-detail-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(99,102,241,0.3);
}
.console-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.console-detail-card:first-child .console-detail-icon {
    background: rgba(0,112,209,0.15);
    color: #2196f3;
}
.console-detail-card:last-child .console-detail-icon {
    background: rgba(16,124,16,0.15);
    color: #4caf50;
}
.console-detail-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}
.console-detail-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* === Pricing === */
.pricing { padding: 6rem 0; }
.pricing-card { max-width: 450px; margin: 0 auto; background: rgba(255,255,255,0.03); border: 1px solid rgba(99,102,241,0.2); border-radius: 20px; padding: 2.5rem; position: relative; overflow: hidden; }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa); }
.pricing-header { text-align: center; margin-bottom: 2rem; }
.pricing-badge { display: inline-block; padding: 0.25rem 0.75rem; background: linear-gradient(135deg, #6366f1, #8b5cf6); border-radius: 50px; font-size: 0.75rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; }
.pricing-header h3 { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.pricing-amount { display: flex; align-items: baseline; justify-content: center; gap: 0.25rem; }
.price { font-size: 3.5rem; font-weight: 900; color: white; }
.period { font-size: 1.1rem; color: #64748b; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; color: #cbd5e1; font-size: 0.95rem; }
.pricing-features li i { color: #818cf8; font-size: 0.9rem; }
.pricing-cta { text-align: center; }
.email-input { width: 100%; padding: 0.875rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: white; font-size: 1rem; font-family: inherit; margin-bottom: 1rem; outline: none; transition: border-color 0.2s; }
.email-input:focus { border-color: #6366f1; }
.email-input::placeholder { color: #64748b; }
#paypal-button-container { min-height: 50px; }
.pricing-note { font-size: 0.8rem; color: #64748b; margin-top: 1rem; }
.pricing-note i { margin-right: 0.25rem; }

/* === Modal === */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); }
.modal-content { position: relative; background: #1e1b4b; border: 1px solid rgba(99,102,241,0.3); border-radius: 20px; padding: 3rem; max-width: 480px; width: 90%; text-align: center; }
.modal-icon { font-size: 3rem; color: #34d399; margin-bottom: 1rem; }
.modal-content h2 { font-size: 1.75rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.modal-content p { color: #94a3b8; margin-bottom: 1rem; }
.modal-sub { font-size: 0.85rem; color: #64748b; margin-bottom: 1.5rem; }
.license-display { display: flex; align-items: center; justify-content: center; gap: 0.75rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(99,102,241,0.3); border-radius: 12px; padding: 1rem 1.5rem; margin-bottom: 1rem; }
.license-display code { font-size: 1.3rem; font-weight: 700; color: #a5b4fc; letter-spacing: 2px; }
.btn-copy-license { background: rgba(99,102,241,0.2); border: none; color: #a5b4fc; padding: 0.5rem; border-radius: 8px; cursor: pointer; font-size: 1rem; transition: all 0.2s; }
.btn-copy-license:hover { background: rgba(99,102,241,0.4); }
.download-btn { width: 100%; justify-content: center; }

/* === FAQ === */
.faq { padding: 6rem 0; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; background: none; border: none; color: white; font-size: 1rem; font-weight: 600; cursor: pointer; font-family: inherit; text-align: left; }
.faq-question i { color: #64748b; transition: transform 0.3s; font-size: 0.85rem; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: #818cf8; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding-bottom: 1.25rem; color: #94a3b8; font-size: 0.95rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 200px; }

/* === Footer === */
.footer { padding: 3rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-brand p { font-size: 0.9rem; color: #64748b; }
.footer-brand a { color: #818cf8; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: #64748b; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-copy { font-size: 0.8rem; color: #475569; }

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero h1 { font-size: 2.25rem; }
    .hero-description { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; gap: 1.5rem; }
    .step-line { width: 2px; height: 30px; }
    .section-header h2 { font-size: 1.75rem; }
    .console-diagram { flex-direction: column; gap: 0.75rem; }
    .console-arrow { transform: rotate(90deg); }
    .console-details { grid-template-columns: 1fr; }
    .console-detail-card { flex-direction: column; align-items: center; text-align: center; }
}

/* === Support Page === */
.support-page { min-height: 80vh; padding-bottom: 3rem; }
.support-tabs { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.support-tab { padding: 0.75rem 1.75rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; color: #94a3b8; font-size: 0.95rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.support-tab:hover { background: rgba(255,255,255,0.06); color: white; }
.support-tab.active { background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.4); color: #a5b4fc; }

.support-panel { max-width: 750px; margin: 0 auto; }

/* Forms */
.form-row { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.form-group { flex: 1; min-width: 200px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #a5b4fc; margin-bottom: 0.4rem; }
.form-input, .form-textarea { width: 100%; padding: 0.75rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: white; font-size: 0.95rem; font-family: inherit; outline: none; transition: border-color 0.2s; }
.form-input:focus, .form-textarea:focus { border-color: #6366f1; }
.form-input::placeholder, .form-textarea::placeholder { color: #475569; }
.form-textarea { resize: vertical; min-height: 80px; }
select.form-input { cursor: pointer; }
select.form-input option { background: #1a1d2e; color: white; }

/* Ticket Details */
.ticket-header-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 1.5rem; margin-top: 1.5rem; }
.ticket-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem; }
.ticket-id-display { font-size: 0.85rem; font-weight: 700; color: #a5b4fc; background: rgba(99,102,241,0.15); padding: 0.25rem 0.75rem; border-radius: 6px; margin-right: 0.5rem; font-family: monospace; }
.ticket-status { font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; }
.status-open { background: rgba(234,179,8,0.15); color: #fbbf24; border: 1px solid rgba(234,179,8,0.3); }
.status-answered { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.status-closed { background: rgba(107,114,128,0.15); color: #9ca3af; border: 1px solid rgba(107,114,128,0.3); }
.ticket-date { font-size: 0.8rem; color: #64748b; }
.ticket-header-card h3 { font-size: 1.15rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.ticket-message { font-size: 0.9rem; color: #94a3b8; line-height: 1.7; white-space: pre-wrap; }

/* Replies */
.ticket-replies { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.reply-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1rem 1.25rem; }
.reply-staff { border-left: 3px solid #818cf8; background: rgba(99,102,241,0.05); }
.reply-client { border-left: 3px solid #475569; }
.reply-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.reply-author { font-size: 0.8rem; font-weight: 700; color: #a5b4fc; display: flex; align-items: center; gap: 0.4rem; }
.reply-client .reply-author { color: #94a3b8; }
.reply-date { font-size: 0.75rem; color: #475569; }
.reply-card p { font-size: 0.9rem; color: #cbd5e1; line-height: 1.6; white-space: pre-wrap; }

/* Reply Form */
.reply-form { margin-top: 1.25rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1.25rem; }
.reply-form h4 { font-size: 0.95rem; color: white; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }

/* Create Success */
.ticket-success { text-align: center; padding: 2rem 0; }
.ticket-success .success-icon { font-size: 3rem; color: #34d399; margin-bottom: 1rem; }
.ticket-success h3 { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.ticket-success p { color: #94a3b8; margin-bottom: 0.5rem; }
.ticket-success .text-muted { font-size: 0.85rem; color: #64748b; }
.ticket-id-big { font-size: 1.5rem; font-weight: 800; color: #a5b4fc; background: rgba(99,102,241,0.15); padding: 0.75rem 1.5rem; border-radius: 12px; display: inline-block; margin: 0.75rem 0; font-family: monospace; letter-spacing: 2px; border: 1px solid rgba(99,102,241,0.3); }

/* Support Section (on main page) */
.support-section { padding: 5rem 0; background: linear-gradient(180deg, transparent, rgba(99,102,241,0.03), transparent); }
.support-cta-card { max-width: 650px; margin: 0 auto; background: rgba(255,255,255,0.03); border: 1px solid rgba(99,102,241,0.2); border-radius: 20px; padding: 2.5rem; text-align: center; position: relative; overflow: hidden; }
.support-cta-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa); }
.support-cta-card h3 { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 0.75rem; }
.support-cta-card p { color: #94a3b8; margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.6; }
.support-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
