/* ================================================
   QR Menu Manager - Modern Design System v2.0
   ================================================ */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-900: #312e81;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    --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;
    --gray-900: #0f172a;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 20px rgba(99,102,241,0.3);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition-fast: all 0.15s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--gray-800); line-height: 1.6; background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
button { font-family: var(--font); }

/* =================== ANIMATIONS =================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes bounceIn { 0% { transform: scale(0.3); opacity: 0; } 50% { transform: scale(1.05); } 70% { transform: scale(0.9); } 100% { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-15px) rotate(5deg); } }
@keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes wave { 0% { transform: rotate(0deg); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } 60%, 100% { transform: rotate(0deg); } }

.animate-fadeIn { animation: fadeIn 0.6s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeInDown { animation: fadeInDown 0.5s ease forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease forwards; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.5s ease forwards; }
.animate-bounceIn { animation: bounceIn 0.8s ease forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-wave { animation: wave 2.5s ease infinite; transform-origin: 70% 70%; display: inline-block; }

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }
.delay-6 { animation-delay: 0.6s; opacity: 0; }
.delay-7 { animation-delay: 0.7s; opacity: 0; }
.delay-8 { animation-delay: 0.8s; opacity: 0; }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =================== NAVBAR =================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.25rem 0; transition: var(--transition); background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.85); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-sm);
    padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.3);
}
.navbar .container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1.4rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.navbar.scrolled .navbar-brand { color: var(--secondary); }
.navbar-brand i { font-size: 1.5rem; }
.navbar-brand span { background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.navbar-nav { display: flex; list-style: none; gap: 0.5rem; align-items: center; }
.navbar-nav a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.92rem; padding: 0.5rem 1rem; border-radius: var(--radius); transition: var(--transition); }
.navbar.scrolled .navbar-nav a { color: var(--gray-600); }
.navbar-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar.scrolled .navbar-nav a:hover { color: var(--primary); background: var(--primary-50); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--white); cursor: pointer; padding: 0.5rem; border-radius: var(--radius-sm); }
.navbar.scrolled .nav-toggle { color: var(--secondary); }

/* =================== BUTTONS =================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.7rem 1.5rem; border: none; border-radius: var(--radius);
    font-family: var(--font); font-size: 0.92rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); text-decoration: none;
    line-height: 1.4; position: relative; overflow: hidden; white-space: nowrap;
}
.btn::before {
    content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0;
    background: rgba(255,255,255,0.2); border-radius: 50%;
    transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s;
}
.btn:active::before { width: 300px; height: 300px; }

.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); box-shadow: 0 4px 15px rgba(99,102,241,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99,102,241,0.45); color: var(--white); }

.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { transform: translateY(-2px); color: var(--white); }

.btn-success { background: linear-gradient(135deg, var(--success), #059669); color: var(--white); box-shadow: 0 4px 15px rgba(16,185,129,0.35); }
.btn-success:hover { transform: translateY(-2px); color: var(--white); }

.btn-warning { background: linear-gradient(135deg, var(--warning), #d97706); color: var(--white); }
.btn-warning:hover { transform: translateY(-2px); color: var(--white); }

.btn-danger { background: linear-gradient(135deg, var(--danger), #dc2626); color: var(--white); box-shadow: 0 4px 15px rgba(239,68,68,0.25); }
.btn-danger:hover { transform: translateY(-2px); color: var(--white); }

.btn-info { background: linear-gradient(135deg, var(--info), #2563eb); color: var(--white); }
.btn-info:hover { transform: translateY(-2px); color: var(--white); }

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

.btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }

.btn-ghost { background: transparent; color: var(--gray-600); border: 2px solid var(--gray-200); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn-xl { padding: 1.1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: var(--radius-sm); }

/* =================== HERO =================== */
.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #4338ca 100%);
}
.hero::before {
    content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 70%);
    border-radius: 50%; animation: float 8s ease-in-out infinite;
}
.hero::after {
    content: ''; position: absolute; bottom: -10%; left: -5%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
    border-radius: 50%; animation: float2 10s ease-in-out infinite;
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 70%, transparent 100%);
}
.hero .container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
.hero-content h1 { font-size: 3.75rem; font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 1.5rem; letter-spacing: -1.5px; }
.hero-content h1 span { background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc, #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradient 4s ease infinite; background-size: 300% 300%; }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,0.65); margin-bottom: 2.5rem; line-height: 1.8; max-width: 520px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 3rem; }
.hero-stat { text-align: center; }
.hero-stat .number { display: block; font-size: 2.25rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }

.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1000px; }
.hero-phone { width: 300px; height: 620px; background: var(--white); border-radius: 44px; box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,255,255,0.1); padding: 14px; position: relative; animation: float 6s ease-in-out infinite; transform: rotateY(-5deg) rotateX(2deg); }
.hero-phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 28%, var(--gray-50) 28%); border-radius: 32px; overflow: hidden; padding: 2.5rem 1.25rem 1.25rem; }
.hero-phone-header { text-align: center; padding-bottom: 1.5rem; }
.hero-phone-header .restaurant-name { color: var(--white); font-size: 1.1rem; font-weight: 700; }
.hero-phone-header .restaurant-type { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.hero-phone-menu { display: flex; flex-direction: column; gap: 0.6rem; }
.hero-menu-item { background: var(--white); border-radius: var(--radius); padding: 0.8rem; display: flex; align-items: center; gap: 0.75rem; box-shadow: var(--shadow-xs); }
.hero-menu-item .item-img { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-50), var(--primary-100)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.hero-menu-item .item-info { flex: 1; }
.hero-menu-item .item-info h4 { font-size: 0.82rem; font-weight: 600; color: var(--secondary); }
.hero-menu-item .item-info p { font-size: 0.7rem; color: var(--gray-400); margin: 0; }
.hero-menu-item .item-price { font-weight: 700; color: var(--primary); font-size: 0.85rem; }

.hero-badge { position: absolute; background: var(--white); border-radius: var(--radius-lg); padding: 1rem 1.25rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.75rem; }
.hero-badge.top-right { top: 5%; right: -10%; animation: float2 7s ease-in-out infinite; }
.hero-badge.bottom-left { bottom: 15%; left: -15%; animation: float2 7s ease-in-out infinite; animation-delay: -3s; }
.hero-badge .badge-icon { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.hero-badge .badge-text h4 { font-size: 0.85rem; font-weight: 700; color: var(--secondary); }
.hero-badge .badge-text p { font-size: 0.75rem; color: var(--gray-500); }

/* =================== SECTIONS =================== */
.section { padding: 7rem 0; }
.section .container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-header .badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; background: var(--primary-50); color: var(--primary); border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 600; margin-bottom: 1.25rem; border: 1px solid var(--primary-100); }
.section-header h2 { font-size: 2.75rem; font-weight: 800; color: var(--secondary); margin-bottom: 1rem; letter-spacing: -1px; }
.section-header p { font-size: 1.1rem; color: var(--gray-500); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.bg-light { background: var(--gray-50); }

/* =================== FEATURES =================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem; transition: var(--transition); border: 1px solid var(--gray-200); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(135deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 64px; height: 64px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; transition: var(--transition); }
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-icon.indigo { background: var(--primary-50); color: var(--primary); }
.feature-icon.blue { background: var(--info-light); color: var(--info); }
.feature-icon.green { background: var(--success-light); color: var(--success); }
.feature-icon.amber { background: var(--warning-light); color: var(--warning); }
.feature-icon.red { background: var(--danger-light); color: var(--danger); }
.feature-icon.purple { background: #f3e8ff; color: #9333ea; }
.feature-icon.teal { background: #ccfbf1; color: #14b8a6; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--secondary); margin-bottom: 0.75rem; }
.feature-card p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.7; }

/* =================== HOW IT WORKS =================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 35px; left: 12%; right: 12%; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; z-index: 0; }
.step-card { text-align: center; position: relative; padding: 0 1rem; z-index: 1; }
.step-number { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: 0 8px 25px rgba(99,102,241,0.35); transition: var(--transition-bounce); }
.step-card:hover .step-number { transform: scale(1.15); box-shadow: 0 0 40px rgba(99,102,241,0.4); }
.step-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--secondary); margin-bottom: 0.5rem; }
.step-card p { color: var(--gray-500); font-size: 0.9rem; }

/* =================== PRICING =================== */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 3.5rem; }
.pricing-toggle span { font-weight: 600; color: var(--gray-400); transition: var(--transition); }
.pricing-toggle span.active { color: var(--secondary); }
.toggle-switch { width: 56px; height: 28px; background: var(--gray-300); border-radius: 14px; position: relative; cursor: pointer; transition: var(--transition); }
.toggle-switch.active { background: var(--primary); }
.toggle-switch::after { content: ''; width: 24px; height: 24px; background: var(--white); border-radius: 50%; position: absolute; top: 2px; left: 2px; transition: var(--transition-bounce); box-shadow: var(--shadow-sm); }
.toggle-switch.active::after { left: 30px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: start; }
.pricing-card { background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem 2rem; border: 2px solid var(--gray-200); transition: var(--transition); position: relative; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pricing-card.popular { border-color: var(--primary); transform: scale(1.05); box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-100); }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.pricing-card.popular .popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 0.3rem 1.5rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; box-shadow: 0 4px 15px rgba(99,102,241,0.3); }
.pricing-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--secondary); margin-bottom: 0.25rem; }
.pricing-card .price { font-size: 3rem; font-weight: 800; color: var(--secondary); margin: 1.5rem 0; letter-spacing: -1px; }
.pricing-card .price small { font-size: 1rem; font-weight: 400; color: var(--gray-400); }
.pricing-card .price .currency { font-size: 1.5rem; vertical-align: super; }
.pricing-card .features-list { list-style: none; margin: 2rem 0; }
.pricing-card .features-list li { padding: 0.5rem 0; color: var(--gray-600); font-size: 0.9rem; display: flex; align-items: center; gap: 0.75rem; }
.pricing-card .features-list li i { font-size: 0.85rem; width: 18px; text-align: center; }
.pricing-card .features-list li i.fa-check { color: var(--success); }
.pricing-card .features-list li.disabled { color: var(--gray-300); }
.pricing-card .features-list li.disabled i { color: var(--gray-300); }

