/* ============================================
   Kango Construction — Shared Styles
   ============================================ */

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

/* Variables */
:root {
    --slate-950: #0a0f1a;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --white: #f8fafc;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--slate-950);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* Blueprint grid background */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(148, 163, 184, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.02) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* Noise overlay */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
    z-index: 0;
}

/* Amber accent line at top */
.accent-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--amber-500), var(--amber-400), var(--amber-500));
    z-index: 100;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

.highlight {
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

section.alt-bg {
    background: var(--slate-900);
}

/* ============================================
   Navigation
   ============================================ */
.site-nav {
    position: fixed;
    top: 3px;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--slate-400);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--amber-400);
}

.nav-logo .bar {
    width: 3px;
    height: 28px;
    background: var(--amber-500);
    border-radius: 2px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--slate-400);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
    border-radius: 6px;
}

.nav-links a:hover {
    color: var(--white);
}

/* Features dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--slate-400);
    letter-spacing: 0.04em;
    transition: color 0.2s;
    border-radius: 6px;
    background: none;
    border: none;
}

.nav-dropdown-toggle:hover {
    color: var(--white);
}

.nav-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 10px;
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    transform: translateX(-50%) translateY(4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--slate-400);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav-dropdown-menu a:hover {
    color: var(--white);
    background: var(--slate-800);
}

/* CTA buttons in nav */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-signin {
    padding: 0.5rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--slate-400);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.btn-signin:hover {
    color: var(--white);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--slate-400);
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--slate-950);
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.btn-secondary {
    color: var(--white);
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
}

.btn-secondary:hover {
    background: var(--slate-700);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   Hero Sections
   ============================================ */
.hero {
    padding: 10rem 0 5rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--slate-400);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Feature page hero */
.feature-hero {
    padding: 9rem 0 4rem;
    text-align: center;
}

.feature-hero h1 {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.feature-hero p {
    font-size: 1.1rem;
    color: var(--slate-400);
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--amber-400);
}

.breadcrumb .sep {
    color: var(--slate-700);
}

/* ============================================
   Screenshot Placeholder Frames
   ============================================ */
.screenshot-frame {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--slate-800);
    background: linear-gradient(135deg, var(--slate-900), var(--slate-950));
    aspect-ratio: 16 / 9;
}

.screenshot-frame::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid var(--slate-800);
    border-radius: 4px;
    pointer-events: none;
}

/* Corner marks on screenshot */
.screenshot-frame .corner {
    position: absolute;
    width: 16px;
    height: 16px;
}
.screenshot-frame .corner::before,
.screenshot-frame .corner::after {
    content: '';
    position: absolute;
    background: var(--slate-600);
}
.screenshot-frame .corner::before { width: 1px; height: 100%; }
.screenshot-frame .corner::after { width: 100%; height: 1px; }
.screenshot-frame .corner.tl { top: 8px; left: 8px; }
.screenshot-frame .corner.tr { top: 8px; right: 8px; }
.screenshot-frame .corner.tr::before { right: 0; }
.screenshot-frame .corner.tr::after { right: 0; }
.screenshot-frame .corner.bl { bottom: 8px; left: 8px; }
.screenshot-frame .corner.bl::before { bottom: 0; }
.screenshot-frame .corner.bl::after { bottom: 0; }
.screenshot-frame .corner.br { bottom: 8px; right: 8px; }
.screenshot-frame .corner.br::before { right: 0; bottom: 0; }
.screenshot-frame .corner.br::after { right: 0; bottom: 0; }

.screenshot-frame .label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-600);
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-frame--small {
    aspect-ratio: 4 / 3;
}

/* ============================================
   Differentiator Bar
   ============================================ */
.diff-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--slate-800);
    border-bottom: 1px solid var(--slate-800);
    position: relative;
    z-index: 1;
}

.diff-item {
    text-align: center;
}

.diff-item .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-500);
}

.diff-item .icon svg {
    width: 20px;
    height: 20px;
}

