/* ═══════════════════════════════════════════════════════════
   SECON INVEST – One-page website styles
   ═══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────
   1. RESET & CUSTOM PROPERTIES
────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent:       #2563eb;       /* modrá */
  --accent-dark:  #1d4ed8;
  --accent-light: #eff6ff;
  --green:        #10b981;
  --green-light:  #ecfdf5;
  --text:         #0f172a;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;
  --border:       #e2e8f0;
  --bg:           #ffffff;
  --bg-light:     #f8fafc;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:    0 20px 40px rgba(0,0,0,.10), 0 8px 16px rgba(0,0,0,.05);
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --transition:   0.25s ease;
}

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

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ──────────────────────────────────────────────
   2. LAYOUT UTILITIES
────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-top: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 14px;
  border-radius: 100px;
}

.text-accent { color: var(--accent); }

.hidden { display: none !important; }

/* ──────────────────────────────────────────────
   3. BUTTONS
────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
}

.btn-ghost {
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
}
.btn-ghost:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

/* ──────────────────────────────────────────────
   4. SCROLL REVEAL ANIMATIONS
────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* ──────────────────────────────────────────────
   5. NAVIGATION
────────────────────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.logo-text { letter-spacing: 0.02em; }
.logo-accent { color: var(--accent); margin-left: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-light);
}
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ──────────────────────────────────────────────
   6. HERO
────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%);
  padding: 160px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37,99,235,.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: #bfdbfe;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat span {
  font-size: 0.8rem;
  color: #93c5fd;
  margin-top: 4px;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

/* Hero mockup */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
}
.mockup-browser {
  background: #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.05);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot-red    { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green  { background: #10b981; }
.mockup-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: #64748b;
  background: rgba(255,255,255,.05);
  padding: 3px 12px;
  border-radius: 6px;
}
.mockup-screen {
  padding: 20px;
  min-height: 280px;
  position: relative;
}
.mockup-img { width: 100%; border-radius: 8px; }

.mockup-placeholder { }
.mp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mp-title-bar { width: 120px; height: 10px; background: rgba(255,255,255,.1); border-radius: 4px; }
.mp-actions { display: flex; gap: 8px; }
.mp-btn { width: 64px; height: 26px; background: rgba(255,255,255,.06); border-radius: 6px; }
.mp-btn-primary { background: rgba(37,99,235,.5); }

