/* =====================================================
   TIME TRACKER — Main Stylesheet
   Veemak Brand Colors:
     Blue:   #6B7FBD  (steel/slate blue from logo)
     Orange: #E8956D  (warm peach-orange from logo)
     Dark:   #2C2C2E  (charcoal — logo wordmark)
   Font: Raleway (Google Fonts)
===================================================== */

/* ── CSS Variables ── */
:root {
  --blue:         #6B7FBD;
  --blue-dark:    #4F6199;
  --blue-deeper:  #3A4A7A;
  --blue-light:   #8FA0CC;
  --blue-pale:    #E8ECF8;
  --blue-bg:      #F4F6FB;

  --orange:       #E8956D;
  --orange-dark:  #C97348;
  --orange-light: #F0AE88;
  --orange-pale:  #FEF0E8;

  --charcoal:     #2C2C2E;
  --dark:         #1A1E32;
  --dark-mid:     #12172C;
  --gray:         #687085;
  --gray-light:   #D4D8E8;

  --white:        #FFFFFF;
  --off-white:    #F5F7FC;

  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    18px;

  --shadow-sm:    0 2px 12px rgba(107,127,189,0.08);
  --shadow-md:    0 8px 32px rgba(107,127,189,0.12);
  --shadow-lg:    0 20px 56px rgba(107,127,189,0.14);
  --shadow-orange:0 6px 24px rgba(232,149,109,0.4);
  --shadow-dark:  0 24px 64px rgba(26,30,50,0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

a { color: inherit; }

/* =====================================================
   NAVIGATION
===================================================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--blue-pale);
  box-shadow: var(--shadow-sm);
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav-links a:hover { color: var(--blue-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue-dark); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn-border {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-border:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-fill {
  background: var(--orange);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(232, 149, 109, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-fill:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.03em;
  transition: all 0.25s;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232, 149, 109, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Raleway', sans-serif;
  transition: all 0.25s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.45);
}

/* =====================================================
   SECTION UTILITIES
===================================================== */
section { padding: 96px 5%; }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.badge-orange {
  background: var(--orange-pale);
  color: var(--orange-dark);
  border-color: rgba(232, 149, 109, 0.25);
}

.badge-blue {
  background: var(--blue-pale);
  color: var(--blue-dark);
  border-color: rgba(107, 127, 189, 0.25);
}

.badge-inv {
  background: rgba(232, 149, 109, 0.12);
  color: var(--orange-light);
  border-color: rgba(232, 149, 109, 0.3);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-title.white { color: var(--white); }
.section-title .accent-orange { color: var(--orange); }
.section-title .accent-blue { color: var(--blue-dark); }

.section-sub {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 580px;
  font-weight: 400;
}

.section-sub.white { color: rgba(255, 255, 255, 0.55); }

/* =====================================================
   HERO
===================================================== */
#hero {
  min-height: 100vh;
  background: var(--dark);
  background-image:
    radial-gradient(ellipse 65% 55% at 62% 40%, rgba(107, 127, 189, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 5% 85%, rgba(232, 149, 109, 0.09) 0%, transparent 55%);
  display: flex;
  align-items: center;
  padding: 116px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(107, 127, 189, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 127, 189, 1) 1px, transparent 1px);
  background-size: 55px 55px;
}

.hero-blob {
  position: absolute;
  top: -60px; right: -60px;
  width: 440px; height: 440px;
  background: linear-gradient(135deg, rgba(232,149,109,0.10), rgba(107,127,189,0.07));
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-content { animation: fadeUp 0.85s ease both; }
.hero-visual { animation: fadeUp 0.85s ease 0.25s both; }

.hero-logo-wrap { margin-bottom: 28px; }
.hero-logo-wrap img { height: 56px; width: auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 149, 109, 0.12);
  border: 1px solid rgba(232, 149, 109, 0.4);
  color: var(--orange-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.07;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}

.hero-title .accent-orange { color: var(--orange); }

.hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.78;
  max-width: 490px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.hero-stat-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 2px;
  font-weight: 600;
}

/* ── Dashboard Mockup ── */
.mockup {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(107, 127, 189, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 96px rgba(0,0,0,0.52), 0 0 0 1px rgba(107,127,189,0.1);
}

.mockup-bar {
  background: rgba(107, 127, 189, 0.1);
  border-bottom: 1px solid rgba(107, 127, 189, 0.15);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-dot-r { background: #FF5F57; }
.mockup-dot-y { background: #FEBC2E; }
.mockup-dot-g { background: #28C840; }

.mockup-bar-label {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-left: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mockup-layout { display: flex; }

.mockup-sidebar {
  width: 50px;
  background: rgba(107, 127, 189, 0.07);
  border-right: 1px solid rgba(107, 127, 189, 0.12);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sidebar-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.sidebar-icon.active { background: rgba(232,149,109,0.2); }

.mockup-body { flex: 1; padding: 16px; }

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}

.mockup-title {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.05em;
}

.mockup-date { font-size: 10px; color: rgba(255,255,255,0.32); }

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 13px;
}

.mockup-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px;
  padding: 10px;
}

.mockup-card.orange { background: rgba(232,149,109,0.07); border-color: rgba(232,149,109,0.25); }
.mockup-card.blue   { background: rgba(107,127,189,0.07); border-color: rgba(107,127,189,0.25); }

.mc-label { font-size: 9px; color: rgba(255,255,255,0.38); margin-bottom: 5px; letter-spacing: 0.06em; text-transform: uppercase; }
.mc-value { font-size: 18px; font-weight: 900; color: rgba(255,255,255,0.88); }
.mc-value.sm { font-size: 14px; }
.mc-tag   { font-size: 9px; color: var(--orange); margin-top: 3px; font-weight: 700; }

.mockup-table {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  overflow: hidden;
}

.table-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 10px;
}

.table-row:last-child { border: none; }
.table-row.head { background: rgba(107,127,189,0.1); }
.table-row.head span { color: rgba(255,255,255,0.38) !important; letter-spacing: 0.06em; font-weight: 800; font-size: 9px; }
.table-row span:first-child { color: rgba(255,255,255,0.68); font-weight: 600; }
.table-row span { color: rgba(255,255,255,0.42); }

.tag { padding: 2px 7px; border-radius: 100px; font-size: 8px; font-weight: 800; }
.tag.present  { background: rgba(72,199,142,0.15); color: #48C78E; }
.tag.leave    { background: rgba(232,149,109,0.15); color: var(--orange); }
.tag.overtime { background: rgba(107,127,189,0.2); color: var(--blue-light); }

/* =====================================================
   ABOUT
===================================================== */
#about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text .section-sub { max-width: 100%; margin-bottom: 30px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--charcoal);
  font-weight: 600;
  transition: all 0.2s;
}

.pill:hover { border-color: var(--blue); color: var(--blue-dark); }
.pill::before { content: '✓'; color: var(--orange); font-weight: 900; font-size: 12px; }

.about-visual { position: relative; }

.about-deco {
  position: absolute;
  top: -18px; right: -18px;
  width: 110px; height: 110px;
  background: linear-gradient(135deg, var(--orange-pale), var(--blue-pale));
  border-radius: 50%;
  z-index: 0;
  opacity: 0.65;
}

.about-card {
  position: relative;
  z-index: 1;
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(107,127,189,0.18);
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,149,109,0.16), transparent 70%);
  border-radius: 50%;
}

.about-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 24px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.about-feature:last-child { margin-bottom: 0; }

.feature-icon {
  width: 38px; height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.feature-icon.orange { background: rgba(232,149,109,0.15); }
.feature-icon.blue   { background: rgba(107,127,189,0.15); }

.about-feature h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.about-feature p  { font-size: 12px; color: rgba(255,255,255,0.48); line-height: 1.55; }

/* =====================================================
   FEATURES
===================================================== */
#features { background: var(--white); }

.features-head { text-align: center; margin-bottom: 54px; }
.features-head .section-sub { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--off-white);
  border: 1.5px solid var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-card-icon.blue   { background: var(--blue-pale); }
.feature-card-icon.orange { background: var(--orange-pale); }

.feature-card h3 { font-size: 17px; font-weight: 800; color: var(--charcoal); margin-bottom: 10px; letter-spacing: -0.01em; }
.feature-card p  { font-size: 13px; color: var(--gray); line-height: 1.65; }

.feature-list { list-style: none; margin-top: 14px; }

.feature-list li {
  font-size: 12px;
  color: var(--gray);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--blue-pale);
  font-weight: 500;
}

.feature-list li:last-child { border: none; }

.feature-list li::before {
  content: '›';
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* =====================================================
   SCREENSHOTS
===================================================== */
#screenshots {
  background: var(--dark);
  overflow: hidden;
}

.screenshots-head { margin-bottom: 46px; }

.screenshots-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}

.screenshots-track::-webkit-scrollbar { height: 4px; }
.screenshots-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 2px; }
.screenshots-track::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

.screenshot-card {
  min-width: 355px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(107,127,189,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.screenshot-card:hover {
  border-color: rgba(232,149,109,0.45);
  transform: translateY(-5px);
}

.sc-preview {
  height: 190px;
  background: linear-gradient(135deg, rgba(107,127,189,0.14), rgba(58,74,122,0.28));
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(107,127,189,0.1);
}

.sc-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
}

.sc-title-label {
  font-size: 9px;
  font-weight: 800;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-bar {
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 6px;
}

.sc-bar.orange { background: rgba(232,149,109,0.35); }
.sc-bar.blue   { background: rgba(107,127,189,0.35); }

.sc-3cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.sc-mini-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 9px;
  color: rgba(255,255,255,0.38);
}

.sc-mini-box.active {
  background: rgba(232,149,109,0.1);
  border-color: rgba(232,149,109,0.3);
  color: var(--orange);
}

.sc-mini-value {
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,0.85);
}

.screenshot-info { padding: 20px; }
.screenshot-info h4 { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 7px; }
.screenshot-info p  { font-size: 12px; color: rgba(255,255,255,0.44); line-height: 1.65; }

.sc-tag {
  display: inline-block;
  margin-top: 11px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  background: rgba(107,127,189,0.15);
  color: var(--blue-light);
}

/* =====================================================
   APP LINKS
===================================================== */
#app-links { background: var(--off-white); }

.app-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.app-link-card {
  background: var(--white);
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.app-link-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.app-link-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.app-link-card:hover::after { transform: scaleX(1); }

.app-link-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.app-link-icon.orange { background: var(--orange-pale); }
.app-link-icon.blue   { background: var(--blue-pale); }

.app-link-card h3 { font-size: 20px; font-weight: 800; color: var(--charcoal); margin-bottom: 10px; }
.app-link-card p  { font-size: 13px; color: var(--gray); margin-bottom: 28px; line-height: 1.65; }
.app-link-url { margin-top: 14px; font-size: 11px; color: var(--blue); font-weight: 700; letter-spacing: 0.02em; }

/* =====================================================
   BENEFITS
===================================================== */
#benefits { background: var(--white); }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.benefits-list { display: flex; flex-direction: column; gap: 17px; }

.benefit-item {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--off-white);
  border-radius: 14px;
  border: 1.5px solid var(--blue-pale);
  transition: all 0.25s;
}

.benefit-item:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(232,149,109,0.09);
}

