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

:root {
    /* ==== Modern Color Palette ==== */
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    --primary-gradient-soft: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
    
    /* Accent Colors */
    --accent-coral: #f97316;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    
    /* Secondary & Neutrals */
    --secondary-color: #0f172a;
    --secondary-dark: #020617;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --bg-soft: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-gradient-hero: linear-gradient(180deg, #f8faff 0%, #eef4ff 40%, #e8f0ff 100%);
    --bg-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    
    /* Borders & Decorative */
    --border-color: #e2e8f0;
    --border-light: rgba(226, 232, 240, 0.7);
    --glow-primary: 0 0 40px rgba(79, 70, 229, 0.15);
    
    /* Status Colors */
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.2);
    --shadow-card: 0 4px 20px -4px rgba(15, 23, 42, 0.1), 0 0 1px rgba(15, 23, 42, 0.1);
    --shadow-card-hover: 0 10px 40px -10px rgba(15, 23, 42, 0.2), 0 0 1px rgba(15, 23, 42, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Animation Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==== Scroll Animation Base ==== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }

/* ==== Float Animation ==== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* ==== Shimmer Effect ==== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

.nav-brand .logo {
    font-size: 1.625rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

.nav-links .btn-link {
    color: var(--text-dark);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.nav-mobile-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.25s var(--ease-out-expo);
    text-decoration: none;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    border: 1px solid var(--secondary-color);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: 1.5px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover:not(:disabled) {
    border-color: var(--primary-light);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.1);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== Hero Section ===== */
.hero {
    background: var(--bg-gradient-hero);
    color: var(--text-dark);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 70% 10%, rgba(167, 139, 250, 0.25), transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(79, 70, 229, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 30% at 90% 90%, rgba(139, 92, 246, 0.15), transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-pattern);
    opacity: 0.5;
    pointer-events: none;
}

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

.hero-content {
    max-width: 600px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(139, 92, 246, 0.08));
    color: var(--primary-dark);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.eyebrow::before {
    content: '✦';
    font-size: 0.75rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.hero-title .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

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

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

.hero-note::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-emerald);
    border-radius: 50%;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup {
    width: 100%;
    max-width: 500px;
}

.mockup-browser {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl), var(--glow-primary);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.mockup-browser-header {
    background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
    padding: 0.875rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-browser-header span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #d1d5db;
}

.mockup-browser-content {
    padding: 1.5rem;
    min-height: 300px;
}

.mockup-builder {
    display: flex;
    gap: 1rem;
}

.mockup-sidebar {
    width: 80px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
}

.mockup-canvas {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mockup-element {
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-sm);
    opacity: 0.3;
}

.mockup-element.wide {
    height: 40px;
}

/* ===== Section Common Styles ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

/* ===== Features Section ===== */
.features {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===== How It Works Section ===== */
.how-it-works {
    background: var(--bg-gray);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 300;
}

.cta-center {
    text-align: center;
}

/* ===== Pricing Section ===== */
.pricing {
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.pricing-price .price {
    font-size: clamp(1.75rem, 4.2vw, 2.4rem);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

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

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

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    line-height: 1.5;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 2rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
}

.pricing-toggle-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
}

.pricing-save-badge {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 4px;
}

.pricing-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--border-color);
    transition: 0.3s;
    border-radius: 26px;
}

.pricing-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.pricing-switch input:checked + .pricing-slider {
    background: var(--primary-color);
}

.pricing-switch input:checked + .pricing-slider::before {
    transform: translateX(24px);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: var(--secondary-color);
    color: #ffffff;
    border: 1px solid var(--secondary-color);
}

.cta-buttons .btn-secondary:hover,
.cta-buttons .btn-secondary:focus,
.cta-buttons .btn-secondary:active {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: #ffffff;
}

.cta-buttons .btn-outline {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.cta-buttons .btn-outline:hover,
.cta-buttons .btn-outline:focus,
.cta-buttons .btn-outline:active {
    background: #ffffff;
    color: var(--primary-dark);
    border-color: rgba(29, 78, 216, 0.25);
}

/* ===== Choose Your Path ===== */
.choose-path {
    padding: 5rem 0;
    background: var(--bg-light);
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.path-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.path-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.path-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.path-icon svg {
    width: 28px;
    height: 28px;
}

.path-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.path-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.path-card .btn-block {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

/* ===== Marketplace Preview ===== */
.marketplace-preview {
    padding: 5rem 0;
}

.mp-preview-empty {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

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

.mp-preview-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mp-preview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.mp-preview-banner {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mp-preview-banner img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255,255,255,0.95);
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mp-preview-body {
    padding: 16px 20px 20px;
}

.mp-preview-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px;
}

.mp-preview-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mp-preview-category {
    display: inline-block;
    padding: 3px 8px;
    background: #f1f5f9;
    color: #6366f1;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
}

.mp-preview-card .mp-card-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 14px;
    background: #6366f1;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s;
}

.mp-preview-card .mp-card-link:hover {
    background: #4f46e5;
}

.mp-loading {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.mp-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: mpSpin 0.8s linear infinite;
    margin: 0 auto 12px;
}

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

@media (max-width: 768px) {
    .path-grid {
        grid-template-columns: 1fr;
    }
    .mp-preview-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-col h5 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-col p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-light);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-close {
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
}

.modal-footer-text {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* ===== Form Styles ===== */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input.error {
    border-color: var(--error-color);
}

.form-hint {
    display: block;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 0.375rem;
}

.form-error {
    display: block;
    font-size: 0.875rem;
    color: var(--error-color);
    margin-top: 0.375rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.875rem;
    cursor: pointer;
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    animation: slideInRight 0.3s;
    border-left: 4px solid;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    border-color: var(--success-color);
    color: var(--success-color);
}

.toast-error {
    border-color: var(--error-color);
    color: var(--error-color);
}

.toast-warning {
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.toast span:first-child {
    font-size: 1.25rem;
    font-weight: 700;
}

.toast span:last-child {
    color: var(--text-dark);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-image {
        order: -1;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .steps {
        flex-direction: column;
    }

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

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

    .pricing-price {
        gap: 0.35rem;
    }

    .pricing-price .price {
        font-size: clamp(1.45rem, 7.5vw, 2rem);
    }

    .pricing-price .period {
        font-size: 0.9rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a,
    .nav-links .btn-link {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: left;
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .nav-links .btn {
        margin: 0.75rem 1.5rem;
        width: calc(100% - 3rem);
    }

    .navbar .container {
        position: relative;
    }

    .nav-mobile-toggle {
        display: flex;
    }

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

    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .toast {
        min-width: auto;
        max-width: calc(100vw - 2rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
