/* ===== BROWSER DARK MODE COMPATIBILITY ===== */
:root {
    color-scheme: dark;
    color-scheme: dark only;
}

/* Override browser autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #141414 inset !important;
    -webkit-text-fill-color: #e0e0e0 !important;
    caret-color: #e0e0e0;
}

/* Force form controls to honor our styling in all browsers */
input, textarea, select, button {
    color-scheme: dark;
}



/* ===== NEW: PAGE-SPECIFIC HERO VARIATIONS ===== */
.sub-hero {
    text-align: center;
    padding: 5rem 2rem 3rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
    border-bottom: 1px solid #1a1a1a;
}

.sub-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
}

.sub-hero p {
    color: #b0b0b0;
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto;
}

/* ===== NEW: PRICING PAGE — SECTION DIVIDERS ===== */
.pricing-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-section + .pricing-section {
    border-top: 1px solid #1a1a1a;
    padding-top: 4rem;
    margin-top: 2rem;
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.pricing-section .section-sub {
    text-align: center;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== NEW: TIER BADGE (Most Popular) ===== */
.tier-badge {
    display: inline-block;
    background: #ff4d00;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: #ff4d00;
    box-shadow: 0 0 0 1px #ff4d00, 0 8px 32px rgba(255, 77, 0, 0.2);
    transform: scale(1.03);
}

.price-card .price-amount {
    font-family: 'Orbitron', sans-serif;
    color: #ff4d00;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.price-card .price-period {
    color: #888;
    font-size: 0.9rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

/* ==================================== */
/* NEW BUTTON STYLE: URGENCY / REQUEST QUOTE */
/* Used for 'Contact Us' or complex actions */
/* ==================================== */

.btn-action {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px; /* Slightly less rounded, more blocky, assertive look */
    font-weight: 700;
    text-transform: uppercase;
}

.btn-action {
    /* Uses a background color for maximum contrast */
    background: #ff2a00; /* A slightly deeper, redder orange variation */
    color: white;
    border: 1px solid #ff2a00;
}

.btn-action:hover, .btn-action:focus-visible {
    /* Shifts to a bolder shadow for dramatic effect */
    background: #e62400;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(255, 42, 0, 0.5); 
}


.price-card ul li::before {
    content: '✓ ';
    color: #ff4d00;
    font-weight: 700;
    margin-right: 0.4rem;
}

/* ===== NEW: HOSTING COMPARISON TABLE ===== */
.hosting-comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem auto 0;
    background: #141414;
    border-radius: 8px;
    overflow: hidden;
}

.hosting-comparison th,
.hosting-comparison td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #1a1a1a;
    font-size: 0.95rem;
}

.hosting-comparison th {
    color: #ff4d00;
    font-family: 'Orbitron', sans-serif;
    background: #1a1a1a;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hosting-comparison td {
    color: #b0b0b0;
}

.hosting-comparison tr:last-child td {
    border-bottom: none;
}

.hosting-comparison td:first-child {
    color: #e0e0e0;
    font-weight: 600;
}

.onprem-callout {
    background: #141414;
    border-left: 3px solid #ff4d00;
    padding: 1.25rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin: 2rem auto;
    max-width: 800px;
    color: #b0b0b0;
}

.onprem-callout strong {
    color: #ff4d00;
    font-family: 'Orbitron', sans-serif;
}

/* ===== NEW: HOSTING PATHS (3-card grid for home + pricing) ===== */
.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.path-card {
    background: #141414;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #222;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.path-card:hover {
    transform: translateY(-4px);
    border-color: #ff4d00;
    box-shadow: 0 8px 24px rgba(255, 77, 0, 0.15);
}

.path-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ff4d00;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.path-card .path-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    border: 1px solid #333;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.path-card p {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.path-card .path-cta {
    color: #ff4d00;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.path-card .path-cta:hover {
    color: #ff7a3d;
}

/* ===== NEW: TESTIMONIALS ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #141414;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #222;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: #ff4d00;
}

.testimonial-card .quote {
    color: #b0b0b0;
    font-style: italic;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    line-height: 1.7;
}

.testimonial-card .quote::before {
    content: '"';
    color: #ff4d00;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    line-height: 0;
    vertical-align: -0.2em;
    margin-right: 0.2rem;
}

.testimonial-card .client {
    color: #e0e0e0;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-card .client-role {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.testimonial-card .site-link {
    display: inline-block;
    color: #ff4d00;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.testimonial-card .site-link::after {
    content: ' →';
    transition: transform 0.2s ease;
}

.testimonial-card .site-link:hover {
    color: #ff7a3d;
}

.placeholder-card {
    opacity: 0.5;
    border-style: dashed;
}

/* ===== NEW: FAQ ACCORDION ===== */
.faq-list {
    max-width: 820px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #141414;
    border: 1px solid #222;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: #ff4d00;
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #e0e0e0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color 0.2s ease;
}

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

.faq-item summary::after {
    content: '+';
    color: #ff4d00;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    color: #ff4d00;
}

.faq-item .faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #b0b0b0;
    line-height: 1.7;
}

.faq-item .faq-answer p + p {
    margin-top: 0.75rem;
}

.faq-item .faq-answer strong {
    color: #ff4d00;
}

/* ===== NEW: CONTACT FORM — PURPOSE SELECT ===== */
.contact-form select {
    padding: 0.8rem 1rem;
    background: #141414;
    border: 1px solid #222;
    border-radius: 6px;
    color: #e0e0e0;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.contact-form select:focus {
    outline: none;
    border-color: #ff4d00;
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.15);
}

.contact-form select option {
    background: #141414;
    color: #e0e0e0;
}

.contact-form .conditional-field {
    display: none;
}

.contact-form .conditional-field.visible {
    display: block;
}

.contact-form .form-hint {
    color: #888;
    font-size: 0.85rem;
    margin-top: -0.5rem;
}

.contact-form .direct-contact {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #b0b0b0;
}

.contact-form .direct-contact a {
    color: #ff4d00;
    text-decoration: none;
    font-weight: 600;
}

.contact-form .direct-contact a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE UPDATES (extend existing) ===== */
@media (max-width: 768px) {
    .sub-hero h1 {
        font-size: 2rem;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .hosting-comparison {
        font-size: 0.85rem;
    }
    
    .hosting-comparison th,
    .hosting-comparison td {
        padding: 0.6rem;
    }
}