.benefit-number {
  width: 38px; height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--white);
}

.benefit-item h4 { font-size: 15px; font-weight: 800; color: var(--charcoal); margin-bottom: 4px; }
.benefit-item p  { font-size: 13px; color: var(--gray); line-height: 1.6; }

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-box {
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  border: 1.5px solid transparent;
}

.metric-box.dark   { background: var(--dark);        border-color: rgba(107,127,189,0.25); }
.metric-box.orange { background: var(--orange-pale);  border-color: rgba(232,149,109,0.3);  }
.metric-box.blue   { background: var(--blue-pale);    border-color: rgba(107,127,189,0.25); }
.metric-box.dark2  { background: var(--dark);         border-color: rgba(107,127,189,0.25); }

.metric-value { font-size: 44px; font-weight: 900; letter-spacing: -0.03em; }
.metric-box.dark .metric-value,
.metric-box.dark2 .metric-value { color: var(--orange); }
.metric-box.orange .metric-value { color: var(--orange-dark); }
.metric-box.blue .metric-value   { color: var(--blue-dark); }

.metric-label { font-size: 12px; margin-top: 6px; line-height: 1.5; font-weight: 600; }
.metric-box.dark .metric-label,
.metric-box.dark2 .metric-label  { color: rgba(255,255,255,0.52); }
.metric-box.orange .metric-label { color: var(--orange-dark); }
.metric-box.blue .metric-label   { color: var(--blue-dark); }

