/* ============================================================================
   VAJRA WEBSITE - INDUSTRIAL BLUEPRINT DESIGN SYSTEM
   Aligned with Setu Platform design tokens (samyoga.tech)
   ============================================================================ */

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

:root {
    /* Blueprint Colors - matching apps/frontend/tailwind.config.js */
    --blueprint-50: #E6F0FF;
    --blueprint-100: #CCE0FF;
    --blueprint-200: #99C2FF;
    --blueprint-300: #66A3FF;
    --blueprint-400: #3385FF;
    --blueprint-500: #0050FF;
    --blueprint-600: #0040CC;
    --blueprint-700: #003099;
    --blueprint-800: #002066;
    --blueprint-900: #001033;

    /* Construct Colors (Secondary) */
    --construct-50: #FFF4E6;
    --construct-100: #FFE9CC;
    --construct-200: #FFD399;
    --construct-300: #FFBD66;
    --construct-400: #FFA733;
    --construct-500: #F38020;
    --construct-600: #C2661A;
    --construct-700: #924D13;
    --construct-800: #61330D;
    --construct-900: #311A06;

    /* Paper Colors (Grayscale) */
    --paper-50: #FAFAFA;
    --paper-100: #F5F5F5;
    --paper-200: #EEEEEE;
    --paper-300: #E0E0E0;
    --paper-400: #BDBDBD;
    --paper-500: #9E9E9E;
    --paper-600: #757575;
    --paper-700: #616161;
    --paper-800: #424242;
    --paper-900: #212121;

    /* Grid Colors */
    --grid-light: #E3E8EF;
    --grid-default: #CBD5E1;
    --grid-dark: #94A3B8;

    /* Semantic Aliases */
    --primary: var(--blueprint-500);
    --primary-dark: var(--blueprint-600);
    --primary-light: var(--blueprint-400);
    --secondary: var(--construct-500);
    --accent: var(--construct-500);
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --white: #ffffff;
    --text: var(--paper-900);
    --text-muted: var(--paper-700);
    --border: var(--grid-light);
    --bg: var(--paper-50);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Berkeley Mono', Consolas, 'Courier New', monospace;

    /* Shadows - Blueprint style */
    --shadow-paper: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-paper-lg: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-blueprint: 0 2px 8px rgba(0, 80, 255, 0.1), 0 1px 2px rgba(0, 80, 255, 0.06);
    --shadow-blueprint-lg: 0 4px 16px rgba(0, 80, 255, 0.12), 0 2px 4px rgba(0, 80, 255, 0.08);
    --shadow-construct: 0 2px 8px rgba(243, 128, 32, 0.1), 0 1px 2px rgba(243, 128, 32, 0.06);

    /* Technical Spacing */
    --grid-size: 8px;
    --blueprint-line: 1px;

    /* Border Radius - Technical/Industrial */
    --radius: 4px;
    --radius-tight: 2px;

    /* Transitions */
    --transition-snap: 150ms cubic-bezier(0.2, 0, 0, 1);
    --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--bg);
    /* Subtle blueprint grid */
    background-image:
        linear-gradient(var(--grid-light) var(--blueprint-line), transparent var(--blueprint-line)),
        linear-gradient(90deg, var(--grid-light) var(--blueprint-line), transparent var(--blueprint-line));
    background-size: 20px 20px;
    background-position: 0 0, 0 0;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Code/Technical text */
.font-mono, code, pre {
    font-family: var(--font-mono);
    font-weight: 400;
    font-variant-ligatures: contextual;
    letter-spacing: 0.01em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-snap);
    font-family: var(--font-sans);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 80, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(0, 80, 255, 0.3);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 80, 255, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-paper);
}

.btn-secondary:hover {
    border-color: var(--grid-default);
    background-color: var(--paper-100);
}

.btn-construct {
    background-color: var(--construct-500);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(243, 128, 32, 0.2);
}

.btn-construct:hover {
    background-color: var(--construct-600);
    box-shadow: 0 4px 8px rgba(243, 128, 32, 0.3);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

/* Technical border accent */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        var(--blueprint-500) 0%,
        var(--blueprint-500) 40px,
        transparent 40px,
        transparent 60px,
        var(--construct-500) 60px,
        var(--construct-500) 100px,
        transparent 100px
    );
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo svg {
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    transition: color var(--transition-snap);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--paper-50) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-default) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-default) 1px, transparent 1px),
        linear-gradient(var(--grid-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-light) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    opacity: 0.5;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.platforms {
    display: flex;
    gap: 0.5rem;
}

.platform {
    padding: 0.25rem 0.75rem;
    background: var(--blueprint-50);
    border: 1px solid var(--blueprint-100);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--blueprint-700);
    font-family: var(--font-mono);
}

/* Browser Mockup */
.browser-mockup {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-blueprint-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--paper-100);
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--paper-300);
}

.browser-dots span:first-child { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:last-child { background: #10b981; }

.browser-url {
    flex: 1;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius-tight);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    border: 1px solid var(--border);
}

.browser-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blueprint-500) 0%, var(--blueprint-700) 100%);
    color: var(--white);
}

.shield-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.shield-icon svg {
    width: 100%;
    height: 100%;
}

.browser-content p {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--white);
}

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

/* Blueprint Card */
.feature-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-paper);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blueprint-500), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blueprint);
    border-color: var(--blueprint-200);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--blueprint-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid var(--blueprint-100);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--blueprint-500);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Architecture Section */
.architecture {
    padding: 6rem 0;
    background: var(--paper-100);
}

.architecture-diagram {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.arch-layer {
    margin-bottom: 1rem;
}

.arch-layer-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.arch-nodes {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    min-width: 110px;
    box-shadow: var(--shadow-paper);
    transition: all var(--transition-smooth);
}

.arch-node:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blueprint);
}

