/* ============================================
   4opticians! Website — Design System & Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Backgrounds — Light & Warm */
  --bg-dark: #fafafa;
  --bg-darker: #f2f0ed;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 1);

  /* Gold Palette — Kept as brand accent */
  --gold-primary: #b8860b;
  --gold-light: #d4a853;
  --gold-dark: #8b6914;
  --gold-glow: rgba(184, 134, 11, 0.12);
  --gold-glow-strong: rgba(184, 134, 11, 0.25);

  /* Text — Dark on Light */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #8a8a9a;

  /* Glass — Light frost */
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-border-hover: rgba(184, 134, 11, 0.25);
  --glass-blur: 24px;

  /* Semantic */
  --success: #16a34a;
  --danger: #dc2626;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text-secondary); font-size: 1.05rem; }

.text-gold { color: var(--gold-primary); }
.text-gradient {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   SECTION: Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-brand .brand-4 {
  color: var(--gold-primary);
  font-size: 1.7rem;
}

.navbar-brand .brand-text {
  color: var(--text-primary);
}

.navbar-brand .brand-bang {
  color: var(--gold-primary);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 0 20px var(--gold-glow);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--gold-glow-strong);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--gold-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(212, 168, 83, 0.08);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 42px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.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);
}

/* ============================================
   SECTION: Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  opacity: 0.15;
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.06) 0%, transparent 70%);
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(184, 134, 11, 0.06);
  border: 1px solid rgba(184, 134, 11, 0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-primary);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  animation: badgeFloat 4s ease-in-out infinite;
}

.hero-badge:nth-child(2) { animation-delay: 1.3s; }
.hero-badge:nth-child(3) { animation-delay: 2.6s; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-badge .badge-icon {
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-floating-logo {
  position: absolute;
  top: -120px;
  left: 50%;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  animation: floatLogo 5s ease-in-out infinite;
  z-index: 3;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.06));
  display: flex;
  align-items: center;
}

.hero-floating-logo .brand-4 { color: var(--gold-primary); font-size: 3.5rem; }
.hero-floating-logo .brand-text { color: var(--text-primary); }
.hero-floating-logo .brand-bang { color: var(--gold-primary); font-weight: 900; }

@keyframes floatLogo {
  0%, 100% { transform: translate(-50%, 0) rotate(0deg); }
  50% { transform: translate(-50%, -12px) rotate(2deg); }
}

.hero-mockup {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 40px var(--gold-glow),
    0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--glass-border);
  animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* ============================================
   SECTION: Manifesto
   ============================================ */
.manifesto {
  padding: 100px 0;
  text-align: center;
  position: relative;
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.manifesto-text {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 2;
  color: var(--text-secondary);
  font-style: italic;
}

.manifesto-text strong {
  color: var(--text-primary);
  font-style: normal;
  font-weight: 600;
}

.manifesto-text .highlight {
  color: var(--gold-primary);
  font-weight: 600;
  font-style: normal;
}

/* ============================================
   SECTION: Pillars
   ============================================ */
.pillars {
  padding: var(--section-padding);
}

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

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 550px;
  margin: 0 auto;
}

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

.pillar-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(184, 134, 11, 0.06);
  border: 1px solid rgba(184, 134, 11, 0.1);
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.pillar-card h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pillar-card .pillar-tagline {
  font-size: 0.9rem;
  color: var(--gold-primary);
  font-weight: 500;
  margin-bottom: 20px;
}

