/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a1a2e; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.hidden { display: none !important; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width:768px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

/* ===== COLORS ===== */
.bg-white { background: #fff; }
.bg-gray { background: #f9fafb; }
.bg-dark { background: #111827; color: #fff; }
.text-white { color: #fff; }
.text-gray { color: #6b7280; }
.text-gray-dark { color: #555; }
.text-light { color: #d1d5db; }

/* ===== SECTION ===== */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 2.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: #6b7280; max-width: 720px; margin: 0 auto; }
@media(min-width:768px) { .section { padding: 80px 0; } .section-title { font-size: 2.8rem; } }

/* ===== CHIP ===== */
.chip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; margin-bottom: 16px; }
.chip-number { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #f97316; color: #fff; margin-right: 8px; font-size: 0.65rem; }
.chip-dark { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }

/* ===== BUTTONS ===== */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; background: #f97316; color: #fff; font-weight: 600; padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer; font-size: 0.95rem; transition: all 0.3s; }
.btn-primary:hover { background: #ea580c; transform: scale(1.03); box-shadow: 0 8px 24px rgba(249,115,22,0.3); }
.btn-white { display: inline-flex; align-items: center; background: #fff; color: #ea580c; font-weight: 700; padding: 16px 32px; border-radius: 999px; transition: all 0.3s; }
.btn-white:hover { background: #f3f4f6; transform: scale(1.05); }
.btn-outline-white { display: inline-flex; align-items: center; background: transparent; color: #fff; font-weight: 500; padding: 16px 32px; border-radius: 999px; border: 2px solid #fff; transition: all 0.3s; }
.btn-outline-white:hover { background: #fff; color: #f97316; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 12px 0; transition: all 0.3s; }
.navbar.scrolled { background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { height: 36px; }
.nav-name { font-size: 1.25rem; font-weight: 700; color: #111; }
.nav-desktop { display: none; gap: 32px; }
.nav-desktop .nav-link { font-size: 0.95rem; color: #333; transition: color 0.3s; }
.nav-desktop .nav-link:hover { color: #f97316; }
.menu-toggle { background: none; border: none; cursor: pointer; padding: 8px; color: #333; }
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-menu { position: fixed; inset: 0; background: #fff; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-menu a { font-size: 1.25rem; font-weight: 500; }
@media(min-width:768px) { .nav-desktop { display: flex; } .menu-toggle { display: none; } }

/* ===== HERO ===== */
.hero { position: relative; background-size: cover; background-position: center 30%; padding: 120px 20px 60px; overflow: hidden; }
.hero-glow { position: absolute; top: -10%; right: -5%; width: 50%; height: 70%; background: linear-gradient(180deg, rgba(249,115,22,0.8) 0%, rgba(249,115,22,0) 100%); opacity: 0.2; border-radius: 50%; filter: blur(60px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-title { font-size: 2.2rem; font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.hero-subtitle { font-size: 1rem; color: #111; margin-bottom: 24px; line-height: 1.7; }
.hero-image { max-width: 400px; margin: 0 auto; }
.hero-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
@media(min-width:1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } .hero-title { font-size: 3.2rem; } .hero { padding: 140px 20px 80px; } }

/* ===== SERVICE CARDS ===== */
.service-card { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid #f3f4f6; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.4s; }
.service-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.12); transform: translateY(-4px); }
.service-img { aspect-ratio: 16/9; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 24px 28px; }
.service-body h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.service-body p { color: #6b7280; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 0.75rem; color: #6b7280; display: flex; align-items: center; gap: 6px; }
.tags span::before { content: ''; width: 6px; height: 6px; background: #f97316; border-radius: 50%; }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 48px; }
@media(min-width:1024px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-card { background: #fff; border-radius: 16px; padding: 24px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 12px; }
.stat-icon.green { background: #dcfce7; color: #16a34a; }
.stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-icon.purple { background: #f3e8ff; color: #9333ea; }
.stat-icon.orange { background: #ffedd5; color: #ea580c; }
.stat-value { font-size: 1.8rem; font-weight: 700; margin-bottom: 4px; }
.stat-card p { font-size: 0.85rem; color: #6b7280; }

/* ===== CASE CARDS ===== */
.case-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.case-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; margin-bottom: 16px; }
.case-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.case-card p { color: #6b7280; margin-bottom: 16px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-green { background: #dcfce7; color: #166534; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; }
.tag-blue { background: #dbeafe; color: #1e40af; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; }
.tag-purple { background: #f3e8ff; color: #6b21a8; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; }
.tag-orange { background: #ffedd5; color: #9a3412; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; }

/* ===== PORTFOLIO ===== */
.portfolio-card { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid #f3f4f6; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: all 0.4s; }
.portfolio-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); transform: translateY(-4px); }
.portfolio-img { aspect-ratio: 16/9; overflow: hidden; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portfolio-body { padding: 24px 28px; }
.portfolio-body h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.portfolio-body p { color: #6b7280; margin-bottom: 12px; }
.result-badge { display: inline-block; background: #dcfce7; color: #166534; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 500; margin-bottom: 12px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tags span { background: #fff7ed; color: #c2410c; padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; border: 1px solid #fed7aa; }

/* ===== VIDEO ===== */
.video-section { margin-top: 64px; background: linear-gradient(135deg, #fff7ed, #ffedd5); border-radius: 24px; padding: 32px; max-width: 900px; margin-left: auto; margin-right: auto; }
.video-section h3 { font-size: 1.4rem; font-weight: 600; text-align: center; margin-bottom: 24px; }
.video-wrapper { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.video-wrapper video { width: 100%; display: block; }

/* ===== PROCESS ===== */
.process-steps { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 900px; margin: 0 auto 48px; }
@media(min-width:768px) { .process-steps { grid-template-columns: 1fr 1fr; } }
.process-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); border: 1px solid #f3f4f6; transition: all 0.4s; }
.process-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.process-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.process-number { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #fff7ed; color: #f97316; border-radius: 50%; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.step-label { font-size: 0.8rem; color: #f97316; font-weight: 500; }
.process-card h3 { font-size: 1.15rem; font-weight: 600; }
.process-card p { color: #6b7280; margin-bottom: 16px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; font-size: 0.85rem; color: #6b7280; }
.cta-box { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-radius: 24px; padding: 40px; text-align: center; max-width: 800px; margin: 0 auto; }
.cta-box h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.cta-box p { color: #6b7280; margin-bottom: 24px; font-size: 1.05rem; }

/* ===== SPECIALTIES ===== */
.spec-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); border: 1px solid #f3f4f6; transition: all 0.4s; }
.spec-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); transform: translateY(-4px); }
.spec-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.spec-card p { color: #6b7280; }
.tech-stack { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); border: 1px solid #f3f4f6; margin-top: 48px; }
.tech-stack h3 { font-size: 1.2rem; font-weight: 600; text-align: center; margin-bottom: 24px; }
.tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; text-align: center; }
@media(min-width:768px) { .tech-grid { grid-template-columns: repeat(6,1fr); } }
.tech-grid div { padding: 12px; border-radius: 12px; }
.tech-grid div:hover { background: #f9fafb; }
.tech-grid strong { font-size: 0.9rem; }
.tech-grid small { color: #9ca3af; font-size: 0.75rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-card { background-size: cover; background-position: center; border-radius: 12px; padding: 32px; color: #fff; position: relative; overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; transition: transform 0.3s; }
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-corner { position: absolute; top: 0; right: 0; width: 96px; height: 96px; background: #fff; z-index: 1; }
.testimonial-content { position: relative; z-index: 0; }
.testimonial-result { display: inline-block; background: #22c55e; color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 500; margin-bottom: 12px; }
.testimonial-content p { font-size: 1.1rem; font-weight: 500; margin-bottom: 16px; padding-right: 80px; }
.testimonial-content h4 { font-size: 1.15rem; font-weight: 600; }
.testimonial-content span { font-size: 0.9rem; opacity: 0.8; }

/* ===== VISION ===== */
.vision-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(8px); border-radius: 24px; padding: 32px; border: 1px solid rgba(255,255,255,0.1); transition: all 0.4s; }
.vision-card:hover { background: rgba(255,255,255,0.1); }
.vision-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.vision-card p { color: #d1d5db; }
.predictions { background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(234,88,12,0.15)); border-radius: 24px; padding: 32px; border: 1px solid rgba(249,115,22,0.3); margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }
.predictions h3 { font-size: 1.4rem; font-weight: 600; text-align: center; margin-bottom: 24px; }
.prediction { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.pred-num { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #f97316; border-radius: 50%; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.prediction h4 { color: #fdba74; font-weight: 600; margin-bottom: 4px; }
.prediction p { color: #d1d5db; }
.vision-quote { text-align: center; font-size: 1.4rem; font-style: italic; color: #fdba74; margin-top: 48px; line-height: 1.5; }
.vision-quote cite { font-size: 1rem; color: #9ca3af; font-style: normal; }

/* ===== NEWSLETTER ===== */
.newsletter-form { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.newsletter-form input { padding: 14px 24px; border-radius: 999px; border: 1px solid #e5e7eb; font-size: 1rem; outline: none; }
.newsletter-form input:focus { border-color: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
@media(min-width:768px) { .newsletter-form { flex-direction: row; } .newsletter-form input { flex: 1; } }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 16px; border: 1px solid #f3f4f6; box-shadow: 0 2px 8px rgba(0,0,0,0.04); overflow: hidden; }
.faq-item button { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 1rem; font-weight: 600; color: #111; }
.faq-item button svg { width: 20px; height: 20px; color: #9ca3af; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active button svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: #6b7280; line-height: 1.7; }

/* ===== CTA FINAL ===== */
.cta-final { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; padding: 80px 20px; }
.cta-final h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }
.cta-final p { font-size: 1.2rem; margin-bottom: 32px; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; flex-direction: column; gap: 16px; align-items: center; }
@media(min-width:640px) { .cta-buttons { flex-direction: row; justify-content: center; } }

/* ===== FOOTER ===== */
.footer { background: #fff; padding: 40px 20px; border-top: 1px solid #f3f4f6; }
.footer h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 24px; }
.footer-links a { color: #f97316; font-size: 0.9rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-credit { font-size: 0.85rem; color: #9ca3af; padding-top: 20px; border-top: 1px solid #f3f4f6; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(16px); animation: fadeIn 0.7s ease forwards; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== FLEX HEADER ===== */
.flex-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.header-line { flex: 1; height: 1px; background: #d1d5db; }

/* ===== MOBILE ===== */
@media(max-width:640px) {
  .hero { padding: 100px 12px 40px; }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.75rem; }
  .cta-final h2 { font-size: 1.8rem; }
  .testimonial-content p { padding-right: 20px; }
}