:root {
  --bg: #ffffff; --bg-alt: #f8f9fa; --bg-dark: #1a1a1a; --bg-darker: #111111; --bg-card-dark: #222222;
  --text: #ffffff; --text-dark: #1a1a1a; --text-muted: #9ca3af; --text-light: #6b7280;
  --red: #dc2626; --red-dark: #b91c1c; --red-light: rgba(220,38,38,0.1);
  --border: #2a2a2a; --border-light: #e5e7eb;
  --shadow: 0 1px 3px rgba(0,0,0,0.1); --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius: 12px; --radius-sm: 8px;
  --font: 'Inter', -apple-system, sans-serif; --mono: 'JetBrains Mono', monospace;
  --transition: 0.3s ease; --max-width: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-dark); background: var(--bg); line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text); }
.text-red { color: var(--red) !important; }

/* TOPBAR */
.topbar { background: var(--bg-darker); padding: 8px 0; font-size: 0.82rem; color: var(--text-muted); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 20px; }
.topbar-left a, .topbar-wa { color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.topbar-left a:hover, .topbar-wa:hover { color: white; }
.topbar-wa i { color: var(--red); }

/* NAVBAR */
.navbar { background: var(--bg-dark); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 44px; width: auto; border-radius: 6px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a { padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.9rem; color: var(--text-muted); }
.nav-menu a:hover, .nav-menu a.active { color: white; }
.nav-menu a i.fa-chevron-down { font-size: 0.6rem; margin-left: 3px; }
.nav-cta { background: var(--red) !important; color: white !important; border-radius: var(--radius-sm) !important; font-weight: 600 !important; padding: 10px 20px !important; }
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: var(--transition); font-family: var(--font); }
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.25); }
.btn-outline-light:hover { border-color: white; background: rgba(255,255,255,0.05); }
.btn-whatsapp { background: var(--red); color: white; }
.btn-whatsapp:hover { background: var(--red-dark); }
.btn-full { width: 100%; justify-content: center; }

/* HERO SLIDER */
.hero { position: relative; min-height: 92vh; background: var(--bg-dark); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; pointer-events: none; }
.hero-slide.active { opacity: 1; position: relative; pointer-events: auto; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 80px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.hero-badge i { font-size: 0.5rem; }
.hero-text h1 { font-size: 3.6rem; font-weight: 900; line-height: 1.08; color: white; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-text p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; max-width: 500px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Slider controls */
.slider-controls { position: absolute; bottom: 32px; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; max-width: var(--max-width); margin: 0 auto; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25); cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--red); width: 56px; }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 0.85rem; }
.slider-arrow:hover { background: var(--red); border-color: var(--red); }

/* Code block */
.code-block { background: #0d1117; border-radius: var(--radius); overflow: hidden; border: 1px solid #30363d; box-shadow: var(--shadow-lg); }
.code-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #161b22; border-bottom: 1px solid #30363d; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #ffbd2e; } .dot.g { background: #28c840; }
.code-file { margin-left: auto; color: var(--text-muted); font-size: 0.78rem; font-family: var(--mono); }
.code-block pre { padding: 20px; color: #c9d1d9; font-family: var(--mono); font-size: 0.82rem; line-height: 1.8; overflow-x: auto; }
.code-block .kw { color: #ff7b72; } .code-block .fn { color: #79c0ff; }
.code-block .str { color: #a5d6ff; } .code-block .cm { color: #8b949e; }

/* STATS */
.stats-bar { background: var(--bg-darker); padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-number { display: block; font-size: 2.2rem; font-weight: 900; color: white; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; }

/* SECTION HEADERS */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-header.light h2 { color: white; }
.section-header.light p { color: var(--text-muted); }
.section-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 0.82rem; font-weight: 600; font-family: var(--mono); margin-bottom: 12px; }
.section-header h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1rem; }

/* SERVICE CARDS */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: white; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 30px; transition: var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.service-icon { width: 50px; height: 50px; border-radius: var(--radius-sm); background: var(--red-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--red); margin-bottom: 18px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 14px; }
.card-link { color: var(--red); font-weight: 600; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 4px; }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { background: var(--bg-card-dark); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.why-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--red-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--red); margin: 0 auto 14px; }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: white; }
.why-card p { color: var(--text-muted); font-size: 0.85rem; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--bg-alt); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 26px; }
.testimonial-stars { color: #f59e0b; margin-bottom: 12px; font-size: 0.85rem; }
.testimonial-card > p { color: var(--text-dark); font-size: 0.9rem; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-author strong { font-size: 0.88rem; display: block; }
.testimonial-author span { color: var(--text-light); font-size: 0.78rem; }

/* CTA */
.cta-section { background: var(--bg-dark); text-align: center; color: white; }
.cta-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.cta-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 30px; }

/* PAGE HERO */
.page-hero { padding: 110px 0 50px; background: var(--bg-dark); color: white; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 620px; }

/* ABOUT */
.mission-vision-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { background: var(--bg-alt); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 32px; }
.mv-card i { font-size: 1.4rem; color: var(--red); margin-bottom: 14px; display: block; }
.mv-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.mv-card p { color: var(--text-light); font-size: 0.92rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.value-card { background: white; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 26px; text-align: center; }
.value-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--red-light); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1.1rem; margin: 0 auto 14px; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.value-card p { color: var(--text-light); font-size: 0.85rem; }

/* SERVICES DETAIL */
.service-detail-section { background: var(--bg-alt); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 36px; margin-bottom: 24px; }
.service-detail-header { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.service-detail-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--red-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--red); flex-shrink: 0; }
.service-detail-header h2 { font-size: 1.4rem; font-weight: 700; }
.service-tagline { color: var(--text-light); font-size: 0.9rem; margin-top: 2px; }
.service-desc { color: var(--text-light); margin-bottom: 18px; font-size: 0.92rem; }
.service-items-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: white; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 500; }
.service-item i { color: var(--red); }

