/* AmadeOS Website - Catppuccin Mocha Theme */

:root {
    /* Catppuccin Mocha Colors */
    --base: #1e1e2e;
    --mantle: #181825;
    --surface0: #313244;
    --surface1: #45475a;
    --surface2: #585b70;
    --overlay0: #6c7086;
    --text: #cdd6f4;
    --subtext0: #a6adc8;
    --subtext1: #bac2de;

    /* Accent colors */
    --blue: #89b4fa;
    --green: #a6e3a1;
    --red: #f38ba8;
    --yellow: #f9e2af;
    --pink: #f5c2e7;
    --lavender: #b4befe;
    --teal: #94e2d5;

    /* Semantic */
    --primary: var(--green);
    --primary-hover: #b6f3b1;
    --background: var(--base);
    --card-bg: var(--mantle);
    --border: var(--surface0);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(24, 24, 37, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.logo img {
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--subtext0);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

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

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

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

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

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

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

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 32px;
}

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

.tagline {
    font-size: 1.25rem;
    color: var(--subtext0);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* What Is Section */
.what-is {
    padding: 100px 0;
    background: var(--mantle);
}

.what-is h2,
.features h2,
.pricing h2,
.community h2 {
    font-size: 2.5rem;
    margin-bottom: 48px;
    text-align: center;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-col p {
    color: var(--subtext1);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.text-col strong {
    color: var(--text);
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--subtext0);
}

.feature-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--green);
    font-family: var(--font-mono);
}

.screenshot-col {
    display: flex;
    justify-content: center;
}

.screenshot-placeholder {
    background: var(--base);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.code-snippet {
    font-family: var(--font-mono);
    color: var(--lavender);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--mantle);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--surface1);
}

.feature-icon {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 16px;
    font-weight: 500;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--mantle);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: var(--base);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
}

.price-card.featured {
    border-color: var(--green);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--mantle);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-badge.coming-soon {
    background: var(--surface1);
    color: var(--subtext0);
}

.price-header {
    margin-bottom: 32px;
    margin-top: 8px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
}

.price-period {
    display: block;
    color: var(--subtext0);
    font-size: 1rem;
    margin-top: 4px;
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--subtext1);
    padding-left: 28px;
    position: relative;
}

.price-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--green);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--overlay0);
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Community Section */
.community {
    padding: 100px 0;
}

.community-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: var(--mantle);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px;
}

.community-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--lavender);
}

.community-card p {
    color: var(--subtext0);
    margin-bottom: 32px;
}

.email-signup {
    display: flex;
    gap: 12px;
}

.email-signup input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--base);
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-body);
}

.email-signup input::placeholder {
    color: var(--overlay0);
}

.email-signup input:focus {
    outline: none;
    border-color: var(--blue);
}

/* Footer */
footer {
    padding: 48px 0;
    background: var(--mantle);
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.footer-logo img {
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

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

.copyright {
    text-align: center;
    color: var(--overlay0);
    font-size: 0.85rem;
}

/* Legal Pages */
.legal-content {
    padding: 140px 0 80px;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.legal-content .last-updated {
    color: var(--overlay0);
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--lavender);
}

.legal-content p {
    color: var(--subtext1);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--blue);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .nav-links {
        display: none;
    }

    .email-signup {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
}
