
:root {
    --primary: #8b5cf6; /* Violet */
    --secondary: #ec4899; /* Pink */
    --accent: #f59e0b; /* Amber */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 20px 25px -5px rgba(139, 92, 246, 0.3);
    --radius: 24px;
    --font-head: 'Fredoka', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-soft);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}

.blob-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden { display: none !important; }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
}

.logo h1 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo h1 span {
    color: var(--primary);
}

.live-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    padding: 6px 16px;
    border-radius: 100px;
}

.pulse-ring {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 0 40px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #ede9fe;
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Action Section */
.action-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    margin-bottom: 80px;
}

.verify-section {
    margin-bottom: 32px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    max-width: 450px;
    margin: 0 auto;
}

.custom-checkbox input { display: none; }

.box-visual {
    min-width: 28px;
    height: 28px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    position: relative;
    transition: 0.2s;
}

.custom-checkbox input:checked + .box-visual {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox input:checked + .box-visual::after {
    content: "✓";
    position: absolute;
    color: white;
    font-weight: 900;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.check-text strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.check-text p { font-size: 0.85rem; color: var(--text-muted); }

.error-msg {
    display: none;
    color: var(--red);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 16px;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } }

.verify-section.shake { animation: shake 0.4s; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 20px 48px;
    border-radius: 100px;
    font-size: 1.2rem;
    font-family: var(--font-head);
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 25px 35px -5px rgba(139, 92, 246, 0.4);
}

.btn-primary-glow:active { transform: translateY(0); }

/* Common Content Blocks */
.text-center-max {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0;
}

.large-p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-title {
    font-family: var(--font-head);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 48px;
}

.sub-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 100px;
}

.feature-item {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

.feature-item:hover { transform: translateY(-10px); }

.f-bubble {
    width: 60px;
    height: 60px;
    background: #f5f3ff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.feature-item h3 { font-family: var(--font-head); margin-bottom: 12px; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Safety Module */
.safety-module {
    margin-bottom: 100px;
}

.split-card {
    background: var(--bg-white);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    border-left: 8px solid var(--primary);
}

.sc-badge {
    background: var(--primary);
    color: white;
    font-family: var(--font-head);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Comparison Table */
.glass-table-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 100px;
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.modern-table th {
    text-align: left;
    padding: 20px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--text-muted);
}

.modern-table td {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
    font-weight: 500;
}

.active-col {
    color: var(--primary);
    background: #f5f3ff;
}

/* Culture & Grid Blocks */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
}

.icon-header {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Tips Section */
.tips-box {
    background: #fff;
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 100px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.tip-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.1rem;
}

.tip-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About SEO */
.seo-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 60px;
    border-radius: var(--radius);
    margin-bottom: 100px;
}

.seo-card h2 { font-family: var(--font-head); margin-bottom: 24px; font-size: 2rem; }
.seo-card p { opacity: 0.8; margin-bottom: 20px; font-size: 1.1rem; line-height: 1.7; }

/* FAQ Accordion */
.faq-section { margin-bottom: 120px; }

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-head);
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
}

.accordion-header:hover { background: #fafafa; }

.chevron {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    transition: 0.3s;
}

.accordion-item.active .chevron { transform: rotate(-135deg); }

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.accordion-item.active .accordion-body { max-height: 500px; }

.accordion-body p {
    padding: 0 32px 32px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-brand h2 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 8px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary); }

.copyright { text-align: center; font-size: 0.85rem; color: #94a3b8; }

/* Chat View */
#chat-screen { background: #000; height: 100vh; width: 100%; position: fixed; top: 0; left: 0; }

.chat-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    z-index: 100;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.session-info { color: white; display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 1px; font-size: 0.8rem; }
.live-dot { width: 10px; height: 10px; background: #ef4444; border-radius: 50%; }

.btn-stop {
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.btn-stop:hover { background: #ef4444; }

#iframe-container { width: 100%; height: 100%; }
iframe { width: 100%; height: 100%; border: none; }

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .action-card { padding: 32px 20px; }
    .footer-content { flex-direction: column; text-align: center; }
    .seo-card, .tips-box, .split-card { padding: 40px 20px; }
    .split-card { flex-direction: column; text-align: center; gap: 20px; }
    .grid-2-col { grid-template-columns: 1fr; }
}
