:root {
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-primary: #1e3a8a;       /* Deep navy blue from the logo */
    --accent-hover: #1e40af;
    --accent-glow: rgba(30, 58, 138, 0.2);
    --border-color: rgba(15, 23, 42, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; margin-bottom: 2rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 1rem; color: #1e293b; }

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    height: 80px; 
    object-fit: contain;
}

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

.navbar a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar a:hover:not(.btn-primary) {
    color: #2563eb;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white !important;
    box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(30, 58, 138, 0.05);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Sections */
section {
    padding: 8rem 5%;
}

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

.background-alt {
    background-color: #f1f5f9; /* Slightly darker than main background for contrast */
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 10rem;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(248,250,252,0) 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(50px);
}

/* Card Bases */
.service-card, .approach-card, .diff-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.service-card::before, .approach-card::before, .diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #1e3a8a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover, .approach-card:hover, .diff-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card:hover::before, .approach-card:hover::before, .diff-card:hover::before {
    transform: scaleX(1);
}

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

.card-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.2;
    margin-bottom: 1rem;
}

/* Experience */
.experience {
    background: linear-gradient(to bottom, #e2e8f0, #f8fafc);
    text-align: center;
}

.experience-content {
    max-width: 800px;
    margin: 0 auto;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
}

/* Approach */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Differentiators (Why Xyvion) */
.differentiator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Waitlist / Contact */
.waitlist {
    display: flex;
    justify-content: center;
}

.waitlist-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 30px;
    max-width: 700px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.commitment-text {
    font-size: 0.875rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.direct-email {
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.direct-email a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 5%;
    text-align: center;
    background-color: var(--bg-card);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    height: 40px;
}

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

.social-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-cta { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 2rem; }
    .navbar nav ul { display: none; }
    .waitlist-card { padding: 2rem; }
}

/* ============================================
   XYVION COMPASS SHOWCASE SECTION
   ============================================ */
.compass-showcase {
    background: #f8fafc;
    padding: 8rem 5%;
}

.compass-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.compass-header {
    text-align: center;
    margin-bottom: 4rem;
}

.compass-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 1.5rem auto 0;
    line-height: 1.75;
}

/* Dark panel */
.compass-panel {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    background: linear-gradient(135deg, #0a0e1a 0%, #0d1421 60%, #0a1628 100%);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3.5rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(99,179,237,0.12);
    position: relative;
    overflow: hidden;
}

.compass-panel::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(104,211,145,0.07), transparent 70%);
    pointer-events: none;
}

/* Screenshot */
.compass-screenshot-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compass-screen-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(104,211,145,0.12);
    border: 1px solid rgba(104,211,145,0.25);
    color: #68d391;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    width: fit-content;
}

.compass-screenshot {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: block;
}

.compass-screen-caption {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-align: center;
    font-style: italic;
    letter-spacing: 0.03em;
    margin-top: 4px;
}

/* Dual screens layout */
.compass-dual-screens {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 10px;
    align-items: stretch;
}

.compass-screen-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.compass-screenshot--radar {
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.compass-screen-label {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Stats column */
.compass-stats-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.compass-stat {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 1.25rem;
}

.cs-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #68d391;
    line-height: 1;
    margin-bottom: 4px;
}

.cs-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
    margin-bottom: 4px;
}

.cs-sources {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    line-height: 1.5;
    font-style: italic;
}

.compass-stat-highlight {
    background: rgba(252,129,129,0.08);
    border: 1px solid rgba(252,129,129,0.2);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.csh-pct {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fc8181;
    flex-shrink: 0;
}

.csh-text {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

/* 6 dimensions grid */
.compass-dims-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.compass-dims-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.compass-dim-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.compass-dim-card:hover {
    border-color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30,58,138,0.1);
}

.cdim-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.cdim-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.cdim-weight {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
}

/* Output row */
.compass-output-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.compass-output-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.compass-output-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(30,58,138,0.08);
    border-color: #1e3a8a;
}

.coc-icon {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.coc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.coc-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* CTA row */
.compass-cta-row {
    text-align: center;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid rgba(30,58,138,0.12);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.compass-cta-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: left;
    margin: 0;
    max-width: 640px;
}

/* Responsive: compass section */
@media (max-width: 900px) {
    .compass-panel { grid-template-columns: 1fr; }
    .compass-dims-grid { grid-template-columns: repeat(2, 1fr); }
    .compass-output-row { grid-template-columns: repeat(2, 1fr); }
    .compass-cta-row { flex-direction: column; text-align: center; }
    .compass-cta-text { text-align: center; }
}

@media (max-width: 600px) {
    .compass-dims-grid { grid-template-columns: 1fr; }
    .compass-output-row { grid-template-columns: 1fr 1fr; }
}