/* =====================================================
   SECURITY
===================================================== */
#security { background: var(--off-white); }

.security-head { text-align: center; margin-bottom: 54px; }
.security-head .section-sub { margin: 0 auto; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.security-card {
  background: var(--white);
  border: 1.5px solid var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s;
}

.security-card:hover {
  background: var(--dark);
  border-color: var(--blue-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,30,50,0.2);
}

.security-card:hover .security-title  { color: var(--white); }
.security-card:hover .security-body   { color: rgba(255,255,255,0.52); }

.security-icon  { font-size: 36px; margin-bottom: 16px; }
.security-title { font-size: 15px; font-weight: 800; color: var(--charcoal); margin-bottom: 8px; }
.security-body  { font-size: 12px; color: var(--gray); line-height: 1.65; }

/* =====================================================
   CONTACT
===================================================== */
#contact {
  background: var(--dark);
  background-image: radial-gradient(ellipse 65% 50% at 28% 55%, rgba(107,127,189,0.11), transparent 60%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}

.contact-left h3 { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 28px; }

.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }

.contact-icon {
  width: 42px; height: 42px;
  min-width: 42px;
  border-radius: 11px;
  background: rgba(107,127,189,0.12);
  border: 1px solid rgba(107,127,189,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-detail h5 { font-size: 11px; color: rgba(255,255,255,0.38); margin-bottom: 3px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-detail p  { font-size: 14px; color: var(--white); font-weight: 600; }
.contact-detail a  { color: var(--orange-light); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }

.demo-box {
  margin-top: 36px;
  border-radius: 14px;
  padding: 26px;
  background: rgba(232,149,109,0.08);
  border: 1px solid rgba(232,149,109,0.25);
}

.demo-box h4 { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.demo-box p  { font-size: 13px; color: rgba(255,255,255,0.52); line-height: 1.6; }

.contact-form-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(107,127,189,0.2);
  border-radius: var(--radius-xl);
  padding: 38px;
}

.contact-form-box h3 { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 26px; }

.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.45);
  margin-bottom: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(107,127,189,0.2);
  border-radius: 9px;
  padding: 11px 14px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.22); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }

