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

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --success: #059669;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --border: #e2e8f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    padding: 0;
}

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

/* Header & Hero */
header {
    background: var(--white);
    padding: 60px 0 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card.featured {
    border: 2px solid var(--accent);
    position: relative;
}

.card.featured::before {
    content: "MAIS POPULAR";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card .price-tag {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.card .price-tag span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card ul li {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
}

.card ul li::before {
    content: "✔";
    color: var(--success);
    margin-right: 12px;
    font-weight: bold;
}

.card ul li small a {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: underline;
    opacity: 0.8;
}

.card ul li small a:hover {
    color: var(--accent);
}

footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

.card .plan-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.card.featured .plan-btn {
    background: var(--accent);
}

.card.featured .plan-btn:hover {
    background: var(--accent-hover);
}

/* Table Section */
.comparison-section {
    margin-bottom: 4rem;
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 900px;
    font-size: 0.875rem;
}

th,
td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--bg-light);
    font-weight: 700;
    color: var(--text-dark);
}

td:first-child,
th:first-child {
    text-align: left;
    font-weight: 600;
    width: 300px;
    background: var(--white);
    position: sticky;
    left: 0;
    z-index: 1;
}

.section-row {
    background: var(--bg-light);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.yes {
    color: var(--success);
    font-weight: 800;
}

.price {
    font-weight: 700;
    color: var(--accent);
}

.study {
    color: var(--accent);
    font-style: italic;
}

/* Call to Action */
.cta-banner {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 1rem;
    margin-bottom: 4rem;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-banner a {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.cta-banner a:hover {
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

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