/* MrPulz Design System */
:root {
    --navy: #0A1628;
    --navy-light: #111D33;
    --navy-mid: #1A2744;
    --blue: #2563EB;
    --blue-light: #3B82F6;
    --blue-dark: #1D4ED8;
    --cyan: #06B6D4;
    --green: #10B981;
    --orange: #F59E0B;
    --red: #EF4444;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gradient-blue: linear-gradient(135deg, #2563EB, #06B6D4);
    --gradient-dark: linear-gradient(180deg, #0A1628 0%, #111D33 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 25px -3px rgba(0,0,0,0.15);
    --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --max-width: 1200px;
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; display: block; }

/* Typography */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { color: var(--gray-600); }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

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

.btn-primary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.5);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--gray-200);
}
.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}
.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
}
.hero h1 .accent {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.3);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--blue-light);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

/* Sections */
.section { padding: 100px 0; }
.section-dark { background: var(--navy); }
.section-gray { background: var(--gray-50); }
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 16px auto 0;
}
.section-header .badge {
    display: inline-block;
    background: rgba(37,99,235,0.1);
    color: var(--blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-icon.blue { background: rgba(37,99,235,0.1); color: var(--blue); }
.feature-icon.cyan { background: rgba(6,182,212,0.1); color: var(--cyan); }
.feature-icon.green { background: rgba(16,185,129,0.1); color: var(--green); }
.feature-icon.orange { background: rgba(245,158,11,0.1); color: var(--orange); }
.feature-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.feature-card p { font-size: 0.95rem; }

/* Verticals */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.vertical-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy-light);
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.vertical-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,0.3);
}
.vertical-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}
.vertical-card h3 { color: var(--white); margin-bottom: 12px; }
.vertical-card p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.vertical-card .tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.tag-live { background: rgba(16,185,129,0.15); color: var(--green); }
.tag-soon { background: rgba(245,158,11,0.15); color: var(--orange); }

/* Pricing Preview */
.pricing-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: start;
}
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}
.pricing-card.featured {
    border-color: var(--blue);
    box-shadow: 0 8px 30px rgba(37,99,235,0.15);
    position: relative;
}
.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-blue);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin: 20px 0 8px;
}
.pricing-card .price span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.pricing-card .period { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 28px; }
.pricing-card ul { list-style: none; margin-bottom: 32px; }
.pricing-card li {
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-card li::before {
    content: '\2713';
    color: var(--green);
    font-weight: 700;
    font-size: 0.85rem;
}
.pricing-card .btn { width: 100%; }

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding: 60px 0;
}
.stat { text-align: center; }
.stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat .label { color: var(--gray-500); font-size: 0.95rem; margin-top: 4px; }

/* CTA */
.cta {
    text-align: center;
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(37,99,235,0.15) 0%, transparent 70%);
}
.cta h2 { color: var(--white); margin-bottom: 16px; position: relative; }
.cta p { color: rgba(255,255,255,0.6); font-size: 1.125rem; margin-bottom: 40px; position: relative; }
.cta .btn { position: relative; }

/* Footer */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        padding: 24px;
        gap: 16px;
        backdrop-filter: blur(12px);
    }
    .nav-toggle { display: block; }

    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .pricing-preview { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
}

/* Page-specific: light nav pages */
.nav-light .nav-logo { color: var(--navy); }
.nav-light .nav-logo span { color: var(--blue); }
.nav-light .nav-links a { color: var(--gray-600); }
.nav-light .nav-links a:hover { color: var(--navy); }
.nav-light .nav-toggle span { background: var(--navy); }
.nav-light.scrolled { background: rgba(255,255,255,0.95); box-shadow: var(--shadow); }
.nav-light.scrolled .nav-links a { color: var(--gray-600); }

/* Page header for inner pages */
.page-header {
    padding: 140px 0 60px;
    background: var(--gray-50);
    text-align: center;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p { font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
    background: var(--white);
}
.form-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
textarea.form-input { resize: vertical; min-height: 120px; }
.form-error { color: var(--red); font-size: 0.85rem; margin-top: 4px; }
.form-success {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    color: var(--green);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.95rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none; }