.diff-item h3 {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.diff-item p {
    font-size: 0.8rem;
    color: var(--slate-400);
    line-height: 1.5;
}

/* ============================================
   Module/Feature Cards Grid
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    border-color: var(--amber-500);
    transform: translateY(-4px);
}

.feature-card .card-icon {
    width: 44px;
    height: 44px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-500);
    margin-bottom: 1.25rem;
}

.feature-card .card-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.6;
}

.feature-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--amber-400);
    letter-spacing: 0.02em;
}

.feature-card .card-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.feature-card:hover .card-link svg {
    transform: translateX(3px);
}

/* ============================================
   Two-Column Feature Sections
   ============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col.reverse .two-col__content {
    order: 2;
}

.two-col.reverse .two-col__media {
    order: 1;
}

.two-col__content h2 {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.two-col__content p {
    color: var(--slate-400);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.two-col__content .feature-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
}

.two-col__content .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--slate-300);
}

.two-col__content .feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--amber-500);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-500);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--slate-400);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Integrations Row
   ============================================ */
.integrations {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.integration-item .int-icon {
    width: 56px;
    height: 56px;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.integration-item span {
    font-size: 0.8rem;
    color: var(--slate-400);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--slate-400);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 2rem;
}

/* ============================================
   Callout Boxes
   ============================================ */
.callout {
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.callout h2 {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.callout p {
    color: var(--slate-400);
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.callout-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.callout-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--slate-300);
}

.callout-item svg {
    width: 18px;
    height: 18px;
    color: var(--amber-500);
}

/* ============================================
   Related Modules
   ============================================ */
.related-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
}

.related-card:hover {
    border-color: var(--amber-500);
}

.related-card .rel-icon {
    width: 36px;
    height: 36px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-500);
    flex-shrink: 0;
}

.related-card .rel-icon svg {
    width: 18px;
    height: 18px;
}

.related-card h4 {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.related-card p {
    font-size: 0.75rem;
    color: var(--slate-400);
    line-height: 1.4;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-card {
    background: var(--slate-900);
    border: 2px solid var(--amber-500);
    border-radius: 16px;
    padding: 3rem;
    max-width: 520px;
    margin: 0 auto;
}

.pricing-card .tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-500);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.pricing-card .price-note {
    font-size: 0.85rem;
    color: var(--slate-400);
    margin-bottom: 2rem;
}

.pricing-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--slate-300);
    border-bottom: 1px solid var(--slate-800);
}

.pricing-checklist li:last-child {
    border-bottom: none;
}

.pricing-checklist li svg {
    width: 18px;
    height: 18px;
    color: var(--amber-500);
    flex-shrink: 0;
}

/* FAQ accordion */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-list details {
    border-bottom: 1px solid var(--slate-800);
}

.faq-list summary {
    padding: 1.25rem 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--amber-500);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.faq-list details[open] summary::after {
    content: '\2212';
}

.faq-list .faq-answer {
    padding: 0 0 1.25rem;
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--slate-800);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .nav-logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--slate-400);
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    font-size: 0.85rem;
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-600);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--amber-400);
}

/* ============================================
   Legal Pages (Privacy, Terms)
   ============================================ */
.legal-page {
    padding: 7rem 0 4rem;
}

.legal-page h1 {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.legal-page .effective-date {
    color: var(--slate-400);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.legal-page h2 {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--amber-400);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal-page p {
    color: var(--slate-300);
    margin-bottom: 1rem;
}

.legal-page ul {
    color: var(--slate-300);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-page ul li {
    margin-bottom: 0.4rem;
}

.legal-page a {
    color: var(--amber-400);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-page a:hover {
    color: var(--amber-500);
}

/* ============================================
   Homepage Hero Layout
   ============================================ */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--slate-400);
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-media {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section container helper */
.section {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Diff bar icon variant */
.diff-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-500);
}

.diff-icon svg {
    width: 20px;
    height: 20px;
}

/* Feature card icon variant */
.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-500);
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

/* Two-col content/media variant names (without double underscore) */
.two-col-content h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.two-col-content p {
    color: var(--slate-400);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.two-col-content .feature-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
}

.two-col-content .feature-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--slate-300);
}

.two-col.reverse .two-col-content {
    order: 2;
}

.two-col.reverse .two-col-media {
    order: 1;
}