.mp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mp-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 14px;
}
.mp-card-wide { grid-column: span 2; }
.mp-label { font-size: 0.65rem; color: #64748b; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.mp-value { font-size: 1.6rem; font-weight: 700; color: #f1f5f9; line-height: 1; }
.mp-chart { margin-top: 10px; }
.mp-chart svg { width: 100%; height: 40px; }
.mp-bars { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.mp-bar { height: 6px; border-radius: 3px; }

.mockup-badge {
  position: absolute;
  bottom: -16px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
}

.hero-wave {
  line-height: 0;
}
.hero-wave svg {
  display: block;
  width: 100%;
}

/* ──────────────────────────────────────────────
   7. ABOUT
────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text .lead {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-pills span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.about-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.about-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 14px 0 8px;
}
.about-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon-blue { background: var(--accent-light); color: var(--accent); }
.card-icon-green { background: var(--green-light); color: var(--green); }

/* ──────────────────────────────────────────────
   8. SUPPORT BANNER
────────────────────────────────────────────── */
.support {
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  padding: 72px 0;
}
.support-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.support-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.support-text h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.support-text p {
  color: #bfdbfe;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
}
.support-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  flex-shrink: 0;
}
.sf-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
}
.sf-item svg { color: #86efac; flex-shrink: 0; }

/* ──────────────────────────────────────────────
   9. PRODUCT
────────────────────────────────────────────── */
.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.product-text .section-tag { margin-bottom: 12px; }
.product-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.product-text .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.product-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.product-benefits li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.product-benefits strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.product-benefits span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-img-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-placeholder {
  padding: 24px;
  width: 100%;
  display: flex;
  gap: 16px;
}
.pp-screen {
  display: flex;
  gap: 12px;
  width: 100%;
}
.pp-sidebar {
  width: 52px;
  background: var(--bg-light);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.pp-nav-item { height: 8px; background: var(--border); border-radius: 4px; }
.pp-nav-active { background: var(--accent); opacity: 0.7; }
.pp-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pp-table-head { height: 32px; background: var(--bg-light); border-radius: 8px; }
.pp-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pp-cell { height: 28px; flex: 1; background: var(--bg-light); border-radius: 6px; }
.pp-cell-wide { flex: 3; }
.pp-cell-sm { flex: 0.6; }
.pp-mobile {
  width: 80px;
  flex-shrink: 0;
}
.pp-mobile-screen {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.pp-m-bar { height: 8px; background: var(--border); border-radius: 4px; margin-bottom: 4px; }
.pp-m-item { height: 32px; background: var(--border); border-radius: 8px; }
.pp-m-active { background: rgba(37,99,235,.2); }

/* ──────────────────────────────────────────────
   10. MODULES
────────────────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.module-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.module-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.module-icon-green { background: var(--green-light); color: var(--green); }
.module-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.module-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.module-list li:last-child { border-bottom: none; }
.module-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   11. TIMELINE / PROCESS
────────────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.timeline-step {
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  z-index: 2;
  position: relative;
  box-shadow: 0 0 0 6px var(--bg-light);
  flex-shrink: 0;
}

.timeline-connector {
  position: absolute;
  top: 24px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), rgba(37,99,235,.2));
  z-index: 1;
}

.timeline-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
  width: 100%;
  transition: all var(--transition);
}
.timeline-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.timeline-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.timeline-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.timeline-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.timeline-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ──────────────────────────────────────────────
   12. REFERENCES
────────────────────────────────────────────── */
.references { background: var(--text); }
.references .section-tag { color: #93c5fd; background: rgba(255,255,255,.1); }
.references h2 { color: #fff; }
.references .section-sub { color: #94a3b8; }

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.logo-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  overflow: hidden;
}
.logo-item:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
}
.logo-item span {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}
.logo-item img {
  max-height: 40px;
  width: auto;
  transition: opacity var(--transition);
}

/* ──────────────────────────────────────────────
   13. SCREENSHOTS / GALLERY
────────────────────────────────────────────── */
.screenshots-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 40px;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tab-active {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.screenshots-slider {
  display: flex;
  gap: 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.slide {
  flex: 0 0 calc(25% - 18px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition);
}
.slide-img-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
  color: var(--text-light);
  position: absolute;
  inset: 0;
}
.slide-img-wrap img:not([src=""]):not([src$=".png"]) + .slide-placeholder,
.slide-img-wrap.no-img .slide-placeholder { display: flex; }
.slide-img-wrap img { position: relative; z-index: 1; }

.slide-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.slide-caption span {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.slider-prev, .slider-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.slider-prev:hover, .slider-next:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.dot-btn {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.dot-btn.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

/* Mobile screenshots */
.mobile-screenshots {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.mobile-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 0 0 200px;
}
.phone-frame {
  width: 180px;
  background: #1e293b;
  border-radius: 32px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-frame::before {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  background: #0f172a;
  border-radius: 3px;
  margin: 0 auto 12px;
}
.phone-screen {
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.phone-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.mobile-caption {
  text-align: center;
}
.mobile-caption strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.mobile-caption span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ──────────────────────────────────────────────
   14. CTA SECTION
────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, var(--accent) 100%);
  padding: 88px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-text p {
  color: #bfdbfe;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
}

/* ──────────────────────────────────────────────
   15. CONTACT
────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.company-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-link:hover .ci-icon { background: var(--accent); color: #fff; }
.ci-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.contact-item span {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.company-details span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Form */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  flex: 1;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
  border-radius: 10px;
  padding: 14px 20px;
  margin-top: 16px;
  font-size: 0.92rem;
}

/* ──────────────────────────────────────────────
   16. FOOTER
────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 0.84rem;
}
.footer-left .logo-mark { width: 28px; height: 28px; font-size: 0.85rem; border-radius: 7px; }
.footer-right {
  display: flex;
  gap: 24px;
}
.footer-right a {
  color: #64748b;
  font-size: 0.84rem;
  transition: color var(--transition);
}
.footer-right a:hover { color: #94a3b8; }

/* ──────────────────────────────────────────────
   17. RESPONSIVE
────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  section { padding: 72px 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 60px;
  }
  .hero-visual { justify-content: flex-start; }
  .hero-mockup { max-width: 100%; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .support-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .support-icon { margin: 0 auto; }
  .support-features { justify-content: center; }

  .product-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .timeline-connector { display: none; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 56px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 10px; font-size: 0.95rem; }
  .nav-cta { text-align: center; }

  .nav-burger { display: flex; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 120px 0 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .hero-stats { gap: 20px; }
  .stat strong { font-size: 1.5rem; }

  .about-cards { grid-template-columns: 1fr; }

  .modules-grid { grid-template-columns: 1fr; }

  .timeline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .logos-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .slide { flex: 0 0 80%; }
  .screenshots-tabs { width: 100%; }
  .tab-btn { flex: 1; text-align: center; padding: 10px 12px; font-size: 0.84rem; }

  .mobile-screenshots {
    gap: 16px;
  }
  .mobile-slide { flex: 0 0 140px; }
  .phone-frame { width: 140px; }

  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .btn { text-align: center; justify-content: center; }
  .contact-form { padding: 28px 20px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .section-header h2 { font-size: 1.8rem; }
  .support-features { grid-template-columns: 1fr; }
}
