/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
  --primary: #f5b342;
  --primary-dark: #d48a2a;
  --dark: #0a0a1a;
  --dark-card: #0f0f2a;
  --text-light: #ffffff;
  --text-muted: #b0b0cc;
  --text-footer: #8888aa;
  --transition: 0.3s ease;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --gold: #f59e0b;
  --surface: #0f0f2a;
  --border: rgba(255, 255, 255, 0.08);
  --text2: #b0b0cc;
  --text3: #8888aa;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--dark); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.8rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: none; font-family: var(--font-body); }
.btn-primary { background: var(--primary); color: var(--dark); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245, 179, 66, 0.3); }
.btn-outline { background: transparent; color: var(--text-light); border: 2px solid var(--text-muted); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: white; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3); }

/* ============================================
   SECTION COMMONS
   ============================================ */
.section { padding: 100px 0; }
.section-alt { background: var(--surface); }
.section-eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 12px; }
.section-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--primary); }
.section-heading { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.5px; margin-bottom: 0.5rem; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; }
.gold { color: var(--gold); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background: rgba(10, 10, 26, 0.95); backdrop-filter: blur(10px); padding: 1rem 2rem; z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 36px; width: auto; }
.nav-logo-text { font-size: 1.25rem; font-weight: 700; color: var(--text-light); }
.nav-logo-text span { color: var(--primary); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover { color: var(--text-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--primary); }
.nav-cta { padding: 0.5rem 1.5rem !important; font-size: 0.85rem !important; }
.nav-cta::after { display: none !important; }

/* HAMBURGER */
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--text-light); transition: var(--transition); }

