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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0d1117;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link i {
    font-size: 0.85rem;
    color: #4f8ff7;
}

.nav-link.btn-login i,
.nav-link.btn-login .dropdown-caret {
    color: inherit;
}

.nav-link:hover {
    color: #4f8ff7;
}

.nav-link.btn-login {
    background: linear-gradient(135deg, #4f8ff7, #3b82f6);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link.btn-login:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-1px);
    color: #ffffff;
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
}

.dropdown-caret {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #c9d1d9;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: #4f8ff7;
}

.dropdown-item:hover {
    background: rgba(79, 143, 247, 0.15);
    color: #4f8ff7;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(79, 143, 247, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    background: linear-gradient(135deg, #4f8ff7 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 143, 247, 0.12);
    border: 1px solid rgba(79, 143, 247, 0.3);
    color: #4f8ff7;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.1rem;
    color: #8b949e;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4f8ff7;
    margin-bottom: 8px;
}

.hero-access-note {
    font-size: 0.8rem;
    color: #6e7681;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-access-note i {
    font-size: 0.75rem;
    color: #6e7681;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #4f8ff7, #3b82f6);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 143, 247, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 143, 247, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    flex: 1;
    min-width: 130px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeSlideUp 0.5s ease forwards;
}

.hero-stat-item:nth-child(1) { animation-delay: 0.15s; }
.hero-stat-item:nth-child(2) { animation-delay: 0.30s; }
.hero-stat-item:nth-child(3) { animation-delay: 0.45s; }

.hero-stat-item:hover {
    background: rgba(79, 143, 247, 0.08);
    border-color: rgba(79, 143, 247, 0.3);
    transform: translateY(-2px);
}

.hero-stat-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, rgba(79, 143, 247, 0.2), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(79, 143, 247, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: iconGlow 3s ease-in-out infinite;
}

.hero-stat-icon i {
    color: #4f8ff7;
    font-size: 0.95rem;
}

.hero-stat-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    line-height: 1.3;
}

.hero-stat-label {
    font-size: 0.72rem;
    color: #8b949e;
    display: block;
    margin-top: 2px;
}

@keyframes iconGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(79, 143, 247, 0);
        background: linear-gradient(135deg, rgba(79, 143, 247, 0.2), rgba(59, 130, 246, 0.08));
    }
    50% {
        box-shadow: 0 0 10px 2px rgba(79, 143, 247, 0.18);
        background: linear-gradient(135deg, rgba(79, 143, 247, 0.28), rgba(59, 130, 246, 0.14));
    }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Feature Card */
.hero-feature-card {
    background: linear-gradient(145deg, #161b22, #21262d);
    border: 1px solid rgba(79, 143, 247, 0.2);
    border-radius: 20px;
    padding: 22px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-header i {
    font-size: 1.2rem;
    color: #4f8ff7;
}

.hero-card-header span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.hero-feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    margin-bottom: 18px;
}

.hero-feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-feature-list li i {
    color: #4f8ff7;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hero-feature-list li span {
    color: #c9d1d9;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.3;
}

.hero-card-promise {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #8b949e;
    margin-bottom: 14px;
    padding: 8px 12px;
    background: rgba(79, 143, 247, 0.06);
    border-radius: 8px;
    border: 1px solid rgba(79, 143, 247, 0.12);
}

.hero-card-promise i {
    color: #4f8ff7;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hero-card-cta {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 12px 20px;
}

/* Founding Company Pricing */
.founding-pricing {
    padding: 80px 0;
    background: #0d1117;
}

.founding-pricing-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(145deg, #161b22, #21262d);
    border: 1px solid rgba(79, 143, 247, 0.25);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.founding-pricing-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 16px 0;
    color: #ffffff;
}

.founding-pricing-card > p {
    font-size: 1.05rem;
    color: #8b949e;
    margin-bottom: 28px;
    line-height: 1.6;
}

.founding-pricing-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-bottom: 28px;
    text-align: left;
}

.founding-pricing-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.founding-pricing-list li i {
    color: #4f8ff7;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.founding-pricing-list li span {
    color: #c9d1d9;
    font-size: 0.95rem;
    font-weight: 500;
}

