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

:root {
  --bg-primary: #f8f9fc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --text-primary: #1a1a2e;
  --text-secondary: #6b7094;
  --accent-cyan: #4a7cff;
  --accent-purple: #7b5cff;
  --accent-gradient: linear-gradient(135deg, #4a7cff, #7b5cff);
  --accent-glow: 0 8px 32px rgba(74, 124, 255, 0.2);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 40px rgba(74, 124, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.4rem;
  background: var(--accent-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent-gradient);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 0.85rem;
  background: var(--accent-gradient); color: #fff !important; border: none; cursor: pointer;
  transition: var(--transition); -webkit-text-fill-color: #fff !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--accent-glow); color: #fff !important; }
.nav-cta::after { display: none !important; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); }
.navbar:not(.scrolled) .nav-links a { color: var(--text-secondary); }
.navbar:not(.scrolled) .nav-links a:hover { color: var(--text-primary); }
.navbar:not(.scrolled) .nav-links .nav-cta { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.navbar:not(.scrolled) .mobile-toggle span { background: var(--text-primary); }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(240,242,255,0.3) 0%, rgba(248,249,252,0.85) 100%);
}
.hero-particles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 850px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  background: rgba(74,124,255,0.08); border: 1px solid rgba(74,124,255,0.15);
  color: var(--accent-cyan); margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-cyan); animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem); font-weight: 800;
  margin-bottom: 24px; letter-spacing: -0.02em; color: var(--text-primary);
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero h1 .gradient-text {
  background: var(--accent-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-secondary);
  max-width: 620px; margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}
.btn-primary {
  padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  background: var(--accent-gradient); color: #fff; border: none; cursor: pointer;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(0,212,255,0.3); }
.btn-secondary {
  padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  background: transparent; color: var(--text-primary); cursor: pointer;
  border: 1px solid var(--glass-border); transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--accent-cyan); background: rgba(74,124,255,0.05); transform: translateY(-3px); }
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 64px;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stat h3 {
  font-size: 2.2rem; font-weight: 800;
  background: var(--accent-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat p { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }

/* ========== SECTION STYLES ========== */
.section { padding: 100px 0; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; color: var(--accent-cyan);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}
.section-label .line { width: 30px; height: 2px; background: var(--accent-gradient); }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 600px;
}
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ========== SERVICES ========== */
.services { background: var(--bg-secondary); }
.section-label { color: var(--accent-cyan); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); border-color: rgba(74,124,255,0.2); box-shadow: var(--shadow-hover); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(74,124,255,0.08), rgba(123,92,255,0.08));
  border: 1px solid rgba(74,124,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-tag {
  padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 500;
  background: rgba(74,124,255,0.06); color: var(--accent-cyan);
  border: 1px solid rgba(74,124,255,0.12);
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-image { position: relative; border-radius: var(--radius); overflow: visible; min-height: 420px; }

/* CSS Illustration */
.about-illustration { position: relative; width: 100%; height: 420px; }
.illust-card {
  background: #fff; border-radius: 16px; border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.illust-main {
  padding: 24px; width: 100%; position: relative; z-index: 1;
}
.illust-header { display: flex; gap: 6px; margin-bottom: 20px; }
.illust-dot { width: 10px; height: 10px; border-radius: 50%; }
.illust-chart {
  display: flex; align-items: flex-end; gap: 12px; height: 180px;
  padding: 16px 0; border-bottom: 2px solid var(--glass-border);
}
.chart-bar {
  flex: 1; border-radius: 6px 6px 0 0;
  background: var(--accent-gradient); opacity: 0.8;
  transition: opacity 0.3s ease;
  animation: growBar 1.5s ease-out both;
}
.chart-bar:nth-child(even) {
  background: linear-gradient(180deg, rgba(123,92,255,0.6), rgba(123,92,255,0.3));
}
.chart-bar:hover { opacity: 1; }
@keyframes growBar {
  from { height: 0 !important; }
}
.illust-line {
  height: 3px; border-radius: 2px; margin: 16px 0;
  background: linear-gradient(90deg, var(--accent-cyan) 60%, transparent 100%);
  opacity: 0.3;
}
.illust-metrics {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; font-weight: 600; color: var(--accent-cyan);
}
.illust-float {
  position: absolute; z-index: 2; padding: 14px 18px;
  animation: floatCard 4s ease-in-out infinite;
}
.illust-float-1 { top: -10px; right: -20px; animation-delay: 0s; }
.illust-float-2 { bottom: 60px; left: -25px; animation-delay: 1.3s; }
.illust-float-3 { bottom: -15px; right: 30px; animation-delay: 2.6s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.illust-mini-stat { display: flex; align-items: center; gap: 10px; }
.mini-icon { font-size: 1.4rem; }
.illust-mini-stat small {
  display: block; font-size: 0.7rem; color: var(--text-secondary); font-weight: 500;
}
.illust-mini-stat strong {
  font-size: 1.1rem; font-weight: 800; color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}
.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.about-feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px; border-radius: var(--radius-sm);
  background: var(--bg-secondary); border: 1px solid var(--glass-border);
  transition: var(--transition); box-shadow: var(--shadow-soft);
}
.about-feature:hover { border-color: rgba(74,124,255,0.2); box-shadow: var(--shadow-hover); }
.about-feature-icon {
  min-width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-gradient); display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem;
}
.about-feature h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.about-feature p { font-size: 0.85rem; color: var(--text-secondary); }

/* ========== PROCESS ========== */
.process { background: var(--bg-secondary); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step {
  text-align: center; padding: 36px 20px;
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); transition: var(--transition); position: relative;
  box-shadow: var(--shadow-soft);
}
.process-step:hover { transform: translateY(-6px); border-color: rgba(74,124,255,0.2); box-shadow: var(--shadow-hover); }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-gradient); color: #fff; display: flex;
  align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; margin: 0 auto 20px;
}
.process-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 0.85rem; color: var(--text-secondary); }

