/* 
    VerosID Modern SaaS Landing Page Styles
    Adheres to bold, professional, B2B aesthetic.
*/

:root {
    /* Color Palette */
    --bg-dark: #0a0e17;
    --bg-card: rgba(18, 25, 38, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --primary-solid: #0ea5e9;
    --primary-glow: rgba(14, 165, 233, 0.3);
    --primary-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    --accent-cyan: #22d3ee;
    --accent-glow: rgba(34, 211, 238, 0.4);
    
    --text-pure: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-pure);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Animated Grain Overlay */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
}

/* Layout */
.main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 120px 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    z-index: 100;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 48px; /* Increased for better presence */
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-pure);
}

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

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover:not(.btn) {
    color: var(--text-pure);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-solid);
    color: var(--text-pure);
    box-shadow: 0 4px 14px var(--primary-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-pure);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding-top: 4rem;
    position: relative;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--primary-glow);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-indicators p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual / Terminal */
.hero-visual {
    flex: 1;
    position: relative;
    z-index: 10;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(10,14,23,0) 60%);
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    z-index: 0;
    pointer-events: none;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-glass);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-body {
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.8;
}

.terminal-body .success { color: var(--success); margin-right: 10px; }
.terminal-body .highlight { color: var(--accent-cyan); margin-top: 1rem; font-weight: bold; }

/* Features Grid */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-glow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(14, 165, 233, 0.1);
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Compliance Section */
.bg-glass {
    position: relative;
}

.bg-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(10,14,23,0) 0%, rgba(14,165,233,0.05) 50%, rgba(10,14,23,0) 100%);
    z-index: 0;
}

.compliance-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.compliance-content .text-content {
    flex: 1;
}

.text-left {
    text-align: left;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.check-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.check-list li strong {
    color: var(--text-pure);
}

.compliance-content .visual-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.shield-graphic {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, rgba(14,165,233,0) 70%);
    border: 1px dashed var(--primary-solid);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: spin-slow 20s linear infinite;
}

.pulse-icon {
    width: 100px;
    animation: pulse 3s infinite alternate;
}

@keyframes spin-slow {
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); filter: drop-shadow(0 0 10px var(--primary-glow)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 30px var(--accent-glow)); }
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.highlight-col {
    background: rgba(14, 165, 233, 0.05);
    border-left: 1px solid var(--primary-glow);
    border-right: 1px solid var(--primary-glow);
}

.success-text { color: var(--success); font-weight: 500;}
.danger-text { color: var(--danger); font-weight: 500;}
.warning-text { color: var(--warning); font-weight: 500;}

/* Footer */
.footer {
    background: #05080f;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: grayscale(1) brightness(2);
    opacity: 0.7;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    color: var(--text-pure);
    margin-bottom: 1.2rem;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--primary-solid);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-content { align-items: center; display: flex; flex-direction: column; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .features-grid { grid-template-columns: 1fr; }
    .compliance-content { flex-direction: column; }
    .text-left { text-align: center; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.5rem; }
    .footer-content { flex-direction: column; gap: 2rem; }
}
