/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2563eb; --primary-dark: #1d4ed8; --primary-light: #3b82f6;
    --secondary: #0f172a; --accent: #06b6d4;
    --text: #1e293b; --text-light: #64748b;
    --bg: #ffffff; --bg-light: #f8fafc; --bg-dark: #0f172a;
    --border: #e2e8f0; --success: #10b981; --warning: #f59e0b; --error: #ef4444;
    --shadow: 0 1px 3px rgba(0,0,0,0.1); --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius: 8px; --radius-lg: 12px; --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.text-gradient { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-tag { display: inline-block; background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1)); color: var(--primary); padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }

/* ===== NAV ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); z-index: 1000; padding: 1rem 0; transition: var(--transition); }
.navbar.scrolled { padding: 0.75rem 0; box-shadow: var(--shadow); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand .logo { font-size: 1.75rem; font-weight: 800; color: var(--secondary); letter-spacing: -1px; }
.nav-brand .logo-accent { font-size: 1.75rem; font-weight: 300; color: var(--primary); letter-spacing: -1px; }
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.nav-menu a:hover { color: var(--primary); }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; background: none; border: none; padding: 0.5rem; }
.hamburger span { width: 25px; height: 3px; background: var(--text); transition: var(--transition); border-radius: 2px; }

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 1rem; transition: var(--transition); border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e8f4f8 100%); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-bg-elements { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bg-circle { position: absolute; border-radius: 50%; opacity: 0.1; }
.bg-circle-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; }
.bg-circle-2 { width: 400px; height: 400px; background: var(--accent); bottom: -100px; left: -100px; }
.bg-circle-3 { width: 200px; height: 200px; background: var(--primary); top: 50%; left: 50%; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: white; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.9rem; font-weight: 500; color: var(--text-light); margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.badge-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; color: var(--secondary); font-family: 'Playfair Display', serif; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-light); margin-bottom: 2.5rem; line-height: 1.7; max-width: 540px; }
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { text-align: left; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 0.5rem; display: block; }

/* Dashboard Mockup */
.dashboard-mockup { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); transition: var(--transition); }
.dashboard-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.mockup-header { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: var(--bg-light); border-bottom: 1px solid var(--border); }
.mockup-dots { display: flex; gap: 0.5rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ef4444; } .dot-yellow { background: #f59e0b; } .dot-green { background: #10b981; }
.mockup-title { font-size: 0.85rem; color: var(--text-light); font-weight: 500; }
.mockup-body { padding: 1.5rem; }
.mockup-chart { display: flex; align-items: flex-end; gap: 0.75rem; height: 150px; margin-bottom: 1.5rem; }
.chart-bar { flex: 1; background: linear-gradient(to top, var(--primary), var(--accent)); border-radius: 4px 4px 0 0; animation: growBar 1.5s ease-out forwards; }
@keyframes growBar { from { height: 0; } }
.mockup-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.metric-card { background: var(--bg-light); padding: 1rem; border-radius: var(--radius); text-align: center; }
.metric-label { display: block; font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.25rem; }
.metric-value { display: block; font-size: 1.25rem; font-weight: 700; color: var(--secondary); }
.metric-change { display: block; font-size: 0.75rem; font-weight: 600; margin-top: 0.25rem; }
.metric-change.positive { color: var(--success); } .metric-change.negative { color: var(--error); }

/* ===== LOGOS ===== */
.logos-section { padding: 3rem 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.logos-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.logo-item { color: var(--text-light); font-weight: 600; font-size: 0.95rem; opacity: 0.6; transition: var(--transition); }
.logo-item:hover { opacity: 1; }

/* ===== SERVICES ===== */
.services { padding: 6rem 0; background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; color: var(--secondary); margin-bottom: 1rem; font-family: 'Playfair Display', serif; }
.section-header p { font-size: 1.15rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.service-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; transition: var(--transition); position: relative; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--primary-light); }
.service-card.featured { border: 2px solid var(--primary); }
.service-badge { position: absolute; top: -12px; right: 20px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; padding: 0.35rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.service-icon-wrapper { font-size: 2.5rem; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--secondary); }
.service-card > p { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.7; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.service-features li { color: var(--text); font-size: 0.95rem; }
.service-cta { display: inline-block; color: var(--primary); font-weight: 600; text-decoration: none; transition: var(--transition); }
.service-cta:hover { color: var(--primary-dark); }

/* ===== ABOUT ===== */
.about { padding: 6rem 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-content h2 { font-size: 2.5rem; font-weight: 700; color: var(--secondary); margin-bottom: 1.5rem; font-family: 'Playfair Display', serif; }
.about-lead { font-size: 1.15rem; color: var(--text); margin-bottom: 1rem; line-height: 1.7; }
.about-content > p { color: var(--text-light); margin-bottom: 2.5rem; line-height: 1.7; }
.about-features { display: flex; flex-direction: column; gap: 1.5rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon { width: 28px; height: 28px; background: var(--success); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.feature h4 { font-size: 1.05rem; font-weight: 600; color: var(--secondary); margin-bottom: 0.25rem; }
.feature p { color: var(--text-light); font-size: 0.9rem; }
.about-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.about-card { background: var(--bg-light); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); }
.about-card-main { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border: none; }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.about-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.about-card-main p { opacity: 0.9; margin-bottom: 1.5rem; }
.card-stat-row { display: flex; gap: 2rem; }
.mini-stat { text-align: center; }
.mini-stat-value { display: block; font-size: 1.75rem; font-weight: 800; }
.mini-stat-label { font-size: 0.8rem; opacity: 0.8; }
.about-card-secondary { position: relative; padding-left: 3rem; }
.card-check { position: absolute; left: 2rem; top: 2rem; width: 28px; height: 28px; background: var(--success); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.about-card-secondary p { font-style: italic; color: var(--text); margin-bottom: 1.5rem; line-height: 1.7; }
.card-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 44px; height: 44px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.card-author strong { display: block; font-size: 0.95rem; }
.card-author span { font-size: 0.85rem; color: var(--text-light); }

/* ===== PROCESS ===== */
.process { padding: 6rem 0; background: var(--bg-light); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.process-step { text-align: center; padding: 2rem; position: relative; }
.step-connector { position: absolute; top: 45px; right: -1rem; width: 2rem; height: 2px; background: var(--border); }
.process-step:last-child .step-connector { display: none; }
.step-number { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; margin: 0 auto 1.5rem; }
.process-step h3 { font-size: 1.25rem; font-weight: 700; color: var(--secondary); margin-bottom: 1rem; }
.process-step p { color: var(--text-light); line-height: 1.7; font-size: 0.95rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 6rem 0; background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card { background: var(--bg-light); border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid var(--border); transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.testimonial-stars { color: var(--warning); font-size: 1.25rem; margin-bottom: 1.5rem; letter-spacing: 2px; }
.testimonial-text { font-size: 1.05rem; color: var(--text); line-height: 1.7; margin-bottom: 2rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-info h4 { font-size: 1rem; font-weight: 600; color: var(--secondary); margin-bottom: 0.25rem; }
.author-info p { font-size: 0.85rem; color: var(--text-light); }

/* ===== PRICING ===== */
.pricing { padding: 6rem 0; background: var(--bg-light); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.pricing-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; transition: var(--transition); position: relative; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.pricing-card.featured { border: 2px solid var(--primary); transform: scale(1.05); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; padding: 0.35rem 1.25rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.pricing-header { text-align: center; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.pricing-header h3 { font-size: 1.5rem; font-weight: 700; color: var(--secondary); margin-bottom: 1rem; }
.price { margin-bottom: 0.5rem; }
.price-from { display: block; font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.25rem; }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.price-period { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.pricing-header p { color: var(--text-light); font-size: 0.95rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing-features li { color: var(--text); font-size: 0.95rem; }
.pricing-note { text-align: center; margin-top: 2rem; color: var(--text-light); }
.pricing-note a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* ===== CTA ===== */
.cta { padding: 6rem 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; text-align: center; }
.cta-content h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; font-family: 'Playfair Display', serif; }
.cta-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta .btn-primary { background: white; color: var(--primary); }
.cta .btn-primary:hover { background: var(--bg-light); transform: translateY(-2px); }

/* ===== CONTACT ===== */
.contact { padding: 6rem 0; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { font-size: 2.5rem; font-weight: 700; color: var(--secondary); margin-bottom: 1rem; font-family: 'Playfair Display', serif; }
.contact-info > p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 2.5rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; margin-top: 0.25rem; }
.contact-item h4 { font-size: 1rem; font-weight: 600; color: var(--secondary); margin-bottom: 0.25rem; }
.contact-item p { color: var(--text-light); font-size: 0.95rem; }
.contact-form { background: var(--bg-light); padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; color: var(--text); margin-bottom: 0.5rem; font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; font-family: inherit; transition: var(--transition); background: var(--bg); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark); color: white; padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { font-size: 2rem; font-weight: 800; color: var(--primary-light); display: block; margin-bottom: 0.5rem; }
.footer-brand .logo-accent { font-size: 2rem; font-weight: 300; color: white; }
.footer-brand p { color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-links h4, .footer-cta h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; color: white; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); font-size: 0.95rem; }
.footer-links a:hover { color: white; }
.footer-cta p { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.footer-cta .btn-primary { display: inline-block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
    .dashboard-mockup { transform: none; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-5px); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .step-connector { display: none !important; }
}

@media (max-width: 968px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { position: fixed; left: -100%; top: 70px; flex-direction: column; background: white; width: 100%; text-align: center; padding: 2rem 0; box-shadow: var(--shadow-lg); transition: var(--transition); gap: 1.5rem; }
    .nav-menu.active { left: 0; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { justify-content: center; }
    .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.5rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { text-align: center; }
    .process-steps { grid-template-columns: 1fr; }
}