@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #0b0d0e;
    --surface-color: #131619;
    --surface-border: #21262d;
    --text-primary: #f0f3f6;
    --text-secondary: #8b949e;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.45);
    --accent-glow-weak: rgba(59, 130, 246, 0.15);
    --success-color: #10b981;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background grid effect */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--surface-border) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
}

/* Ambient glow */
body::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow-weak) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 13, 14, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-color), #60a5fa);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--accent-glow);
}

.logo-icon svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    box-shadow: inset 0 -2px var(--accent-color);
}

/* Page wrapper */
main {
    max-width: 1100px;
    margin: 6rem auto 4rem;
    padding: 0 2rem;
}

/* Section Switcher Container */
.page-section {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-section.active {
    display: block;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 3rem 0;
}

.hero-content {
    flex: 1.2;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-glow-weak);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #60a5fa, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.6);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Phone Mockup Canvas */
.phone-frame {
    width: 280px;
    height: 560px;
    border: 10px solid #21262d;
    background-color: #0b0d0e;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(59, 130, 246, 0.15);
}

.phone-screen {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at top, #161a1e, #0b0d0e);
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.phone-qr-box {
    margin: auto;
    width: 180px;
    height: 180px;
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.phone-qr-box svg {
    width: 130px;
    height: 130px;
    fill: #ffffff;
}

.phone-scan-laser {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 150px;
    height: 2px;
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    animation: scanLaser 3s infinite ease-in-out;
}

@keyframes scanLaser {
    0%, 100% { top: 15px; }
    50% { top: 163px; }
}

.phone-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-input-bar {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    height: 36px;
    width: 100%;
    opacity: 0.8;
}

.phone-btn {
    background-color: var(--accent-color);
    border-radius: 8px;
    height: 36px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Feature Grid section inside Hero tab */
.features-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--surface-border);
}

.section-label {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Legal Documents and Text Styles */
.legal-wrapper {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.legal-header {
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.legal-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Support Form Section */
.support-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.support-info h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.support-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.support-contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--surface-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
}

.contact-text a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.contact-text a:hover {
    color: var(--accent-color);
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Form Styles */
.support-form-card {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2.5rem;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input, .form-textarea {
    width: 100%;
    background-color: var(--bg-color);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow-weak);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
    padding: 0.8rem;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* FAQs */
.faqs-section {
    margin-top: 4rem;
    border-top: 1px solid var(--surface-border);
    padding-top: 3rem;
}

.faqs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-card {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 1.75rem;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 3rem 0;
    margin-top: 5rem;
    background-color: var(--bg-color);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

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

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .support-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    main {
        margin-top: 8rem;
        padding: 0 1rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-wrapper {
        padding: 1.5rem;
    }
}
