:root {
    --primary-color: #ff6b1a;
    --secondary-color: #ff8c42;
    --background: #0a0a0f;
    --surface: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #b4b4c8;
    --border: #2a2a3a;
    --success: #00ff88;
    --error: #ff4444;
    --gradient-start: #8B0000;
    --gradient-mid1: #660000;
    --gradient-mid2: #4a0000;
    --gradient-mid3: #2a0000;
    --gradient-end: #000000;
}

[data-theme="light"] {
    --background: #ffffff;
    --surface: #f5f5f5;
    --text-primary: #1a1a24;
    --text-secondary: #4a4a5a;
    --border: #e0e0e0;
    --gradient-start: #e6d5ff;
    --gradient-mid1: #d4b5ff;
    --gradient-mid2: #c9a8ff;
    --gradient-mid3: #f5f0ff;
    --gradient-end: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

.disclaimer-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #ff4444, #ff6b1a, #ff8c42);
    color: white;
    padding: 12px 20px;
    z-index: 10000;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.disclaimer-banner.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.disclaimer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.disclaimer-content p {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    flex: 1;
}

.dismiss-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

body.has-disclaimer {
    padding-top: 56px;
}

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

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

body.has-disclaimer header {
    top: 56px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.logo-home-pattern {
    background: linear-gradient(135deg, #ff6b1a 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

nav a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 4px;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 0;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

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

.theme-toggle {
    background: transparent;
    border: 2px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: rotate(20deg);
}

.theme-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sun-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.btn-header {
    padding: 0.5rem 1.5rem;
    background: var(--surface);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-header:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-header:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.diagonal-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, 
        var(--gradient-start) 0%, 
        var(--gradient-mid1) 15%, 
        var(--gradient-mid2) 30%, 
        var(--gradient-mid3) 45%, 
        var(--gradient-end) 60%, 
        var(--gradient-end) 75%, 
        var(--gradient-end) 100%
    );
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body:not(.home-page) .diagonal-gradient {
    display: none;
}

.hero {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 107, 26, 0.5);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 107, 26, 0.3);
}

.btn-primary:focus {
    outline: 2px solid rgba(255, 107, 26, 0.5);
    outline-offset: 2px;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.btn-secondary:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 107, 26, 0.4);
}

.btn-secondary:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-secondary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tax-disclaimer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.quick-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.feature-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(255, 107, 26, 0.25);
    border-color: var(--primary-color);
    cursor: default;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.tax-note {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-style: italic;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-detail {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 26, 0.15);
    border-color: var(--primary-color);
}

.feature-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-detail h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-detail p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.features-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: 20px;
    margin: 4rem 0;
}

.features-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-section {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    padding: 0 2rem;
}

.pricing-card {
    background: var(--surface);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    border: 2px solid var(--primary-color);
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 32px rgba(255, 107, 26, 0.15);
    transform: translateY(-2px);
}


.wip-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.price {
    margin: 2rem 0;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s ease;
}

.pricing-features li:hover {
    color: var(--primary-color);
}

.btn-large {
    width: 100%;
    padding: 1.25rem;
    margin: 2rem 0 1rem;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.pricing-faq {
    margin: 4rem 0;
}

.pricing-faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-section {
    margin: 3rem 0;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.faq-item {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(255, 107, 26, 0.15);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: 20px;
    margin: 4rem 0;
}

.faq-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.faq-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.about-hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.about-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.about-content h3 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.features-list {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.features-list h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.features-list ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.features-list li {
    color: var(--text-secondary);
    margin: 0.75rem 0;
    line-height: 1.6;
}

.about-disclaimer {
    background: rgba(255, 107, 26, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.about-disclaimer p {
    margin: 0;
    color: var(--text-primary);
}

.cta {
    text-align: center;
    margin: 3rem 0;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-secondary);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0.5rem 0;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-section a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin: 3rem 0;
    padding: 0 1rem;
}

.legal-section h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 1rem 0;
    font-size: 1.05rem;
}

.legal-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 1rem 0 1rem 2rem;
}

.legal-section li {
    margin: 0.5rem 0;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--secondary-color);
}

.highlight-box {
    background: rgba(255, 107, 26, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.highlight-box p {
    margin: 0;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        gap: 0;
        padding-top: 100px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    body.has-disclaimer nav {
        top: 56px;
    }

    nav.active {
        left: 0;
    }

    nav a {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--border);
        width: 100%;
        display: block;
    }

    .hamburger-menu {
        display: flex;
    }

    header {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
    }

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

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

    .hero p {
        font-size: 1.1rem;
    }

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

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

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

    .faq-cta-buttons {
        flex-direction: column;
    }

    .disclaimer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .legal-section {
        padding: 0;
    }

    .legal-section h2 {
        font-size: 1.6rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section ul {
        margin-left: 1.5rem;
    }
}
