/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c63ff;
    --primary-dark: #5a52d5;
    --secondary: #f1f5f9;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #22c55e;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
}

/* Dark Theme */
:root[data-theme="dark"] {
    --secondary: #1e293b;
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --white: #0f172a;
    --border: #334155;
    --bg: #0f172a;
    --bg-alt: #1e293b;
}

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

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

/* Skip to content */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #ffffff;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Header */
.header {
    background: #1a1a2e;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #c4b5fd;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.lang-toggle {
    background: var(--secondary);
    border: 2px solid var(--text-light);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.lang-toggle:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.theme-toggle {
    background: var(--secondary);
    border: 2px solid var(--text-light);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: var(--border);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #1a1a2e 100%);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    border-bottom: 4px solid rgba(108, 99, 255, 0.3);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 16px;
}

.hero-trial-note {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 32px;
    color: #c4b5fd;
    font-weight: 500;
}

.hero-demo {
    max-width: 720px;
    margin: 0 auto 32px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-screenshot {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.hero .btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.hero .btn-primary:hover {
    background: var(--primary-dark);
}

.hero .btn-secondary {
    background: rgba(196, 181, 253, 0.2);
    color: #c4b5fd;
    border: 1px solid rgba(196, 181, 253, 0.3);
}

.hero .btn-secondary:hover {
    background: rgba(196, 181, 253, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.feature-card {
    padding: 30px;
    background: var(--secondary);
    border-radius: 12px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-light);
}

/* Supported AI Section */
.supported-ai {
    padding: 60px 0;
    background: var(--bg-alt);
    text-align: center;
}

.supported-ai h2 {
    font-size: 30px;
    margin-bottom: 40px;
}

.ai-providers {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.ai-provider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.ai-provider-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 16px;
    color: var(--primary);
    transition: transform 0.2s;
}

.ai-provider:hover .ai-provider-icon {
    transform: scale(1.1);
}

/* Pricing Section */
.pricing-section {
    padding: 96px 0;
    background: var(--bg);
    text-align: center;
}

.pricing-section h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.pricing-subtitle {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 48px;
}

.pricing-cards-single {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s;
    max-width: 400px;
    width: 100%;
}

.pricing-card:hover {
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.15);
}

.pricing-card-primary {
    border: 3px solid var(--primary);
    background: linear-gradient(to bottom, rgba(108, 99, 255, 0.04), rgba(108, 99, 255, 0.01));
    box-shadow: 0 5px 24px rgba(108, 99, 255, 0.15);
}

.pricing-card-primary:hover {
    box-shadow: 0 8px 32px rgba(108, 99, 255, 0.22);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.pricing-card-tagline {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.pricing-card-price {
    font-size: 56px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-card-month {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-card-period {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 24px;
}

.pricing-card-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
    width: 100%;
}

.pricing-card-features li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text);
    position: relative;
    padding-left: 28px;
}

.pricing-card-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.trial-banner {
    background: rgba(108, 99, 255, 0.08);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
    width: 100%;
}

.trial-icon {
    font-size: 20px;
}

.trial-text {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    margin: 4px 0;
}

.trial-detail {
    display: block;
    font-size: 13px;
    color: var(--text-light);
}

.pricing-card-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.pricing-card-btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.pricing-card-btn-primary:hover {
    background: var(--primary-dark);
}

.pricing-note {
    margin-top: 24px;
    color: var(--text-light);
    font-size: 14px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.faq-item summary {
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::after {
    content: "+";
    font-size: 24px;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 0 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Share Section */
.share-section {
    padding: 50px 0;
    background: var(--bg);
    text-align: center;
}

.share-section h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.share-section p {
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.share-x {
    background: #000000;
    color: #ffffff;
}

.share-x:hover {
    background: #333333;
}

.share-hatena {
    background: #00A4DE;
    color: #ffffff;
}

.share-hatena:hover {
    background: #0090C4;
}

.share-line {
    background: #06C755;
    color: #ffffff;
}

.share-line:hover {
    background: #05B04C;
}

.share-whatsapp {
    background: #25D366;
    color: #ffffff;
}

.share-whatsapp:hover {
    background: #20BD5A;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
}

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

.footer-brand .logo {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.footer-brand p {
    color: #64748b;
}

.footer-links h4 {
    color: #e2e8f0;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0;
    background: var(--bg);
    min-height: 60vh;
}

.legal-page h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.legal-page .updated {
    color: var(--text-light);
    margin-bottom: 30px;
}

.legal-page h2 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-page h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-page p {
    margin-bottom: 15px;
    color: var(--text);
    line-height: 1.7;
}

.legal-page ul, .legal-page ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.legal-page li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-page a {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .ai-providers {
        gap: 30px;
    }

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

    .pricing-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero-placeholder {
        padding: 80px 20px;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
}
