:root {
    --bg-color: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --accent: #3b82f6;
    --alert: #ef4444;
    --success: #10b981;
    --surface: #171717;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* FIX: Prevents header from obscuring section titles */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }
h1 { font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.italic-text { font-style: italic; color: var(--text-muted); }
.section-tag { display: block; font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 2px; margin-bottom: 1rem; text-transform: uppercase; }

/* UTILS */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.full-width { width: 100%; text-align: center; }

/* BUTTONS */
.btn { 
    display: inline-block; 
    padding: 16px 32px; 
    background: var(--text-main); 
    color: var(--bg-color); 
    font-weight: 600; 
    text-decoration: none; 
    border-radius: 2px; 
    border: 1px solid var(--text-main);
    transition: background-color 0.2s ease, color 0.2s ease; 
    cursor: pointer;
}
.btn:hover { 
    background: transparent; 
    color: var(--text-main); 
}
.btn:active {
    background: var(--surface); 
    transform: translateY(1px);
}

/* NAVIGATION */
.nav-wrapper { position: fixed; width: 100%; top: 0; z-index: 1000; background: rgba(10,10,10,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #333; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo { 
    font-family: var(--font-heading); 
    font-size: 1.5rem; 
    font-weight: 600; 
    text-decoration: none; 
    color: var(--text-main); 
    cursor: pointer;
}
.logo:hover { color: var(--text-muted); }
.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 30px; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--text-main); }
.nav-cta { 
    border: 1px solid var(--text-muted); 
    padding: 8px 20px; 
    border-radius: 4px;
    color: var(--text-main); 
    text-decoration: none;   
    transition: 0.3s;
}
.nav-cta:hover { border-color: var(--text-main); background: rgba(255,255,255,0.1); }

/* BACK TO TOP */
#backToTop {
    display: none; 
    position: fixed;
    bottom: 40px; /* Adjusted up for mobile */
    right: 30px;
    z-index: 2000; /* Increased to sit above footer elements */
    background: var(--surface); 
    border: 1px solid #333;
    color: var(--text-main); 
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
#backToTop:hover { 
    background: var(--text-main); 
    color: var(--bg-color); 
    border-color: var(--text-main);
    transform: translateY(-3px); 
}

/* SECTIONS */
.hero { padding-top: 180px; padding-bottom: 100px; text-align: center; }
.hero p { max-width: 600px; margin: 0 auto 40px auto; color: var(--text-muted); font-size: 1.2rem; }

.problem-section { background: var(--surface); padding: 100px 0; border-top: 1px solid #333; }
.problem-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: center; }
.stat-box { border-left: 4px solid var(--alert); padding-left: 30px; }
.big-stat { font-size: 4rem; font-family: var(--font-mono); color: var(--alert); display: block; line-height: 1; margin-bottom: 10px; }

