/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #10b981;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.btn-primary {
    color: white;
    white-space: nowrap;
}

.nav-links a.btn-primary:hover {
    color: white;
}

/* Cebuano nav text is longer — shrink to stay single-line */
html[lang="ceb"] .nav-links a {
    font-size: 0.8rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 22px;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--secondary);
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 0 32px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-anim-svg {
    width: 100%;
    max-width: 550px;
    height: auto;
}

/* Explainer Strip */
.explainer-strip {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid var(--border);
}

.explainer-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.explainer-panel {
    text-align: center;
    flex: 0 1 240px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.explainer-panel:nth-child(1) { transition-delay: 0s; }
.explainer-panel:nth-child(3) { transition-delay: 0.3s; }
.explainer-panel:nth-child(5) { transition-delay: 0.6s; }

.explainer-strip.visible .explainer-panel {
    opacity: 1;
    transform: translateY(0);
}

.explainer-panel h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.explainer-panel p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.explainer-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.explainer-icon-ai { background: var(--primary); }
.explainer-icon-human { background: var(--accent); }
.explainer-icon-result { background: var(--warning); }

.explainer-arrow {
    color: var(--text-light);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    transition-delay: 0.15s;
}

.explainer-arrow:nth-child(4) {
    transition-delay: 0.45s;
}

.explainer-strip.visible .explainer-arrow {
    opacity: 1;
}

/* Sections */
section {
    padding: 100px 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--secondary);
}

.section-sub {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Comparison Section */
.comparison {
    background: var(--bg-alt);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 24px;
    align-items: start;
}

.comparison-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 2px solid var(--border);
}

.comparison-card.faded {
    opacity: 0.7;
}

.comparison-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
    transform: scale(1.02);
}

.card-header {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 24px;
}

.card-header.good {
    background: var(--primary);
    color: white;
}

.card-header.bad {
    background: var(--border);
    color: var(--text-light);
}

.comparison-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.comparison-card li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.comparison-card li:last-child {
    border-bottom: none;
}

.comparison-card li.check {
    color: var(--text);
    font-weight: 500;
}

.comparison-card li.check::before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
}

.verdict {
    font-weight: 600;
    text-align: center;
    padding-top: 16px;
    border-top: 2px solid var(--border);
    color: var(--text-light);
}

.featured .verdict {
    color: var(--primary);
    border-top-color: var(--primary);
}

/* How It Works */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.flow-column h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--secondary);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    margin-bottom: 4px;
    color: var(--secondary);
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.feature {
    text-align: center;
    padding: 32px;
    background: var(--bg-alt);
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    font-weight: 700;
}

.feature h4 {
    margin-bottom: 8px;
    color: var(--secondary);
}

.feature p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Integrations */
.integrations {
    text-align: center;
    margin-bottom: 48px;
    padding: 40px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
}

.integrations h3 {
    color: white;
    margin-bottom: 24px;
}

.integration-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s;
}

.integration-item:hover {
    transform: translateY(-4px);
}

.integration-logo {
    height: 40px;
    width: auto;
    filter: brightness(1.1);
}

.integration-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.integration-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.integration-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Task Categories */
.task-categories {
    text-align: center;
    margin-bottom: 40px;
}

.task-categories h3 {
    margin-bottom: 24px;
    color: var(--secondary);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag {
    background: var(--bg-alt);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text);
    border: 1px solid var(--border);
}

