/* ====== RESET & BASE ====== */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  transition:background 0.4s ease, color 0.4s ease;
}
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;
}
.section {
  padding:100px 0;
  position:relative;
}
::selection { background:#0087ed; color:#fff; }
.accent { color:#0087ed; }

/* ====== LIGHT / DARK THEME VARIABLES ====== */
:root {
  --bg:#0a0a0f;
  --bg-alt:#0e0e15;
  --bg-card:rgba(255,255,255,0.03);
  --bg-card-hover:rgba(0,135,237,0.06);
  --border-card:rgba(255,255,255,0.06);
  --border-hover:rgba(0,135,237,0.2);
  --text:#e0e0e0;
  --text-muted:rgba(255,255,255,0.7);
  --text-dim:rgba(255,255,255,0.55);
  --text-faint:rgba(255,255,255,0.4);
  --heading:#fff;
  --nav-bg:rgba(10,10,15,0.92);
  --nav-shadow:rgba(255,255,255,0.06);
  --hero-grid:rgba(255,255,255,0.03);
  --btn-outline-border:rgba(255,255,255,0.2);
  --footer-bg:#08080c;
  --footer-border:rgba(255,255,255,0.06);
  --float-card-bg:rgba(255,255,255,0.04);
  --float-card-border:rgba(255,255,255,0.08);
  --motto-text:#0a0a0f;
  --motto-author:rgba(10,10,15,0.6);
  --stat-bg:rgba(255,255,255,0.03);
  --stat-border:rgba(255,255,255,0.05);
  --hamburger-bg:#e0e0e0;
}
[data-theme="light"] {
  --bg:#f4f6fb;
  --bg-alt:#ffffff;
  --bg-card:rgba(0,0,0,0.02);
  --bg-card-hover:rgba(0,135,237,0.05);
  --border-card:rgba(0,0,0,0.07);
  --border-hover:rgba(0,135,237,0.25);
  --text:#1e1e2e;
  --text-muted:rgba(0,0,0,0.6);
  --text-dim:rgba(0,0,0,0.5);
  --text-faint:rgba(0,0,0,0.35);
  --heading:#0f0f1a;
  --nav-bg:rgba(255,255,255,0.92);
  --nav-shadow:rgba(0,0,0,0.06);
  --hero-grid:rgba(0,0,0,0.03);
  --btn-outline-border:rgba(0,0,0,0.15);
  --footer-bg:#eef0f5;
  --footer-border:rgba(0,0,0,0.06);
  --float-card-bg:rgba(255,255,255,0.8);
  --float-card-border:rgba(0,0,0,0.08);
  --motto-text:#ffffff;
  --motto-author:rgba(255,255,255,0.7);
  --stat-bg:rgba(0,0,0,0.02);
  --stat-border:rgba(0,0,0,0.06);
  --hamburger-bg:#1e1e2e;
}

/* ====== TYPOGRAPHY ====== */
h1,h2,h3,h4 {
  font-family:'Poppins',sans-serif;
  font-weight:700;
  line-height:1.2;
}
h2 {
  font-size:clamp(2rem,4vw,3rem);
  margin-bottom:0.5rem;
  color:var(--heading);
}
.section-header {
  text-align:center;
  margin-bottom:4rem;
}
.section-tag {
  display:inline-block;
  font-size:0.75rem;
  font-weight:600;
  letter-spacing:0.15em;
  text-transform:uppercase;
  color:#0087ed;
  background:rgba(0,135,237,0.1);
  padding:0.35rem 1rem;
  border-radius:100px;
  margin-bottom:1rem;
}

/* ====== BUTTONS ====== */
.btn {
  display:inline-flex;
  align-items:center;
  gap:0.6rem;
  padding:0.85rem 2rem;
  border-radius:50px;
  font-weight:600;
  font-size:0.95rem;
  cursor:pointer;
  transition:all 0.35s cubic-bezier(0.22,1,0.36,1);
  border:none;
  font-family:inherit;
}
.btn-primary {
  background:#0087ed;
  color:#fff;
}
.btn-primary:hover {
  background:#0066cc;
  transform:translateY(-3px);
  box-shadow:0 8px 30px rgba(0,135,237,0.35);
}
.btn-outline {
  background:transparent;
  color:var(--text);
  border:1.5px solid var(--btn-outline-border);
}
.btn-outline:hover {
  border-color:#0087ed;
  color:#0087ed;
  transform:translateY(-3px);
  box-shadow:0 8px 30px rgba(0,135,237,0.15);
}

/* ====== THEME TOGGLE ====== */
.theme-toggle {
  background:none;
  border:none;
  cursor:pointer;
  width:36px;
  height:36px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--text);
  transition:all 0.3s ease;
  font-size:1.2rem;
  margin-right:0.5rem;
  border:1.5px solid var(--btn-outline-border);
}
.theme-toggle:hover {
  background:rgba(0,135,237,0.1);
  color:#0087ed;
  border-color:#0087ed;
  transform:rotate(15deg);
}

/* ====== NAVBAR ====== */
.navbar {
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  padding:0.8rem 0;
  transition:all 0.4s ease;
}
.navbar.scrolled {
  background:var(--nav-bg);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  box-shadow:0 1px 0 var(--nav-shadow);
}
.nav-inner {
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo-link {
  display:flex;
  align-items:center;
  gap:0.6rem;
}
.logo { width:38px; height:38px; }
.logo-text {
  font-family:'Poppins',sans-serif;
  font-weight:700;
  font-size:1.25rem;
  color:var(--heading);
}
.nav-right {
  display:flex;
  align-items:center;
  gap:0.5rem;
}
.nav-links { display:flex; gap:2rem; }
.nav-link {
  font-size:0.9rem;
  font-weight:500;
  color:var(--text-muted);
  position:relative;
  transition:color 0.3s;
}
.nav-link::after {
  content:'';
  position:absolute;
  bottom:-4px; left:0;
  width:0; height:2px;
  background:#0087ed;
  transition:width 0.35s ease;
}
.nav-link:hover { color:var(--heading); }
.nav-link:hover::after { width:100%; }

/* Hamburger */
.hamburger {
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
}
.hamburger span {
  display:block;
  width:24px;
  height:2px;
  background:var(--hamburger-bg);
  border-radius:2px;
  transition:all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* ====== HERO ====== */
.hero {
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  padding:120px 24px 80px;
}
.hero-bg {
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,135,237,0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,135,237,0.06), transparent),
    radial-gradient(ellipse 50% 30% at 20% 70%, rgba(0,135,237,0.03), transparent);
  pointer-events:none;
}
.hero-bg::before {
  content:'';
  position:absolute;
  inset:0;
  background-image:radial-gradient(var(--hero-grid) 1px, transparent 1px);
  background-size:30px 30px;
}
.hero-content {
  position:relative;
  z-index:1;
  max-width:800px;
}
.hero-badge {
  display:inline-block;
  font-size:0.75rem;
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:#0087ed;
  background:rgba(0,135,237,0.1);
  border:1px solid rgba(0,135,237,0.2);
  padding:0.4rem 1.2rem;
  border-radius:100px;
  margin-bottom:1.5rem;
}
.hero-title {
  font-size:clamp(2.5rem,6vw,4.2rem);
  font-weight:800;
  line-height:1.1;
  margin-bottom:1.5rem;
}
.hero-line { display:block; }
.hero-line.accent { color:#0087ed; }
.hero-sub {
  font-size:clamp(1rem,2vw,1.2rem);
  color:var(--text-muted);
  max-width:600px;
  margin:0 auto 2.5rem;
  line-height:1.8;
}
.hero-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* Scroll indicator */
.hero-scroll-indicator {
  position:absolute;
  bottom:40px;
  left:50%;
  transform:translateX(-50%);
  width:24px; height:36px;
  border:2px solid var(--btn-outline-border);
  border-radius:12px;
  display:flex;
  justify-content:center;
}
.hero-scroll-indicator span {
  width:2px; height:10px;
  background:#0087ed;
  border-radius:2px;
  margin-top:8px;
  animation:scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform:translateY(0); opacity:1; }
  50% { transform:translateY(8px); opacity:0.3; }
}

/* ====== ABOUT ====== */
.about { background:var(--bg-alt); }
.about-grid {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:4rem;
  align-items:start;
}
.about-text p {
  color:var(--text-muted);
  margin-bottom:1.2rem;
  font-size:1.05rem;
}
.about-stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  margin-top:2.5rem;
}
.stat {
  text-align:center;
  padding:1.2rem 0.5rem;
  background:var(--stat-bg);
  border-radius:12px;
  border:1px solid var(--stat-border);
}
.stat-number {
  font-family:'Poppins',sans-serif;
  font-size:2rem;
  font-weight:700;
  color:#0087ed;
}
.stat-suffix { font-size:1rem; color:#0087ed; }
.stat-label {
  display:block;
  font-size:0.75rem;
  color:var(--text-faint);
  margin-top:0.3rem;
  text-transform:uppercase;
  letter-spacing:0.05em;
}
.about-visual {
  display:grid;
  gap:1.2rem;
}
.about-card {
  background:var(--bg-card);
  border:1px solid var(--border-card);
  border-radius:16px;
  padding:1.5rem 1.8rem;
  transition:all 0.4s ease;
}
.about-card:hover {
  background:var(--bg-card-hover);
  border-color:var(--border-hover);
  transform:translateX(6px);
}
.card-icon {
  width:36px; height:36px;
  color:#0087ed;
  margin-bottom:0.6rem;
}
.card-icon svg { width:100%; height:100%; }
.about-card h3 {
  font-size:1rem;
  font-weight:600;
  margin-bottom:0.3rem;
  color:var(--heading);
}
.about-card p {
  font-size:0.85rem;
  color:var(--text-dim);
}

/* ====== MOTTO BANNER ====== */
.motto-banner {
  background:linear-gradient(135deg, #0087ed 0%, #0066b3 100%);
  text-align:center;
  padding:80px 24px;
}
.motto-text {
  font-family:'Poppins',sans-serif;
  font-size:clamp(1.3rem,3vw,2rem);
  font-weight:700;
  color:var(--motto-text);
  line-height:1.4;
  max-width:700px;
  margin:0 auto 0.8rem;
}
.motto-author {
  font-size:0.85rem;
  color:var(--motto-author);
  font-weight:500;
}

/* ====== SERVICES ====== */
.services { background:var(--bg); }
.services-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1.5rem;
}
.service-card {
  background:var(--bg-card);
  border:1px solid var(--border-card);
  border-radius:16px;
  padding:2rem;
  transition:all 0.4s ease;
  text-align:center;
}
.service-card:hover {
  background:var(--bg-card-hover);
  border-color:var(--border-hover);
  transform:translateY(-8px);
  box-shadow:0 20px 60px rgba(0,0,0,0.15);
}
.service-icon {
  width:48px; height:48px;
  color:#0087ed;
  margin:0 auto 1.2rem;
  transition:transform 0.4s ease;
}
.service-card:hover .service-icon { transform:scale(1.1); }
.service-icon svg { width:100%; height:100%; }
.service-card h3 {
  font-size:1.1rem;
  margin-bottom:0.6rem;
  color:var(--heading);
}
.service-card p {
  font-size:0.85rem;
  color:var(--text-dim);
  line-height:1.6;
}

/* ====== PLATFORM / PRODUCT SECTION ====== */
.platform {
  background:var(--bg-alt);
  text-align:center;
}
.platform-content {
  max-width:780px;
  margin:0 auto;
}
.platform-intro {
  font-size:1.1rem;
  color:var(--text-muted);
  margin-bottom:2rem;
  line-height:1.7;
}
.platform-features {
  list-style:none;
  margin:0 auto 2.5rem;
  padding:0;
  max-width:560px;
  text-align:left;
  display:grid;
  gap:0.8rem;
}
.platform-features li {
  position:relative;
  padding-left:1.6rem;
  color:var(--text);
  font-size:0.95rem;
}
.platform-features li::before {
  content:'✔';
  position:absolute;
  left:0;
  color:#0087ed;
  font-weight:700;
}
.platform-screenshot {
  margin-top:2.5rem;
}
.platform-screenshot img {
  max-width:100%;
  width:100%;
  border-radius:16px;
  box-shadow:0 8px 40px rgba(0,0,0,0.15);
}
/* ====== CONTACT ====== */
.contact { background:var(--bg); }
.contact-wrapper {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem;
  align-items:center;
}
.contact-desc {
  color:var(--text-muted);
  font-size:1.05rem;
  margin-bottom:2rem;
}
.contact-details {
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-bottom:2rem;
}
.contact-item {
  display:flex;
  align-items:center;
  gap:0.8rem;
  color:var(--text-muted);
  font-size:0.95rem;
}
.contact-item svg { color:#0087ed; flex-shrink:0; }
.btn-whatsapp {
  background:#25d366;
  color:#fff;
}
.btn-whatsapp:hover {
  background:#20bd5a;
  box-shadow:0 8px 30px rgba(37,211,102,0.35);
}

/* Floating cards (contact visual) */
.contact-visual {
  position:relative;
  min-height:320px;
}
.floating-cards {
  position:relative;
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1rem;
}
.float-card {
  display:flex;
  align-items:center;
  gap:0.8rem;
  background:var(--float-card-bg);
  border:1px solid var(--float-card-border);
  border-radius:16px;
  padding:1rem 1.5rem;
  color:var(--heading);
  font-weight:600;
  font-size:0.95rem;
  animation:float 3s ease-in-out infinite;
  width:fit-content;
  backdrop-filter:blur(10px);
}
.float-card svg { width:24px; height:24px; color:#0087ed; flex-shrink:0; }
.float-card.card-1 { animation-delay:0s; }
.float-card.card-2 { animation-delay:0.6s; }
.float-card.card-3 { animation-delay:1.2s; }
@keyframes float {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-12px); }
}

/* ====== FOOTER ====== */
.footer {
  border-top:1px solid var(--footer-border);
  padding:3rem 0 1.5rem;
  background:var(--footer-bg);
}
.footer-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:1rem;
  margin-bottom:2rem;
}
.footer-brand {
  display:flex;
  align-items:center;
  gap:0.6rem;
  font-family:'Poppins',sans-serif;
  font-weight:700;
  color:var(--heading);
}
.footer-logo { width:28px; height:28px; }
.footer-tagline {
  color:var(--text-faint);
  font-size:0.85rem;
}
.footer-links {
  display:flex;
  gap:1.5rem;
}
.footer-links a {
  font-size:0.85rem;
  color:var(--text-faint);
  transition:color 0.3s;
}
.footer-links a:hover { color:#0087ed; }
.footer-bottom {
  text-align:center;
  border-top:1px solid var(--footer-border);
  padding-top:1.5rem;
}
.footer-bottom p {
  font-size:0.8rem;
  color:var(--text-faint);
}

/* ====== FADE-IN ANIMATIONS ====== */
.fade-in {
  opacity:0;
  transform:translateY(40px);
  transition:opacity 0.8s cubic-bezier(0.22,1,0.36,1),
              transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.fade-in.visible {
  opacity:1;
  transform:translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width:768px) {
  .section { padding:64px 0; }
  .nav-links {
    position:fixed;
    top:0; right:-100%;
    width:260px; height:100vh;
    background:var(--nav-bg);
    backdrop-filter:blur(20px);
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:2.5rem;
    transition:right 0.4s ease;
  }
  .nav-links.open { right:0; }
  .hamburger { display:flex; }
  .about-grid { grid-template-columns:1fr; gap:2.5rem; }
  .about-stats { grid-template-columns:repeat(3,1fr); }
  .contact-wrapper { grid-template-columns:1fr; gap:2.5rem; }
  .contact-visual { min-height:auto; }
  .floating-cards { flex-direction:row; flex-wrap:wrap; justify-content:center; }
  .footer-inner { flex-direction:column; text-align:center; }
  .theme-toggle { margin-right:0; }
}

@media (max-width:480px) {
  .about-stats { grid-template-columns:1fr; }
  .hero-actions { flex-direction:column; align-items:center; }

}