/* Integration item variant */
.int-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.int-item .int-icon {
    width: 56px;
    height: 56px;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.int-item span {
    font-size: 0.8rem;
    color: var(--slate-400);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

/* Callout content variant */
.callout-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   Feature Grid (alternate class names)
   ============================================ */
.feature-section {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-grid.reverse .feature-content {
    order: 2;
}

.feature-grid.reverse .feature-visual {
    order: 1;
}

.feature-content h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--slate-400);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.feature-content .feature-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
}

.feature-content .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--slate-300);
}

.feature-content .feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--amber-500);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Breadcrumb separator/current variants */
.breadcrumb .separator {
    color: var(--slate-700);
}

.breadcrumb .current {
    color: var(--slate-400);
}

/* Pricing alternate class names */
.pricing-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-500);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.pricing-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--slate-400);
    margin-bottom: 2rem;
}

.pricing-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Animations
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger > .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-up:nth-child(2) { transition-delay: 0.08s; }
.stagger > .fade-up:nth-child(3) { transition-delay: 0.16s; }
.stagger > .fade-up:nth-child(4) { transition-delay: 0.24s; }
.stagger > .fade-up:nth-child(5) { transition-delay: 0.32s; }
.stagger > .fade-up:nth-child(6) { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hide desktop nav, show hamburger */
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    /* Mobile nav overlay */
    .nav-mobile {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        background: var(--slate-950);
        z-index: 200;
        padding: 5rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-mobile.open {
        transform: translateX(0);
    }

    .nav-mobile a {
        display: block;
        padding: 1rem 0;
        font-family: 'Outfit', sans-serif;
        font-weight: 500;
        font-size: 1.1rem;
        color: var(--slate-300);
        text-decoration: none;
        border-bottom: 1px solid var(--slate-800);
        -webkit-tap-highlight-color: transparent;
    }

    .nav-mobile a:hover,
    .nav-mobile a:active {
        color: var(--amber-400);
    }

    .nav-mobile-close {
        position: absolute;
        top: 1.25rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: var(--slate-400);
        cursor: pointer;
        padding: 0.75rem;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-mobile-close svg {
        width: 24px;
        height: 24px;
    }

    /* Grids → single column */
    .two-col,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Reset reverse ordering so text always comes first */
    .two-col.reverse .two-col__content,
    .two-col.reverse .two-col-content,
    .two-col.reverse .col-text,
    .feature-grid.reverse .feature-content {
        order: 1;
    }

    .two-col.reverse .two-col__media,
    .two-col.reverse .two-col-media,
    .two-col.reverse .col-media,
    .feature-grid.reverse .feature-visual {
        order: 2;
    }

    /* Hero */
    .hero {
        padding: 7rem 0 2.5rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        justify-content: center;
    }

    .feature-hero {
        padding: 7rem 0 2.5rem;
    }

    /* Diff bar */
    .diff-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2.5rem 1.5rem;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: 1fr;
    }

    .related-modules {
        grid-template-columns: 1fr;
    }

    /* Callout sections — add horizontal margin for border-radius */
    .callout {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 2.5rem 1.5rem;
    }

    /* CTA section */
    .cta-section {
        padding: 3.5rem 1.5rem;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Pricing */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-buttons {
        flex-direction: column;
    }

    .pricing-buttons .btn {
        justify-content: center;
    }

    /* Integrations */
    .integrations {
        gap: 2rem;
    }

    /* Containers */
    .container {
        padding: 0 1.5rem;
    }

    .container--narrow {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .diff-bar {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .hero {
        padding: 6.5rem 0 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 1.25rem;
    }

    .hero-media {
        padding: 0 1.25rem;
    }

    .feature-hero {
        padding: 6.5rem 0 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .callout {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        padding: 1.75rem 1.25rem;
        border-radius: 12px;
    }

    .callout-items {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .section {
        padding: 2.5rem 1.25rem;
    }

    .cta-section {
        padding: 3rem 1.25rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .container--narrow {
        padding: 0 1.25rem;
    }

    .integrations {
        gap: 1.25rem;
    }

    .int-item .int-icon {
        width: 48px;
        height: 48px;
    }

    .pricing-card {
        padding: 1.75rem 1.25rem;
    }

    .pricing-price {
        font-size: 2rem;
    }

    .nav-inner {
        padding: 0 1.25rem;
    }

    .site-footer {
        padding: 3rem 1.25rem 1.5rem;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .related-card {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    section.alt-bg {
        padding-left: 0;
        padding-right: 0;
    }
}
