/* Main Styles for Notarra Website */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* Prevent font size adjustments on orientation change on iOS */
  -webkit-text-size-adjust: 100%;
  /* Enable smooth scrolling */
  scroll-behavior: smooth;
  /* Prevent horizontal overflow */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Prevent overscroll bounce on mobile */
  overscroll-behavior-y: none;
  /* Improve touch scrolling on iOS */
  -webkit-overflow-scrolling: touch;
  /* Prevent horizontal overflow */
  overflow-x: hidden;
  max-width: 100vw;
}

/* Touch-friendly tap targets */
button,
a,
input,
select,
textarea {
  /* Minimum 44x44 tap target on mobile */
  min-height: 44px;
  /* Remove tap highlight on mobile */
  -webkit-tap-highlight-color: transparent;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  overflow: visible;
}

/* Settings Panel Overlay */
.settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.settings-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Settings Panel */
.settings-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--secondary);
  border-left: 2px solid var(--border);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
  /* Smooth scrolling on iOS */
  -webkit-overflow-scrolling: touch;
}

.settings-panel.open {
  right: 0;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--secondary);
  z-index: 10;
}

.settings-header h2 {
  font-family: var(--font-header);
  font-size: var(--font-size-large);
  color: var(--text);
}

.close-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}

.close-btn:hover {
  background: var(--surface);
}

.settings-content {
  padding: 20px;
}

.setting-group {
  margin-bottom: 32px;
}

.setting-group h3 {
  font-family: var(--font-header);
  font-size: var(--font-size-medium);
  color: var(--text);
  margin-bottom: 16px;
}

/* Theme Options */
.theme-options,
.font-style-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.theme-btn,
.font-style-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text);
  transition: all 0.2s;
}

.theme-btn:hover,
.font-style-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-btn.active,
.font-style-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--button-text);
}

.theme-preview {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid var(--border);
}

.font-preview {
  font-size: 36px;
  font-weight: bold;
}

/* Font Size Options */
.font-size-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
}

.font-size-btn {
  flex: 1;
  min-width: 80px;
  padding: 12px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text);
  transition: all 0.2s;
}

.font-size-btn:hover {
  transform: translateY(-2px);
}

.font-size-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--button-text);
}

/* Mobile Navigation in Settings Panel */
.mobile-nav-group {
  display: none;
}

.mobile-nav-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mobile-nav-links a {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--text);
  text-decoration: none;
  padding: 12px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
  text-align: center;
}

.mobile-nav-links a:hover {
  background: var(--accent);
  color: var(--button-text);
  transform: translateX(4px);
}

/* Header */
.main-header {
  background: var(--secondary);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}


.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-header);
  font-size: var(--font-size-xlarge);
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav-links a:hover {
  color: var(--accent);
}

.settings-toggle {
  background: var(--accent);
  color: var(--button-text);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.settings-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: var(--primary);
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-header);
  font-size: 48px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-body);
  font-size: var(--font-size-regular);
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--button-text);
  border-color: var(--accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--button-text);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

.hero-badge svg {
  color: var(--accent);
}


/* Features Section */
.features {
  padding: 80px 0;
  background: var(--secondary);
  overflow: visible;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-header);
  font-size: 40px;
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.feature-card h3::after,
.accessibility-feature h3::after {
  display: none;
}

.feature-description,
.accessibility-description {
  max-height: none;
  overflow: visible;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--button-text);
}

.feature-card h3 {
  font-family: var(--font-header);
  font-size: var(--font-size-large);
  color: var(--text);
  margin-bottom: 12px;
}

