/* ============================================
   Trinity Web - Professional Design System
   Color Scheme:
   - Primary/CTA: #163027 (Dark Green)
   - Accent: #f67916 (Orange)
   - Background: White
   - Dividers: Light Gray
   ============================================ */

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

:root {
  /* Primary Colors */
  --primary: #163027;
  --primary-light: #1e4035;
  --primary-dark: #0e1f1a;

  /* Accent Colors */
  --accent: #f67916;
  --accent-light: #ff9a4d;
  --accent-dark: #d86000;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;

  /* Semantic Colors */
  --success: #2e7d32;
  --success-light: #e8f5e9;
  --error: #c62828;
  --error-light: #ffebee;
  --warning: #f57c00;
  --warning-light: #fff3e0;
  --info: #1565c0;
  --info-light: #e3f2fd;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   Navigation Bar
   ============================================ */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

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

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  background: transparent;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.nav-link:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.nav-link-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.nav-link-primary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-link-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.nav-link-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(246, 121, 22, 0.3);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  padding-top: 72px;
}

/* ============================================
   Hero Section (Landing Page)
   ============================================ */
.hero-section {
  background: var(--white);
  padding: 80px 32px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--gray-900);
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-app-preview {
  position: relative;
  width: 320px;
}

.hero-app-preview img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* Device Showcase */
.device-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  position: relative;
}

/* iPad Frame */
.device-ipad {
  position: relative;
  z-index: 1;
  background: #1a1a1a;
  border-radius: 20px;
  padding: 14px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.device-ipad::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #333;
  border-radius: 50%;
}

.device-ipad img {
  display: block;
  width: 320px;
  height: auto;
  border-radius: 8px;
}

/* iPhone Frame */
.device-iphone {
  position: relative;
  z-index: 2;
  margin-left: -40px;
  margin-bottom: 10px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 10px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.device-iphone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: #0a0a0a;
  border-radius: 12px;
  z-index: 10;
}

.device-iphone img {
  display: block;
  width: 140px;
  height: auto;
  border-radius: 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 48, 39, 0.25);
}

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

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(246, 121, 22, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--gray-300);
}

.btn-outline:hover {
  background: var(--gray-100);
  border-color: var(--primary);
}

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

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
  padding: 100px 32px;
  background: var(--gray-50);
}

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

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.6;
}

.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid var(--gray-200);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon.primary {
  background: rgba(22, 48, 39, 0.1);
  color: var(--primary);
}

.feature-icon.accent {
  background: rgba(246, 121, 22, 0.1);
  color: var(--accent);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 80px 32px;
  background: var(--primary);
  text-align: center;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 32px;
  text-align: center;
}

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

.footer p {
  font-size: 14px;
  color: var(--gray-400);
}

/* ============================================
   Form Styles
   ============================================ */
.page-content {
  min-height: calc(100vh - 72px);
  padding: 60px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
}

