/* ==========================================================================
   AJAS Developers - Official Website Stylesheet
   Domain: https://ajasdevelopers.in
   Design: Bright, Elegant, Premium Light Developer Aesthetic
   ========================================================================== */

/* --- CSS Variables & Theme (Bright Light Palette) --- */
:root {
  /* Backgrounds */
  --bg-main: #FFFFFF;
  --bg-section-alt: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.9);

  /* Borders & Shadows */
  --border-color: #E2E8F0;
  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-highlight: rgba(37, 99, 235, 0.3);
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 40px -6px rgba(37, 99, 235, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);

  /* Accent Colors */
  --accent-blue: #2563EB;
  --accent-indigo: #4F46E5;
  --accent-violet: #7C3AED;
  --accent-sky: #0284C7;
  --accent-glow: rgba(37, 99, 235, 0.08);

  /* Text Colors */
  --text-main: #0F172A;     /* Deep navy for headings */
  --text-body: #334155;     /* Dark charcoal/slate for body text */
  --text-muted: #475569;    /* Slate for secondary text */
  --text-dim: #64748B;      /* Dimmed slate */

  /* Typography & Radius */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.section-alt {
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--accent-blue);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
  transition: opacity var(--transition-fast);
}

.nav-brand:hover {
  opacity: 0.9;
}

.brand-icon-wrapper {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-link.active {
  color: var(--accent-blue);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--accent-blue);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: #F1F5F9;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -2px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: #F1F5F9;
  color: var(--text-main);
  border: 1px solid #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #94A3B8;
  transform: translateY(-2px);
}

.btn-outline {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-muted);
}

.btn-outline:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  background: #EFF6FF;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(219, 234, 254, 0.6) 0%, rgba(238, 242, 255, 0.35) 45%, rgba(255, 255, 255, 0) 75%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.45rem 1.1rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1D4ED8;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 0.6; transform: scale(0.95); }
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #1D4ED8 0%, #4F46E5 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 0.25rem;
}

.hero-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero Visual Graphic (Bright Sleek Device Frame) */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.6) 0%, rgba(224, 231, 255, 0.35) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.device-frame {
  position: relative;
  z-index: 1;
  width: 300px;
  min-height: 590px;
  background: #FFFFFF;
  border: 10px solid #E2E8F0;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12),
              0 0 0 1px rgba(203, 213, 225, 0.6),
              inset 0 0 10px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.device-camera-notch {
  width: 90px;
  height: 20px;
  background: #E2E8F0;
  margin: 0 auto;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.device-lens {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94A3B8;
}

.device-speaker {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: #CBD5E1;
}

.device-screen {
  flex: 1;
  padding: 0.875rem;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  gap: 0.5rem;
}

/* Mock App UI on Screen */
.mock-app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #E2E8F0;
}

.mock-app-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1D4ED8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mock-app-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #4F46E5;
  margin-top: 0.2rem;
  letter-spacing: -0.01em;
}