/* ========== RESULTS ========== */
.results-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.result-card {
  text-align: center; padding: 40px 24px;
  background: var(--bg-secondary); border: 1px solid var(--glass-border);
  border-radius: var(--radius); transition: var(--transition);
  box-shadow: var(--shadow-soft);
}
.result-card:hover { transform: translateY(-6px); border-color: rgba(74,124,255,0.2); box-shadow: var(--shadow-hover); }
.result-card h3 {
  font-size: 2.5rem; font-weight: 800;
  background: var(--accent-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.result-card p { font-size: 0.9rem; color: var(--text-secondary); margin-top: 8px; }

/* ========== PLATFORMS ========== */
.platforms-grid {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.platform-item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 28px 36px; background: var(--bg-card);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  transition: var(--transition); min-width: 140px; box-shadow: var(--shadow-soft);
}
.platform-item:hover { transform: translateY(-6px); border-color: rgba(74,124,255,0.2); box-shadow: var(--shadow-hover); }
.platform-icon { font-size: 2.5rem; }
.platform-item span { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }

/* ========== CONTACT ========== */
.contact { background: var(--bg-secondary); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; gap: 16px; align-items: center;
  padding: 20px; background: var(--bg-primary);
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  transition: var(--transition); box-shadow: var(--shadow-soft);
}
.contact-item:hover { border-color: rgba(74,124,255,0.2); box-shadow: var(--shadow-hover); }
.contact-icon {
  min-width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-gradient); display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.contact-item p { font-size: 0.85rem; color: var(--text-secondary); }
.contact-form {
  display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: flex; gap: 16px; }
.form-group { flex: 1; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--bg-primary); border: 1px solid var(--glass-border);
  color: var(--text-primary); font-family: 'Inter', sans-serif;
  font-size: 0.9rem; transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(74,124,255,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-secondary); }

/* ========== MAP ========== */
.map-wrapper {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-border); margin-top: 48px; height: 400px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ========== FOOTER ========== */
.footer {
  padding: 60px 0 30px; border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--glass-border);
}
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 16px; max-width: 300px; }
.footer-col h4 {
  font-size: 0.9rem; font-weight: 700; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 1px; color: var(--accent-cyan);
}
.footer-col a {
  display: block; font-size: 0.85rem; color: var(--text-secondary);
  padding: 6px 0; transition: var(--transition);
}
.footer-col a:hover { color: var(--text-primary); transform: translateX(4px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-secondary); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-primary); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 1rem;
}
.footer-socials a:hover { background: var(--accent-gradient); border-color: transparent; transform: translateY(-3px); color: #fff; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ========== FLOATING BUBBLES ========== */
.bubbles-container {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.bubble {
  position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, rgba(74,124,255,0.06), rgba(123,92,255,0.06));
  border: 1px solid rgba(74,124,255,0.08);
  animation: floatBubble linear infinite;
}
.bubble:nth-child(odd) {
  background: linear-gradient(135deg, rgba(123,92,255,0.05), rgba(74,124,255,0.05));
  border-color: rgba(123,92,255,0.07);
}
@keyframes floatBubble {
  0% { transform: translateY(100%) scale(0.8) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100%) scale(1.1) rotate(360deg); opacity: 0; }
}
.section { position: relative; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255,255,255,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 24px; }
  .nav-links a { color: var(--text-secondary) !important; }
  .nav-links a:hover { color: var(--text-primary) !important; }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: flex; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero h1 { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .section { padding: 60px 0; }
}