.founding-pricing-limit {
    font-size: 0.85rem;
    color: #6e7681;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Access Model / Product Suite Section */
.access-model {
    padding: 80px 0;
    background: #0d1117;
}

/* Local Trust Bar — Home page */
.local-trust-bar {
    padding: 24px 0;
    background: #161b22;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.local-trust-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.local-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8b949e;
    font-size: 0.9rem;
}

.local-trust-item i {
    color: #4f8ff7;
    font-size: 1rem;
    flex-shrink: 0;
}

.local-trust-item a {
    color: inherit;
    text-decoration: none;
}

.local-trust-item a:hover {
    color: #4f8ff7;
}

.local-trust-item strong {
    color: #ffffff;
}

.local-trust-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
}

/* Local Dallas Banner — Contact page */
.local-dallas-banner {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    border-bottom: 1px solid rgba(79, 143, 247, 0.15);
    padding: 48px 0;
}

.local-dallas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.local-dallas-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.local-dallas-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(79, 143, 247, 0.15), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(79, 143, 247, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.local-dallas-icon i {
    color: #4f8ff7;
    font-size: 1.2rem;
}

.local-dallas-item h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.local-dallas-item p {
    color: #8b949e;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.local-dallas-item a {
    color: #4f8ff7;
    text-decoration: none;
}

.local-dallas-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .local-trust-divider { display: none; }
    .local-trust-grid { gap: 16px; justify-content: flex-start; }
    .local-dallas-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: #161b22;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.section-header p {
    font-size: 1.25rem;
    color: #8b949e;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: linear-gradient(145deg, #21262d, #30363d);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 143, 247, 0.3);
    box-shadow: 0 10px 30px rgba(79, 143, 247, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4f8ff7, #3b82f6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.feature-card p {
    color: #8b949e;
    line-height: 1.6;
}

.feature-card .feature-card-tags {
    color: #4f8ff7;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.features-more-link {
    text-align: center;
    margin-top: 48px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.25rem;
    color: #8b949e;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
.footer {
    background: #0d1117;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.footer-section p {
    color: #8b949e;
    line-height: 1.6;
}

.footer-section h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section h4.footer-subheading {
    margin-top: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a i {
    width: 16px;
    text-align: center;
    color: #4f8ff7;
}

.footer-section ul li a:hover {
    color: #4f8ff7;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #8b949e;
}

.contact-info i {
    color: #4f8ff7;
    width: 16px;
}

.contact-info .address-line {
    padding-left: 24px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #8b949e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(13, 17, 23, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 15px;
        display: block;
        width: 100%;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
        padding: 0;
        min-width: 0;
    }

    .dropdown.show .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 12px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-stat-item {
        flex: 0 1 calc(50% - 10px);
        min-width: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 24px 15px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-feature-card {
        padding: 20px;
        max-width: 100%;
    }

    .hero-feature-list {
        grid-template-columns: 1fr;
    }

    .founding-pricing-card {
        padding: 32px 24px;
    }

    .founding-pricing-list {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 24px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Active Navigation State */
.nav-link.active {
    color: #4f8ff7;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #4f8ff7;
    border-radius: 1px;
}

/* Pricing Page Styles */

/* Founding Member Banner */
.founding-member-banner {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #0d1117 0%, #1a2436 100%);
    text-align: center;
    border-bottom: 1px solid rgba(79, 143, 247, 0.2);
}

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

.founding-banner-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.founding-banner-content > p {
    font-size: 1.125rem;
    color: #8b949e;
    margin-bottom: 32px;
    line-height: 1.6;
}

.founding-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 143, 247, 0.12);
    border: 1px solid rgba(79, 143, 247, 0.3);
    color: #4f8ff7;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.founding-note {
    font-size: 0.875rem;
    color: #6e7681;
    margin-top: 16px;
    margin-bottom: 0;
}

.pricing-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #161b22 0%, #21262d 100%);
    text-align: center;
}

.pricing-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.pricing-hero-content p {
    font-size: 1.25rem;
    color: #8b949e;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-subtext {
    font-size: 1rem !important;
    color: #6e7681 !important;
    margin-bottom: 20px !important;
}

.pricing-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto 32px;
}

.free-trial-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(79, 143, 247, 0.12);
    border: 1px solid rgba(79, 143, 247, 0.3);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
}

