/*
 * E-pro Marketing Styles
 * Modern, clean, and professional for a B2B SaaS.
 */

:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.1);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --max-width: 1280px;
    --nav-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.mk-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.mk-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.mk-btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.mk-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

.mk-btn-secondary {
    background: white;
    color: var(--text-main);
    border-color: var(--border);
}

.mk-btn-secondary:hover {
    background: var(--bg-alt);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.mk-btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

/* Navigation */
.mk-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.mk-nav.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.mk-nav .mk-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mk-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.mk-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mk-brand:hover .mk-logo {
    transform: rotate(-5deg) scale(1.1);
}

.mk-brand-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.mk-icon-lightning-mark {
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.mk-nav-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.mk-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.mk-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.mk-link:hover {
    color: var(--text-main);
}

.mk-link:hover::after {
    width: 100%;
}

.mk-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mk-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.mk-hero {
    padding: calc(var(--nav-height) + 80px) 0 120px;
    background: radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

.mk-hero .mk-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mk-badge-wrapper {
    margin-bottom: 24px;
}

.mk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 12px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.12);
    text-transform: none;
}

.mk-badge-lightning {
    flex-shrink: 0;
    color: var(--primary);
    opacity: 0.95;
}

.mk-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

.mk-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}

.mk-hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 64px;
}

.mk-hero-trust {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mk-hero-trust p {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mk-trust-logos {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.mk-trust-logo {
    font-weight: 700;
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* Mockup UI */
.mk-hero-visual {
    position: relative;
}

.mk-mockup-container {
    position: relative;
    padding: 20px;
}

.mk-mockup {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.mk-mockup-header {
    background: #f8fafc;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.mk-dots {
    display: flex;
    gap: 8px;
}

.mk-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mk-url {
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.8rem;
    color: var(--text-light);
    flex-grow: 1;
}

.mk-mockup-body {
    min-height: 300px;
    display: flex;
    align-items: stretch;
}

.mk-mockup-body--flow {
    min-height: 320px;
}

.mk-mockup-sidebar {
    width: 70px;
    background: #f1f5f9;
    border-right: 1px solid var(--border);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mk-sidebar-item {
    height: 40px;
    background: #e2e8f0;
    border-radius: 8px;
}

.mk-sidebar-item--active {
    background: linear-gradient(135deg, #2563eb, #6366f1);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.mk-sidebar-item:not(.mk-sidebar-item--active) {
    opacity: 0.55;
}

.mk-mockup-main {
    flex-grow: 1;
    padding: 32px;
}

.mk-mockup-main--flow {
    padding: 16px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
}

.mk-hero-flow {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.mk-skeleton-row {
    background: #f1f5f9;
    border-radius: 6px;
}

.mk-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mk-skeleton-item {
    height: 80px;
    background: #f1f5f9;
    border-radius: 8px;
}

.mk-floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    border: 1px solid rgba(226, 232, 240, 0.5);
    animation: float 6s ease-in-out infinite;
}

.mk-card-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.mk-card-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.mk-floating-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-floating-icon--amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.mk-floating-text {
    display: flex;
    flex-direction: column;
}

.mk-floating-text strong {
    font-size: 1rem;
    color: var(--text-main);
}

.mk-floating-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Features Section */
.mk-section {
    padding: 120px 0;
}

.bg-alt {
    background: var(--bg-alt);
}

.mk-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.mk-section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mk-section-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.mk-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.mk-card {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mk-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
    border-color: var(--primary-light);
}

.mk-card-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.mk-card:hover .mk-card-icon-wrapper {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.mk-card-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.mk-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.mk-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Steps Section */
.mk-steps-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
    position: relative;
}

.mk-step-item {
    position: relative;
    padding-top: 40px;
}

.mk-step-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(226, 232, 240, 0.5);
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: all 0.3s ease;
}

.mk-step-item:hover .mk-step-number {
    color: var(--primary-glow);
    transform: translateY(-10px);
}

.mk-step-content {
    position: relative;
    z-index: 1;
}

.mk-step-content h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.mk-step-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* CTA Section */
.mk-cta {
    padding: 0 0 120px;
}

.mk-cta-box {
    background: #0f172a;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 100px 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.mk-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.mk-cta-box h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.mk-cta-box p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.mk-cta-box .mk-btn {
    position: relative;
    z-index: 1;
}

/* Footer */
.mk-footer {
    padding: 100px 0 40px;
    background: white;
    border-top: 1px solid var(--border);
}

.mk-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    margin-bottom: 80px;
}

.mk-footer-brand .mk-brand {
    margin-bottom: 24px;
}

.mk-footer-brand p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 360px;
    margin-bottom: 32px;
}

.mk-social-links {
    display: flex;
    gap: 16px;
}

.mk-social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-alt);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
}

.mk-social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.mk-footer-links {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.mk-footer-col h5 {
    font-size: 1.1rem;
    margin-bottom: 28px;
    color: var(--text-main);
}

.mk-footer-col a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1rem;
    transition: color 0.2s;
}

.mk-footer-col a:hover {
    color: var(--primary);
}

.mk-footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .mk-hero .mk-wrap {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .mk-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .mk-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .mk-hero-visual {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .mk-footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .mk-nav-actions {
        display: none;
    }
    
    .mk-menu-toggle {
        display: flex;
    }
    
    .mk-hero h1 {
        font-size: 3rem;
    }
    
    .mk-hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .mk-btn-lg {
        width: 100%;
    }
    
    .mk-section-header h2 {
        font-size: 2.25rem;
    }
    
    .mk-footer-links {
        flex-direction: column;
        gap: 40px;
    }
    
    .mk-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .mk-floating-card {
        display: none;
    }
}
