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

:root {
  --navy: #1B3A5C;
  --navy-deep: #0F2440;
  --cyan: #00B4D8;
  --cyan-light: #90E0EF;
  --cyan-glow: rgba(0, 180, 216, 0.3);
  --dark: #0A0E1A;
  --dark-card: #111827;
  --dark-surface: #1a1f2e;
  --white: #F0F4F8;
  --gray: #8896A6;
  --gray-dim: #4B5563;
  --success: #34d399;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
a { color: var(--cyan); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--cyan-light); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: var(--cyan); margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 32px; height: 2px; background: var(--cyan); border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 20px;
  background: linear-gradient(135deg, var(--white) 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle { font-size: 1.1rem; color: var(--gray); max-width: 600px; }

/* ═══════ NAV ═══════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: all 0.4s;
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 180, 216, 0.1); padding: 10px 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-left { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 56px; margin-left: 8px; }
.nav-hotspot {
  font-size: 0.8rem; color: var(--cyan); font-weight: 500;
  padding: 6px 14px; border: 1px solid rgba(0,180,216,0.25); border-radius: 8px;
  transition: all 0.3s;
}
.nav-hotspot:hover { background: rgba(0,180,216,0.1); color: var(--cyan-light); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--gray); font-size: 0.9rem; font-weight: 500;
  transition: color 0.3s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--cyan); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  background: linear-gradient(135deg, var(--cyan), #0077B6); color: #fff;
  border: none; cursor: pointer; transition: all 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--cyan-glow); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta--outline {
  background: transparent; border: 1px solid rgba(0,180,216,0.4);
  color: var(--cyan);
}
.nav-cta--outline:hover { background: rgba(0,180,216,0.1); color: var(--cyan-light); box-shadow: 0 8px 30px rgba(0,180,216,0.15); }
.nav-mobile { display: none; background: none; border: none; color: var(--white); cursor: pointer; }

/* ═══════ HERO ═══════ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; background: url('../assets/hero-bg.png') center/cover no-repeat;
  filter: brightness(0.3);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.4) 0%, rgba(10,14,26,0.9) 100%);
}
.hero-particles {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-particles span {
  position: absolute; width: 3px; height: 3px; background: var(--cyan);
  border-radius: 50%; opacity: 0; animation: particle 8s infinite;
}
@keyframes particle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  20% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: 800px;
  padding: 0 24px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-logo {
  position: absolute; top: 80px; right: 50px; width: 240px;
  z-index: 10; animation: fadeInDown 1s ease 0.8s both;
  filter: drop-shadow(0 4px 24px rgba(0,180,216,0.25));
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, var(--cyan-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: fadeInUp 1s ease 0.2s both;
}
.hero p {
  font-size: 1.2rem; color: var(--gray); margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.4s both;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; border-radius: 50px; font-size: 1rem; font-weight: 600;
  background: linear-gradient(135deg, var(--cyan), #0077B6); color: #fff;
  border: none; cursor: pointer; transition: all 0.4s;
  animation: fadeInUp 1s ease 0.6s both;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--cyan-glow); color: #fff; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  animation: bounce 2s infinite; color: var(--cyan); z-index: 2;
}

@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInDown { from { opacity:0; transform:translateY(-30px); } to { opacity:1; transform:translateY(0); } }
@keyframes bounce { 0%,100% { transform:translateX(-50%) translateY(0); } 50% { transform:translateX(-50%) translateY(10px); } }

/* ═══════ ABOUT ═══════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.stat-card {
  padding: 24px; border-radius: 16px; text-align: center;
  background: var(--dark-card); border: 1px solid rgba(0,180,216,0.1);
}
.stat-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--cyan); }
.stat-label { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }
.about-visual {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(0,180,216,0.15); background: var(--dark-card);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
}
.about-visual .glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100% { transform:scale(1); opacity:0.5; } 50% { transform:scale(1.3); opacity:0.8; } }
.about-visual svg { position: relative; z-index: 1; width: 60%; opacity: 0.8; }

/* ═══════ SOLUTIONS ═══════ */
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.solution-card {
  padding: 32px 24px; border-radius: 20px; text-align: center;
  background: rgba(17, 24, 39, 0.6); backdrop-filter: blur(20px);
  border: 1px solid rgba(0,180,216,0.08); transition: all 0.4s;
  position: relative; overflow: hidden;
}
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.solution-card:hover { transform: translateY(-8px); border-color: rgba(0,180,216,0.3); box-shadow: 0 20px 60px rgba(0,180,216,0.1); }
.solution-card:hover::before { opacity: 1; }
.solution-icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,180,216,0.05));
  display: flex; align-items: center; justify-content: center;
}
.solution-icon svg { width: 28px; height: 28px; color: var(--cyan); }
.solution-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--white); }
.solution-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ═══════ SIMULATORS ═══════ */
.simulator { padding: 80px 0; }
.simulator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.simulator-grid.reverse { direction: rtl; }
.simulator-grid.reverse > * { direction: ltr; }

.phone-mockup {
  width: 280px; margin: 0 auto; background: #000; border-radius: 36px;
  padding: 12px; border: 3px solid #333; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px var(--cyan-glow);
}
.phone-notch {
  width: 100px; height: 24px; background: #000; border-radius: 0 0 16px 16px;
  margin: 0 auto; position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 5;
}
.phone-screen {
  background: var(--dark); border-radius: 24px; overflow: hidden;
  min-height: 480px; position: relative;
}
.phone-step {
  position: absolute; inset: 0; padding: 40px 16px 16px;
  opacity: 0; transform: translateX(20px);
  transition: all 0.4s ease; pointer-events: none;
}
.phone-step.active { opacity: 1; transform: translateX(0); pointer-events: all; }