.free-trial-badge i {
    color: #4f8ff7;
    font-size: 1rem;
    flex-shrink: 0;
}

.future-features-promise {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(79, 143, 247, 0.08);
    border: 1px solid rgba(79, 143, 247, 0.2);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.9rem;
    color: #c9d1d9;
}

@media (max-width: 600px) {
    .pricing-badges {
        grid-template-columns: 1fr;
    }
}

.future-features-promise i {
    color: #4f8ff7;
    font-size: 1rem;
    flex-shrink: 0;
}

.future-features-promise strong {
    color: #ffffff;
}

.table-row-highlight td {
    background: rgba(79, 143, 247, 0.06);
    border-top: 1px solid rgba(79, 143, 247, 0.2);
    color: #c9d1d9 !important;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.pricing-no-hidden {
    font-size: 0.82rem;
    color: #6e7681;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.pricing-no-hidden i {
    color: #4f8ff7;
    font-size: 0.75rem;
}

.billing-option {
    color: #8b949e;
    font-weight: 500;
    transition: color 0.3s ease;
}

.billing-option.active {
    color: #ffffff;
}

.discount-badge {
    background: #4f8ff7;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

.toggle-switch {
    width: 50px;
    height: 24px;
    background: #30363d;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch.active {
    background: #4f8ff7;
}

.toggle-slider {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(26px);
}

.pricing-plans {
    padding: 60px 0 120px;
    background: #161b22;
}

.plans-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 32px;
}

.pricing-load-error {
    width: 100%;
    text-align: center;
    color: #9ba3af;
    padding: 40px 20px;
    font-size: 1rem;
}

.pricing-load-error a {
    color: #4f8ff7;
}

/* Percentage-based basis so each breakpoint always divides evenly into
   whole cards — never an odd one stranded next to empty space — and
   self-corrects against the container's real available width instead of
   relying on hand-computed pixel math against fixed-width cards. */
.plan-card {
    flex: 0 1 calc(25% - 18px);
    min-width: 250px;
    max-width: 320px;
    background: linear-gradient(145deg, #21262d, #30363d);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 143, 247, 0.3);
    box-shadow: 0 20px 40px rgba(79, 143, 247, 0.2);
}

.plan-card.featured {
    border-color: #4f8ff7;
    box-shadow: 0 0 0 1px #4f8ff7, 0 20px 40px rgba(79, 143, 247, 0.25);
}

.plan-card.featured:hover {
    transform: translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4f8ff7, #3b82f6);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.plan-header p {
    color: #8b949e;
    margin-bottom: 24px;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.price-was {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6e7681;
    text-decoration: line-through;
}

.price-now-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #4f8ff7;
}

.period {
    color: #8b949e;
    font-size: 1rem;
}

.plan-founding-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4f8ff7;
    margin-top: 4px;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.plan-founding-label i {
    font-size: 0.65rem;
}

.plan-per-guard {
    font-size: 0.78rem;
    color: #8b949e;
    margin-top: 6px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.plan-per-guard strong {
    color: #4f8ff7;
}

/* Billing toggle show/hide — CSS drives everything, no inline style conflicts */
.show-annual          { display: none; }
.show-monthly         { display: block; }
.price-now-wrap .show-monthly { display: inline; }
.price-now-wrap .show-annual  { display: none; }

#pricing-plans.annual-active .show-monthly { display: none !important; }
#pricing-plans.annual-active .show-annual  { display: block !important; }
#pricing-plans.annual-active .price-now-wrap .show-annual  { display: inline !important; }
#pricing-plans.annual-active .price-now-wrap .show-monthly { display: none !important; }

/* plan-founding-label and plan-per-guard need flex when visible */
.plan-founding-label.show-monthly,
.plan-per-guard.show-monthly { display: flex; }
#pricing-plans.annual-active .plan-founding-label.show-annual,
#pricing-plans.annual-active .plan-per-guard.show-annual { display: flex !important; }

.plan-guard-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4f8ff7;
    margin-top: 8px;
}

.pricing-note {
    text-align: center;
    color: #8b949e;
    margin-top: 32px;
    font-size: 0.95rem;
}

.pricing-note a {
    color: #4f8ff7;
    text-decoration: none;
}

.pricing-note a:hover {
    text-decoration: underline;
}

.all-features-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 143, 247, 0.1);
    border: 1px solid rgba(79, 143, 247, 0.2);
    color: #4f8ff7;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.plan-features i {
    color: #4f8ff7;
    width: 16px;
}

