/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2563eb;       /* Bright Blue */
    --primary-dark: #1d4ed8;
    --navy: #0f172a;          /* Dark Navy (Headings) */
    --orange: #f97316;        /* CTA Orange */
    --orange-hover: #ea580c;
    --text-body: #4b5563;     /* Grey Text */
    --bg-light: #f8fafc;      /* Very light grey background */
    --white: #ffffff;
    --border: #e2e8f0;        /* Subtle borders */
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

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

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

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================
   2. UI ELEMENTS (Buttons, Layouts)
   ========================================= */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
section { padding: 5rem 0; }
.text-center { text-align: center; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

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

.btn-orange { background-color: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background-color: var(--orange-hover); }

.btn-outline { background-color: var(--white); color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-dark-outline { background-color: transparent; color: var(--white); border-color: rgba(255,255,255,0.2); }
.btn-dark-outline:hover { background-color: rgba(255,255,255,0.1); }

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.nav-menu { display: flex; gap: 2rem; align-items: center; }
.nav-link { font-weight: 500; font-size: 0.95rem; color: var(--navy); }
.nav-link:hover { color: var(--primary); }

/* =========================================
   4. HOMEPAGE SPECIFIC
   ========================================= */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.pain-card { border: 1px solid var(--border); border-radius: 12px; padding: 2rem; background: var(--white); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.icon-box { width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.bg-red-light { background: #fee2e2; color: #ef4444; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--white); transition: transform 0.2s; }
.service-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.service-img-wrapper { position: relative; height: 200px; overflow: hidden; }
.service-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.service-icon-overlay { position: absolute; top: 15px; left: 15px; width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.service-content { padding: 1.5rem; }
.service-content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.service-content p { font-size: 0.95rem; color: var(--text-body); margin-bottom: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; align-items: start; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; position: relative; }
.price-card.popular { border: 2px solid var(--primary); box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.price-amount { font-size: 3rem; font-weight: 700; color: var(--primary); line-height: 1; margin: 1rem 0; }
.price-period { font-size: 1rem; color: var(--text-body); font-weight: 400; }
.price-desc { min-height: 50px; }

.ai-section { background: #f1f5f9; position: relative; overflow: hidden; }
.ai-card { background: var(--white); border-radius: 20px; padding: 4rem; border: 1px solid #dbeafe; box-shadow: 0 0 40px rgba(37, 99, 235, 0.1); max-width: 900px; margin: 0 auto; }
.check-list { margin: 2rem 0; }
.check-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; font-size: 1.1rem; color: var(--navy); }
.check-icon { color: var(--primary); font-weight: bold; font-size: 1.2rem; }

/* =========================================
   5. SERVICES PAGE SPECIFIC
   ========================================= */
.services-hero { text-align: center; padding: 6rem 20px 4rem; max-width: 800px; margin: 0 auto; }
.services-hero h1 { font-size: 3.5rem; color: var(--navy); margin-bottom: 1rem; }
.services-hero p { font-size: 1.25rem; color: #64748b; margin-bottom: 2rem; }

.services-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; margin-bottom: 5rem; }
.service-page-card { background: var(--white); border: 1px solid #cbd5e1; border-radius: 12px; padding: 2.5rem; height: 100%; transition: box-shadow 0.3s ease; }
.service-page-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--primary); }
.service-icon-lg { font-size: 3rem; color: var(--primary); margin-bottom: 1.5rem; display: inline-block; }

.blue-check-list { margin-top: 1.5rem; }
.blue-check-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 0.8rem; color: var(--navy); font-size: 0.95rem; }
.blue-check-list li i { color: var(--primary); font-size: 1.1rem; }

.process-container { max-width: 900px; margin: 0 auto; }
.process-step { background: var(--white); border: 1px solid #e2e8f0; border-left: 6px solid var(--primary); border-radius: 8px; padding: 2rem; margin-bottom: 1.5rem; display: flex; gap: 2rem; align-items: flex-start; }
.step-number { font-size: 2.5rem; font-weight: 700; color: #bfdbfe; line-height: 1; min-width: 60px; }
.step-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--navy); }
.step-content p { margin-bottom: 0; color: #64748b; }

/* =========================================
   6. PRICING PAGE SPECIFIC
   ========================================= */
.pricing-hero { text-align: center; padding: 6rem 20px 4rem; max-width: 800px; margin: 0 auto; }
.pricing-hero h1 { font-size: 3.5rem; color: var(--navy); margin-bottom: 1rem; }
.pricing-hero p { font-size: 1.25rem; color: #64748b; margin-bottom: 2rem; }
.pricing-hero small { display: block; color: #94a3b8; font-size: 0.95rem; margin-top: 1rem; }

.pricing-page-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-bottom: 5rem; align-items: start; }

.pricing-features { margin: 2rem 0; text-align: left; }
.pricing-features li { margin-bottom: 1rem; font-size: 0.95rem; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.pricing-features li.included i { color: var(--primary); font-size: 1.1rem; }
.pricing-features li.excluded { color: #94a3b8; text-decoration: line-through; }
.pricing-features li.excluded i { color: #cbd5e1; font-size: 1rem; }
.most-popular-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 6px 20px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; }

.faq-section { background: var(--white); padding: 4rem 0; }
.faq-container { max-width: 800px; margin: 0 auto; display: grid; gap: 1.5rem; }
.faq-box { border: 1px solid #e2e8f0; border-radius: 12px; padding: 2rem; background: var(--white); }
.faq-box h3 { font-size: 1.25rem; margin-bottom: 0.8rem; color: var(--navy); }
.faq-box p { color: #64748b; font-size: 1rem; margin-bottom: 0; line-height: 1.6; }

.dark-cta-section { background-color: var(--navy); padding: 6rem 20px; text-align: center; color: var(--white); }
.dark-cta-section h2 { color: var(--white); margin-bottom: 1rem; font-size: 2.5rem; }
.dark-cta-section p { color: #cbd5e1; font-size: 1.2rem; max-width: 600px; margin: 0 auto 2.5rem; }

/* =========================================
   7. ABOUT PAGE SPECIFIC
   ========================================= */
.about-hero { text-align: center; padding: 6rem 20px 4rem; max-width: 800px; margin: 0 auto; }
.about-hero h1 { font-size: 3.5rem; color: var(--navy); margin-bottom: 1rem; }
.about-hero p { font-size: 1.25rem; color: #64748b; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.story-img { border-radius: 12px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); width: 100%; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }
.value-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 2.5rem; height: 100%; }
.value-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; display: inline-block; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 4rem; }
.stat-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 2rem; text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; line-height: 1; }
.stat-label { color: #64748b; font-size: 0.95rem; }

.why-us-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.why-card { background: var(--white); border: 1px solid #e2e8f0; border-left: 5px solid var(--primary); border-radius: 8px; padding: 2rem; }
.why-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--navy); }
.why-card p { color: #64748b; margin-bottom: 0; }

/* =========================================
   8. AI & SEO PAGE SPECIFIC
   ========================================= */
.ai-hero { text-align: center; padding: 8rem 20px 6rem; background: radial-gradient(circle at center, #f1f5f9 0%, #ffffff 70%); position: relative; overflow: hidden; }
.ai-badge { background: #dbeafe; color: var(--primary); padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.5rem; }

.ai-intro { max-width: 800px; margin: 0 auto 5rem; text-align: center; }
.ai-intro h2 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--navy); }
.ai-intro p { font-size: 1.15rem; color: #64748b; line-height: 1.8; margin-bottom: 1.5rem; }

.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.ai-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 3rem; transition: transform 0.2s; }
.ai-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.ai-icon-lg { font-size: 3rem; color: var(--primary); margin-bottom: 1.5rem; display: inline-block; }
.ai-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.ai-card ul { margin-top: 1.5rem; }
.ai-card li { color: #64748b; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 8px; }
.ai-card li::before { content: "•"; color: var(--primary); font-weight: bold; font-size: 1.2rem; }

.ai-big-box { border: 2px solid #bfdbfe; border-radius: 16px; padding: 4rem; background: var(--white); margin: 3rem auto; max-width: 1000px; box-shadow: 0 10px 40px rgba(37, 99, 235, 0.05); }
.ai-big-box p { color: #64748b; font-size: 1.1rem; margin-bottom: 1.5rem; }

.future-icons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1000px; margin: 2rem auto 0; }
.future-icon-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 2rem; text-align: center; }

.ai-stats-row { display: flex; justify-content: space-around; margin: 2rem 0; padding: 2rem 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.ai-stat h4 { font-size: 3rem; color: var(--primary); margin-bottom: 0.5rem; line-height: 1; }
.ai-stat span { color: #64748b; font-size: 1rem; }

/* =========================================
   9. EMAIL SECURITY PAGE SPECIFIC (NEW!)
   ========================================= */
.analogy-section {
    background-color: #fffbeb; /* Light yellow/warning bg */
    border-left: 6px solid #f59e0b; /* Warning Orange/Yellow */
    padding: 3rem;
    margin: 3rem auto;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.analogy-title {
    color: #b45309;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}
.analogy-content h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--navy); }
.analogy-content p { font-size: 1.1rem; color: #4b5563; line-height: 1.8; margin-bottom: 1rem; }

.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.security-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 2.5rem; text-align: center; transition: transform 0.2s; }
.security-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.sec-icon { width: 70px; height: 70px; background: #eff6ff; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1.5rem; }

/* Comparison Table */
.comparison-container { overflow-x: auto; margin: 4rem 0; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); table-layout: fixed; }
.compare-table th, .compare-table td { padding: 1.5rem; text-align: left; vertical-align: top; border-bottom: 1px solid #e2e8f0; }
.compare-table th:nth-child(1) { width: 25%; }
.compare-table th:nth-child(2) { width: 37.5%; }
.compare-table th:nth-child(3) { width: 37.5%; }
.compare-table th { background: #f8fafc; color: var(--navy); font-size: 1.1rem; font-weight: 700; }
.compare-table td { color: #64748b; font-size: 1rem; line-height: 1.6; }
.status-bad { color: #ef4444; font-weight: 700; background: #fef2f2; padding: 4px 12px; border-radius: 20px; font-size: 0.9rem; display: inline-block; margin-bottom: 4px; }
.status-good { color: #10b981; font-weight: 700; background: #ecfdf5; padding: 4px 12px; border-radius: 20px; font-size: 0.9rem; display: inline-block; margin-bottom: 4px; }

/* =========================================
   10. CONTACT & FORMS
   ========================================= */
.contact-hero { text-align: center; padding: 6rem 20px 4rem; max-width: 800px; margin: 0 auto; }
.contact-hero h1 { font-size: 3.5rem; color: var(--navy); margin-bottom: 1rem; font-weight: 800; }
.contact-hero p { font-size: 1.25rem; color: #64748b; margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; margin-bottom: 5rem; }
.section-label { font-size: 2rem; color: var(--navy); font-weight: 700; margin-bottom: 1.5rem; }

.contact-form-container { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 2.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--navy); font-size: 0.95rem; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 6px; font-family: inherit; font-size: 1rem; color: #334155; background-color: var(--white); transition: all 0.2s; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.form-helper { font-size: 0.9rem; color: #64748b; text-align: center; margin-top: 1rem; }

.info-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.5rem; display: flex; align-items: flex-start; gap: 1.25rem; }
.icon-square { width: 48px; height: 48px; background-color: #eff6ff; color: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.info-text h4 { font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--navy); font-weight: 700; }
.info-text p { font-size: 1rem; color: #64748b; margin: 0; line-height: 1.5; }
.map-card-placeholder { background-color: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 12px; height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #64748b; }
.map-pin-lg { font-size: 3rem; color: #94a3b8; margin-bottom: 1rem; }

.faq-stack { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.faq-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 12px; padding: 2rem; }
.faq-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--navy); }
.faq-card p { color: #64748b; margin: 0; line-height: 1.6; }

/* =========================================
   11. FOOTER & MISC
   ========================================= */
.footer-cta { background-color: var(--navy); color: var(--white); padding: 6rem 0; text-align: center; }
.footer-cta h2 { color: var(--white); margin-bottom: 1rem; }
.footer-cta p { color: #94a3b8; max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.1rem; }

.main-footer { background-color: var(--navy); color: #94a3b8; padding: 4rem 0 2rem; border-top: 1px solid #1e293b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a:hover { color: var(--white); }
.copyright { text-align: center; border-top: 1px solid #1e293b; padding-top: 2rem; font-size: 0.9rem; }

/* =========================================
   12. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .story-grid, .values-grid, .stats-grid, .pricing-page-grid, .ai-grid, .future-icons-grid, .security-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .services-detail-grid { grid-template-columns: 1fr; }
    .story-img { order: -1; margin-bottom: 2rem; }
    .ai-stats-row { flex-direction: column; gap: 2rem; text-align: center; }
    .ai-big-box { padding: 2rem; }
    .process-step { flex-direction: column; gap: 1rem; }
    .ai-card { padding: 2rem; }
    .compare-table th, .compare-table td { padding: 1rem 0.5rem; font-size: 0.9rem; } /* Tighter tables on mobile */
    .analogy-section { padding: 1.5rem; }
}
/* =========================================
   13. FIX EMAIL SECURITY PAGE SPECIFIC
   (Moved from internal HTML styles)
   ========================================= */
.alert-banner {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #ef4444;
    padding: 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.price-box {
    background: #eff6ff;
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.step-list {
    margin: 2rem 0;
    text-align: left;
}

.step-list li {
    margin-bottom: 1rem;
    display: flex;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-body);
}

.step-number {
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}