.sim-steps {
  display: flex; gap: 12px; margin-bottom: 24px;
}
.sim-step-btn {
  flex: 1; padding: 10px; border-radius: 12px; border: 1px solid rgba(0,180,216,0.2);
  background: var(--dark-card); color: var(--gray); font-size: 0.75rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s; text-align: center;
}
.sim-step-btn.active { background: linear-gradient(135deg, var(--cyan), #0077B6); color: #fff; border-color: transparent; }

.sim-media { margin-top: 32px; }
.sim-media img {
  width: 100%; border-radius: 16px; border: 1px solid rgba(0,180,216,0.1);
  transition: transform 0.4s;
}
.sim-media img:hover { transform: scale(1.02); }
.sim-video-placeholder {
  width: 100%; aspect-ratio: 16/9; border-radius: 16px; margin-bottom: 16px;
  background: var(--dark-card); border: 1px solid rgba(0,180,216,0.1);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.sim-video-placeholder:hover { border-color: var(--cyan); }
.sim-video-placeholder svg { width: 48px; height: 48px; color: var(--cyan); }

/* Phone screen content styling */
.ps-header {
  text-align: center; padding: 8px 0 16px;
}
.ps-header img { width: 80px; margin: 0 auto 8px; }
.ps-header h4 { font-size: 0.9rem; color: var(--white); }
.ps-header p { font-size: 0.7rem; color: var(--gray); }

.ps-plan {
  background: var(--dark-surface); border: 1px solid rgba(0,180,216,0.2);
  border-radius: 12px; padding: 14px; margin-bottom: 10px; cursor: pointer;
  transition: all 0.3s;
}
.ps-plan:hover, .ps-plan.selected { border-color: var(--cyan); background: rgba(0,180,216,0.08); }
.ps-plan h5 { font-size: 0.85rem; color: var(--white); margin-bottom: 4px; }
.ps-plan span { font-size: 0.7rem; color: var(--gray); }
.ps-plan .price { float: right; color: var(--cyan); font-weight: 700; font-size: 1rem; }

.ps-form-field {
  margin-bottom: 10px;
}
.ps-form-field label { display: block; font-size: 0.7rem; color: var(--gray); margin-bottom: 4px; }
.ps-form-field input {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
  background: var(--dark-surface); color: var(--white); font-size: 0.8rem;
}

.ps-btn {
  width: 100%; padding: 12px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--cyan), #0077B6);
  color: #fff; font-weight: 600; font-size: 0.85rem; cursor: pointer;
  margin-top: 12px; transition: all 0.3s;
}
.ps-btn:hover { box-shadow: 0 8px 24px var(--cyan-glow); }

.ps-qr { text-align: center; padding: 20px 0; }
.ps-qr .qr-box {
  width: 140px; height: 140px; margin: 12px auto; background: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background-image: repeating-conic-gradient(#000 0% 25%, #fff 0% 50%);
  background-size: 10px 10px;
}
.ps-success { text-align: center; padding: 30px 0; }
.ps-success .check { width:64px; height:64px; margin:0 auto 16px; border-radius:50%; background: rgba(52,211,153,0.15); display:flex; align-items:center; justify-content:center; }
.ps-success .check svg { width:32px; height:32px; color: var(--success); }
.ps-success h4 { color: var(--success); margin-bottom: 8px; }
.ps-success p { color: var(--gray); font-size: 0.8rem; }

/* ═══════ TESTIMONIALS ═══════ */
.testimonials-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 16px 0 32px; -ms-overflow-style: none; scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 360px; scroll-snap-align: start; padding: 32px;
  border-radius: 20px; background: var(--dark-card); border: 1px solid rgba(0,180,216,0.08);
  transition: all 0.4s;
}
.testimonial-card:hover { border-color: rgba(0,180,216,0.2); transform: translateY(-4px); }
.testimonial-stars { color: #FBBF24; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; color: var(--gray); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.75rem; color: var(--gray); }

/* ═══════ CONTACT ═══════ */
.contact {
  background: linear-gradient(180deg, var(--dark) 0%, var(--navy-deep) 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  border-radius: 16px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,180,216,0.08); transition: all 0.3s;
}
.contact-item:hover { border-color: rgba(0,180,216,0.2); background: rgba(0,180,216,0.04); }
.contact-item-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,180,216,0.05));
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 22px; height: 22px; color: var(--cyan); }
.contact-item h4 { font-size: 0.85rem; color: var(--gray); font-weight: 400; }
.contact-item p { font-size: 1rem; color: var(--white); font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  border: 1px solid rgba(0,180,216,0.15); background: rgba(255,255,255,0.03);
  color: var(--white); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  padding: 14px 32px; border-radius: 50px; border: none;
  background: linear-gradient(135deg, var(--cyan), #0077B6);
  color: #fff; font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: all 0.4s; align-self: flex-start;
}
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--cyan-glow); }

/* ═══════ FOOTER ═══════ */
.footer {
  padding: 40px 0; text-align: center;
  border-top: 1px solid rgba(0,180,216,0.08);
}
.footer-logo img { height: 32px; margin: 0 auto 16px; opacity: 0.6; }
.footer p { font-size: 0.8rem; color: var(--gray-dim); }

/* ═══════ SCROLL REVEAL ═══════ */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta, .nav-right { display: none; }
  .hero-logo { display: none; }
  .nav-mobile { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,14,26,0.98); padding: 24px; gap: 20px; border-bottom: 1px solid rgba(0,180,216,0.1); }
  .about-grid, .simulator-grid, .contact-grid { grid-template-columns: 1fr; }
  .simulator-grid.reverse { direction: ltr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .phone-mockup { width: 240px; }
  .phone-screen { min-height: 400px; }
  .testimonial-card { flex: 0 0 300px; }
  .contact-form button { width: 100%; }
}