/* MOBILE NAV */
.mobile-nav { position: fixed; top: 0; right: -100%; width: 70%; max-width: 300px; height: 100vh; background: var(--dark-card); z-index: 1001; padding: 5rem 2rem; transition: right 0.3s ease; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav.open { right: 0; }
.mobile-link { color: var(--text-light); font-size: 1.1rem; font-weight: 500; }
.mobile-link:hover { color: var(--primary); }

/* ============================================
   HERO
   ============================================ */
.hero { padding: 10rem 1.5rem 6rem; min-height: 100vh; display: flex; align-items: center; background: radial-gradient(ellipse at 30% 50%, rgba(245, 179, 66, 0.08), var(--dark) 70%); position: relative; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.85rem; margin-bottom: 1.5rem; color: var(--text-muted); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-5px); } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1.05; margin-bottom: 0.5rem; font-family: var(--font-display); }
.hero h1 .highlight { color: var(--primary); }
.hero-tagline { font-family: var(--font-display); font-size: 20px; color: var(--gold); margin-bottom: 16px; letter-spacing: 2px; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.75rem; font-weight: 800; color: var(--primary); font-family: var(--font-mono); }
.hero-stat .label { font-size: 0.8rem; color: var(--text3); }
.hero-right { display: flex; justify-content: center; }
.hero-preview { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; width: 100%; max-width: 450px; }
.hero-preview:hover { transform: translateY(-5px); box-shadow: 0 30px 80px rgba(245, 179, 66, 0.1); transition: var(--transition); }
.preview-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #14142b; }
.preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.preview-dot.red { background: #ff5f57; }
.preview-dot.yellow { background: #ffbd2e; }
.preview-dot.green { background: #28c840; }
.preview-url { font-size: 0.75rem; color: var(--text3); margin-left: 6px; font-family: var(--font-mono); }
.hero-preview-placeholder { padding: 60px 40px; text-align: center; color: var(--text3); font-family: var(--font-mono); font-size: 14px; }
.hero-preview-placeholder p { margin-top: 12px; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar { padding: 2.5rem 0; background: var(--dark-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.trust-num { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: var(--font-mono); }
.trust-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.products-content h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.products-content p { color: var(--text2); font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.status-badge { display: inline-block; background: rgba(245, 179, 66, 0.1); border: 1px solid var(--border); border-radius: 100px; padding: 6px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--primary); margin-bottom: 16px; }
.feature-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.feature-tags span { background: var(--surface); border: 1px solid var(--border); padding: 6px 14px; border-radius: 100px; font-size: 13px; color: var(--text2); }
.products-visual { display: flex; justify-content: center; }
.products-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px; text-align: center; }
.products-icon { color: var(--primary); margin-bottom: 16px; }
.products-name { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--primary); }
.products-tag { font-family: var(--font-mono); font-size: 13px; color: var(--text3); margin-top: 8px; }

/* ============================================
   SERVICES
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-card { background: var(--dark-card); padding: 2rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); transition: var(--transition); }
.service-card:hover { transform: translateY(-6px); border-color: rgba(245, 179, 66, 0.2); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }
.service-icon { color: var(--primary); margin-bottom: 1rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.service-tag { display: inline-block; background: rgba(245, 179, 66, 0.15); color: var(--primary); padding: 0.2rem 1rem; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; margin-top: 0.75rem; }

/* ============================================
   PORTFOLIO
   ============================================ */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.project-card { background: var(--dark-card); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); transition: var(--transition); }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }
.project-image { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.project-body { padding: 1.5rem; }
.project-type { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.demo-tag { font-size: 0.65rem; color: var(--text3); font-weight: 400; }
.project-body h3 { font-size: 1.25rem; margin: 0.5rem 0; }
.project-body p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.project-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.project-tags { display: flex; gap: 0.5rem; }
.project-tags span { background: rgba(255, 255, 255, 0.05); padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.7rem; color: var(--text3); }
.project-link { display: flex; align-items: center; gap: 4px; color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.project-link:hover { text-decoration: underline; }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.why-card { text-align: center; padding: 2rem; background: var(--dark-card); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); transition: var(--transition); }
.why-card:hover { border-color: rgba(245, 179, 66, 0.2); transform: translateY(-4px); }
.why-num { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: var(--font-mono); margin-bottom: 0.5rem; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* ============================================
   PROCESS
   ============================================ */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; margin-top: 3rem; }
.step-card { text-align: center; padding: 1.5rem; background: var(--dark-card); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); transition: var(--transition); position: relative; }
.step-card:hover { border-color: rgba(245, 179, 66, 0.2); transform: translateY(-4px); }
.step-card::after { content: '→'; position: absolute; right: -30px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 20px; }
.step-card:last-child::after { display: none; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: var(--dark); font-weight: 800; font-size: 1.25rem; margin-bottom: 1rem; }
.step-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* ============================================
   FAQ
   ============================================ */
.faq-grid { display: grid; gap: 16px; margin-top: 3rem; }
.faq-item { background: var(--dark); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.faq-item h4 { font-weight: 700; margin-bottom: 8px; }
.faq-item p { color: var(--text2); font-size: 14px; line-height: 1.7; }

/* ============================================
   CONTACT
   ============================================ */
.contact-section { position: relative; }
.contact-inner { text-align: center; max-width: 700px; margin: 0 auto; }
.contact-sub { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.contact-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.contact-info { color: var(--text2); font-size: 0.95rem; margin-top: 1.5rem; }

/* ============================================
   FOOTER
   ============================================ */
footer { background: #060612; padding: 4rem 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; text-align: left; }
.footer-brand p { color: var(--text3); font-size: 13px; line-height: 1.6; }
.footer-copy { color: var(--text3); font-size: 12px; margin-top: 8px; font-family: var(--font-mono); }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-logo-img { height: 28px; width: auto; }
.footer-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--text-light); }
.footer-logo-text span { color: var(--primary); }
.footer-links-col h4, .footer-contact h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--text-light); }
.footer-links-col a { display: block; color: var(--text2); font-size: 13px; margin-bottom: 8px; transition: var(--transition); }
.footer-links-col a:hover { color: var(--primary); }
.footer-contact a, .footer-contact span { display: block; color: var(--text2); font-size: 13px; margin-bottom: 8px; }
.footer-socials { display: flex; gap: 16px; margin-top: 16px; }
.footer-socials a { color: var(--text2); transition: var(--transition); }
.footer-socials a:hover { color: var(--primary); transform: translateY(-2px); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero { padding: 8rem 1.5rem 4rem; text-align: center; background: var(--surface); }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: start; }
.about-story h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.about-story p { color: var(--text2); line-height: 1.8; margin-bottom: 20px; }
.about-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; }
.about-info-card .info-row { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.about-info-card .info-label { font-size: 14px; color: var(--text3); font-family: var(--font-mono); margin-bottom: 8px; }
.about-info-card .info-value { font-size: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.value-card { text-align: center; padding: 2rem; background: var(--dark-card); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); transition: var(--transition); }
.value-card:hover { border-color: rgba(245, 179, 66, 0.2); transform: translateY(-4px); }
.value-icon { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.about-cta { text-align: center; margin-top: 3rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card { background: var(--dark-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.testimonial-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.75rem; color: var(--text3); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 45px; height: 45px; border-radius: 50%; background: var(--primary); color: var(--dark); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: 0 4px 20px rgba(245, 179, 66, 0.3); }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar { padding: 1rem; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .hero { padding: 8rem 1.5rem 4rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .step-card::after { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .contact-actions { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 1rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}