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

:root {
    --primary: #FFC107;
    --primary-dark: #FFB300;
    --secondary: #2D3436;
    --accent: #4CAF50;
    --danger: #E53935;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --text: #2D3436;
    --text-light: #636e72;
    --border: #E0E0E0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--primary-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--secondary);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    text-decoration: none;
}

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

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
    text-decoration: none;
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, #FFD54F 100%);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--secondary);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 48px 0 24px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    color: #b2bec3;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 24px;
    text-align: center;
    color: #b2bec3;
    font-size: 14px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero h1 span {
    color: var(--primary-dark);
}

.hero p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 32px;
}

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

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

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
}

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

.feature-card {
    padding: 32px;
    text-align: center;
}

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

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    padding: 32px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

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

.pricing-card .price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-card ul {
    list-style: none;
    margin: 24px 0;
    text-align: left;
}

.pricing-card li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-light);
}

.pricing-card li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: 600;
}

/* Legal pages */
.legal-page {
    padding: 48px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.legal-page h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
}

.legal-page h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
    color: var(--text-light);
    margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
    padding-left: 24px;
}

/* Success/Fail pages */
.result-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.result-card {
    max-width: 500px;
    text-align: center;
    padding: 48px;
}

.result-icon {
    font-size: 72px;
    margin-bottom: 24px;
}

.result-card h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.result-card.success h1 {
    color: var(--accent);
}

.result-card.error h1 {
    color: var(--danger);
}

.result-card p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 24px;
}

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

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

    .nav {
        display: none;
    }

    .pricing-card.featured {
        transform: none;
    }

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