/* INDUSTRIES */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; }
.industry-card { background: white; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; transition: var(--transition); }
.industry-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.industry-icon { width: 50px; height: 50px; border-radius: var(--radius-sm); background: var(--red-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--red); margin-bottom: 16px; }
.industry-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.industry-card > p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 14px; }
.industry-items li { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; padding: 3px 0; }
.industry-items i { color: var(--red); font-size: 0.7rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.contact-info-side .contact-info-card { background: var(--bg-dark); color: white; border-radius: var(--radius); padding: 32px; }
.contact-info-card h3 { font-size: 1.15rem; margin-bottom: 22px; }
.contact-details li { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-details i { color: var(--red); font-size: 1rem; margin-top: 4px; width: 18px; }
.contact-details a { color: var(--text-muted); }
.contact-details a:hover { color: white; }
.contact-details strong { color: white; display: block; margin-bottom: 2px; font-size: 0.88rem; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 5px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 11px 14px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.92rem; background: var(--bg-alt); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(220,38,38,0.08); }
.form-alert { padding: 12px; border-radius: var(--radius-sm); margin-bottom: 14px; font-weight: 500; font-size: 0.9rem; }
.form-alert.success { background: #ecfdf5; color: #065f46; } .form-alert.error { background: #fef2f2; color: #991b1b; }

/* FOOTER */
.footer { background: var(--bg-dark); color: var(--text-muted); padding: 60px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 0.8fr 1.2fr; gap: 36px; margin-bottom: 36px; }
.footer-logo { height: 44px; margin-bottom: 14px; border-radius: 6px; }
.footer-brand p { font-size: 0.85rem; margin-bottom: 14px; line-height: 1.6; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; font-size: 0.85rem; border: 1px solid rgba(220,38,38,0.3); padding: 8px 14px; border-radius: var(--radius-sm); }
.footer-wa:hover { background: var(--red-light); }
.footer-wa i { color: var(--red); }
.footer-col h4 { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; font-size: 0.85rem; }
.footer-col ul li a:hover { color: white; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--red); margin-top: 3px; width: 14px; font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.footer-bottom a { color: var(--text-muted); font-weight: 500; }
.footer-bottom a:hover { color: white; }

/* FLOATING BUTTONS */
.floating-buttons { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.4rem; transition: var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.whatsapp-float { background: #25D366; }
.whatsapp-float:hover { transform: scale(1.1); }
.chat-float { background: var(--red); }
.chat-float:hover { transform: scale(1.1); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .topbar-left { display: none; }
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-dark); flex-direction: column; padding: 16px; gap: 4px; transform: translateY(-120%); transition: var(--transition); opacity: 0; border-bottom: 1px solid var(--border); z-index: 999; }
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-menu a { width: 100%; text-align: center; padding: 12px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-code { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .mission-vision-row, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-items-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .why-grid, .footer-grid { grid-template-columns: 1fr; } .slider-arrows { display: none; } }
