/* LoyaltyLink Styles
   ========================================= */

:root {
    --color-bg: #0a0f1a;
    --color-bg-elevated: #111827;
    --color-bg-card: #1a2332;
    --color-border: #2d3748;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    --color-accent: #EB0A1E;
    --color-accent-bright: #ff2d3b;
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    --font-sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
}

/* Reset & Base
   ========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

@media (max-width: 480px) {
    .container,
    .container-wide {
        padding: 0 16px;
    }
}

/* Navigation
   ========================================= */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 100%);
    transition: background 0.3s ease, padding 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
    flex-shrink: 0;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark svg {
    width: 22px;
    height: 22px;
    color: white;
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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

.nav-cta {
    background: var(--color-accent);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--color-accent-bright);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 8px;
    margin: -8px;
}

/* Hero
   ========================================= */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(235, 10, 30, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(235, 10, 30, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(235, 10, 30, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--color-accent-bright) 0%, var(--color-accent) 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 22px);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Animations
   ========================================= */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn svg {
    flex-shrink: 0;
}

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

.btn-primary:hover {
    background: var(--color-accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(235, 10, 30, 0.3);
}

.btn-primary:disabled {
    background: var(--color-text-dim);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-elevated);
    border-color: var(--color-text-dim);
}

/* Compliance/Certification Badges
   ========================================= */
.compliance-badges,
.certification-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
    flex-wrap: wrap;
}

.compliance-badge,
.certification-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-dim);
}

.compliance-badge svg,
.certification-badge svg {
    width: 16px;
    height: 16px;
    color: var(--color-success);
    flex-shrink: 0;
}

/* Sections
   ========================================= */
.section {
    padding: 100px 0;
    position: relative;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* How It Works
   ========================================= */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px 20px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--color-text-dim);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
    position: absolute;
    top: 12px;
    right: 16px;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-elevated);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Use Cases / Product Cards
   ========================================= */
.use-cases-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.use-case-card,
.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

a.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.use-case-card::before,
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--card-accent, var(--color-accent)) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-card:hover,
.product-card:hover {
    border-color: var(--color-text-dim);
    transform: translateY(-4px);
}

.use-case-card:hover::before,
.product-card:hover::before {
    opacity: 1;
}

.use-case-icon,
.product-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-elevated);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
}

.use-case-card h3,
.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.use-case-card p,
.product-card p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    background: var(--color-bg);
    border-radius: 6px;
    color: var(--color-text-dim);
}

/* Benefits Grid
   ========================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--color-text-dim);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-elevated);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Features Section
   ========================================= */
.features-section {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header .section-subtitle {
    margin: 0 auto;
}

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

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-number {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--color-accent);
    flex-shrink: 0;
    padding-top: 2px;
}

.feature-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Compliance Section
   ========================================= */
.compliance-section {
    text-align: center;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.compliance-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px;
    text-align: left;
}

.compliance-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}

.compliance-card h4 svg {
    width: 22px;
    height: 22px;
    color: var(--color-success);
    flex-shrink: 0;
}

.compliance-card ul {
    list-style: none;
    color: var(--color-text-muted);
    font-size: 13px;
}

.compliance-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.compliance-card li:last-child {
    border-bottom: none;
}

/* Integration Section
   ========================================= */
.integration-section {
    text-align: center;
}

.integration-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.integration-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 16px 24px;
    border-radius: 16px;
}

.integration-icon {
    width: 48px;
    height: 48px;
    background: #1e3a5f;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.integration-divider {
    width: 1px;
    height: 36px;
    background: var(--color-border);
}

.integration-text {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: left;
}

.integration-text strong {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    font-size: 14px;
}

.integration-arrow {
    color: var(--color-text-dim);
    font-size: 20px;
}

/* CTA Section
   ========================================= */
.cta-section {
    text-align: center;
    padding: 120px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 60px 32px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(235, 10, 30, 0.08) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    position: relative;
}

.cta-box h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 14px;
}

.cta-box p {
    color: var(--color-text-muted);
    font-size: 16px;
    margin-bottom: 28px;
}

/* Footer
   ========================================= */
footer {
    border-top: 1px solid var(--color-border);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo-mark {
    width: 32px;
    height: 32px;
}

.footer-brand .logo-mark svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-info a {
    color: var(--color-text);
    text-decoration: none;
}

.footer-info a:hover {
    color: var(--color-accent-bright);
}

.footer-legal {
    color: var(--color-text-dim);
    font-size: 13px;
    margin-top: 6px;
}

/* Contact Page Styles
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.contact-method-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-method-content p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.contact-method-content a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-method-content a:hover {
    color: var(--color-accent-bright);
}

/* Form Styles
   ========================================= */
.contact-form-wrapper {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 36px;
}

.form-header {
    margin-bottom: 28px;
}

.form-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-header p {
    font-size: 14px;
    color: var(--color-text-muted);
}

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

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

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}

label .required {
    color: var(--color-error);
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(235, 10, 30, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--color-text-dim);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 44px;
}

select option {
    background: var(--color-bg-card);
    color: var(--color-text);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form Messages
   ========================================= */
.form-message {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--color-success);
    color: var(--color-success);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--color-error);
    color: var(--color-error);
    display: block;
}

/* Loading Spinner
   ========================================= */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease infinite;
}

/* Legal Pages
   ========================================= */
.page-header {
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.page-header .last-updated {
    font-size: 14px;
    color: var(--color-text-dim);
}

.legal-content {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 18px;
    color: var(--color-text);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--color-text);
}

.legal-content p {
    color: var(--color-text-muted);
    margin-bottom: 14px;
    line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
    color: var(--color-text-muted);
    margin-bottom: 14px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--color-accent-bright);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--color-text);
    font-weight: 600;
}

.highlight-box {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 20px 0;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Accessible focus outlines
   ========================================= */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Mobile Responsiveness
   ========================================= */

/* Tablet */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 900px) {
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        position: static;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Stronger nav background & disable noise overlay on mobile */
    nav {
        background: rgba(10, 15, 26, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    body::before {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-content {
        padding: 0;
    }

    .section {
        padding: 60px 0;
    }

    .section-subtitle {
        margin-bottom: 36px;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .step-number {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-box {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .cta-box p {
        font-size: 15px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-info {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

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

    .legal-content {
        padding: 24px;
    }

    .integration-badges {
        flex-direction: column;
        align-items: center;
    }

    .integration-arrow {
        transform: rotate(90deg);
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .section-title {
        font-size: 26px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .logo-mark svg {
        width: 20px;
        height: 20px;
    }

    .compliance-badges,
    .certification-badges {
        gap: 12px;
    }

    .compliance-badge,
    .certification-badge {
        font-size: 12px;
    }

    /* Extra small spacing + heading tweaks */
    .section {
        padding: 48px 0;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero h1,
    .section-title {
        line-height: 1.15;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