.cta-box {
    text-align: center;
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Use Cases Section */
.use-cases {
    background: var(--bg-alt);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.use-case {
    background: white;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.use-case:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.use-case-icon {
    font-size: 1.5rem;
}

.use-case-header h4 {
    margin: 0;
    color: var(--secondary);
    font-size: 1.1rem;
}

.use-case-flow {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 16px;
}

.ai-does, .human-does {
    flex: 1;
    padding: 16px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.ai-does {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
}

.human-does {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.ai-does strong, .human-does strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-does strong {
    color: #0369a1;
}

.human-does strong {
    color: #15803d;
}

.ai-does p, .human-does p {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
}

.flow-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 300;
}

.use-case-result {
    background: var(--bg-alt);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text);
}

.use-case-result strong {
    color: var(--primary);
}

/* Operators Showcase */
.operators-showcase {
    background: white;
}

.operators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.operator-card {
    background: var(--bg-alt);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.operator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.operator-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.operator-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.operator-card h4 {
    margin: 0 0 4px;
    color: var(--secondary);
    font-size: 1rem;
}

.operator-title {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.operator-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.operator-tags span {
    background: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--text);
    border: 1px solid var(--border);
}

.operator-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.operator-stats .stat {
    font-size: 0.8rem;
    color: var(--text-light);
}

.operator-stats .stat strong {
    color: var(--accent);
    display: block;
    font-size: 1.1rem;
}

.operator-bio {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0 0 12px;
}

.operator-rate {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: #eff6ff;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* Locked operators section */
.operators-locked {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    margin: 32px 0;
}

.locked-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.operators-locked h3 {
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.operators-locked p {
    color: var(--text-light);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.operators-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* For Operators */
.for-operators {
    background: var(--bg-alt);
}

.operator-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.benefit {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.benefit h4 {
    margin-bottom: 12px;
    color: var(--secondary);
}

.benefit p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.operator-note {
    background: var(--primary);
    color: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.operator-note p {
    margin-bottom: 8px;
}

.operator-note p:last-child {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.pricing-card .price-note {
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 0.95rem;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
}

.pricing-note-bottom {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Trust Section */
.trust {
    background: var(--bg-alt);
}

.trust-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.trust-item {
    background: white;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.trust-item h4 {
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 1.05rem;
}

.trust-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.trust-company {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 32px;
}

.trust-company h3 {
    color: var(--secondary);
    margin-bottom: 16px;
}

.trust-company p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.trust-company a {
    color: var(--primary);
    font-weight: 600;
}

.prohibited {
    background: var(--secondary);
    color: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.prohibited h4 {
    margin-bottom: 12px;
    color: var(--error);
}

.prohibited p {
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Final CTA */
.cta-final {
    background: var(--secondary);
    color: white;
    text-align: center;
}

.cta-final h2 {
    color: white;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #0a0f1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.powered-by {
    margin-top: 20px;
    font-size: 0.85rem;
}

.powered-by a {
    color: var(--primary);
    display: inline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    font-size: 0.85rem;
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.25s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.modal h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.modal > p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.modal-form .form-group {
    margin-bottom: 16px;
}

.modal-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.modal-form input,
.modal-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s;
}

.modal-form input:focus,
.modal-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-form input.invalid {
    border-color: var(--error);
}

.modal-submit {
    width: 100%;
    margin-top: 8px;
}

.modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.form-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.form-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Coming Soon links */
.coming-soon {
    opacity: 0.4 !important;
    cursor: default !important;
    position: relative;
}

.coming-soon:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

.coming-soon::after {
    content: "Coming soon";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.coming-soon:hover::after {
    opacity: 1;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-inner {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-lang-switcher {
    display: flex;
    gap: 8px;
}

.mobile-lang-switcher .lang-btn {
    flex: 1;
    padding: 10px;
    font-size: 0.85rem;
    text-align: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    padding: 14px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-ctas .btn {
    text-align: center;
    width: 100%;
}

/* Sticky Mobile CTA */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: transform 0.3s ease;
}

.sticky-cta.hidden {
    transform: translateY(100%);
}

.sticky-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 1rem;
}

/* Form hint */
.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .desktop-lang {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 68px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-sub {
        margin: 0 auto 32px;
    }

    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }

    .hero-animation {
        order: -1;
        margin-bottom: 20px;
    }

    .hero-anim-svg {
        max-width: 400px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .explainer-flow {
        flex-direction: column;
    }

    .explainer-arrow svg {
        transform: rotate(90deg);
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .comparison-card.featured {
        transform: none;
        order: -1;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .operator-benefits {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .trust-grid-large {
        grid-template-columns: 1fr 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .operators-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .trust-grid-large {
        grid-template-columns: 1fr;
    }

    .use-case-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
        justify-content: center;
    }

    .operators-grid {
        grid-template-columns: 1fr;
    }

    .operator-card {
        padding: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile form improvements */
    .modal {
        padding: 24px;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 85vh;
        animation: modalSlideUp 0.3s ease-out;
    }

    @keyframes modalSlideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .modal-overlay.active {
        align-items: flex-end;
    }

    .modal-form input,
    .modal-form select {
        padding: 14px;
        font-size: 16px;
    }

    .modal-submit {
        padding: 16px;
        font-size: 1rem;
    }

    /* Mobile tags larger touch targets */
    .tag {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .operator-tags span {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}
/* Auth Pages (Login/Signup) */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-alt);
}

.auth-nav {
    padding: 16px 24px;
    background: white;
    border-bottom: 1px solid var(--border);
}

.auth-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.auth-card h1 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.auth-card .auth-sub {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

/* Role tabs */
.role-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.role-tab {
    flex: 1;
    padding: 12px 20px;
    background: white;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    color: var(--text-light);
}

.role-tab:first-child {
    border-right: 2px solid var(--border);
}

.role-tab.active {
    background: var(--primary);
    color: white;
}

.role-tab:hover:not(.active) {
    background: var(--bg-alt);
}

/* Auth form */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 8px;
}

.auth-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: none;
}

.auth-error.visible {
    display: block;
}

/* Skills checkboxes */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.skill-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.skill-check:hover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.skill-check input {
    width: auto;
    margin: 0;
}

.skill-check.checked {
    border-color: var(--primary);
    background: #eff6ff;
}

/* Conditional fields */
.role-fields {
    display: none;
}

.role-fields.active {
    display: block;
}

/* Password strength */
.password-strength {
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    margin-top: 6px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
    width: 0;
}

@media (max-width: 600px) {
    .auth-card {
        padding: 24px;
    }

    .auth-card h1 {
        font-size: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .auth-form input,
    .auth-form select {
        padding: 14px;
        font-size: 16px;
    }
}
