/* Variables & Setup */
:root {
    --primary: #0033a0; 
    --primary-gradient: linear-gradient(135deg, #0033a0 0%, #1e5dd1 100%);
    --primary-light: #1e5dd1;
    --primary-dark: #001a57;
    --secondary: #00b0f0;
    --accent: #ff8200;
    --dark: #070b19; /* Deeper black/blue */
    --dark-surface: #10162a;
    --dark-border: rgba(255, 255, 255, 0.08);
    --light: #f4f7fa;
    --gray: #e2e8f0;
    --text-main: #1f2937;
    --text-muted: #64748b;
    --white: #ffffff;
    --radius: 12px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 10px 30px rgba(0, 51, 160, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--light);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 600;
}

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

/* Typography for Sections */
.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
}

.section-header.center p {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn.sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    box-shadow: 0 14px 40px rgba(0, 51, 160, 0.4);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1e5dd1 0%, #0033a0 100%);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.badge-outline {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 12px;
}

.header-badges {
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9375rem;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero_bg.png') center/cover no-repeat;
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.7) 100%);
    z-index: -1;
}

.hero-content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    z-index: 1;
    width: 100%;
}

.hero-text-col {
    max-width: 600px;
}

.hero-form-col {
    max-width: 480px;
    width: 100%;
    margin-left: auto;
}

.column-markers {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.column-markers span {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 176, 240, 0.2);
    border: 1px solid rgba(0, 176, 240, 0.4);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust-markers {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-trust-markers span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Compliance Section */
.compliance {
    padding: 100px 0;
    background: var(--white);
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.compliance-card {
    background: var(--light);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--gray);
}

.compliance-card.verified {
    background: var(--dark-surface);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
}

.compliance-card.verified h3 {
    color: var(--white);
}

.compliance-card.verified p {
    color: rgba(255,255,255,0.7);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 130, 0, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-wrapper.blue {
    background: rgba(0, 176, 240, 0.2);
    color: var(--secondary);
}

.compliance-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.link-verify {
    display: inline-block;
    margin-top: 24px;
    color: var(--secondary);
    font-weight: 500;
}

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

/* Roles */
.roles {
    padding: 100px 0;
    background: var(--light);
}

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

.role-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray);
    transition: var(--transition);
}

.role-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.role-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.role-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 51, 160, 0.05);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Catalog */
.catalog {
    padding: 100px 0;
    background: var(--white);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-image {
    width: 40%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.placeholder-book {
    width: 80%;
    height: 140px;
    background: var(--text-muted);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.product-info {
    width: 60%;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.product-desc {
    color: var(--text-main);
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.product-target {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Process */
.process {
    padding: 100px 0;
    background: var(--light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--white);
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 16px rgba(0, 51, 160, 0.1);
    border: 2px solid var(--primary-light);
}

.step h4 {
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.step.line {
    flex: 0.5;
    height: 2px;
    background: var(--gray);
    margin-top: 28px;
}

.final-cta {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.final-cta-inner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.final-cta-inner p {
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn.lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

.benefits-list li svg {
    color: var(--secondary);
    width: 20px;
    height: 20px;
}

.lead-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    color: var(--text-main);
}

.b2b-form .form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--dark);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 14px 16px; /* Larger padding for better tap target */
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--light);
    height: 52px; /* Minimum mobile hit target altitude */
}

/* Row-based form groups on desktop */
.form-group-row {
    display: flex;
    gap: 16px;
}
.form-group-row input, .form-group-row select {
    flex: 1;
}

.hero-form {
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.05); /* Glass base */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px; /* Slightly softer corners for glass */
}

/* Override input styles specifically for the glass hero form */
.hero-form input, .hero-form select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.hero-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.hero-form input:focus, .hero-form select:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 176, 240, 0.2);
}

.hero-form label {
    color: rgba(255,255,255,0.9);
}

.hero-form h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
    color: var(--white);
}

.hero-form .form-subtext {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.hero-form .privacy-note {
    color: rgba(255,255,255,0.5);
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 160, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1.125rem;
}

.privacy-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.form-success h3 {
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Footer */
.footer {
    background: var(--dark-surface);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer .logo-text {
    color: var(--white);
    display: block;
    margin-bottom: 16px;
}

.footer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 18px;
    font-size: 1.125rem;
    font-weight: 700;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
}

.sticky-cta.show {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .header-badges { display: none; }
    .hero-title { font-size: 2.8rem; }
    .hero-content-split { grid-template-columns: 1fr; gap: 40px; }
    .hero-form-col { margin: 0 auto; }
    .catalog-grid, .compliance-grid { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; align-items: center; }
    .step.line { width: 2px; height: 30px; margin: 10px 0; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .hero { padding: 120px 0 80px; align-items: flex-start; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .roles-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .product-card { flex-direction: column; }
    .product-image, .product-info { width: 100%; }
    .form-group-row { flex-direction: column; gap: 20px;}
    
    /* Make room for stick cta */
    body { padding-bottom: 60px; }
    .sticky-cta { display: block; }
}