.form-group textarea { resize: vertical; min-height: 95px; }
.form-group select option { background: var(--dark); color: var(--white); }

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: var(--dark-mid);
  border-top: 1px solid rgba(107,127,189,0.14);
  padding: 60px 5% 28px;
}

.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 38px; width: auto; margin-bottom: 4px; }

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
  margin: 16px 0 20px;
  max-width: 270px;
}

.footer-app-links { display: flex; gap: 10px; }

.footer-app-link {
  font-size: 11px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-app-link.orange {
  background: rgba(232,149,109,0.12);
  color: var(--orange-light);
  border: 1px solid rgba(232,149,109,0.25);
}

.footer-app-link.blue {
  background: rgba(107,127,189,0.12);
  color: var(--blue-light);
  border: 1px solid rgba(107,127,189,0.25);
}

.footer-app-link:hover { opacity: 0.78; }

.footer-col h4 { font-size: 13px; font-weight: 800; color: var(--white); margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.42); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-bottom a { color: var(--orange-light); text-decoration: none; }

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1060px) {
  .features-grid  { grid-template-columns: 1fr 1fr; }
  .security-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner,
  .about-grid,
  .benefits-grid,
  .contact-grid,
  .app-links-grid { grid-template-columns: 1fr; }

  .hero-visual { order: -1; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid   { grid-template-columns: 1fr; }
  .security-grid   { grid-template-columns: 1fr 1fr; }
  .metrics-grid    { grid-template-columns: 1fr 1fr; }
  .form-2col       { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  section          { padding: 68px 4%; }
  .hero-stats      { gap: 22px; }
}

@media (max-width: 480px) {
  .security-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .metrics-grid  { grid-template-columns: 1fr; }
  .mockup-cards  { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
   SLIDESHOW — Screenshots Section
===================================================== */

/* Override dark section bg for screenshots */
#screenshots {
  background: #1A1E32;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(107,127,189,0.2);
  background: rgba(255,255,255,0.03);
}

/* Each slide — hidden by default */
.slide {
  display: none;
  position: relative;
  animation: slideFadeIn 0.45s ease;
}

.slide.active-slide { display: block; }

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Image area */
.slide-img-wrap {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, #1e2540, #2a3560);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.slide-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(26,30,50,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Placeholder when no image (shows icon) */
.slide-img-wrap .slide-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.25);
  font-size: 14px;
  font-weight: 600;
}

.slide-img-wrap .slide-placeholder .ph-icon { font-size: 48px; }

/* Caption below image */
.slide-caption {
  padding: 24px 32px 28px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(107,127,189,0.15);
}

.slide-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  background: rgba(232,149,109,0.15);
  color: var(--orange-light);
  border: 1px solid rgba(232,149,109,0.3);
  margin-bottom: 10px;
}

.slide-caption h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.slide-caption p {
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
  max-width: 680px;
}

/* Prev / Next arrow buttons */
.slide-prev,
.slide-next {
  position: absolute;
  top: calc(240px - 28px); /* vertically center on image area */
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.25s;
  z-index: 10;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
}

.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.slide-prev:hover,
.slide-next:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(232,149,109,0.4);
}

