/* ============================================
   DataLab atirbi — Global Stylesheet
   Style: Modern warm white + colored accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- VARIABLES ---- */
:root {
  --bg:        #F7F5F2;
  --bg2:       #FFFFFF;
  --bg3:       #EEF0F4;
  --dark:      #0D1117;
  --dark2:     #1A2332;
  --primary:   #0066FF;
  --secondary: #00C896;
  --accent:    #FF6B35;
  --purple:    #7C3AED;
  --text:      #1A1A2E;
  --text2:     #4A5568;
  --text3:     #9AA5B4;
  --border:    #E2E8F0;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow2:   0 12px 48px rgba(0,0,0,0.12);
  --radius:    12px;
  --radius2:   20px;
  --transition: 0.25s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p  { font-size: 16px; color: var(--text2); font-weight: 400; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(247,245,242,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px; max-width: 1200px; margin: 0 auto;
}
.nav-logo { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; }
.nav-logo .accent { color: var(--primary); }
.nav-logo .sub { font-weight: 400; font-size: 13px; color: var(--text3); margin-left: 4px; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-menu a { font-size: 14px; font-weight: 500; color: var(--text2); transition: color var(--transition); }
.nav-menu a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.lang-toggle {
  font-size: 12px; font-weight: 600; padding: 6px 12px;
  border: 1px solid var(--border); border-radius: 20px;
  cursor: pointer; background: transparent; color: var(--text2);
  transition: all var(--transition);
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); background: var(--bg3); }
.nav-cta {
  font-size: 14px; font-weight: 600; padding: 10px 24px;
  background: var(--primary); color: white; border-radius: var(--radius);
  transition: all var(--transition); border: none; cursor: pointer;
}
.nav-cta:hover { background: #0052CC; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,102,255,0.3); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; padding: 14px 32px; border-radius: var(--radius); cursor: pointer; transition: all var(--transition); border: none; text-decoration: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #0052CC; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,102,255,0.3); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: #00A87E; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #E55A28; transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: var(--dark2); transform: translateY(-2px); }
.btn-sm { font-size: 13px; padding: 10px 20px; }
.btn-lg { font-size: 17px; padding: 18px 44px; }

/* ---- BADGE ---- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 20px; letter-spacing: 0.5px; }
.badge-blue { background: #EBF4FF; color: var(--primary); }
.badge-green { background: #E6FBF4; color: var(--secondary); }
.badge-orange { background: #FFF0EB; color: var(--accent); }
.badge-purple { background: #F3EEFF; color: var(--purple); }
.badge-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-tag { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section-title { margin-bottom: 16px; }
.section-title .highlight { color: var(--primary); }
.section-title .highlight-green { color: var(--secondary); }
.section-desc { font-size: 17px; color: var(--text2); }

/* ---- CARDS ---- */
.card { background: var(--bg2); border-radius: var(--radius2); border: 1px solid var(--border); padding: 32px; transition: all var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow2); border-color: transparent; }
.card-icon { width: 56px; height: 56px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.card-title { font-size: 20px; margin-bottom: 10px; }
.card-desc { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ---- GRID ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- FORM ---- */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: 0.3px; }
.form-input {
  padding: 14px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 15px;
  font-family: 'Inter', sans-serif; color: var(--text);
  background: var(--bg2); transition: border-color var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,102,255,0.1); }
.form-input::placeholder { color: var(--text3); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 120px; }

/* ---- DIVIDER ---- */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ---- TAG CHIPS ---- */
.chip { display: inline-block; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: var(--bg3); color: var(--text2); border: 1px solid var(--border); }

/* ---- STATS ---- */
.stat-num { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 14px; color: var(--text2); margin-top: 6px; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); color: white; padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand .logo { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.footer-brand .logo span { color: var(--primary); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 280px; }
.footer-col h5 { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul a:hover { color: white; }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 16px; color: rgba(255,255,255,0.5); transition: all var(--transition); }
.footer-socials a:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,102,255,0.1); }

/* ---- TOAST ---- */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--dark); color: white; padding: 16px 24px; border-radius: var(--radius); font-size: 14px; font-weight: 500; box-shadow: var(--shadow2); transform: translateY(100px); opacity: 0; transition: all 0.3s ease; z-index: 9999; display: flex; align-items: center; gap: 10px; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid var(--secondary); }
.toast.error { border-left: 4px solid #EF4444; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 24px; border-bottom: 1px solid var(--border); gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
