:root {
    --bg-color: #121212;
    --text-primary: #f5f5f5;
    --text-secondary: #aaaaaa;
    --accent: #E8630A;
    --accent-hover: #ff751a;
    --card-bg: #1e1e1e;
    --surface-light: #2C2C2E;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1100px;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

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

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link:hover {
    opacity: 0.8;
}

.header-flame {
    width: 32px;
    height: 32px;
}

.logo {
    font-weight: 800;
    font-size: 2rem;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4rem 0;
}

/* Hero Section */
.hero {
    animation: fadeIn 0.8s ease-out;
    margin-bottom: 6rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #aaaaaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
}

.badge-row {
    display: flex;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.actions {
    display: flex;
    gap: 1rem;
}

.button {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
    font-size: 1.1rem;
}

.button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button-small {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.button-text {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

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

/* Signup Form */
#signup-form-container {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--surface-light);
    max-width: 450px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--surface-light);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.captcha-container {
    margin-bottom: 1.5rem;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.25rem;
}

.captcha-group span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.captcha-group input {
    width: 100px;
}

.captcha-hint {
    font-size: 0.6rem;
    color: var(--text-secondary);
    opacity: 0.8;
    font-style: italic;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#success-msg p {
    color: var(--accent);
    font-weight: 600;
    margin: 0;
}

.error p {
    color: #ff4444;
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
}

.hidden {
    display: none !important;
}

/* Mockup */
.hero-screenshot {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    border-radius: 40px;
    padding: 12px;
    background: #252528;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.05);
    border: 2px solid var(--surface-light);
}

.phone-mockup img {
    width: 100%;
    border-radius: 30px;
    display: block;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--surface-light);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* Legal Content specific styles */
.legal-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content p,
.legal-content ul {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-content .last-updated {
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

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

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}

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

footer p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .container {
        padding: 1.5rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

    .badge-row {
        justify-content: center;
    }

    .actions {
        justify-content: center;
    }

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