.mock-app-status {
  font-size: 0.6rem;
  color: #059669;
  font-weight: 700;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.mock-app-desc {
  font-size: 0.7rem;
  color: #334155;
  line-height: 1.45;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.7rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.mock-photo-viewport {
  width: 100%;
  height: 180px;
  background: #EFF6FF;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  border: 1px solid #BFDBFE;
  background-image: radial-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 0);
  background-size: 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.625rem;
}

.mock-gps-stamp {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #BFDBFE;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  color: #0F172A;
  line-height: 1.35;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.mock-stamp-line {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #1D4ED8;
  font-weight: 600;
}

.mock-map-thumbnail {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.mock-app-controls {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 0.75rem;
}

.mock-shutter-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.mock-shutter-inner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
}

/* Floating Badges around device */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid #E2E8F0;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: 15%;
  left: -20px;
}

.floating-badge-2 {
  bottom: 18%;
  right: -15px;
  animation-delay: 2s;
}

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

/* --- Apps Section --- */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.app-card-upcoming {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
  border: 1px dashed #CBD5E1;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-indigo));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: #BFDBFE;
  box-shadow: var(--shadow-hover);
}

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

.app-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.app-icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #EFF6FF 0%, #E0E7FF 100%);
  border: 1px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.app-icon-upcoming {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: var(--text-dim) !important;
  box-shadow: none !important;
}

.app-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.app-badge-upcoming {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.app-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-badge {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* App Screenshots Preview */
.app-screenshots-wrapper {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #E2E8F0;
}

.screenshots-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .screenshots-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 240px;
    margin: 0 auto;
  }
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.screenshot-device {
  width: 100%;
  max-width: 180px;
  height: 240px;
  background: #FFFFFF;
  border: 4px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.screenshot-device:hover {
  transform: translateY(-3px);
  border-color: #BFDBFE;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.screenshot-user-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  border-radius: 14px;
}

.screenshot-notch {
  width: 36px;
  height: 5px;
  background: #CBD5E1;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.screenshot-screen {
  flex: 1;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  background: #F8FAFC;
  gap: 0.35rem;
}

.screenshot-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #1D4ED8;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #E2E8F0;
}

.screenshot-status {
  font-size: 0.525rem;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 0.05rem 0.35rem;
  border-radius: var(--radius-pill);
}

.screenshot-viewport {
  flex: 1;
  background: #EFF6FF;
  border-radius: var(--radius-sm);
  border: 1px solid #BFDBFE;
  position: relative;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-map-pin {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  padding: 0.15rem;
  border-radius: 4px;
}

.screenshot-stamp {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #CBD5E1;
  padding: 0.3rem;
  border-radius: 4px;
  font-size: 0.525rem;
  line-height: 1.35;
}

.stamp-line-bold {
  font-weight: 700;
  color: #1D4ED8;
}

.stamp-line-sub {
  color: #64748B;
  font-size: 0.48rem;
}

.screenshot-controls {
  display: flex;
  justify-content: center;
  padding-top: 0.15rem;
}

.mini-shutter {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #2563EB;
  background: radial-gradient(circle, #3B82F6 40%, transparent 45%);
}

.screenshot-settings-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 0.28rem 0.35rem;
  border-radius: 4px;
  font-size: 0.55rem;
  color: #334155;
  font-weight: 500;
}

.mini-toggle {
  width: 16px;
  height: 9px;
  background: #2563EB;
  border-radius: 10px;
  position: relative;
}

.mini-toggle::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  width: 7px;
  height: 7px;
  background: #FFFFFF;
  border-radius: 50%;
}

.mini-pill {
  font-size: 0.48rem;
  background: #EFF6FF;
  color: #2563EB;
  padding: 0.08rem 0.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.screenshot-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.gallery-item {
  height: 52px;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: 4px;
  padding: 0.2rem;
  display: flex;
  align-items: flex-end;
}

.gallery-item.item-1 { background: #EFF6FF; border-color: #BFDBFE; }
.gallery-item.item-2 { background: #ECFDF5; border-color: #A7F3D0; }
.gallery-item.item-3 { background: #FFFBEB; border-color: #FDE68A; }
.gallery-item.item-4 { background: #F3E8FF; border-color: #DDD6FE; }

.item-tag {
  font-size: 0.45rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.08rem 0.2rem;
  border-radius: 2px;
  color: #1E293B;
}

.screenshot-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-body);
  text-align: center;
}

.feature-badge svg {
  color: var(--accent-blue);
}

/* --- About Section --- */
.about-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Developer Profile Cards */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 640px) {
  .developers-grid {
    grid-template-columns: 1fr;
  }
}

.developer-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.developer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-blue);
  opacity: 0.8;
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  transition: opacity var(--transition-fast), width var(--transition-fast);
}

.developer-card:hover {
  transform: translateY(-3px);
  border-color: #BFDBFE;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.12);
}

.developer-card:hover::before {
  width: 6px;
  opacity: 1;
}

.developer-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 2px solid #BFDBFE;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.developer-card:hover .developer-avatar {
  transform: scale(1.05);
}

.developer-initial {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--accent-blue);
  color: #FFFFFF;
  font-size: 0.625rem;
  font-weight: 800;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.developer-info {
  display: flex;
  flex-direction: column;
}

.developer-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.developer-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-feature-item {
  background: #FFFFFF;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.about-feature-item:hover {
  transform: translateY(-2px);
  border-color: #BFDBFE;
}

.about-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
}

.about-feature-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.about-feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Support Section --- */
.support-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.support-icon-wrap {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.email-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 1rem;
  color: #1D4ED8;
  font-weight: 600;
  margin: 1.5rem 0 2rem 0;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

/* --- Privacy Section Callout Cards --- */
.legal-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.legal-card:hover {
  border-color: #BFDBFE;
  transform: translateY(-3px);
  background: #F8FAFC;
  box-shadow: var(--shadow-hover);
}

/* --- Legal Page Standard Styles (Privacy & Disclaimer) --- */
.legal-page-header {
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
}

.legal-content {
  padding-top: 3rem;
  padding-bottom: 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-content p, .legal-content ul {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* --- Footer --- */
.footer {
  background: #F1F5F9;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  margin-top: auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #CBD5E1;
}

.footer-brand {
  max-width: 400px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  list-style: none;
}

.footer-link {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  sm-flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.developer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

/* --- Responsive Media Queries --- */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3.25rem;
  }
  .apps-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .mobile-toggle {
    display: none;
  }
}

@media (max-width: 1023px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    align-items: flex-start;
    display: none;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .floating-badge-1 {
    left: 0;
  }
  .floating-badge-2 {
    right: 0;
  }
}