.pillar-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pillar-card ul li .check {
  color: var(--success);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============================================
   SECTION: Features
   ============================================ */
.features {
  padding: var(--section-padding);
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

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

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-number {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(184, 134, 11, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.feature-content h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(184, 134, 11, 0.05);
  border: 1px solid rgba(184, 134, 11, 0.1);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold-primary);
}

.feature-visual {
  position: relative;
}

.feature-image {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-medium);
}

.feature-block:hover .feature-image {
  transform: scale(1.02);
}

/* ============================================
   SECTION: Comparison
   ============================================ */
.comparison {
  padding: var(--section-padding);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table thead th {
  padding: 24px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.comparison-table thead th:first-child {
  background: transparent;
  color: var(--text-secondary);
}

.comparison-table thead th:nth-child(2) {
  background: rgba(220, 38, 38, 0.03);
  color: var(--text-muted);
}

.comparison-table thead th:nth-child(3) {
  background: rgba(184, 134, 11, 0.05);
  color: var(--gold-primary);
}

.comparison-table tbody td {
  padding: 18px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.92rem;
  vertical-align: top;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.comparison-table tbody td:nth-child(2) {
  color: var(--text-muted);
}

.comparison-table tbody td:nth-child(3) {
  color: var(--text-secondary);
}

.comparison-table tbody td:nth-child(3) strong {
  color: var(--gold-primary);
}

/* ============================================
   SECTION: Pricing
   ============================================ */
.pricing {
  padding: var(--section-padding);
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
}

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light), var(--gold-primary));
}

.pricing-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 40px var(--gold-glow);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(184, 134, 11, 0.06);
  border: 1px solid rgba(184, 134, 11, 0.12);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 28px;
}

.pricing-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.pricing-breakdown {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
}

.price-item:last-child {
  border-bottom: none;
}

.price-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.price-note {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  text-align: right;
  margin-top: 2px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 16px;
}

.pricing-features-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.pricing-features ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-features ul li .icon-check {
  color: var(--success);
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-features ul li .icon-cross {
  color: var(--danger);
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-never {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
}

.pricing-cta {
  margin-top: 36px;
}

.pricing-footer-text {
  max-width: 520px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ============================================
   SECTION: Trust
   ============================================ */
.trust {
  padding: var(--section-padding);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.trust-badge-item:hover {
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
}

.trust-badge-item .badge-emoji {
  font-size: 1.4rem;
}

.integration-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
  transition: opacity var(--transition-medium);
}

.integration-logos:hover {
  opacity: 0.8;
}

.integration-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================
   SECTION: Final CTA
   ============================================ */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(184, 134, 11, 0.04) 50%, var(--bg-dark) 100%);
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.final-cta p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.final-cta .btn-primary {
  position: relative;
  z-index: 1;
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px var(--gold-glow); }
  50% { box-shadow: 0 0 40px var(--gold-glow-strong); }
}

.final-cta-contact {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.final-cta-contact a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.final-cta-contact a:hover {
  color: var(--gold-primary);
}

/* ============================================
   SECTION: Footer
   ============================================ */
.footer {
  padding: 40px 0 24px;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-darker);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-brand .by {
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0.6;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ============================================
   SECTION: Contact Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 460px;
  width: 90%;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-medium);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-card h3 {
  margin-bottom: 8px;
  text-align: center;
}

.modal-card .modal-sub {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

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

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    max-width: 500px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 14px 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-mockup {
    max-width: 100%;
  }

  .manifesto-text {
    font-size: 1.05rem;
  }

  .pricing-card {
    padding: 40px 28px;
  }

  .comparison-table thead th:nth-child(2),
  .comparison-table tbody td:nth-child(2) {
    display: none;
  }

  .trust-badges {
    gap: 16px;
  }

  .trust-badge-item {
    padding: 12px 20px;
    font-size: 0.82rem;
  }

  .final-cta-contact {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .btn-large {
    padding: 16px 32px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }
}


/* ================= MODERN ÜTS SHOWCASE & GALLERY ================= */
.uts-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 20px 0;
}
.uts-highlight-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.uts-highlight-item p {
  margin: 4px 0 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #334155;
}
.uts-hl-badge {
  display: inline-block;
  background: #0f172a;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.uts-modern-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.uts-main-screen-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.uts-card-header {
  background: #0f172a;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.screen-dot.red { background: #ef4444; }
.screen-dot.yellow { background: #f59e0b; }
.screen-dot.green { background: #10b981; }
.screen-title {
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.main-uts-img {
  width: 100%;
  height: auto;
  display: block;
}
.uts-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.uts-thumb-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.uts-thumb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.uts-thumb-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid #e2e8f0;
}
.uts-thumb-card span {
  padding: 6px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  background: #f8fafc;
}
@media (max-width: 768px) {
  .uts-screenshots-grid {
    grid-template-columns: 1fr;
  }
}
