/* ============================================
   ApplYn — Mobile App Development Studio
   Professional website styles
   ============================================ */

:root {
  --color-bg: #0a0a0f;
  --color-bg-elevated: #12121a;
  --color-bg-card: #16161f;
  --color-bg-card-hover: #1c1c28;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);

  --color-text: #f0f0f5;
  --color-text-muted: #8b8b9e;
  --color-text-subtle: #5c5c6f;

  --color-primary: #6366f1;
  --color-primary-light: #818cf8;
  --color-primary-dark: #4f46e5;
  --color-accent: #06b6d4;
  --color-accent-green: #10b981;
  --color-accent-orange: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99, 102, 241, 0.25), transparent);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);

  --header-height: 72px;
  --container-max: 1200px;
  --section-padding: 100px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-hover);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-nav {
  padding: 10px 22px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(10, 10, 15, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  font-size: 18px;
  color: white;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
}

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--header-height) + 60px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--color-text);
  font-weight: 600;
}

.stat-number.stat-text {
  font-size: 1.4rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Hero phones */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 20px;
  height: 340px;
  z-index: 1;
}

.phone {
  width: 200px;
  height: 400px;
  background: #1a1a24;
  border-radius: 32px;
  border: 3px solid #2a2a38;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.phone-left {
  transform: rotate(-8deg) translateY(40px);
  z-index: 1;
}

.phone-center {
  transform: translateY(-20px);
  z-index: 3;
  width: 220px;
  height: 440px;
}

.phone-right {
  transform: rotate(8deg) translateY(40px);
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.app-preview {
  width: 100%;
  height: 100%;
}

.app-preview-be-better {
  background: linear-gradient(160deg, #6366f1 0%, #4f46e5 50%, #3730a3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-content {
  text-align: center;
}

.preview-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin: 0 auto 12px;
}

.preview-name {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: white;
}

/* ---- Be Better Feature ---- */
.be-better {
  background: var(--color-bg-elevated);
}

.be-better-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.be-better-content .section-title {
  text-align: left;
  margin-bottom: 8px;
}

.be-better-tagline {
  font-size: 1.15rem;
  color: var(--color-primary-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.be-better-desc {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.be-better-features {
  margin-bottom: 32px;
}

.be-better-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.be-better-features svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent-green);
  flex-shrink: 0;
}

.be-better-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.launch-badge {
  display: inline-flex;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-light);
}

.be-better-mockup {
  background: #1a1a24;
  border-radius: 32px;
  border: 3px solid #2a2a38;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  margin: 0 auto;
}

.mockup-screen {
  background: linear-gradient(180deg, #1e1b4b 0%, #0f0f17 100%);
  border-radius: 24px;
  padding: 28px 20px;
  min-height: 420px;
}

.mockup-header {
  margin-bottom: 28px;
}

.mockup-greeting {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mockup-date {
  font-size: 13px;
  color: var(--color-text-muted);
}

.mockup-streak {
  text-align: center;
  padding: 24px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.streak-count {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
}

.streak-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.mockup-habits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.habit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--color-text-muted);
}

.habit-item.done {
  color: var(--color-text);
}

.habit-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-border-hover);
  font-size: 11px;
  flex-shrink: 0;
}

.habit-item.done .habit-check {
  background: var(--color-accent-green);
  border-color: var(--color-accent-green);
  color: white;
}

/* ---- Sections ---- */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-card {
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.about-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.about-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.about-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary-light);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---- Services ---- */
.services {
  background: var(--color-bg-elevated);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, var(--color-bg-card) 100%);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-platform {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.service-platform svg {
  width: 28px;
  height: 28px;
}

.service-platform.android {
  background: rgba(61, 220, 132, 0.15);
  color: #3ddc84;
}

.service-platform.ios {
  background: rgba(255, 255, 255, 0.1);
  color: #f0f0f5;
}

.service-platform.both {
  background: rgba(99, 102, 241, 0.15);
  color: var(--color-primary-light);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-green);
  font-weight: 700;
  font-size: 12px;
}

