:root {
    --deep-purple: #3b0058;
    --bright-purple: #7a1bb8;
    --black: #050505;
    --near-black: #111111;
    --white: #ffffff;
    --soft-grey: #f5f3f7;
    --muted-text: #6f6478;
    --pale-purple: #f6effa;
    --border-color: #e5dcec;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(122, 27, 184, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.1;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--black);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; font-weight: 700; }

p { margin-bottom: 1.5rem; color: #374151; }

.eyebrow {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--bright-purple);
    margin-bottom: 0.75rem;
}

/* Header & Nav */
header {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 950;
    text-decoration: none;
    color: var(--black);
    letter-spacing: -0.04em;
}

.logo span {
    color: var(--bright-purple);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.25rem;
}

nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

nav a:hover, nav a.active {
    color: var(--bright-purple);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--black);
    padding: 5px;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.bg-light { background: var(--soft-grey); }
.bg-purple { background: var(--deep-purple); color: white; }
.bg-purple h1, .bg-purple h2, .bg-purple h3, .bg-purple p { color: white; }

/* Hero */
.hero {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.bg-hero {
    background: linear-gradient(135deg, var(--near-black) 0%, var(--deep-purple) 100%);
    color: var(--white);
}

.bg-hero h1, .bg-hero p, .bg-hero .eyebrow {
    color: var(--white);
}

.bg-hero p {
    color: rgba(255, 255, 255, 0.85);
}

.bg-hero .eyebrow {
    color: #cca4e8; /* Lighter purple on dark background */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 2.5rem;
    color: var(--muted-text);
}

.hero-btns {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glow);
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    backdrop-filter: blur(4px);
}

/* Trust Strip */
.trust-strip {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: white;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted-text);
}

.trust-strip .container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1.05rem;
    text-align: center;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--bright-purple);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(122, 27, 184, 0.2);
}

.btn-primary:hover {
    background: #6a16a1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 15px rgba(122, 27, 184, 0.3);
}

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

.btn-secondary:hover {
    background: var(--soft-grey);
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-white {
    background: var(--white);
    color: var(--near-black);
    border: 2px solid transparent;
}

.btn-white:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Cards */
.card {
    padding: 3rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(122, 27, 184, 0.2);
}

.card h3 { margin-top: 0.5rem; }

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

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

.card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bright-purple);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Comparison Table */
.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--soft-grey);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:last-child td { border-bottom: none; }

td strong { color: var(--black); }

/* FAQ Blocks */
.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--soft-grey);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 1rem 2rem 2rem;
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Blog Feed */
.blog-card {
    display: block;
    text-decoration: none;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-content {
    padding: 2rem;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--bright-purple);
    margin-bottom: 0.75rem;
    display: block;
}

/* Forms */
form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--black);
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
    background: #fcfcfd;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--bright-purple);
    background: white;
    box-shadow: 0 0 0 4px rgba(122, 27, 184, 0.1);
}

textarea { min-height: 160px; resize: vertical; }

.form-help {
    font-size: 0.85rem;
    color: var(--muted-text);
    margin-top: 1rem;
}

/* Footer */
footer {
    padding: 6rem 0;
    background: var(--black);
    color: white;
    border-top: 4px solid var(--bright-purple);
}

footer p { color: rgba(255, 255, 255, 0.7); }

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 1;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.opacity-60 { opacity: 0.6; }
.max-w-2 { max-width: 600px; margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    h1 { font-size: 2.5rem; }
    .hero { padding: 5rem 0; }
    .hero h1 { font-size: 2.75rem; }
    
    .mobile-toggle { display: block; }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 2.5rem 1.5rem;
        border-bottom: 3px solid var(--bright-purple);
        box-shadow: var(--shadow-lg);
    }
    
    nav.active { display: block; }
    
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .grid-3 { grid-template-columns: 1fr; }
    
    .hero-btns .btn { width: 100%; }
}