.form-container {
  width: 100%;
  max-width: 480px;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-header {
  text-align: center;
  margin-bottom: 36px;
}

.form-header img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.form-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 15px;
  color: var(--gray-600);
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.required {
  color: var(--error);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 48, 39, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-submit:hover:not(:disabled) {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 48, 39, 0.25);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   Alert Messages
   ============================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.alert-success {
  background: var(--success-light);
  color: var(--success);
  border-left: 4px solid var(--success);
}

.alert-error {
  background: var(--error-light);
  color: var(--error);
  border-left: 4px solid var(--error);
}

.alert-info {
  background: var(--info-light);
  color: var(--info);
  border-left: 4px solid var(--info);
}

.alert-warning {
  background: var(--warning-light);
  color: var(--warning);
  border-left: 4px solid var(--warning);
}

/* ============================================
   Loading Spinner
   ============================================ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   Admin Dashboard Layout
   ============================================ */
.admin-layout {
  display: none;
  min-height: calc(100vh - 72px);
}

.admin-sidebar {
  position: fixed;
  left: 0;
  top: 72px;
  bottom: 0;
  width: 280px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.admin-sidebar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.admin-user-email {
  font-size: 14px;
  color: var(--gray-700);
  word-break: break-all;
}

.admin-nav {
  list-style: none;
  flex: 1;
}

.admin-nav-item {
  margin-bottom: 4px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.admin-nav-link:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.admin-nav-link.active {
  background: var(--primary);
  color: var(--white);
}

.admin-nav-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.admin-nav-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 16px 0;
}

.admin-content {
  margin-left: 280px;
  padding: 32px;
  background: var(--gray-50);
  min-height: calc(100vh - 72px);
}

.admin-page-header {
  margin-bottom: 32px;
}

.admin-page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.admin-page-description {
  font-size: 15px;
  color: var(--gray-600);
}

/* Admin Cards */
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.admin-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.admin-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-card-icon.primary {
  background: rgba(22, 48, 39, 0.1);
  color: var(--primary);
}

.admin-card-icon.accent {
  background: rgba(246, 121, 22, 0.1);
  color: var(--accent);
}

.admin-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.admin-card-subtitle {
  font-size: 14px;
  color: var(--gray-600);
}

/* Google Sheet Link Box */
.gsheet-link-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.gsheet-link-icon {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gsheet-link-info {
  flex: 1;
}

.gsheet-link-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.gsheet-link-url {
  font-size: 13px;
  color: #0f9d58;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.gsheet-link-url:hover {
  text-decoration: underline;
}

/* Form Section Headers */
.form-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-section-title svg {
  color: var(--primary);
}

.form-section-desc {
  font-size: 13px;
  color: var(--gray-500);
  margin-left: 30px;
}

/* Verification Status */
.verification-status {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-size: 14px;
}

.verification-status .status-loading {
  color: var(--gray-600);
}

.verification-status .status-success {
  color: var(--success);
  font-weight: 600;
}

.verification-status .status-error {
  color: var(--error);
  font-weight: 500;
}

.verification-status.status-success-box {
  background: var(--success-light);
  border: 1px solid var(--success);
}

.verification-status.status-error-box {
  background: var(--error-light);
  border: 1px solid var(--error);
}

.verified-info {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(46, 125, 50, 0.2);
}

.verified-info p {
  margin: 0;
  color: var(--gray-800);
}

.verified-info .verified-detail {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 4px;
}

/* File Upload Area */
.file-upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  margin-bottom: 24px;
}

.file-upload-area:hover {
  border-color: var(--primary);
  background: rgba(22, 48, 39, 0.02);
}

.file-upload-area.dragover {
  border-color: var(--primary);
  background: rgba(22, 48, 39, 0.05);
}

.upload-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--gray-400);
}

.upload-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.upload-hint {
  font-size: 13px;
  color: var(--gray-500);
}

.file-input {
  display: none;
}

/* Selected File */
.selected-file {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.file-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.file-info {
  flex: 1;
}

.file-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}

.file-size {
  font-size: 12px;
  color: var(--gray-500);
}

.btn-remove-file {
  padding: 8px;
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.btn-remove-file:hover {
  color: var(--error);
  background: var(--error-light);
}

/* Recent Uploads List */
.recent-uploads-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload-record {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.upload-record-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.upload-record-info p {
  font-size: 12px;
  color: var(--gray-500);
}

.upload-record-meta {
  text-align: right;
}

.upload-record-meta p {
  font-size: 12px;
  color: var(--gray-500);
}

/* Logout Button */
.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  color: var(--error);
  border: 1px solid var(--error);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 20px;
}

.btn-logout:hover {
  background: var(--error);
  color: var(--white);
}

/* Admin Section Hide/Show */
.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table thead {
  background: var(--gray-100);
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.data-table th {
  font-weight: 600;
  color: var(--gray-700);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

/* Password Strength */
.password-strength {
  margin-top: 8px;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  display: none;
}

.password-strength-bar {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-weak {
  width: 33%;
  background: var(--error);
}

.strength-medium {
  width: 66%;
  background: var(--warning);
}

.strength-strong {
  width: 100%;
  background: var(--success);
}

/* Password Toggle */
.password-input-wrapper {
  position: relative;
  width: 100%;
}

.password-input-wrapper .form-input {
  width: 100%;
  padding-right: 50px;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  border-radius: var(--radius-sm);
  z-index: 2;
}

.password-toggle:hover {
  color: var(--primary);
  background: var(--gray-100);
}

.password-toggle:focus {
  outline: none;
  color: var(--primary);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

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

  .hero-image {
    order: -1;
  }

  .device-showcase {
    transform: scale(0.9);
  }

  .device-ipad img {
    width: 280px;
  }

  .device-iphone img {
    width: 120px;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

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

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-sidebar {
    width: 240px;
  }

  .admin-content {
    margin-left: 240px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 16px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-link {
    padding: 10px 14px;
    font-size: 13px;
  }

  .nav-link svg {
    width: 18px;
    height: 18px;
  }

  .hero-section {
    padding: 60px 20px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .features-section {
    padding: 60px 20px;
  }

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

  .section-title {
    font-size: 28px;
  }

  .form-container {
    padding: 32px 24px;
  }

  .admin-sidebar {
    position: fixed;
    left: -280px;
    width: 280px;
    transition: left 0.3s ease;
    z-index: 100;
  }

  .admin-sidebar.open {
    left: 0;
  }

  .admin-content {
    margin-left: 0;
    padding: 20px;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    margin-bottom: 20px;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  .mobile-overlay.active {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .device-showcase {
    transform: scale(0.7);
    margin-bottom: -40px;
  }

  .nav-link span {
    display: none;
  }
}
