/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

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

/* Grey8 Logo Link */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* Logo Text Container */
.logo-text-container {
    display: flex;
    align-items: center;
}

.logo-grey {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-8 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grey8 Logo with Scintillating Stars */
.grey8-logo-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 36px;
    height: 36px;
}

.grey8-logo {
    height: 32px;
    width: auto;
    display: block;
    object-fit: contain;
    border: 2px solid #5b5b5b;
    border-radius: 6px;
    padding: 2px;
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grey8-logo-container:hover .grey8-logo {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

/* Star particles - Bright Royal Purple with scintillation */
.star-particle {
    position: absolute;
    display: block;
    font-size: 8px;
    color: #7c3aed;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(124, 58, 237, 1), 0 0 20px rgba(139, 92, 246, 0.9);
    z-index: 10;
    line-height: 1;
}

/* Show stars only on hover */
.grey8-logo-container:hover .star-particle {
    visibility: visible;
}

/* Individual star positions - scaled for smaller logo */
.star-1 { left: 2px; bottom: 6px; font-size: 6px; }
.star-2 { left: 10px; bottom: 4px; font-size: 8px; }
.star-3 { left: 18px; bottom: 8px; font-size: 5px; }
.star-4 { left: 26px; bottom: 10px; font-size: 7px; }
.star-5 { left: 6px; bottom: 16px; font-size: 9px; }
.star-6 { left: 14px; bottom: 18px; font-size: 7px; }
.star-7 { left: 22px; bottom: 14px; font-size: 6px; }
.star-8 { left: 4px; bottom: 26px; font-size: 5px; }
.star-9 { left: 16px; bottom: 24px; font-size: 8px; }
.star-10 { left: 28px; bottom: 22px; font-size: 6px; }

/* Animate stars on hover */
.grey8-logo-container:hover .star-1 { animation: scintillateRise1 2.5s ease-in-out infinite; }
.grey8-logo-container:hover .star-2 { animation: scintillateRise2 3s ease-in-out infinite 0.2s; }
.grey8-logo-container:hover .star-3 { animation: scintillateRise3 2.8s ease-in-out infinite 0.4s; }
.grey8-logo-container:hover .star-4 { animation: scintillateRise1 3.2s ease-in-out infinite 0.6s; }
.grey8-logo-container:hover .star-5 { animation: scintillateRise2 2.7s ease-in-out infinite 0.8s; }
.grey8-logo-container:hover .star-6 { animation: scintillateRise3 2.9s ease-in-out infinite 0.3s; }
.grey8-logo-container:hover .star-7 { animation: scintillateRise1 3.1s ease-in-out infinite 0.5s; }
.grey8-logo-container:hover .star-8 { animation: scintillateRise2 2.6s ease-in-out infinite 0.7s; }
.grey8-logo-container:hover .star-9 { animation: scintillateRise3 3.3s ease-in-out infinite 0.1s; }
.grey8-logo-container:hover .star-10 { animation: scintillateRise1 2.8s ease-in-out infinite 0.9s; }

/* Scintillation animation with rise - Pattern 1 */
@keyframes scintillateRise1 {
    0% { opacity: 0; transform: translateY(0) scale(0.5); filter: brightness(1.2); }
    8% { opacity: 0.7; filter: brightness(2.5); }
    15% { opacity: 0.3; filter: brightness(1.3); }
    25% { opacity: 0.9; filter: brightness(3); }
    35% { opacity: 0.5; filter: brightness(1.8); }
    45% { opacity: 0.85; filter: brightness(2.7); }
    55% { opacity: 0.4; filter: brightness(1.5); }
    65% { opacity: 0.75; filter: brightness(2.3); }
    75% { opacity: 0.6; filter: brightness(2); }
    85% { opacity: 0.3; filter: brightness(1.4); }
    95% { opacity: 0.15; filter: brightness(1.1); }
    100% { opacity: 0; transform: translateY(-40px) scale(0.7); filter: brightness(0.8); }
}

/* Scintillation animation with rise - Pattern 2 */
@keyframes scintillateRise2 {
    0% { opacity: 0; transform: translateY(0) scale(0.6); filter: brightness(1.1); }
    10% { opacity: 0.6; filter: brightness(2.2); }
    20% { opacity: 0.9; filter: brightness(2.9); }
    30% { opacity: 0.4; filter: brightness(1.6); }
    40% { opacity: 0.8; filter: brightness(2.6); }
    50% { opacity: 0.5; filter: brightness(1.9); }
    60% { opacity: 0.85; filter: brightness(2.8); }
    70% { opacity: 0.45; filter: brightness(1.7); }
    80% { opacity: 0.65; filter: brightness(2.1); }
    90% { opacity: 0.25; filter: brightness(1.3); }
    100% { opacity: 0; transform: translateY(-45px) scale(0.8); filter: brightness(0.9); }
}

/* Scintillation animation with rise - Pattern 3 */
@keyframes scintillateRise3 {
    0% { opacity: 0; transform: translateY(0) scale(0.4); filter: brightness(1.3); }
    12% { opacity: 0.8; filter: brightness(2.7); }
    22% { opacity: 0.45; filter: brightness(1.5); }
    32% { opacity: 0.9; filter: brightness(3.1); }
    42% { opacity: 0.55; filter: brightness(2); }
    52% { opacity: 0.75; filter: brightness(2.5); }
    62% { opacity: 0.4; filter: brightness(1.6); }
    72% { opacity: 0.8; filter: brightness(2.4); }
    82% { opacity: 0.5; filter: brightness(1.8); }
    92% { opacity: 0.2; filter: brightness(1.2); }
    100% { opacity: 0; transform: translateY(-50px) scale(0.6); filter: brightness(1); }
}

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

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav a:hover {
    color: var(--text-primary);
}

.cta-button {
    background: var(--gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    color: white !important;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    margin-top: 60px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.primary-button {
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.secondary-button {
    background: var(--dark-card);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(100, 116, 139, 0.3);
    transition: all 0.3s;
    display: inline-block;
}

.secondary-button:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.hero-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Dashboard Preview */
.dashboard-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.card-header {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.card-metrics {
    display: flex;
    gap: 2rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Features Section */
.features {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(30, 41, 59, 0.5) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Why Section */
.why-section {
    background: var(--dark-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.why-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.why-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Use Cases */
.use-cases {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(30, 41, 59, 0.5) 100%);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.use-case {
    background: var(--dark-card);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.use-case.visible {
    opacity: 1;
    transform: translateY(0);
}

.use-case:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.use-case-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.use-case h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.use-case p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Demo Section */
.demo-section {
    background: var(--dark-bg);
}

.demo-video-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.demo-video-container iframe {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.demo-placeholder {
    max-width: 800px;
    margin: 0 auto;
}

.demo-box {
    background: var(--dark-card);
    border: 2px dashed rgba(100, 116, 139, 0.3);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
}

.demo-box p {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.demo-subtext {
    font-size: 1rem !important;
    color: var(--text-secondary);
    text-align: center;
}

/* Waitlist Section */
.waitlist-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.waitlist-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.waitlist-form input {
    padding: 1rem 1.5rem;
    background: var(--dark-card);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.waitlist-form input::placeholder {
    color: var(--text-secondary);
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Inter', sans-serif;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.form-note {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-card);
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-logo-link {
    margin-bottom: 0.5rem;
}

.footer-logo-container {
    width: 32px;
    height: 32px;
}

.footer-grey8-logo {
    height: 28px;
}

.footer-links {
    display: flex;
    flex: 2;
    justify-content: space-evenly;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.25rem 0;
}

/* Success Banner */
.success-banner {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

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

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

    .footer-content {
        flex-wrap: wrap;
    }

    .footer-links {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid,
    .why-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

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

    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 1.5rem;
    }

    .success-banner {
        width: 90%;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.why-card,
.use-case {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ==========================================================================
   CONSULTING PAGE STYLES
   ========================================================================== */

/* Navigation Active State */
.nav-active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Consulting Hero */
.consulting-hero {
    padding: 10rem 0 6rem;
    margin-top: 60px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.consulting-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.badge-icon {
    font-size: 1.1rem;
}

.consulting-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.consulting-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.trust-icon {
    color: #10b981;
    font-weight: bold;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--dark-card);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--dark-bg);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.service-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon {
    font-size: 1.75rem;
}

.ai-gradient { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.saas-gradient { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.app-gradient { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.data-gradient { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.cloud-gradient { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.iot-gradient { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.security-gradient { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.perf-gradient { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.services-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.services-cta p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Why Section */
.why-consulting-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--dark-card) 0%, var(--dark-bg) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.why-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.why-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container h2,
.schedule-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.contact-form-container > p,
.schedule-container > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.consulting-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.consulting-form input,
.consulting-form select,
.consulting-form textarea {
    padding: 0.875rem 1rem;
    background: var(--dark-card);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.consulting-form input:focus,
.consulting-form select:focus,
.consulting-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.consulting-form input::placeholder,
.consulting-form textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.consulting-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.consulting-form textarea {
    resize: vertical;
    min-height: 120px;
}

.consulting-form .submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Inter', sans-serif;
}

.consulting-form .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.consulting-form .submit-button:hover .btn-arrow {
    transform: translateX(4px);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
}

/* Schedule Container */
.schedule-container {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* Schedule Button (replaces Appointy iframe) */
.schedule-cta {
    margin: 1.5rem 0;
}

.schedule-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.schedule-button:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
}

.schedule-icon {
    font-size: 2rem;
    line-height: 1;
}

.schedule-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.schedule-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.schedule-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.schedule-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.schedule-button:hover .schedule-arrow {
    transform: translate(3px, -3px);
}

.direct-contact {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    margin-top: 1.5rem;
}

.direct-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.email-link:hover {
    color: var(--secondary-color);
}

.email-icon {
    font-size: 1.1rem;
}

/* ==========================================================================
   ADVISOR SECTION - Diagnostic-Led Cards
   ========================================================================== */

.advisor-section {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.advisor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.advisor-card {
    background: var(--dark-card);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.advisor-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.advisor-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.advisor-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.advisor-icon {
    font-size: 1.75rem;
}

.diagnostic-gradient { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.ai-ready-gradient { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.risk-gradient { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.execution-gradient { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.advisor-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.advisor-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.advisor-cta {
    text-align: center;
    padding-top: 1.5rem;
}

.capabilities-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.capabilities-link:hover {
    color: var(--primary-color);
}

.capabilities-link .link-arrow {
    transition: transform 0.3s;
}

.capabilities-link:hover .link-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   CAPABILITIES ACCORDION
   ========================================================================== */

.capabilities-disclaimer {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.capabilities-accordion {
    margin-bottom: 2rem;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--dark-bg);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.accordion-header:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.accordion-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.accordion-icon {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

.accordion-content {
    padding-top: 1.5rem;
}

.accordion-content[hidden] {
    display: none;
}

/* ==========================================================================
   FORM - Radio & Checkbox Styles
   ========================================================================== */

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.875rem 1rem;
    background: var(--dark-card);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    transition: all 0.3s;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.radio-label,
.checkbox-label {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.radio-option:has(input:checked),
.checkbox-option:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Responsive - Consulting */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .consulting-title {
        font-size: 2.5rem;
    }

    .consulting-subtitle {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 1rem;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 0.75rem;
    }

    .advisor-grid {
        grid-template-columns: 1fr;
    }

    .accordion-header {
        padding: 1rem;
    }

    .accordion-title {
        font-size: 1rem;
    }
}

/* ==========================================================================
   BLOG PAGE STYLES
   ========================================================================== */

/* Blog Hero */
.blog-hero {
    padding: 10rem 0 4rem;
    margin-top: 60px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.blog-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Sections */
.blog-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.blog-section-alt {
    background: var(--dark-card);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

/* Blog Card */
.blog-card {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 116, 139, 0.2);
    opacity: 0;
    transform: translateY(20px);
}

.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-section-alt .blog-card {
    background: var(--dark-bg);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.blog-card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-icon {
    font-size: 4rem;
    opacity: 0.3;
}

.blog-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-separator {
    color: var(--text-secondary);
    margin: 0 0.5rem;
}

.blog-read-time {
    color: var(--text-secondary);
}

.blog-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.blog-card:hover .read-more {
    color: var(--secondary-color);
}

/* Blog CTA Section */
.blog-cta-section {
    padding: 5rem 0;
    background: var(--gradient);
}

.blog-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.blog-cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.blog-cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.blog-cta-content .primary-button {
    background: white;
    color: var(--primary-color);
}

.blog-cta-content .primary-button:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-note {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Blog Post Page Styles */
.blog-post-hero {
    padding: 8rem 0 3rem;
    margin-top: 60px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

.blog-post-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-image {
    max-width: 900px;
    margin: 2rem auto 0;
}

.blog-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb span {
    color: var(--text-secondary);
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.blog-post-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blog-post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Blog Post Content */
.blog-post-content {
    padding: 4rem 0;
    background: var(--dark-card);
}

.blog-post-body {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
}

.blog-post-body h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}

.blog-post-body p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-post-body ul,
.blog-post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-post-body li {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.blog-post-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-post-body a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.blog-post-body a:hover {
    border-bottom-color: var(--primary-color);
}

/* Highlight Box */
.highlight-box {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.highlight-box.info {
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--primary-color);
}

.highlight-box.warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
}

.highlight-box.success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10b981;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Metric Cards */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.metric-card {
    background: var(--dark-bg);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--dark-bg);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2.25rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-title {
        font-size: 2rem;
    }

    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}


/* ============================================================
 * Phase 1 corporate-site restructure — umbrella additions
 * Self-contained: only adds new rules + targeted overrides;
 * does not modify existing rules.
 * ============================================================ */

/* Hero — single-column variant for the umbrella homepage */
.hero-umbrella .container {
    grid-template-columns: 1fr;
    max-width: 820px;
    text-align: center;
}
.hero-umbrella .hero-cta {
    justify-content: center;
}

/* Product cards (3-up) */
.products-grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
    .products-grid { grid-template-columns: 1fr; }
}
.product-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 2rem;
}
.product-card h3 {
    margin-bottom: 0.5rem;
}
.product-tagline {
    font-weight: 600;
    color: var(--text-primary, #1f2937);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.product-card > p {
    flex: 1;
}
.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ececf2;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    align-self: flex-start;
    letter-spacing: 0.01em;
}
.status-available { background: rgba(16, 185, 129, 0.14); color: #047857; }
.status-building  { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.status-planned   { background: rgba(99, 102, 241, 0.14); color: #4338ca; }

/* Inline card CTA link */
.card-cta {
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    font-size: 0.95rem;
    align-self: flex-start;
}
.card-cta:hover { text-decoration: underline; }

/* Services (2-up) */
.services-grid {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) {
    .services-grid { grid-template-columns: 1fr; }
}
.services-grid .why-card {
    text-align: left;
}
.services-grid .card-cta {
    display: inline-block;
    margin-top: 1rem;
}

/* Learn callout */
.learn-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f5fa 0%, #e8eaff 100%);
}
.learn-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.learn-blurb {
    font-size: 1.1rem;
    color: var(--text-secondary, #4b5563);
    margin-bottom: 2rem;
    line-height: 1.75;
}

/* Integrations strip */
.integrations {
    padding: 4rem 0;
    border-top: 1px solid #ececf2;
}
.integrations-label {
    text-align: center;
    color: var(--text-secondary, #6b7280);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}
.integrations-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}
.integrations-strip span {
    color: #4b5563;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.integrations-strip span:hover {
    opacity: 1;
}

/* Testimonials hidden by default; opt-in via body.has-testimonials */
.testimonials { display: none; }
body.has-testimonials .testimonials { display: block; padding: 5rem 0; }

/* === Phase 2: about page prose === */
.about-prose {
    padding: 4rem 0 6rem;
}
.about-prose .container {
    max-width: 720px;
}
.about-block {
    margin-bottom: 3rem;
}
.about-block:last-child {
    margin-bottom: 0;
}
.about-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary, #1f2937);
}
.about-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary, #4b5563);
}
.founded-line {
    text-align: center;
    color: var(--text-secondary, #6b7280);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    font-style: italic;
}

/* === Phase 4: dropdown nav === */
.nav-group {
    position: relative;
}
.nav-group > .nav-trigger {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}
.nav-group > .nav-trigger:hover,
.nav-group:focus-within > .nav-trigger {
    color: var(--text-primary);
}
.nav-trigger::after {
    content: "\25BE";
    font-size: 0.7em;
    line-height: 1;
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--dark-card, #1e293b);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 10px;
    padding: 0.5rem;
    /* Bridging padding-top creates a continuous hover area between
       the trigger and the visible card; background-clip keeps the
       card's visible edge crisp. */
    padding-top: 0.85rem;
    margin-top: 0;
    background-clip: padding-box;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 120ms ease, visibility 0s linear 120ms;
    display: flex;
    flex-direction: column;
    z-index: 100;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
/* Extend the trigger's clickable/hoverable area downward so the
   cursor doesn't lose contact when crossing into the dropdown. */
.nav-group > .nav-trigger {
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
}
.nav-dropdown a {
    color: var(--text-secondary);
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.3;
    white-space: nowrap;
}
.nav-dropdown a:hover {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-primary);
}
.nav-dropdown a small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.78rem;
    opacity: 0.75;
    margin-top: 0.15rem;
    font-weight: 400;
}
@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        transform: none;
        display: flex;
        flex-direction: column;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0 0 0 1rem;
        margin-top: 0.25rem;
        min-width: auto;
    }
    .nav-trigger::after { display: none; }
}

/* === Phase 4: light-section text contrast fix === */
/* When a normally-dark section is overridden to a light background,
   headings and body text need to flip to dark colors. */
.section--light,
.learn-section,
.why-section[style*="fafafe"],
.why-section[style*="#faf"] {
    color: #1f2937;
}
.learn-section .founded-line {
    color: #4b5563;
}
.learn-section .founded-line a {
    color: #4338ca;
    text-decoration: underline;
}
.learn-section .founded-line a:hover {
    color: #312e81;
}

/* === Phase 4: footer social icons === */
.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-secondary, #94a3b8);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-socials a:hover {
    background: rgba(99, 102, 241, 0.18);
    color: var(--text-primary, #f1f5f9);
    transform: translateY(-1px);
}
.footer-socials svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.section--light .section-title,
.learn-section .section-title,
.why-section[style*="fafafe"] .section-title,
.why-section[style*="#faf"] .section-title {
    color: #0f172a;
}
.section--light .section-subtitle,
.learn-section .section-subtitle,
.learn-section .learn-blurb,
.why-section[style*="fafafe"] .section-subtitle,
.why-section[style*="#faf"] .section-subtitle {
    color: #4b5563;
}
/* Light-bg why-cards: invert from dark-card to off-white */
.why-section[style*="fafafe"] .why-card,
.why-section[style*="#faf"] .why-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.why-section[style*="fafafe"] .why-card h3,
.why-section[style*="#faf"] .why-card h3 {
    color: #0f172a;
}
.why-section[style*="fafafe"] .why-card p,
.why-section[style*="#faf"] .why-card p {
    color: #4b5563;
}
}