.feature-card p {
  font-family: var(--font-body);
  font-size: var(--font-size-regular);
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  padding-left: 24px;
  margin-bottom: 8px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Accessibility Showcase */
.accessibility-showcase {
  padding: 80px 0;
  background: var(--primary);
  overflow: visible;
}

.accessibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.accessibility-feature {
  text-align: center;
  padding: 24px;
}

.accessibility-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.accessibility-feature h3 {
  font-family: var(--font-header);
  font-size: var(--font-size-medium);
  color: var(--text);
  margin-bottom: 8px;
}

.accessibility-feature p {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

.theme-showcase {
  margin-top: 60px;
}

.theme-showcase h3 {
  font-family: var(--font-header);
  font-size: var(--font-size-large);
  color: var(--text);
  text-align: center;
  margin-bottom: 32px;
}

.theme-previews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.theme-preview-card {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.theme-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.theme-preview-card:active {
  transform: translateY(-2px) scale(0.98);
}

.theme-preview-card.active-theme {
  border-width: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.theme-preview-card.active-theme::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: var(--button-text);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.theme-preview-header {
  padding: 16px;
  font-family: var(--font-header);
  font-size: var(--font-size-regular);
  font-weight: 600;
}

.theme-preview-body {
  padding: 16px;
  font-family: var(--font-body);
  font-size: var(--font-size-small);
}

/* Connect Section */
.connect {
  padding: 80px 0;
  background: var(--secondary);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 600px) {
  .links-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--primary);
  border: 2px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.link-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.link-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--button-text);
  border-radius: 50%;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.link-card:hover .link-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.link-card h3 {
  font-family: var(--font-header);
  font-size: var(--font-size-medium);
  color: var(--text);
  margin-bottom: 8px;
}

.link-card p {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

/* Download Section */
.download {
  padding: 80px 0;
  background: var(--secondary);
  text-align: center;
}

.download-content h2 {
  font-family: var(--font-header);
  font-size: 40px;
  color: var(--text);
  margin-bottom: 16px;
}

.download-content p {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.store-badge svg {
  width: 32px;
  height: 32px;
}

.badge-text {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-secondary);
}

.badge-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.download-note {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

/* Footer */
.main-footer {
  padding: 60px 0 30px;
  background: var(--primary);
  border-top: 2px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  font-family: var(--font-header);
  font-size: var(--font-size-medium);
  color: var(--text);
  margin-bottom: 16px;
}

.footer-section p {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid var(--border);
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    max-width: 100%;
  }

  .settings-panel {
    width: 100%;
    right: -100%;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-group {
    display: block;
  }

  .mobile-nav-links {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .hero {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 36px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: var(--font-size-regular);
  }

  .hero-buttons {
    flex-direction: row;
    gap: 12px;
  }

  .hero-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    font-size: var(--font-size-regular);
  }

  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: var(--font-size-regular);
  }

  .features {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 100%;
  }

  .feature-card {
    padding: 16px;
    min-width: 0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    user-select: none;
  }

  .feature-card h3 {
    font-size: var(--font-size-medium);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .feature-card h3::after {
    content: ' ▼';
    font-size: 0.8em;
    opacity: 0.6;
    display: inline;
  }

  .feature-card.expanded h3::after {
    content: ' ▲';
  }

  .feature-card:active {
    opacity: 0.7;
    transform: scale(0.98);
  }

  .feature-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .feature-card.expanded .feature-description {
    max-height: 500px;
  }

  .feature-card p {
    font-size: var(--font-size-small);
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top: 8px;
  }

  .feature-list {
    margin-top: 8px;
  }

  .feature-list li {
    font-size: var(--font-size-small);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .feature-icon svg {
    width: 28px;
    height: 28px;
  }

  .accessibility-showcase {
    padding: 60px 0;
  }

  .accessibility-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100%;
  }

  .accessibility-feature {
    min-width: 0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    user-select: none;
  }

  .accessibility-feature h3 {
    font-size: var(--font-size-medium);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .accessibility-feature h3::after {
    content: ' ▼';
    font-size: 0.8em;
    opacity: 0.6;
    display: inline;
  }

  .accessibility-feature.expanded h3::after {
    content: ' ▲';
  }

  .accessibility-feature:active {
    opacity: 0.7;
    transform: scale(0.98);
  }

  .accessibility-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .accessibility-feature.expanded .accessibility-description {
    max-height: 300px;
  }

  .accessibility-feature p {
    font-size: var(--font-size-small);
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top: 8px;
  }

  .accessibility-icon svg {
    width: 48px;
    height: 48px;
  }

  .theme-previews {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 100%;
  }

  .theme-preview-card {
    min-width: 0;
    overflow: hidden;
  }

  .theme-options,
  .font-style-options {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .connect {
    padding: 60px 0;
  }

  .link-card {
    padding: 20px 12px;
  }

  .link-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .link-icon svg {
    width: 24px;
    height: 24px;
  }

  .link-card h3 {
    font-size: var(--font-size-regular);
  }

  .link-card p {
    font-size: calc(var(--font-size-small) * 0.9);
  }

  .download {
    padding: 60px 0;
  }

  .download-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .store-badge {
    flex: 1;
    max-width: 180px;
    min-width: 0;
    padding: 10px 12px;
    overflow: hidden;
  }

  .store-badge svg {
    width: 24px;
    height: 24px;
  }

  .badge-text {
    font-size: calc(var(--font-size-small) * 0.7);
  }

  .badge-title {
    font-size: var(--font-size-regular);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
    max-width: 100%;
  }

  .footer-section {
    min-width: 0;
    overflow: hidden;
  }

  .footer-section ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-section p,
  .footer-section h3,
  .footer-section h4 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .main-footer {
    padding: 40px 0 20px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }



  .logo {
    font-size: 24px;
  }

  .settings-toggle {
    width: 36px;
    height: 36px;
  }

  .settings-toggle svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    padding: 40px 0 30px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: var(--font-size-small);
    margin-bottom: 24px;
  }

  .btn {
    padding: 12px 24px;
    font-size: var(--font-size-small);
  }

  .hero-badge {
    font-size: var(--font-size-small);
    padding: 6px 12px;
  }

  .hero-badge svg {
    width: 16px;
    height: 16px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .section-header p {
    font-size: var(--font-size-small);
  }

  .features,
  .accessibility-showcase,
  .download {
    padding: 40px 0;
  }

  .feature-card {
    padding: 14px;
  }

  .feature-card h3 {
    font-size: var(--font-size-medium);
  }

  .feature-card p {
    font-size: var(--font-size-small);
  }

  .feature-list li {
    font-size: var(--font-size-small);
  }

  .feature-icon {
    width: 45px;
    height: 45px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .accessibility-feature h3 {
    font-size: var(--font-size-medium);
  }

  .accessibility-feature p {
    font-size: var(--font-size-small);
  }

  .accessibility-icon svg {
    width: 40px;
    height: 40px;
  }

  .settings-header h2 {
    font-size: 20px;
  }

  .close-btn {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .setting-group h3 {
    font-size: 16px;
  }

  .theme-btn,
  .font-style-btn {
    padding: 12px;
    font-size: var(--font-size-small);
  }

  .theme-preview {
    width: 50px;
    height: 50px;
  }

  .font-preview {
    font-size: 28px;
  }

  .font-size-btn {
    min-width: 60px;
    padding: 10px 12px;
    font-size: var(--font-size-small);
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 40px 0;
  }

  .features,
  .accessibility-showcase,
  .download {
    padding: 50px 0;
  }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accessibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-previews {
    grid-template-columns: repeat(2, 1fr);
  }
}