/* =================== CTA =================== */
.cta-section { background: linear-gradient(135deg, #1e1b4b 0%, var(--primary-dark) 50%, #7c3aed 100%); padding: 7rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%); }
.cta-section h2 { font-size: 2.75rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; position: relative; letter-spacing: -1px; }
.cta-section p { font-size: 1.15rem; color: rgba(255,255,255,0.65); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; }

/* =================== FOOTER =================== */
.footer { background: var(--gray-900); color: rgba(255,255,255,0.65); padding: 5rem 0 2rem; }
.footer .container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 1rem; }
.footer-brand h3 span { color: var(--primary-light); }
.footer-brand p { line-height: 1.8; margin-bottom: 1.5rem; font-size: 0.92rem; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a { width: 40px; height: 40px; border-radius: var(--radius); background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: var(--transition); border: 1px solid rgba(255,255,255,0.08); }
.footer-social a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.35); }

/* =================== FORMS =================== */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.88rem; color: var(--gray-700); }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font); font-size: 0.92rem; color: var(--gray-800); transition: var(--transition); background: var(--white); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99,102,241,0.1); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%236c757d' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* =================== TOAST =================== */
.toast-notification { position: fixed; top: 24px; right: 24px; padding: 1rem 1.5rem; border-radius: var(--radius); color: var(--white); font-weight: 500; display: flex; align-items: center; gap: 0.75rem; z-index: 10000; transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); box-shadow: var(--shadow-lg); }
.toast-notification.show { transform: translateX(0); }
.toast-success { background: linear-gradient(135deg, var(--success), #059669); }
.toast-error { background: linear-gradient(135deg, var(--danger), #dc2626); }

/* =================== MODALS =================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,23,42,0.6); backdrop-filter: blur(8px); z-index: 5000; display: none; align-items: center; justify-content: center; padding: 2rem; }
.modal-overlay.active { display: flex; }
.modal, .modal-content { background: var(--white); border-radius: var(--radius-xl); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); animation: scaleIn 0.3s ease; }
.modal-header { padding: 1.5rem 2rem; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--white); z-index: 1; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.modal-header h3 { font-size: 1.2rem; font-weight: 700; color: var(--secondary); }
.modal-close, .modal-header button:last-child { background: var(--gray-100); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; color: var(--gray-500); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover, .modal-header button:last-child:hover { background: var(--danger-light); color: var(--danger); }
.modal-body { padding: 1.5rem 2rem; }
.modal-footer { padding: 1rem 2rem 1.5rem; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end; gap: 0.75rem; }

/* =================== BADGES =================== */
.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.badge-primary { background: var(--primary-50); color: var(--primary); }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-info { background: var(--info-light); color: var(--info); }
.badge-secondary { background: var(--gray-100); color: var(--gray-600); }
.badge-purple { background: #f3e8ff; color: #9333ea; }

/* =================== ALERTS =================== */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 0.75rem; animation: fadeInDown 0.4s ease; }
.alert-success { background: var(--success-light); color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: var(--danger-light); color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: var(--warning-light); color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: var(--info-light); color: #1e40af; border: 1px solid #93c5fd; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 2.75rem; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { transform: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .navbar-nav { display: none; position: absolute; top: 100%; left: 1rem; right: 1rem; background: var(--white); flex-direction: column; padding: 1rem; box-shadow: var(--shadow-lg); gap: 0; border-radius: var(--radius-lg); }
    .navbar-nav.active { display: flex; }
    .navbar-nav a { color: var(--gray-700) !important; padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
    .nav-toggle { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .features-grid, .steps-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .section-header h2 { font-size: 2rem; }
    .section { padding: 5rem 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 2rem; }
    .cta-section h2 { font-size: 2rem; }
}
