:root {
    --bg-color: #0f172a;
    --bg-darker: #0a0f1a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #06b6d4;
    --primary-hover: #0891b2;
    --secondary-color: #f59e0b;
    --secondary-hover: #d97706;
    --card-bg: #1e293b;
    --border-color: #334155;
    --error-color: #ef4444;
    --success-color: #22c55e;
    
    --font-heading: 'JetBrains Mono', monospace;
    --font-body: 'Source Sans 3', sans-serif;
    
    --container-width: 1200px;
    --spacing-unit: 1rem;
    --radius: 8px;
    --radius-lg: 12px;
    
    /* HSL variables for legal pages compatibility */
    --background: 222 47% 11%;
    --foreground: 210 40% 98%;
    --card: 217 33% 17%;
    --muted-foreground: 215 20% 65%;
    --primary: 187 86% 43%;
    --border: 217 19% 27%;
    --radius-md: 0.375rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.narrow {
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0284c7 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #0369a1 100%);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--secondary-hover) 0%, #c2410c 100%);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary-hover);
}

.full-width {
    width: 100%;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.logo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    text-decoration: none;
}

.logo-text:hover {
    text-decoration: underline;
}

.logo-tagline {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    text-decoration: none;
}

.logo-tagline:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at top, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
}

.hero-text-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-rotator {
    position: relative;
    min-height: 140px;
    margin-bottom: 1.5rem;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    position: relative;
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 1rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    padding: 0 1rem;
}

/* Hero Indicators */
.hero-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.indicator:hover {
    background: var(--text-muted);
}

.indicator.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 1rem 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-color);
}

.section-tip .tip-icon {
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* QR Code Page Styles */
.qr-page-section {
    padding-top: 3rem;
    min-height: calc(100vh - 200px);
}

.qr-page-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.qr-page-image {
    background: white;
    padding: 12px;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.qr-page-info {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.qr-page-info h2 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qr-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qr-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.qr-benefits-list li:last-child {
    margin-bottom: 0;
}

.qr-benefits-list li svg {
    color: var(--success-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.qr-benefits-list li strong {
    color: var(--text-color);
}

.qr-page-instructions {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
}

.qr-page-instructions h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qr-page-instructions ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 0 0 1rem;
    color: var(--text-muted);
}

.qr-page-instructions ol li {
    margin-bottom: 0.5rem;
}

.qr-page-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

@media (max-width: 600px) {
    .qr-page-card {
        padding: 1.5rem;
    }
    
    .qr-page-instructions {
        padding: 1.25rem;
    }
}

/* Problem Section */
.problem-section {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.problem-card h3 {
    color: var(--error-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.problem-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Solution Steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(90deg, var(--card-bg) 0%, transparent 100%);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--primary-color);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.4;
    line-height: 1;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Features */
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

code {
    background: rgba(6, 182, 212, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.85em;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Pricing */
.pricing-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pricing-card.featured {
    border-color: var(--secondary-color);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1rem 0;
    font-family: var(--font-heading);
    color: var(--text-color);
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.savings {
    color: var(--success-color);
    font-weight: 600;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-muted);
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Professional Consultation */
.consultation-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.consultation-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.consultation-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
}

.consultation-info {
    padding: 2rem 2.5rem;
}

.consultation-info h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.consultation-info > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.consultation-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(6, 182, 212, 0.08);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary-color);
}

.consultation-features li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.consultation-features li:last-child {
    margin-bottom: 0;
}

.consultation-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.consultation-fine-print {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    display: inline-block;
}

.consultation-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 2.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid var(--border-color);
    text-align: center;
    min-width: 180px;
}

.consultation-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.consultation-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.consultation-period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.consultation-requirement {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin: 0;
}

@media (max-width: 640px) {
    .consultation-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-pricing {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 1.5rem;
    }
    
    .consultation-info {
        padding: 1.5rem;
    }
    
    .consultation-features {
        padding: 0.75rem 1rem;
    }
}

/* Contact Page */
.contact-page-section {
    padding-top: 3rem;
    min-height: calc(100vh - 200px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.contact-info {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.tip-icon {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-email {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

/* Support Form */
.support-section {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, var(--bg-darker) 100%);
}

.support-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.turnstile-container {
    display: flex;
    justify-content: center;
}

.form-status {
    margin-bottom: 1rem;
    min-height: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    color: var(--success-color);
}

.form-status.error {
    color: var(--error-color);
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-loading[hidden] {
    display: none;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    background: var(--bg-darker);
}

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

.footer-branding p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    transition: color 0.2s ease;
}

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

.copyright {
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-rotator {
        min-height: 160px;
    }
    
    .hero-cta {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .step {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem 1.5rem;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .pricing-grid {
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-rotator {
        min-height: 180px;
    }
    
    .card, .pricing-card {
        padding: 1.5rem;
    }
    
    .support-form {
        padding: 1.5rem;
    }
}

/* Animations for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text-container {
    animation: fadeInUp 0.6s ease-out;
}

.section-title {
    animation: fadeInUp 0.4s ease-out;
}

/* Utility classes for legal pages */
.bg-background {
    background-color: hsl(var(--background));
}

.min-h-screen {
    min-height: 100vh;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Product Name Highlight - visually distinguishes "Is This A Scam?" as a brand name */
.product-name {
    background-color: #1e40af;
    color: #dbeafe;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}
