/**
 * Amplyx - Shared Styles
 * amplyx.intelliquinte.com
 * © 2025 Intelliquinte L.L.C.
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-100: #f8f8f8;
    --color-gray-200: #e8e8e8;
    --color-gray-300: #d0d0d0;
    --color-gray-500: #707070;
    --color-gray-700: #404040;
    --font-text: 'Raleway', sans-serif;
    --font-numbers: 'Poppins', sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
}

a { 
    color: inherit; 
    text-decoration: none; 
}

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

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

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

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
}

nav.simple {
    position: relative;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-links a:hover { 
    opacity: 0.7; 
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-family: var(--font-text);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover { 
    opacity: 0.85; 
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--color-gray-300);
}

.btn-ghost:hover { 
    background: var(--color-gray-100); 
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-xl {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding-top: 160px;
    padding-bottom: 120px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 6px 16px;
    background: var(--color-gray-100);
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Problem Section
   ============================================ */
.problem {
    padding: 100px 0;
    background: var(--color-gray-100);
}

.problem h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
}

.comparison-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-card.bad h3::before { content: '✗'; color: var(--color-gray-500); }
.comparison-card.good h3::before { content: '✓'; color: var(--color-black); }

.comparison-card ul { list-style: none; }

.comparison-card li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 0.9375rem;
}

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

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--color-black);
    color: var(--color-white);
}

.how-it-works h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
}

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

.step { 
    text-align: center; 
}

.step-number {
    font-family: var(--font-numbers);
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: 100px 0;
    background: var(--color-gray-100);
}

.pricing h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.pricing-subtitle {
    text-align: center;
    color: var(--color-gray-500);
    margin-bottom: 64px;
}

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

.pricing-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid transparent;
}

.pricing-card.featured { 
    border-color: var(--color-black); 
}

.pricing-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-price {
    font-family: var(--font-numbers);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-gray-500);
}

.pricing-desc {
    color: var(--color-gray-500);
    font-size: 0.875rem;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-gray-200);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: '✓';
    font-weight: 600;
}

.pricing-card .btn { 
    width: 100%; 
}

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

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta p {
    color: var(--color-gray-500);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo { 
    font-weight: 700; 
}

.footer-logo span {
    opacity: 0.5;
    font-weight: 400;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* ============================================
   Legal Pages (Privacy, Terms)
   ============================================ */
.legal-page {
    padding: 60px 0;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-page .last-updated {
    color: var(--color-gray-500);
    margin-bottom: 48px;
}

.legal-page h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 48px 0 16px 0;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
}

.legal-page h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-page h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.legal-page p {
    margin-bottom: 16px;
    color: var(--color-gray-700);
}

.legal-page ul, 
.legal-page ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--color-gray-700);
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page strong {
    color: var(--color-black);
}

.highlight {
    background: var(--color-gray-100);
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
}

.warning {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    padding: 16px 20px;
    margin: 24px 0;
}

.encryption-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-black);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 16px 0;
}

.encryption-badge::before {
    content: '🔒';
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .pricing-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .steps { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .hero h1 { 
        font-size: 2.5rem; 
    }
    .comparison { 
        grid-template-columns: 1fr; 
    }
    .pricing-grid { 
        grid-template-columns: 1fr; 
    }
    .steps { 
        grid-template-columns: 1fr; 
    }
    .nav-links { 
        display: none; 
    }
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .legal-page h1 {
        font-size: 2rem;
    }
}