.arch-node svg {
    width: 28px;
    height: 28px;
    color: var(--blueprint-500);
}

.arch-node span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text);
    font-family: var(--font-mono);
}

.arch-node.cloud svg {
    color: var(--construct-500);
}

.arch-arrow {
    display: flex;
    justify-content: center;
    padding: 0.75rem 0;
}

.arch-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--grid-dark);
}

.browser-layer {
    background: linear-gradient(135deg, var(--blueprint-500) 0%, var(--blueprint-700) 100%);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1rem 0;
}

.browser-layer .arch-layer-label {
    color: rgba(255, 255, 255, 0.8);
}

.arch-browser {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.arch-browser-item {
    text-align: center;
    color: var(--white);
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    min-width: 140px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.arch-browser-item strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.arch-browser-item span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.arch-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.arch-feature {
    text-align: center;
    padding: 1.25rem;
}

.arch-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: var(--blueprint-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.arch-feature h4 {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

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

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--paper-100);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-paper);
}

.pricing-card:hover {
    box-shadow: var(--shadow-blueprint);
}

.pricing-card.featured {
    border: 2px solid var(--blueprint-500);
    box-shadow: var(--shadow-blueprint-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blueprint-500);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: var(--radius);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.pricing-description {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    vertical-align: top;
    font-family: var(--font-mono);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    font-family: var(--font-mono);
}

.pricing-price .period {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.375rem 0;
    color: var(--text);
    font-size: 0.875rem;
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    stroke: var(--success);
    stroke-width: 3;
    fill: none;
    flex-shrink: 0;
}

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

/* Pricing Explainer */
.pricing-explainer {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: linear-gradient(135deg, var(--blueprint-500) 0%, var(--blueprint-700) 100%);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.pricing-explainer h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.pricing-explainer p {
    opacity: 0.9;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.pricing-math {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.math-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: var(--font-mono);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.math-separator {
    font-size: 1.125rem;
    opacity: 0.7;
}

.pricing-note {
    max-width: 700px;
    margin: 2rem auto 0;
    text-align: center;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 3px solid var(--blueprint-500);
    box-shadow: var(--shadow-paper);
}

.pricing-note p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--paper-900);
    color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.about p {
    color: var(--paper-400);
    font-size: 1.0625rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--paper-800);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--blueprint-400);
    font-family: var(--font-mono);
}

.stat-label {
    color: var(--paper-500);
    font-size: 0.8125rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blueprint-500);
    box-shadow: 0 0 0 3px rgba(0, 80, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--paper-900);
    color: var(--paper-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand .logo svg {
    color: var(--blueprint-500);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.footer-links a {
    display: block;
    color: var(--paper-400);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.375rem 0;
    transition: color var(--transition-snap);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--paper-800);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--paper-400);
    transition: color var(--transition-snap);
}

.social-links a:hover {
    color: var(--white);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes dataPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.4s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.3s ease-out;
}

.animate-pulse {
    animation: dataPulse 1.5s ease-in-out infinite;
}

/* Hero animations */
.hero-content {
    animation: slideUp 0.6s ease-out;
}

.hero-image {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

/* ============================================================================
   SCROLLBAR STYLING
   ============================================================================ */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--paper-100);
    border-left: 1px solid var(--border);
}

::-webkit-scrollbar-thumb {
    background: var(--grid-default);
    border-radius: 6px;
    border: 2px solid var(--paper-100);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--grid-dark);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--grid-default) var(--paper-100);
}

/* ============================================================================
   SELECTION STYLING
   ============================================================================ */

::selection {
    background-color: rgba(0, 80, 255, 0.2);
    color: var(--text);
}

::-moz-selection {
    background-color: rgba(0, 80, 255, 0.2);
    color: var(--text);
}

/* ============================================================================
   FOCUS INDICATORS
   ============================================================================ */

:focus-visible {
    outline: 2px solid var(--blueprint-500);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--blueprint-500);
    outline-offset: 2px;
    border-radius: var(--radius-tight);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.875rem; }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-platforms {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    h1 { font-size: 2rem; }

    .hero {
        padding: 6rem 0 3rem;
    }

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

    .arch-nodes {
        gap: 1rem;
    }

    .arch-node {
        min-width: 100px;
        padding: 1rem;
    }

    .arch-browser {
        flex-direction: column;
        align-items: center;
    }

    .arch-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================================================
   BLOG STYLES
   ============================================================================ */

.blog-header {
    background: linear-gradient(135deg, var(--blueprint-500) 0%, var(--blueprint-700) 100%);
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 72px;
    text-align: center;
}

.blog-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.blog-posts {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-paper);
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blueprint);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-card-image {
    background: linear-gradient(135deg, var(--paper-100) 0%, var(--paper-200) 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image-placeholder {
    width: 80px;
    height: 80px;
    color: var(--blueprint-500);
}

.blog-image-placeholder svg {
    width: 100%;
    height: 100%;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.blog-category {
    color: var(--blueprint-500);
    font-weight: 600;
}

.blog-date {
    color: var(--text-muted);
}

.blog-card h2, .blog-card h3 {
    margin-bottom: 0.75rem;
}

.blog-card h2 a, .blog-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.blog-card h2 a:hover, .blog-card h3 a:hover {
    color: var(--blueprint-500);
}

.blog-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.blog-read-more {
    color: var(--blueprint-500);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}

.blog-read-more:hover {
    text-decoration: underline;
}

/* Newsletter */
.newsletter {
    background: var(--paper-100);
    padding: 4rem 0;
}

.newsletter-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: var(--font-sans);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--blueprint-500);
    box-shadow: 0 0 0 3px rgba(0, 80, 255, 0.1);
}

@media (max-width: 768px) {
    .blog-card.featured {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

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