/* Global Styles */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004999;
    --secondary-color: #00cc99;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #00cc66;
    --warning-color: #ff9900;
    --error-color: #cc0000;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

/* Header & Navigation */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

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

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

.btn-primary-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.375rem;
    margin-bottom: 2rem;
}

.hero .cta-buttons {
    justify-content: center;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-light {
    background: var(--bg-light);
}

.section-white {
    background: var(--bg-white);
}

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

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

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    flex-direction: column;
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.path-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.path-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0,102,204,0.15);
}

.path-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.path-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.path-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.path-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Compliance Badges */
.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    min-width: 200px;
}

.badge h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.badge p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Demo Options */
.demo-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.demo-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.demo-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0,102,204,0.1);
}

.demo-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.demo-card h4 {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.demo-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.demo-card li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

/* Step-by-Step */
.step {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step h4 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.step ol {
    margin-left: 1.5rem;
}

.step li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

/* Trust Scores */
.trust-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-score-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.trust-score-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-score-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Use Cases */
.use-case {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.use-case h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.use-case .scenario {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1rem;
}

.use-case .risk {
    color: var(--error-color);
    font-weight: 600;
    margin-top: 0.75rem;
}

.use-case .protection {
    color: var(--success-color);
    font-weight: 600;
    margin-top: 0.75rem;
}

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

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.5rem 0;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.pricing-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .two-column,
    .demo-options {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none; /* Simple mobile - would need hamburger menu in production */
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Integration Diagram */
.integration-diagram {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin: 3rem auto;
    max-width: 900px;
}

.integration-diagram svg {
    width: 100%;
    height: auto;
    display: block;
}

.integration-benefits {
    margin-top: 3rem;
}

.integration-benefits .card {
    background: white;
    border-left: 4px solid var(--primary-color);
}

.integration-benefits .card:nth-child(2) {
    border-left-color: var(--secondary-color);
}

.integration-benefits .card:nth-child(3) {
    border-left-color: var(--warning-color);
}

.integration-benefits .card:nth-child(4) {
    border-left-color: var(--success-color);
}

.integration-benefits h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .integration-diagram {
        padding: 2rem 1rem;
    }
    
    .integration-diagram svg {
        font-size: 10px;
    }
}


/* ========================================
   BLOG STYLES
   ======================================== */

.blog-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    padding: 32px 0;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.blog-card:hover {
    box-shadow: 0 6px 28px rgba(0,102,204,0.13);
}

.blog-card-coming-soon {
    opacity: 0.82;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 8px 0 12px;
    color: #1a1a1a;
}

.blog-card-abstract {
    font-size: 0.97rem;
    color: #444;
    line-height: 1.65;
    flex: 1;
}

.blog-meta {
    font-size: 0.82rem;
    color: #0066cc;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.coming-soon-badge {
    display: inline-block;
    background: #e9ecef;
    color: #555;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Blog post body */
.blog-body {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #2a2a2a;
}

.blog-body h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 36px 0 14px;
    color: #0066cc;
}

.blog-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 28px 0 10px;
    color: #1a1a1a;
}

.blog-body ul, .blog-body ol {
    margin: 14px 0 14px 24px;
    line-height: 1.85;
}

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

.blog-body p {
    margin-bottom: 16px;
}

.blog-author {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
}

.blog-author h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1a1a1a;
}

ol.references li {
    margin-bottom: 4px;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

.contact-section {
    padding: 60px 0 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

/* Left panel */
.contact-left h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0066cc;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-left > p {
    font-size: 1.02rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-info-block {
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    border-radius: 6px;
    padding: 20px 22px;
    margin-bottom: 20px;
}

.contact-info-block h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.contact-info-block ul {
    margin: 0 0 0 18px;
    padding: 0;
    line-height: 1.9;
    font-size: 0.96rem;
    color: #333;
}

.contact-info-block p {
    margin: 0;
    font-size: 0.96rem;
    color: #333;
}

.contact-link {
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Right panel / form card */
.contact-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.09);
    padding: 40px 36px;
}

.contact-form-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: #1a1a1a;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-label-block {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    border: 1.5px solid #d0d7de;
    border-radius: 6px;
    padding: 10px 13px;
    font-size: 0.97rem;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.15s;
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.input-error {
    border-color: #cc2200 !important;
}

.field-error {
    color: #cc2200;
    font-size: 0.82rem;
    margin-top: 4px;
    min-height: 16px;
}

.required {
    color: #cc2200;
}

/* Radio group */
.radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #333;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    accent-color: #0066cc;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    accent-color: #0066cc;
    width: 17px;
    height: 17px;
    cursor: pointer;
}

/* Submit button full width */
.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    margin-top: 8px;
}

.form-privacy {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 14px;
    margin-bottom: 0;
}

.form-privacy a {
    color: #0066cc;
}

.form-success {
    background: #e6f4ea;
    border: 1.5px solid #34a853;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 0.97rem;
    color: #1e6b36;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 860px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-left h1 {
        font-size: 1.6rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px 20px;
    }
}

/* ========================================
   TECHNICAL BRIEF TABLE STYLES
   ======================================== */

.brief-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin: 0;
}

.brief-table th {
    background: #0066cc;
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #004999;
}

.brief-table td {
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    vertical-align: top;
    line-height: 1.6;
}

.brief-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.brief-table tbody tr:hover {
    background: #f0f7ff;
}

.result-fail {
    color: #7a1a00;
    background: #fff5f5 !important;
}

.result-pass {
    color: #1e5c2e;
    background: #f0faf4 !important;
}