.btn-plan {
    width: 100%;
}

/* Custom plan — full-width horizontal card */
.plan-card-custom-wide {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, #0d1117, #161b22);
    border: 2px dashed rgba(79, 143, 247, 0.3);
    border-radius: 20px;
    padding: 32px 40px;
    max-width: 1100px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.plan-card-custom-wide:hover {
    border-style: solid;
    border-color: rgba(79, 143, 247, 0.5);
    box-shadow: 0 10px 30px rgba(79, 143, 247, 0.1);
}

.custom-wide-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.custom-wide-left h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.custom-wide-left p {
    color: #8b949e;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.custom-wide-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(79, 143, 247, 0.15), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(79, 143, 247, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-wide-icon i {
    color: #4f8ff7;
    font-size: 1.3rem;
}

.custom-wide-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.custom-wide-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c9d1d9;
    font-size: 0.85rem;
}

.custom-wide-features span i {
    color: #4f8ff7;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.custom-wide-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.custom-wide-cta p {
    font-size: 0.8rem;
    color: #6e7681;
    margin: 0;
    text-align: center;
}

.custom-wide-cta a:not(.btn) {
    color: #4f8ff7;
    text-decoration: none;
}

.custom-wide-cta a:not(.btn):hover {
    text-decoration: underline;
}

/* Features Comparison Table */
.features-comparison {
    padding: 120px 0;
    background: #0d1117;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #21262d;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: #30363d;
    color: #ffffff;
    font-weight: 600;
}

.comparison-table td {
    color: #8b949e;
}

.text-green {
    color: #4f8ff7;
}

.text-red {
    color: #f85149;
}

/* FAQ Styles */
.pricing-faq,
.contact-faq {
    padding: 120px 0;
    background: #161b22;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: #21262d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(79, 143, 247, 0.1);
}

.faq-question h4 {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #4f8ff7;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 400px;
}

.faq-answer p {
    color: #8b949e;
    margin: 0;
    line-height: 1.6;
}

/* Features Page Styles */
.features-hero,
.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    text-align: center;
}

.features-hero-content h1,
.contact-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.features-hero-content p,
.contact-hero-content p {
    font-size: 1.25rem;
    color: #8b949e;
    max-width: 600px;
    margin: 0 auto;
}

.core-features {
    padding: 120px 0;
    background: #161b22;
}

.feature-section {
    margin-bottom: 120px;
}

