/* custom.css - EquAI - equ-ai.com */
/* ALL sizes in px. NO rem units. */

/* ===== CSS VARIABLES ===== */
:root {
    --accent: #6c5ce7;
    --accent-dark: #5a4bd1;
    --accent-light: #8579ec;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --bg: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.85);
    --text-primary: #e2e8f0;
    --text-secondary: #c8d6e5;
    --text-muted: #8fabc4;
    --border-subtle: rgba(108, 92, 231, 0.2);
    --border-mid: rgba(108, 92, 231, 0.35);
    --primary-gradient: linear-gradient(135deg, #6c5ce7, #5a4bd1, #a29bfe);
    --muted-gradient: linear-gradient(135deg, #6c5ce7, #5a4bd1, #4b3fbb);
}

/* ===== BASE OVERRIDES ===== */
body {
    font-size: 18px;
    color: var(--text-primary);
}

/* Override template section defaults (100vh + rem) */
section {
    min-height: auto;
    padding: 60px 40px;
}

/* Override template gradients with accent color */
:root {
    --primary-gradient: linear-gradient(135deg, #6c5ce7, #5a4bd1, #a29bfe);
    --secondary-gradient: linear-gradient(45deg, #a29bfe, #6c5ce7, #8579ec);
    --muted-gradient: linear-gradient(135deg, #6c5ce7, #5a4bd1, #4b3fbb);
    --neon-pink: #6c5ce7;
    --neon-blue: #a29bfe;
    --neon-purple: #5a4bd1;
    --muted-pink: #6c5ce7;
    --muted-blue: #a29bfe;
    --muted-purple: #5a4bd1;
}

/* ===== R77: Nav cleanup ===== */
.nav-item { margin-bottom: 0 !important; background-image: none !important; }
.site-logo { max-width: none !important; }
.btn-accent, .cta-primary, .cta-secondary { white-space: nowrap; }

/* ===== R79: Hero container transparent ===== */
.header-thumb { background: transparent !important; border: none !important; }

/* ===== R89: Template overlay must not block clicks ===== */
.tm-bg-overlay, [class*="overlay"] { pointer-events: none !important; }

/* Logo as link */
a.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* ===== NAVIGATION ===== */
.nav-links a {
    font-size: 15px;
}

/* ===== TYPOGRAPHY ===== */
h1, .page-title {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
}

h2, .section-heading {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Override template text-transform and letter-spacing on headings */
h1, h2, h3, .section-heading {
    text-transform: none;
    letter-spacing: 0;
}

/* ===== LAYOUT ===== */
.section-pad {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
}

/* ===== K17: CARD EQUAL-HEIGHT FLEX ===== */
.card-grid,
.team-grid,
.blog-grid,
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.card-grid > *,
.team-grid > *,
.blog-grid > *,
.features-grid > * {
    display: flex;
    flex-direction: column;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 48px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
    letter-spacing: 0;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.25);
    border: 1px solid var(--border-subtle);
    max-width: 100%;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin-bottom: 56px;
    font-size: 42px;
    color: var(--text-primary);
}

/* ===== DARK SECTION ===== */
.dark-section {
    background: rgba(10, 10, 10, 0.6);
    position: relative;
    max-width: none;
    padding: 60px 40px;
}

.dark-section h2,
.dark-section h3,
.dark-section .section-title,
.dark-section .section-heading {
    color: #e2e8f0;
}

.dark-section p,
.dark-section li {
    color: #c8d6e5;
}

/* ===== BUTTONS ===== */
.cta-button {
    font-size: 17px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    background: var(--muted-gradient);
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-dark);
    box-shadow: 0 8px 24px var(--accent-glow);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.cta-button.cta-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: #e2e8f0;
}

.cta-button.cta-secondary:hover {
    background: var(--accent);
    color: #ffffff;
}

/* Pricing buttons */
.btn-pricing-primary {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    background: var(--muted-gradient);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    cursor: pointer;
    border: none;
}

.btn-pricing-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 8px 24px var(--accent-glow);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.btn-pricing-secondary {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    background: transparent;
    color: #e2e8f0;
    border: 2px solid var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    cursor: pointer;
}

.btn-pricing-secondary:hover {
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
}

/* ===== HOW IT WORKS - STEPS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.3s ease;
}

.step-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 20px;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.feat-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== USE CASE GRID ===== */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.usecase-card:hover {
    border-color: var(--accent);
}

.usecase-card h3 {
    font-size: 20px;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.usecase-card p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 60px 40px;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
}

.cta-sub {
    font-size: 18px;
    color: #c8d6e5;
    margin-bottom: 32px;
}

/* ===== PAGE HERO ===== */
.page-hero {
    min-height: 320px;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 60px;
}

.page-hero-inner {
    text-align: center;
    width: 100%;
}

.page-subtitle {
    font-size: 20px;
    color: #c8d6e5;
    max-width: 640px;
    margin: 16px auto 0;
}

/* ===== ABOUT PAGE ===== */
.about-content-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text-block h2 {
    font-size: 40px;
    color: #e2e8f0;
    margin-bottom: 24px;
}

.about-text-block p {
    font-size: 17px;
    color: #c8d6e5;
    margin-bottom: 18px;
}

.about-image-block {
    position: relative;
}

.about-scene-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(108, 92, 231, 0.2);
    object-fit: cover;
    object-position: center;
    max-width: 100%;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
}

.value-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: #8fabc4;
    line-height: 1.4;
}

/* ===== TEAM PAGE ===== */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.team-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.team-avatar-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.team-role {
    font-size: 14px;
    color: var(--accent-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.team-bio {
    font-size: 15px;
    color: #c8d6e5;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Team list (text-only) */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.team-list-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px 36px;
}

.team-list-item .team-name {
    font-size: 20px;
    margin-bottom: 4px;
}

.team-list-item .team-bio {
    margin-bottom: 0;
}

/* Culture grid (3 cards) */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.culture-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.culture-icon {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--accent);
}

.culture-card h3 {
    font-size: 20px;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.culture-card p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: 12px;
    padding: 40px;
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 28px;
}

.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #a29bfe;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-mid);
    border-radius: 6px;
    color: #e2e8f0;
    transition: border-color 0.3s ease;
    font-family: 'Exo 2', sans-serif;
}

.form-group select option {
    background: #1a1a2e;
    color: #e2e8f0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.contact-note {
    margin-top: 32px;
    padding: 24px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.contact-note h3 {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.contact-note p {
    font-size: 15px;
    color: #c8d6e5;
    margin-bottom: 0;
}

/* ===== PLATFORM PAGE ===== */
.platform-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 40px;
}

.platform-text h2 {
    font-size: 36px;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.platform-image {
    position: relative;
}

.platform-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(108, 92, 231, 0.2);
    max-width: 100%;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.component-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.component-card:hover {
    border-color: var(--accent);
}

.component-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.component-card h3 {
    font-size: 22px;
    color: #e2e8f0;
    margin-bottom: 14px;
}

.component-card p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.65;
    margin-bottom: 16px;
}

.component-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.component-features li {
    font-size: 15px;
    color: #8fabc4;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
    position: relative;
    line-height: 1.5;
}

.component-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.component-features li:last-child {
    border-bottom: none;
}

/* Integrations */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.integration-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.integration-card:hover {
    border-color: var(--accent);
}

.integration-card h3 {
    font-size: 20px;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.integration-card p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== PRICING PAGE ===== */
.pricing-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.pricing-featured {
    border-color: var(--accent);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.pricing-badge-top {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--muted-gradient);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.pricing-tier {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.pricing-price {
    margin-bottom: 12px;
    line-height: 1;
}

.price-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #e2e8f0;
}

.price-period {
    font-size: 18px;
    color: #8fabc4;
}

.pricing-desc {
    font-size: 15px;
    color: #c8d6e5;
    margin-bottom: 28px;
    line-height: 1.5;
    min-height: 44px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex: 1;
}

.pricing-features li {
    font-size: 15px;
    color: #c8d6e5;
    padding: 10px 0 10px 24px;
    border-bottom: 1px solid rgba(108, 92, 231, 0.08);
    position: relative;
    line-height: 1.4;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.pricing-features li.feature-no {
    color: #8fabc4;
    text-decoration: line-through;
    opacity: 0.65;
}

.pricing-features li.feature-no::before {
    content: '×';
    color: #8fabc4;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px 28px;
}

.faq-item h3 {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== BLOG PAGE ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
    align-items: stretch;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.blog-thumb-wrap {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 5 / 3;
}

.blog-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    max-width: 100%;
}

.blog-card:hover .blog-thumb {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.blog-date {
    font-size: 13px;
    color: #8fabc4;
}

.blog-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-light);
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.25);
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 12px;
    line-height: 1.35;
}
.blog-title a {
    color: #e2e8f0;
    text-decoration: none;
}
.blog-title a:hover {
    color: var(--accent);
}

.blog-excerpt {
    font-size: 15px;
    color: #c8d6e5;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    color: #e2e8f0;
    text-decoration: none;
}

.blog-read-more::after {
    content: '→';
}

/* Blog article images */
.blog-grid img,
article img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* ===== LEGAL PAGE ===== */
.legal-page .container-narrow {
    padding: 0 0 80px;
}

.legal-updated {
    font-size: 14px;
    color: #8fabc4;
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 24px;
    color: #e2e8f0;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.legal-section p {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-section a {
    color: var(--accent-light);
    text-decoration: underline;
}

.legal-list {
    list-style: disc;
    padding-left: 28px;
    margin: 12px 0;
}

.legal-list li {
    font-size: 16px;
    color: #c8d6e5;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ===== FOOTER ===== */
footer {
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 40px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-tagline {
    font-size: 14px;
    color: #8fabc4;
    line-height: 1.5;
    margin-bottom: 0;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 15px;
    color: #8fabc4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #e2e8f0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 28px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #8fabc4;
    margin: 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(20, 20, 30, 0.97);
    border: 1px solid var(--border-mid);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    padding: 16px 24px;
    min-width: 320px;
    max-width: 560px;
    width: 90%;
    color: #e2e8f0;
}

.cookie-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cookie-inner p {
    font-size: 15px;
    color: #c8d6e5;
    margin: 0;
    flex: 1;
    min-width: 200px;
    line-height: 1.4;
}

.cookie-inner a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-accept {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    background: var(--muted-gradient);
    color: #ffffff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.cookie-accept:hover {
    background: var(--accent-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .components-grid,
    .values-grid,
    .stats-grid,
    .integrations-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content-wrap,
    .platform-overview,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1, .page-title, .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 36px; }

    h1, .page-title { font-size: 36px; }
    h2, .section-heading { font-size: 30px; }

    .section-pad, .dark-section {
        padding: 64px 24px;
    }

    .steps-grid,
    .features-grid,
    .usecase-grid,
    .culture-grid,
    .founders-grid,
    .pricing-grid,
    .blog-grid,
    .values-grid,
    .stats-grid,
    .components-grid,
    .integrations-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   Hero Section - Background Image Fix
   ============================================================ */
.hero-section {
    position: relative;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}
.hero-section .hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-subtitle {
    color: rgba(255,255,255,0.9) !important;
}

/* ============================================================
   Fix 3: Pricing badge overflow fix
   ============================================================ */
.pricing-card,
.pricing-featured {
    overflow: visible !important;
}
.pricing-badge-top {
    z-index: 10;
}

/* ============================================================
   Fix pricing card label clipping
   ============================================================ */
.pricing-card, .price-card, .card-inner, [class*="pricing"] > [class*="col"] > div {
  overflow: visible !important;
}
