/* ==============================
   GTECUS — Elegant Redesign
   ============================== */

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

:root {
  --primary: #6c63ff;
  --primary-dark: #4f46e5;
  --dark: #080c14;
  --dark-2: #0e1420;
  --dark-card: #111827;
  --text: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --off-white: #f9fafb;
  --border: rgba(0,0,0,0.08);
  --border-light: rgba(255,255,255,0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.16);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 36px; object-fit: contain; }
.text-logo {
  font-size: 22px; font-weight: 800; color: var(--text);
  letter-spacing: -0.5px;
}
.navbar.scrolled .text-logo { color: var(--text); }
.navbar:not(.scrolled) .text-logo { color: var(--white); }
.nav-links {
  list-style: none; display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: all 0.2s; color: rgba(255,255,255,0.85);
}
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-links a:hover { color: var(--text); background: var(--off-white); }
.nav-links .nav-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 8px 18px;
}
.nav-links .nav-cta:hover { background: var(--primary-dark) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--text); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 32px 80px;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 65% 50%, rgba(108,99,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(79,70,229,0.10) 0%, transparent 60%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1160px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa 0%, #6c63ff 50%, #818cf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.55);
  max-width: 460px; line-height: 1.75; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.scroll-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(8px); opacity: 0.8; }
}

/* ---- DEVICE MOCKUP ---- */
.hero-device { display: flex; justify-content: center; align-items: center; }
.device-frame {
  width: 260px; height: 520px;
  background: #1a1a2e;
  border-radius: 44px;
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 8px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
  padding: 14px;
}
.device-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 6px;
  background: rgba(255,255,255,0.12); border-radius: 3px;
}
.device-screen {
  background: #0d1117; border-radius: 32px;
  height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
}
.screen-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 18px 12px;
}
.screen-time { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.6); }
.screen-title { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.5); }
.screen-apps { padding: 8px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.screen-app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sapp {
  border-radius: 16px; padding: 14px 10px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: relative; overflow: hidden;
}
.sapp-navy { background: linear-gradient(145deg, #0d1b3e, #1a3a6e); }
.sapp-green { background: linear-gradient(145deg, #064e3b, #065f46); }
.sapp-purple { background: linear-gradient(145deg, #3b0764, #6d28d9); }
.sapp-dark { background: linear-gradient(145deg, #1f2937, #374151); }
.sapp img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.sapp-emoji { font-size: 28px; line-height: 1; }
.sapp span { font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.8); text-align: center; line-height: 1.2; }
.sapp-badge {
  position: absolute; top: 6px; right: 6px;
  background: rgba(245,158,11,0.25); color: #fbbf24;
  font-size: 7px; font-weight: 800; padding: 2px 5px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: all 0.2s; white-space: nowrap; font-family: inherit;
}
.btn-white { background: var(--white); color: var(--text); border-color: var(--white); }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.2); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: #1f2937; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline-dark { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--text); }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(108,99,255,0.35); }
.btn-full { width: 100%; }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--dark-2); padding: 28px 32px; }
.stats-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.stat { text-align: center; padding: 0 48px; }
.stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--white); letter-spacing: -1px; }
.stat span { font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.08); }

/* ---- SECTIONS ---- */
.section { padding: 100px 32px; }
.section-alt { background: var(--off-white); }
.container { max-width: 1160px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900; letter-spacing: -1px;
  color: var(--text); margin-bottom: 14px; line-height: 1.15;
}
.section-sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 520px; margin-bottom: 60px; line-height: 1.7;
}

/* ---- APP CARDS ---- */
.app-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}
.app-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.app-card-top {
  padding: 36px 32px 28px;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.app-icon-box {
  width: 76px; height: 76px; border-radius: 18px;
  overflow: hidden; background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.app-icon-box img { width: 100%; height: 100%; object-fit: cover; }
.app-icon-emoji { font-size: 38px; }
.app-live-badge, .app-coming-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; padding: 6px 12px;
  border-radius: 8px; backdrop-filter: blur(8px);
}
.app-live-badge { background: rgba(34,197,94,0.15); color: #4ade80; }
.app-coming-badge { background: rgba(245,158,11,0.15); color: #fbbf24; }
.app-card-body { padding: 28px 32px 32px; }
.app-card-body h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.app-tagline { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 14px; }
.app-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.app-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 9px; }
.app-features li {
  font-size: 14px; color: var(--text-muted);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.app-features li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--primary); font-weight: 700; font-size: 12px;
}
.app-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.app-store-soon {
  font-size: 12px; font-weight: 600; color: var(--text-light);
  padding: 4px 0;
}

/* ---- COMING SOON ---- */
.coming-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.coming-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
}
.coming-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.coming-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.coming-tag {
  display: inline-block; font-size: 10px; font-weight: 800;
  padding: 3px 10px; border-radius: 5px;
  background: rgba(108,99,255,0.08); color: var(--primary);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.coming-info h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 8px; }
.coming-info p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.coming-progress { display: flex; flex-direction: column; gap: 6px; }
.coming-progress span { font-size: 11px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.progress-track { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.progress-fill {
  height: 100%; width: var(--w, 0%);
  background: linear-gradient(90deg, var(--primary), #a78bfa);
  border-radius: 2px; transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ---- BUILD WITH US ---- */
.build-layout {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 72px; align-items: start;
}
.build-points { display: flex; flex-direction: column; gap: 24px; }
.build-point { display: flex; gap: 16px; align-items: flex-start; }
.bp-icon {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: rgba(108,99,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.build-point h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.build-point p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.form-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 36px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; }
form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: 12px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; }
.field input,
.field select,
.field textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px;
  font-family: inherit; color: var(--text);
  background: var(--off-white); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.1);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 4px; }
.form-note a { color: var(--primary); text-decoration: none; }
.form-success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 14px; padding: 32px 16px;
}
.success-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(34,197,94,0.1); color: #22c55e;
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.form-success h3 { font-size: 20px; font-weight: 800; }
.form-success p { font-size: 14px; color: var(--text-muted); max-width: 280px; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); padding: 72px 32px 32px; }
.footer-top {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 60px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-icon { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.footer-name { font-size: 18px; font-weight: 800; color: var(--white); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-bottom: 16px; }
.footer-email {
  font-size: 14px; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.2s;
}
.footer-email:hover { color: var(--white); }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  padding-top: 28px; text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ---- ANIMATIONS ---- */
[data-animate] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-device { display: none; }
  .build-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links {
    display: none; position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border); padding: 8px 0;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-muted) !important; padding: 14px 20px; border-radius: 0; }
  .nav-links a:hover { background: var(--off-white) !important; color: var(--text) !important; }
  .hamburger { display: flex; }
  .section { padding: 72px 20px; }
  .app-cards { grid-template-columns: 1fr; }
  .coming-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats-inner { gap: 0; }
  .stat { padding: 16px 24px; }
  .stat-divider { display: none; }
}
