/* styles.css
   Skandage Brutalist / Terminal Layout
   Strictly Monochrome. No Bento. No Green.
*/

:root {
    --bg-dark: #000000;
    --bg-surface: #0a0a0a;
    --border-color: #222222;
    --border-color-hover: #444444;

    --text-main: #ffffff;
    --text-muted: #888888;

    --accent-cyan: #93DEFF;
    --hero-bg: #040A12;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', 'Roboto Mono', Menlo, Monaco, Consolas, monospace;
    --font-serif: 'Playfair Display', 'Times New Roman', Times, serif;

    --layout-max-width: 1200px;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--text-main);
}

.text-main { color: var(--text-main); }
.text-muted { color: var(--text-muted); }

.container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

/* Buttons */
.button-primary, .button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0; /* Sharp edges */
}

.button-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    border: 1px solid var(--text-main);
}

.button-primary:hover {
    background: transparent;
    color: var(--text-main);
}

.button-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.button-secondary:hover {
    border-color: var(--text-main);
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-brand {
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding-top: 120px;
    padding-bottom: 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-media {
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    overflow: hidden;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.terminal-bar {
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 6px;
    background: var(--bg-dark);
}

.terminal-bar .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color-hover);
}

.hero-media img {
    width: 100%;
    display: block;
    opacity: 0.8;
}

/* Feature Rows */
.feature-row {
    border-bottom: 1px solid var(--border-color);
}

.feature-grid {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding: 8rem 0;
}

.feature-row.reverse .feature-grid {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li::before {
    content: '';
    width: 12px;
    height: 1px;
    background: var(--text-main);
}

.feature-media {
    flex: 1;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
}
.feature-media img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9; /* Keeps the slightly muted, dark-mode terminal vibe */
}
/* Full Width Banner */
.banner-row {
    background: var(--bg-surface);
    padding: 8rem 0;
    text-align: center;
}

.banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.banner-content h2 {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.banner-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* --- LIVE CSS PHONE MOCKUPS --- */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.phone-mockup {
    width: 100%;
    aspect-ratio: 9/19;
    max-height: 480px;
    margin: 0 auto 2rem auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-8px);
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.phone-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.phone-muted {
    font-size: 0.65rem;
    color: #888;
}

.phone-button {
    width: 100%;
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Theme 1: Gold */
.theme-gold {
    background: #0d0d0d;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
}
.gold-box {
    width: 16px; height: 16px; background: #d4af37; color: #000; font-size: 0.5rem; font-weight: bold; display: flex; align-items: center; justify-content: center;
}
.gold-accent-text { color: #d4af37; }
.gold-heading { font-family: serif; font-size: 2rem; font-weight: 400; line-height: 1.1; margin-bottom: 1rem; color: #fff;}
.gold-italic { font-style: italic; color: #d4af37; }
.gold-btn { background: #fff; color: #000; }

/* Theme 2: Vogue */
.theme-vogue {
    background: #fafafa;
    color: #111;
    border-radius: 40px 12px 40px 12px;
}
.vogue-heading { font-family: var(--font-serif); font-size: 2.25rem; font-weight: 400; font-style: italic; line-height: 1.1; margin-bottom: 2rem; color: #111;}
.vogue-arch { width: 100px; height: 120px; background: #e5e5e5; border-radius: 50px 50px 0 0; margin: 0 auto;}
.vogue-btn { background: transparent; color: #111; border: 1px solid #111; }

/* Theme 3: FinTech */
.theme-fintech {
    background: #0B1120;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}
.tech-accent-text { color: #38bdf8; font-size: 0.875rem;}
.tech-badge { border: 1px solid #38bdf8; color: #38bdf8; padding: 2px 6px; font-size: 0.45rem; font-family: var(--font-mono); display: inline-block; margin-bottom: 1rem;}
.tech-heading { font-size: 1.75rem; font-weight: 600; line-height: 1.1; margin-bottom: 1rem; color: #fff; letter-spacing: -0.02em;}
.tech-btn { background: #38bdf8; color: #000; border-radius: 4px; margin-top: auto;}

.theme-info-bottom h4 { font-size: 1rem; font-weight: 500; margin-bottom: 0.25rem; }
.theme-info-bottom p { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }


/* Small Features Grid (Retained for main index) */
.small-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.small-feature {
    padding: 4rem 3rem 4rem 0;
    border-right: 1px solid var(--border-color);
}

.small-feature.border-none {
    border-right: none;
    padding-right: 0;
    padding-left: 3rem;
}

.small-feature:nth-child(2) {
    padding-left: 3rem;
}

.small-feature h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.small-feature p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ROI Section */
.roi-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.slider-group {
    margin-bottom: 2.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.slider-header label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mono-value {
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.custom-slider {
    width: 100%;
    cursor: pointer;
    accent-color: var(--text-main);
    height: 1px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--text-main);
    cursor: pointer;
    border-radius: 0;
}

.roi-result {
    padding: 4rem;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
}

.giant-number {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    margin-bottom: 3rem;
    line-height: 1;
}

.roi-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.roi-footer p { margin-bottom: 0.5rem; }

/* Pricing */
.pricing-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid var(--border-color);
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.primary-card {
    background: var(--bg-surface);
}

/* Featured Highlights (Subtle Elevation) */
.primary-card-featured {
    background: #111111;
    border: 1px solid var(--text-main);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 2;
}

.pricing-top {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex: 1;
}

.pricing-features li {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* FAQ */
.faq-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.faq-header {
    margin-bottom: 4rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
}

.faq-list {
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-main);
    padding: 2rem 0;
    font-size: 1.125rem;
    font-weight: 400;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-trigger i {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-inner {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.faq-item.active .faq-content {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-inner {
    padding-bottom: 2rem;
}

/* Footer */
.footer {
    padding: 6rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h4 {
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 300px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; }
.footer-links a:hover { color: var(--text-main); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.social-icon {
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.disclaimer {
    font-size: 0.75rem;
    color: #444;
    line-height: 1.5;
    max-width: 800px;
}

/* Responsive */
@media (max-width: 900px) {
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .nav-links.show-mobile { display: flex; }

    .feature-grid, .feature-row.reverse .feature-grid {
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 0;
    }
    
    .small-features-grid, .theme-grid {
        grid-template-columns: 1fr;
    }
    
    .small-feature {
        padding: 3rem 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .small-feature.border-none, .small-feature:nth-child(2) {
        padding-left: 0;
    }
    
    .roi-grid, .pricing-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
}

/* --- HERO MEDIA SHARED CONTAINER --- */
.premium-hero-media {
    position: relative;
    width: 140%; 
    right: -10%; 
    z-index: 1;
}

.dashboard-perspective {
    perspective: 2000px;
    transform-style: preserve-3d;
}

.ambient-glow {
    position: absolute;
    top: 50%;
    left: 40%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(60px);
    pointer-events: none;
}

/* --- STYLE A: THE 3D BLURRED DASHBOARD (For index.html) --- */
.dashboard-3d {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1); 
    transform: rotateY(24deg) rotateX(10deg) rotateZ(2deg);
    box-shadow: 0 40px 100px rgba(0,0,0,0.9);
    opacity: 0.95;
    
    /* The Fading Mask - Specific to index */
    -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,1) 100%);
}

/* Black overlay to help the fade blend - Only used on index.html */
.index-hero-overlay::after {
    content: '';
    position: absolute;
    inset: -10%;
    background: 
        linear-gradient(to bottom, var(--bg-dark) 0%, transparent 15%, transparent 85%, var(--bg-dark) 100%),
        linear-gradient(to left, var(--bg-dark) 0%, transparent 45%);
    pointer-events: none;
    z-index: 2;
}

/* --- STYLE B: THE 3D TILTED PORTFOLIO (For sites.html - No Blur) --- */
.portfolio-3d {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border-color-hover);
    box-shadow: 0 40px 100px rgba(0,0,0,0.9);
    
    /* Exact same tilt as index.html */
    transform: rotateY(24deg) rotateX(10deg) rotateZ(2deg);
    
    /* No mask applied here */
    opacity: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}



/* --- RESPONSIVE FIXES --- */
@media (max-width: 1000px) {
    .hero-split {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .hero-split .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }
    .hero-split .hero-buttons {
        justify-content: center !important;
    }
    .premium-hero-media {
        width: 100%;
        right: 0;
        margin-top: 2rem;
    }
    .dashboard-3d, .portfolio-3d {
        transform: rotateY(12deg) rotateX(5deg) rotateZ(1deg);
    }
    .index-hero-overlay::after {
        background: linear-gradient(to bottom, transparent 80%, var(--bg-dark) 100%);
    }
}

/* --- System Documentation Banner --- */
.docs-banner {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.docs-link-container {
    display: block;
    padding: 2.5rem 0;
    width: 100%;
}

.docs-banner:hover {
    background: var(--bg-dark);
    border-top-color: var(--text-main);
    border-bottom-color: var(--text-main);
}

.docs-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.docs-banner:hover .docs-arrow {
    border-color: var(--text-main);
    color: var(--text-main);
    transform: translateX(4px) translateY(-4px);
}

@media (max-width: 900px) {
    .docs-link-container .container {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1.5rem;
    }
}
/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-color-hover);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--text-main);
    flex: 1; /* Pushes the author info to the bottom evenly */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Fix for Testimonials */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Hero Tags --- */
.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.85rem;
    display: inline-block;
}

/* --- Flywheel Pills --- */
.flywheel-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    display: inline-block;
    transition: border-color 0.2s, color 0.2s;
}

.flywheel-pill:hover {
    border-color: var(--border-color-hover);
    color: var(--text-main);
}

/* --- UI Mockup (terminal-style HTML panels) --- */
.ui-mockup {
    background: var(--bg-surface);
    padding: 2rem;
    min-height: 220px;
}

/* --- Comparison Table --- */
.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header > div,
.comparison-row > div {
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-right: 1px solid var(--border-color);
}

.comparison-header > div:last-child,
.comparison-row > div:last-child {
    border-right: none;
}

.comparison-header {
    background: var(--bg-surface);
}

.comparison-header > div {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.comparison-highlight {
    color: var(--text-main) !important;
    font-weight: 500;
    background: rgba(255,255,255,0.02);
}

.comparison-header .comparison-highlight {
    color: var(--text-main) !important;
}

@media (max-width: 900px) {
    .comparison-table { overflow-x: auto; }
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        min-width: 640px;
    }
}

/* --- Theme Badges --- */
.theme-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    margin-top: 0.5rem;
}

.bespoke-badge {
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #d4af37;
}

.standard-badge {
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* --- Anti-template grid responsive --- */
@media (max-width: 900px) {
    .comparison-table { overflow-x: auto; }
}
/* Security & Compliance Grid */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
    text-align: left;
}

/* Make it stack vertically on mobile */
@media (max-width: 900px) {
    .compliance-grid {
        grid-template-columns: 1fr; /* Forces 1 column */
        gap: 3rem;
        margin-top: 4rem;
    }
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }

/* --- Portfolio Preview: Browser Mockup --- */
.browser-mockup {
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    overflow: hidden;
    max-width: 100%;
}

.browser-chrome {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-dark);
}

.browser-chrome-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-chrome-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color-hover);
}

.browser-url-bar {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-open-btn {
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: color 0.2s;
}

.browser-open-btn:hover {
    color: var(--text-main);
}

.iframe-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--bg-surface);
}

.iframe-wrapper iframe {
    display: block;
    border: none;
    pointer-events: none;
}

.preview-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.preview-tab {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.6rem 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
    line-height: 1;
}

.preview-tab:hover {
    border-color: var(--border-color-hover);
    color: var(--text-main);
}

.preview-tab.active {
    background: var(--text-main);
    color: var(--bg-dark);
    border-color: var(--text-main);
}

.preview-tab-descriptor {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 1rem;
    text-align: center;
}

/* --- Engines Grid (condensed 2-col feature grid) --- */
.engines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.engine-cell {
    padding: 3rem;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.engine-cell h3 {
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.engine-cell p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .engines-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Reduce global section padding --- */
.feature-grid {
    padding: 5rem 0 !important;
}

.banner-row {
    padding: 5rem 0 !important;
}

/* ═══════════════════════════════════════════
   HERO PREMIUM — Cyan/Navy Redesign
═══════════════════════════════════════════ */
.hero-premium {
    background: var(--hero-bg) !important;
    border-bottom-color: rgba(147, 222, 255, 0.08) !important;
}

/* Cyan headline highlight */
.cyan-highlight {
    color: var(--accent-cyan);
}

/* Hero micro-copy line (replaces boxy tags) */
.hero-micro {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: #606470;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-micro-sep {
    color: var(--accent-cyan);
    font-size: 0.65rem;
}

/* Cyan CTA button */
.button-cyan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
    background: var(--accent-cyan);
    color: var(--hero-bg);
    border: 1px solid var(--accent-cyan);
}

.button-cyan:hover {
    background: transparent;
    color: var(--accent-cyan);
}

/* Text-only secondary link */
.button-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.875rem 0;
    transition: color 0.2s;
}

.button-text-link:hover {
    color: var(--text-main);
}

/* MacBook mockup */
.macbook-wrap {
    position: relative;
    width: 100%;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.9));
}

.macbook-lid {
    background: #1c1c1e;
    border-radius: 10px 10px 0 0;
    padding: 6px 6px 0 6px;
    border: 1px solid #2d2d2f;
    border-bottom: none;
}

.macbook-screen-area {
    background: #000;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
}

.macbook-screen-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.macbook-hinge {
    height: 4px;
    background: linear-gradient(to bottom, #111, #1c1c1e);
    border-left: 1px solid #2d2d2f;
    border-right: 1px solid #2d2d2f;
}

.macbook-base {
    background: linear-gradient(160deg, #222224, #141416);
    border-radius: 0 0 6px 6px;
    height: 24px;
    border: 1px solid #2d2d2f;
    border-top: none;
    position: relative;
}

.macbook-base::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 3px;
    background: #0d0d0d;
    border-radius: 2px;
}

/* Cyan backlight glow */
.cyan-glow {
    position: absolute;
    top: 55%;
    left: 50%;
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(147, 222, 255, 0.09) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    filter: blur(50px);
}

/* iPhone overlay */
.iphone-overlay {
    position: absolute;
    bottom: -8%;
    right: -7%;
    width: 22%;
    z-index: 3;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.9));
}

.iphone-frame {
    background: #1c1c1e;
    border: 1px solid #2d2d2f;
    border-radius: 22px;
    padding: 7px;
}

.iphone-screen-area {
    background: #050505;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    display: flex;
    flex-direction: column;
}

.iphone-notch {
    width: 38%;
    height: 12px;
    background: #1c1c1e;
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
    flex-shrink: 0;
}

.iphone-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    gap: 4px;
}

@media (max-width: 1000px) {
    .iphone-overlay { display: none; }
}