/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --primary: #1e293b; /* Slate Blue */
    --accent: #0f766e;  /* Warm Teal */
    --light-bg: #f8fafc;
    --text: #334155;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    color: var(--primary);
    font-weight: 700;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #115e59;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-accent {
    background: #0284c7; /* Bright sky blue for CTA */
}
.btn-accent:hover {
    background: #0369a1;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

nav a:hover {
    color: var(--accent);
}

nav a.btn {
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #475569;
}

/* Definition / Three-Column Cards */
.definition {
    padding: 80px 0;
}

.definition h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.comp-card {
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: var(--light-bg);
}

.comp-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.comp-card.perfect {
    border: 2px solid var(--accent);
    background: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.comp-card.perfect h3 {
    color: var(--accent);
}

/* Table Section */
.table-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.table-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.table-wrapper {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

tr:last-child td {
    border-bottom: none;
}

td ul {
    list-style-position: inside;
    margin-top: 5px;
}

td li {
    margin-bottom: 8px;
}

td li:last-child {
    margin-bottom: 0;
}

/* Footer & CTA */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
    text-align: center;
}

footer h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

footer p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 40px;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #0f172a;
    color: var(--white);
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: 2px solid var(--accent);
}

.copyright {
    font-size: 0.85rem;
    border-top: 1px solid #334155;
    padding-top: 40px;
    margin-bottom: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    header .container { flex-direction: column; gap: 15px; }
    nav a { margin: 0 10px; }
    table, thead, tbody, th, td, tr { display: block; }
    th { display: none; }
    td { border-bottom: 1px solid #e2e8f0; padding: 20px; }
    .newsletter-form { flex-direction: column; }
}