/* Navigation Dots */
.slide-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  display: inline-block;
}

.dot:hover {
  background: rgba(232,149,109,0.5);
  transform: scale(1.15);
}

.dot.active-dot {
  background: var(--orange);
  border-color: var(--orange-light);
  width: 28px;
  border-radius: 5px;
}

/* Slide counter */
.slide-counter {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 700;
  letter-spacing: 0.06em;
}

#slideCurrentNum { color: var(--orange); font-size: 14px; }

/* Responsive slideshow */
@media (max-width: 768px) {
  .slide-img-wrap  { height: 260px; }
  .slide-prev,
  .slide-next      { width: 40px; height: 40px; font-size: 16px; top: calc(130px - 20px); }
  .slide-caption   { padding: 18px 20px 22px; }
  .slide-caption h4 { font-size: 15px; }
}

/* =====================================================
   HERO — Light Background Override
===================================================== */
#hero.hero-light {
  background: #E8EEF8;
  background-image:
    radial-gradient(ellipse 65% 55% at 62% 40%, rgba(107,127,189,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 5% 85%, rgba(232,149,109,0.12) 0%, transparent 55%);
}

/* On light hero, flip text colors */
#hero.hero-light .hero-grid {
  background-image:
    linear-gradient(rgba(107,127,189,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,127,189,0.4) 1px, transparent 1px);
  opacity: 0.06;
}

#hero.hero-light .hero-title { color: var(--charcoal); }
#hero.hero-light .hero-title .accent-orange { color: var(--orange-dark); }
#hero.hero-light .hero-sub { color: var(--gray); }
#hero.hero-light .hero-stat-num { color: var(--orange-dark); }
#hero.hero-light .hero-stat-lbl { color: var(--gray); }
#hero.hero-light .hero-badge {
  background: rgba(232,149,109,0.1);
  border-color: rgba(232,149,109,0.35);
  color: var(--orange-dark);
}
#hero.hero-light .badge-dot { background: var(--orange-dark); }

/* Ghost button becomes bordered on light bg */
#hero.hero-light .btn-ghost {
  background: rgba(107,127,189,0.08);
  color: var(--blue-dark);
  border-color: rgba(107,127,189,0.3);
}
#hero.hero-light .btn-ghost:hover {
  background: rgba(107,127,189,0.15);
  border-color: var(--blue);
}

/* Mockup gets a slightly elevated look on light bg */
#hero.hero-light .mockup {
  box-shadow: 0 32px 80px rgba(107,127,189,0.22), 0 0 0 1px rgba(107,127,189,0.15);
  border-color: rgba(107,127,189,0.3);
}

/* =====================================================
   CONTACT FORM — Email note
===================================================== */
.form-email-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
}

.form-email-note a {
  color: var(--orange-light);
  text-decoration: none;
  font-weight: 700;
}

.form-email-note a:hover { text-decoration: underline; }

/* Contact email display in left panel */
.contact-email-display {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(232,149,109,0.08);
  border: 1px solid rgba(232,149,109,0.25);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  text-decoration: none;
  transition: all 0.25s;
}

.contact-email-display:hover {
  background: rgba(232,149,109,0.14);
  border-color: rgba(232,149,109,0.45);
}

.contact-email-display .ced-icon { font-size: 22px; }

.contact-email-display h5 {
  font-size: 11px;
  color: rgba(255,255,255,0.42);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-email-display p {
  font-size: 15px;
  color: var(--orange-light);
  font-weight: 800;
  letter-spacing: 0.01em;
}
