/* website/css/style.css */

/* ===== Design System (StratSapien family) ===== */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --green-600: #16a34a;
    --red-600: #dc2626;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--gray-50);
}

a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ===== Header ===== */
.header {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}
.logo { font-size: 1.125rem; font-weight: 700; color: var(--teal-700); }
.logo span { font-weight: 400; color: var(--gray-500); font-size: 0.875rem; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--gray-700); font-size: 0.875rem; }
.nav-links a:hover { color: var(--teal-600); text-decoration: none; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { background: var(--teal-700); }
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }
.btn-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--teal-500); color: var(--teal-600); }

/* ===== Cards ===== */
.card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.15s ease;
}

/* ===== Grid ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* ===== Section ===== */
.section { padding: 4rem 1rem; }
.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--teal-700);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
}
.hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.hero p { font-size: 1.125rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 2rem; }
.hero .btn-primary { background: #fff; color: var(--teal-700); }
.hero .btn-primary:hover { background: var(--teal-50); }

/* ===== Comparison Table ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.comparison-table th, .comparison-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}
.comparison-table th { background: var(--teal-50); color: var(--teal-800); font-weight: 600; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; color: var(--gray-700); }
.comparison-table .highlight { background: var(--teal-50); }
.comparison-table tr:last-child td { border-bottom: none; }

/* ===== Pricing ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}
.pricing-card { text-align: center; padding: 2rem 1.5rem; position: relative; }
.pricing-card.featured { border-color: var(--teal-500); border-width: 2px; }
.pricing-card .badge-early {
    position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
    background: var(--teal-600); color: #fff; font-size: 0.75rem;
    padding: 0.25rem 0.75rem; border-radius: 1rem; font-weight: 600;
}
.pricing-card h3 { color: var(--teal-700); margin-bottom: 0.5rem; }
.price { font-size: 2.5rem; font-weight: 700; color: var(--gray-900); margin: 0.5rem 0; }
.price small { font-size: 1rem; color: var(--gray-500); font-weight: 400; }
.price-note { color: var(--gray-500); font-size: 0.9375rem; margin-bottom: 1.5rem; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.pricing-card li { padding: 0.375rem 0; font-size: 0.9375rem; color: var(--gray-700); }
.pricing-card li::before { content: "✓"; color: var(--green-600); font-weight: 700; margin-right: 0.5rem; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1.25rem 0; }
.faq-item summary {
    color: var(--gray-900);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-item summary::after { content: "+"; font-size: 1.25rem; color: var(--teal-600); }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { color: var(--gray-500); font-size: 0.9375rem; margin-top: 0.75rem; }

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}
.cta h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.cta p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.cta .btn-primary { background: #fff; color: var(--teal-700); }

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-500);
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.8125rem;
}
.footer a { color: var(--gray-300); }
.footer a:hover { color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; }

/* ===== Help Page ===== */
.help-section { margin-bottom: 3rem; }
.help-section h2 { color: var(--teal-700); font-size: 1.25rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--gray-200); }
.help-section h3 { color: var(--gray-900); font-size: 1rem; margin: 1.5rem 0 0.5rem; }
.help-section p, .help-section li { color: var(--gray-700); font-size: 1rem; }
.help-section code {
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.9375rem;
}
.help-section pre {
    background: var(--gray-900);
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 0.75rem 0;
    font-size: 0.9375rem;
}
.help-section pre code { background: none; padding: 0; color: inherit; }

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .hero h1 { font-size: 1.75rem; }
    .hero { padding: 4rem 1rem; }
    .section { padding: 3rem 1rem; }
    .section-title { font-size: 1.5rem; }
    .nav-links { gap: 1rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .benchmark-cards { grid-template-columns: 1fr !important; }
}
