/* Base Variables & Reset */
:root {
    --primary: #2563EB;
    /* Trustworthy Blue */
    --primary-dark: #1E40AF;
    --secondary: #0F172A;
    /* Slate 900 */
    --accent: #F59E0B;
    /* Amber for urgency/buttons */
    --emergency: #EF4444;
    /* Red for emergency badge */
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --light-bg: #F9FAFB;
    --card-bg: #FFFFFF;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-main);
    background-color: white;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    opacity: 0.9;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-emergency-xl,
.btn-secondary-xl {
    padding: 1.25rem 2rem;
    font-size: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100px;
}

.btn-emergency-xl {
    background-color: var(--emergency);
    color: white;
}

.btn-emergency-xl:hover {
    transform: scale(1.05);
    background-color: #dc2626;
}

.btn-secondary-xl {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary-xl:hover {
    transform: scale(1.05);
}

.btn-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.highlight {
    color: var(--primary);
}

.highlight-red {
    color: var(--emergency);
}

.bold {
    font-weight: 700;
}

/* Header */
.header {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    background: white;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.dot {
    color: var(--primary);
}

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

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.emergency-nav-btn {
    background-color: var(--emergency);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.875rem;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@media (max-width: 900px) {
    .emergency-nav-btn {
        display: none;
        /* Hide on smaller navs to prevent crowding */
    }

    .header-content {
        display: flex;
        justify-content: space-between;
    }
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(to right, #ffffff, #eff6ff);
    overflow: hidden;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.emergency-badge {
    background-color: #FEF2F2;
    color: var(--emergency);
    border: 1px solid #FECACA;
}

.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--emergency);
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Quote Card */
.hero-quote-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--primary);
    max-width: 500px;
    margin: 0 auto;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.quote-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.125rem;
}

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


/* About/Trust */
.about-section {
    padding: 4rem 0;
    background: white;
}

.trust-indicators {
    display: flex;
    justify-content: space-around;
    text-align: center;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.trust-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.trust-item p {
    color: var(--text-muted);
}


/* Services/Pricing */
.services-section {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.pricing-card {
    background: var(--card-bg);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    background: #eff6ff;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-top: 0.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.features {
    margin-bottom: 2rem;
}

.features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.quote {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.author {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.875rem;
}

/* Contact Section & Form */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-box h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-box p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

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

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--secondary);
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: #94A3B8;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    gap: 3rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: #94A3B8;
}

.footer-nav a:hover {
    color: white;
}

.footer-legal {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    text-align: center;
    font-size: 0.875rem;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-sub {
        margin: 0 auto 2rem;
    }

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

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

    .server-rack {
        margin: 0 auto;
        width: 100%;
    }
}

.hero-trust-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.emergency-hero {
    padding: 0;
    background: none;
    text-align: left;
}

.hero-text-center {
    text-align: left;
}

.hero-text-center h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.cta-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 2rem 0;
}

.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-quote-card,
.trust-section-card {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    border: 1px solid #E5E7EB;
    padding: 2rem;
}

.sidebar-quote-card {
    position: relative;
    border-left: 6px solid var(--emergency);
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 3rem;
    color: var(--emergency);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.quote-text {
    font-style: italic;
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.quote-author {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--slate-700);
}

.trust-points-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.trust-card {
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
}

.trust-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.trust-card a {
    color: var(--primary);
    text-decoration: underline;
}

/* Specific adjustment for when they are next to each other */
@media (max-width: 1024px) {
    .hero-trust-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .emergency-hero,
    .hero-text-center {
        text-align: center;
    }

    .cta-stack {
        margin: 2rem auto;
    }

    .trust-section-card {
        padding: 4rem 2rem;
    }

    .trust-points-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .trust-card {
        text-align: center;
    }
}

.urgency-info {
    padding: 8rem 0;
    background: var(--secondary);
    color: #cbd5e1;
}

.urgency-info h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
}

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

.urgent-action-card {
    margin-top: 4rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.urgent-action-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.urgent-action-card p {
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .hero-text-center h1 {
        font-size: 2.5rem;
    }

    .cta-stack {
        padding: 0 1rem;
    }

    .btn-emergency-xl,
    .btn-secondary-xl {
        font-size: 1.125rem;
        padding: 1rem 2rem;
    }
}