.feature-section.reverse .feature-content {
    flex-direction: row-reverse;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.feature-text h3 i {
    color: #4f8ff7;
    margin-right: 16px;
}

.feature-text p {
    font-size: 1.125rem;
    color: #8b949e;
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.feature-list li {
    padding: 8px 0;
    color: #ffffff;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '•';
    color: #4f8ff7;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup-container {
    background: linear-gradient(145deg, #21262d, #30363d);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

.mockup-screen {
    background: #0d1117;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(79, 143, 247, 0.3);
}

.mockup-header h4 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(79, 143, 247, 0.1);
    padding: 16px;
    border-radius: 8px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    background: #4f8ff7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar i {
    color: #ffffff;
}

.profile-info h5 {
    color: #ffffff;
    margin-bottom: 4px;
}

.profile-info span {
    color: #8b949e;
    font-size: 0.875rem;
}

.profile-stats {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 0.75rem;
}

.profile-stats span {
    color: #4f8ff7;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.cert-item.valid .cert-status {
    color: #4f8ff7;
}

.cert-item.warning .cert-status {
    color: #ffa500;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.schedule-day h6 {
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
    font-size: 0.875rem;
}

.shift {
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.shift.morning {
    background: rgba(79, 143, 247, 0.2);
    color: #4f8ff7;
}

.shift.evening {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

.shift.night {
    background: rgba(139, 148, 158, 0.2);
    color: #8b949e;
}

.training-modules {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.module {
    display: flex;
    align-items: center;
    gap: 12px;
}

.module i {
    font-size: 1.5rem;
}

.module.completed i {
    color: #4f8ff7;
}

.module.in-progress i {
    color: #ffa500;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #4f8ff7, #3b82f6);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.advanced-features {
    padding: 120px 0;
    background: #0d1117;
}

.advanced-feature-card {
    background: linear-gradient(145deg, #21262d, #30363d);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.advanced-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 143, 247, 0.3);
    box-shadow: 0 10px 30px rgba(79, 143, 247, 0.2);
}

.feature-categories {
    padding: 120px 0;
    background: #161b22;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.category-section {
    background: #21262d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.category-section h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.category-section h3 i {
    color: #4f8ff7;
    margin-right: 12px;
}

.category-section ul {
    list-style: none;
}

.category-section ul li {
    padding: 8px 0;
    color: #8b949e;
    position: relative;
    padding-left: 20px;
}

.category-section ul li::before {
    content: '•';
    color: #4f8ff7;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0 120px;
    background: #161b22;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section {
    background: #21262d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h2 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.form-header p {
    color: #8b949e;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #30363d;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f8ff7;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b949e;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: #8b949e;
    font-size: 0.875rem;
    line-height: 1.4;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    top: 2px;
    left: 0;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: #30363d;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #4f8ff7;
    border-color: #4f8ff7;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"]:focus-visible + .checkmark {
    outline: 2px solid #4f8ff7;
    outline-offset: 2px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card,
.support-hours,
.quick-links {
    background: #21262d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.contact-card h3,
.support-hours h3,
.quick-links h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4f8ff7, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #ffffff;
    font-size: 1.25rem;
}

.contact-text h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-text p {
    color: #8b949e;
    margin-bottom: 4px;
}

.small-text {
    font-size: 0.875rem;
    color: #6e7681;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    color: #ffffff;
    font-weight: 500;
}

.hours-item span:last-child {
    color: #8b949e;
}

.hours-item.emergency span {
    color: #4f8ff7;
}

.quick-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-links a {
    color: #8b949e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #4f8ff7;
}

.quick-links i {
    width: 16px;
    color: #4f8ff7;
}

/* Tablet: exactly 2 cards per row, regardless of how many plans exist. */
@media (min-width: 769px) and (max-width: 1299px) {
    .plan-card {
        flex-basis: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .plans-grid {
        gap: 20px;
    }

    .plan-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .plan-card-custom-wide {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
        text-align: center;
    }

    .custom-wide-left {
        flex-direction: column;
        text-align: center;
    }

    .custom-wide-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .comparison-table-wrapper {
        margin: 0 -20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-section.reverse .feature-content {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .pricing-hero-content h1,
    .features-hero-content h1,
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .billing-toggle {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ---- Home page: tagline, feature-card tags, "see every feature" link, founding pricing ---- */
.hero-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: #a9d0ff;
    margin-bottom: 24px;
}

.feature-card p.feature-card-tags {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4f8ff7;
    margin: -6px 0 12px;
}

.features-more-link {
    text-align: center;
    margin-top: 40px;
}

.founding-pricing {
    padding: 80px 0 40px;
    background: #0d1117;
}

.founding-pricing-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(79, 143, 247, 0.10), rgba(79, 143, 247, 0.03));
    border: 1px solid rgba(79, 143, 247, 0.3);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.founding-pricing-card h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 4px 0 12px;
}

.founding-pricing-card > p {
    color: #c9d6e8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto 24px;
    max-width: 560px;
}

.founding-pricing-list {
    list-style: none;
    margin: 0 auto 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px 24px;
    text-align: left;
    max-width: 640px;
}

.founding-pricing-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e6edf3;
    font-size: 1rem;
}

.founding-pricing-list li i {
    color: #3fb950;
    flex-shrink: 0;
}

.founding-pricing-limit {
    margin: 18px 0 0;
    font-size: 0.9rem;
    color: #8b949e;
}

.founding-pricing-limit i {
    color: #d29922;
    margin-right: 6px;
}

@media (max-width: 768px) {
    .founding-pricing-card {
        padding: 32px 22px;
    }

    .founding-pricing-card h2 {
        font-size: 1.7rem;
    }
}

/* Four feature cards on the home page: one row on desktop, two-by-two on tablets, stacked on phones. */
#features .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Blog: index cards and article typography, shared by every post under /blog. */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 26px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
    border-color: rgba(79,143,247,0.5);
    transform: translateY(-2px);
}

.blog-card h2 {
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0;
}

.blog-card p {
    color: #a7b7c9;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.blog-card-category {
    align-self: flex-start;
    background: rgba(79,143,247,0.12);
    border: 1px solid rgba(79,143,247,0.3);
    border-radius: 999px;
    padding: 4px 12px;
    color: #dfeaff;
    font-size: 0.78rem;
    font-weight: 600;
}

.blog-card-meta {
    color: #8b949e;
    font-size: 0.9rem;
}

.blog-card-link {
    color: #4f8ff7;
    font-weight: 600;
}

.blog-article-header {
    padding: 96px 0 32px;
    background: linear-gradient(180deg, rgba(79,143,247,0.08), rgba(0,0,0,0));
}

.blog-breadcrumb {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.blog-breadcrumb a {
    color: #a9d0ff;
    text-decoration: none;
}

.blog-breadcrumb span {
    margin: 0 6px;
}

.blog-article-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 18px;
}

.blog-article-lede {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: #c9d6e8;
    line-height: 1.75;
    margin: 0 0 18px;
}

.blog-article-meta {
    color: #8b949e;
    font-size: 0.95rem;
    margin: 0;
}

.blog-article-body {
    padding-top: 12px;
    padding-bottom: 20px;
    color: #c9d6e8;
    font-size: 1.08rem;
    line-height: 1.85;
}

.blog-article-body h2 {
    color: #ffffff;
    font-size: clamp(1.6rem, 3.4vw, 2.1rem);
    line-height: 1.25;
    margin: 48px 0 16px;
    scroll-margin-top: 90px;
}

.blog-article-body h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin: 32px 0 12px;
    scroll-margin-top: 90px;
}

.blog-article-body p {
    margin: 0 0 18px;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.blog-article-body li {
    margin-bottom: 10px;
}

.blog-article-body strong {
    color: #ffffff;
}

.blog-article-body a {
    color: #a9d0ff;
    text-decoration: underline;
    font-weight: 600;
}

.blog-toc {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 8px 0 12px;
    font-size: 0.98rem;
}

.blog-toc-title {
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 8px !important;
}

.blog-toc ol {
    margin: 0;
}

.blog-toc li {
    margin-bottom: 4px;
}

.blog-article-body .blog-toc a {
    font-weight: 500;
    text-decoration: none;
}

.blog-callout {
    background: rgba(79,143,247,0.07);
    border-left: 3px solid #4f8ff7;
    border-radius: 0 12px 12px 0;
    padding: 14px 18px;
    margin: 0 0 20px;
}

.blog-checklist li::marker {
    color: #4f8ff7;
    font-weight: 700;
}

.blog-faq {
    display: grid;
    gap: 14px;
}

.blog-faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px 22px;
}

.blog-article-body .blog-faq-item h3 {
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.blog-faq-item p {
    color: #a7b7c9;
    line-height: 1.7;
    margin: 0;
}

.blog-cta {
    text-align: center;
    background: rgba(79,143,247,0.07);
    border: 1px solid rgba(79,143,247,0.25);
    border-radius: 20px;
    padding: 44px 24px;
}

.blog-cta h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    color: #ffffff;
    margin: 0 0 14px;
}

.blog-cta p {
    max-width: 680px;
    margin: 0 auto 24px;
    color: #bfd1ef;
    line-height: 1.8;
}

.blog-cta .blog-cta-links {
    margin: 22px auto 0;
    color: #8b949e;
}

.blog-cta-links a {
    color: #a9d0ff;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .blog-article-header {
        padding-top: 80px;
    }

    .blog-article-body {
        font-size: 1.02rem;
    }
}
