:root {
    --primary-color: #007bff;
    /* DocVault Blue */
    --primary-dark: #0056b3;
    --secondary-color: #0a192f;
    /* DocVault Navy */
    --accent-color: #39cccc;
    /* DocVault Cyan */
    --bg-light: #f4f7fa;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --container-width: 1100px;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 2px solid var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
}

header .container {
    height: 100%;
}

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

.logo {
    display: flex;
    align-items: center;
    flex: 1;
    /* Give logo space so it doesn't push the absolute center too much */
}

.logo img {
    height: 42px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
    flex: 2;
    /* Occupy more space in middle */
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    white-space: nowrap;
}

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

/* Header CTAs */
.header-ctas {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Contact Form Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.image-card {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group input,
.form-group textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

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

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

/* Mobile Toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
}

/* Hero Section Overhaul */
.hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.05), transparent),
        linear-gradient(to bottom, #f0f7ff, #ffffff);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

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

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-preview {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    background: var(--white);
    padding: 0;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.hero-preview:hover {
    transform: translateY(-5px);
}

.hero-preview img {
    width: 100%;
    display: block;
}

/* Response for Hero Split */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Numbered Values (qikfox style) */
.values-container {
    padding: 20px 0;
}

.grid-3,
.grid-2 {
    display: grid;
    gap: 40px;
}

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

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

.value-card {
    display: flex;
    gap: 20px;
}

.value-num {
    font-size: 4rem;
    font-weight: 800;
    color: gray;
    line-height: 0.8;
}

.value-info h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Plans & Offers Structure (offers.qikfox.com) */
.offers-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.offer-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.offer-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.offer-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.offer-badge {
    background: var(--accent-color);
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    align-self: flex-start;
    margin-bottom: 20px;
}

.offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--primary-color);
}

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

.feature-list {
    margin: 30px 0;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.feature-list i {
    color: #48bb78;
}

/* Protection Guarantee Block (Modified qikfox style) */
.guarantee-section {
    padding: 100px 0;
    background: var(--white);
}

.guarantee-row {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.guarantee-main {
    flex: 1;
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.guarantee-main h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.guarantee-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.g-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.g-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.g-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

/* FAQ Section Styling */
.faq-section {
    padding: 100px 0;
    background: #f8fafc;
}

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

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-header {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: 0.3s;
}

.faq-header:hover {
    background: #f1f5f9;
}

.faq-header i {
    color: var(--primary-color);
    transition: 0.3s;
}

.faq-content {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-content {
    display: block;
}

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

/* Safety Spotlight Grid */
.safety-spotlight {
    padding: 100px 0;
    background: var(--white);
}

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

.safety-card {
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.safety-card i {
    font-size: 2.5rem;
    background: #eef2ff;
    color: var(--primary-color);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-bottom: 25px;
    display: inline-block;
}

/* Comparison Table Responsive Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    /* Force scroll on small mobile */
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: #f8fafc;
    font-weight: 600;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--secondary-color);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-col h5 {
    color: var(--accent-color);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #a0aec0;
}

.footer-col a:hover {
    color: var(--white);
}

/* Responsive Overhaul */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 40px 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        order: 2;
        margin-left: 20px;
    }

    .header-ctas {
        flex: 0;
        order: 3;
    }

    .logo {
        flex: 1;
        order: 1;
    }

    .grid-3,
    .grid-2,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .guarantee-row {
        flex-direction: column;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

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

    .hero {
        padding: 80px 0 60px;
    }

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

    .contact-container {
        padding: 30px 20px;
    }

    /* Side by side sections in main index */
    .hero-grid+section,
    .values-container,
    .safety-spotlight,
    .guarantee-section,
    .faq-section,
    section[id="contact"] {
        padding: 60px 0;
    }

    /* Built for Professionals section on home */
    section[id="contact"]>.container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 480px) {
    .header-ctas .btn {
        display: none;
        /* Hide Buy Now on very small screens to fit logo/burger */
    }
}