.solution-section { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 60px; }
.service-card { padding: 40px; border: 1px solid #333; background: #000; transition: 0.3s; }
.service-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.icon-box { font-family: var(--font-mono); color: var(--accent); font-size: 1.5rem; margin-bottom: 20px; }

/* COMPARISON SECTION */
.comparison-section { padding: 100px 0; }
/* Table Wrapper for Mobile Scroll */
.comp-table-wrapper {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scroll on mobile */
    -webkit-overflow-scrolling: touch;
    margin-top: 40px;
}
.comp-table { width: 100%; border-collapse: collapse; min-width: 600px; /* Forces scroll on small screens */ }
.comp-table th { padding: 20px; color: var(--text-muted); border-bottom: 1px solid #333; font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; }
.comp-table td { padding: 25px 20px; border-bottom: 1px solid #222; }
.voura-col { background: rgba(59, 130, 246, 0.1); border-left: 2px solid var(--accent); }
.highlight { font-weight: bold; color: var(--text-main); }

.case-study { padding: 100px 0; border-top: 1px solid #333; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.outcome-box { margin-top: 30px; background: var(--surface); padding: 20px; border-left: 4px solid var(--success); }
.data-point { font-size: 2rem; color: var(--success); font-family: var(--font-mono); font-weight: 700; display: block; }
.cs-card { background: #000; border: 1px solid #333; padding: 40px; font-family: var(--font-mono); font-size: 0.9rem; }
.mono-header { border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 20px; color: var(--text-muted); }
.data-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 5px; }
.auditor-note { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #444; color: var(--success); }

.vault-section { background: var(--surface); padding: 100px 0; }
.vault-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.vault-card { background: #000; padding: 30px; border: 1px solid #333; position: relative; }
.quote-icon { font-size: 4rem; color: #333; position: absolute; top: 10px; left: 20px; font-family: serif; }
.vault-quote { position: relative; z-index: 2; font-style: italic; margin-bottom: 20px; }
.author-role { font-weight: bold; color: var(--text-main); font-size: 0.9rem; }
.author-industry { font-size: 0.8rem; color: var(--text-muted); }

.accountability-section { padding: 100px 0; background: var(--surface); }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.email-card { background: #fff; color: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.email-header { background: #f0f0f0; padding: 10px 15px; display: flex; gap: 8px; border-bottom: 1px solid #ddd; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.email-body { padding: 30px; font-family: Arial, sans-serif; font-size: 0.9rem; line-height: 1.5; }
.meta { color: #666; margin-bottom: 5px; font-size: 0.8rem; }
.subject { font-weight: bold; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.alert-text { background: #ffebeb; color: #d32f2f; padding: 2px 5px; border-radius: 3px; }
.signature-stamp { margin-top: 30px; border: 2px solid #d32f2f; color: #d32f2f; display: inline-block; padding: 5px 10px; font-weight: bold; transform: rotate(-5deg); font-family: 'Courier New', monospace; text-transform: uppercase; }

.process-section { padding: 100px 0; border-top: 1px solid #333; }
.faq-section { padding: 100px 0; background: var(--surface); }

/* AUDIT FORM */
.audit-section { padding: 100px 0; }
.audit-box { max-width: 600px; margin: 0 auto; background: var(--surface); padding: 50px; border: 1px solid #333; text-align: center; }
.audit-desc { margin-bottom: 30px; color: var(--text-muted); font-size: 0.9rem; }
.form-group { margin-bottom: 15px; }
input, select { width: 100%; padding: 15px; background: #000; border: 1px solid #444; color: #fff; border-radius: 4px; font-family: var(--font-body); }
input:focus, select:focus { border-color: var(--accent); outline: none; }

/* PRICING */
.voura-pricing-section { padding: 80px 20px; background-color: var(--bg-color); }
.section-header { text-align: center; margin-bottom: 60px; }
.subtitle { color: var(--text-muted); font-size: 16px; margin-top: 10px;}

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }

.pricing-card {
  background: var(--surface);
  border: 1px solid #333;
  padding: 40px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.pricing-card:hover { border-color: #555; transform: translateY(-5px); }

.tag { text-transform: uppercase; font-size: 10px; letter-spacing: 2px; color: var(--accent); display: block; margin-bottom: 15px; font-family: var(--font-mono); }
.card-header h3 { font-size: 28px; margin: 0 0 15px 0; font-weight: 400; }
.description { color: var(--text-muted); font-size: 14px; line-height: 1.6; min-height: 60px; }

/* === UPDATED PRICING STYLES (Fixes text wrap) === */
.card-price { 
    margin: 30px 0 10px 0; 
    display: flex; 
    align-items: baseline;
    flex-wrap: wrap; /* Allows safe wrapping if screen is tiny */
    gap: 8px; /* Adds consistent spacing between items */
}
.currency { font-size: 16px; color: var(--text-muted); }
.amount { 
    font-size: 42px; 
    font-weight: 600; 
    color: var(--text-main); 
    font-family: var(--font-mono); 
    line-height: 1; 
}
.period { 
    font-size: 14px; 
    color: var(--text-muted); 
    white-space: nowrap; /* CRITICAL FIX: Prevents "one-time" from breaking */
}

.card-condition p { font-size: 12px; color: var(--text-muted); font-style: italic; margin-bottom: 30px; border-top: 1px solid #333; padding-top: 10px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 40px 0; flex-grow: 1; }
.feature-list li { margin-bottom: 15px; font-size: 15px; color: #ddd; display: flex; align-items: flex-start; }
.check { color: var(--accent); margin-right: 12px; font-weight: bold; }
.highlight-border { border-color: var(--text-muted); }

/* MOBILE RESPONSIVE FIXES */
.menu-toggle { display: none; } 
.mobile-only { display: none; } 

@media (max-width: 768px) {
    .menu-toggle { display: block; position: relative; z-index: 1001; background: none; border: none; cursor: pointer; }
    .menu-toggle span { display: block; width: 25px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }
    .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-links { 
        display: flex; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 80%; 
        height: 100dvh; 
        background: #000; 
        transition: 0.4s; 
        border-left: 1px solid #333; 
    }
    .nav-links.active { right: 0; }
    .nav-links a { margin: 20px 0; font-size: 1.2rem; margin-left: 0; }
    
    .desktop-cta { display: none; }
    .mobile-only { display: block !important; margin-top: 20px; }

    .problem-grid, .services-grid, .cs-grid, .acc-grid, .pricing-grid, .vault-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .big-stat { font-size: 3rem; }
    
    /* Audit box padding fix for mobile */
    .audit-box { padding: 30px 20px; }

    /* Shrink the big price font on mobile so it fits */
    .amount { font-size: 32px; }
    
    /* Adjust spacing */
    .pricing-card { padding: 30px 20px; }
}

/* FOOTER */
.footer-links a, .footer-links a:visited { color: var(--text-muted) !important; text-decoration: none; }
.footer-links a:hover { color: var(--text-main) !important; }