/* ---- Apps Portfolio ---- */
.apps-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.app-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.app-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.app-card.hidden {
  display: none;
}

.app-card-header {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.app-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.status-launching {
  background: rgba(99, 102, 241, 0.9);
  color: white;
}

.status-coming-soon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text-muted);
  backdrop-filter: blur(8px);
}

.status-live {
  background: rgba(16, 185, 129, 0.9);
  color: white;
}

.app-card-featured {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-glow);
}

.app-waitlist-link {
  width: 100%;
  justify-content: center;
}

.app-card-gradient {
  width: 100%;
  height: 100%;
}

.app-card-icon {
  position: absolute;
  bottom: -28px;
  left: 24px;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: white;
  border: 4px solid var(--color-bg-card);
  box-shadow: var(--shadow-md);
}

.app-card-body {
  padding: 40px 24px 24px;
}

.app-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.app-category {
  font-size: 13px;
  color: var(--color-primary-light);
  font-weight: 500;
  margin-bottom: 12px;
}

.app-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.app-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.app-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-subtle);
}

.app-meta-item svg {
  width: 14px;
  height: 14px;
}

.app-platforms {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.platform-tag.android {
  background: rgba(61, 220, 132, 0.12);
  color: #3ddc84;
}

.platform-tag.ios {
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
}

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

.app-store-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.app-store-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  border-color: var(--color-border-hover);
}

.app-store-link svg {
  width: 16px;
  height: 16px;
}

/* ---- Process ---- */
.process {
  background: var(--color-bg-elevated);
}

.process-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 28px;
  padding-bottom: 48px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary-light);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-top: 14px;
}

.step-content p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---- Roadmap ---- */
.roadmap {
  background: var(--color-bg-elevated);
}

.roadmap-grid {
  max-width: 640px;
  margin: 0 auto;
}

.roadmap-item {
  display: flex;
  gap: 24px;
}

.roadmap-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
  padding-top: 6px;
}

.roadmap-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 2px solid var(--color-text-subtle);
  flex-shrink: 0;
}

.roadmap-item.active .roadmap-dot {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.roadmap-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: var(--color-border);
  margin: 8px 0;
}

.roadmap-content {
  padding-bottom: 40px;
}

.roadmap-phase {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-light);
  margin-bottom: 6px;
}

.roadmap-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.roadmap-content p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.roadmap-item.active .roadmap-content h3 {
  color: var(--color-text);
}

/* ---- Testimonials (legacy, kept for reference) ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.stars {
  color: var(--color-accent-orange);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
}

.testimonial-card footer span {
  font-size: 13px;
  color: var(--color-text-subtle);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--color-text-subtle);
  margin-bottom: 2px;
}

.contact-item a {
  color: var(--color-text);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--color-primary-light);
}

.store-badges-label {
  font-size: 13px;
  color: var(--color-text-subtle);
  margin-bottom: 12px;
}

.badges-row {
  display: flex;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

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

.store-badge svg {
  width: 20px;
  height: 20px;
}

.contact-form {
  padding: 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-subtle);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-subtle);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 40px;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--color-accent-green);
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-muted);
  font-size: 14px;
}

/* ---- Footer ---- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

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

.footer-brand p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-subtle);
}

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

.footer-legal a {
  font-size: 13px;
  color: var(--color-text-subtle);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--color-text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-phones {
    height: 320px;
  }

  .phone {
    width: 150px;
    height: 300px;
  }

  .phone-center {
    width: 170px;
    height: 340px;
  }

  .be-better-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .be-better-content .section-title {
    text-align: center;
  }

  .be-better-actions {
    justify-content: center;
  }

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

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

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

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
  }

  .nav-links .btn-nav {
    text-align: center;
    margin-top: 8px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .hero-phones {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .apps-filter {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
