:root {
  --bg-main: #F4F7FB;
  --bg-surface: #FFFFFF;
  --bg-surface-tint: #EDF2F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --accent-blue: #2563EB;
  --accent-purple: #7C3AED;
  --accent-orange: #EA580C;
  --accent-teal: #0D9488;
  --border-light: #E2E8F0;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #1D4ED8);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-surface-tint);
  border-color: #CBD5E1;
}

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

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.08);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero */
.hero-section {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Phone Mockup */
.hero-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background: #0F172A;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 4px solid #334155;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.app-mock-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.mock-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
}

.mock-badge {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mock-staggered-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.mock-card {
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: 0 4px 6px rgba(0,0,0,0.06);
}

.card-tall { height: 210px; }
.card-short { height: 160px; }

.mock-card-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Features */
.section-features {
  padding: 100px 0;
  background: #FFFFFF;
}

.section-heading {
  margin-bottom: 60px;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-purple);
  margin-bottom: 12px;
  display: block;
}

.section-heading h2 {
  font-size: 2.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Showcase */
.section-showcase {
  padding: 100px 0;
}

.tabs-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.showcase-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.showcase-details {
  padding: 16px;
}

.showcase-model {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-bottom: 6px;
}

.showcase-prompt-preview {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.showcase-copy-btn {
  width: 100%;
  padding: 8px;
  background: rgba(234, 88, 12, 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(234, 88, 12, 0.2);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.showcase-copy-btn:hover {
  background: var(--accent-orange);
  color: #fff;
}

/* Download Section */
.section-download {
  padding: 60px 0 100px;
}

.download-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.download-content h2 {
  font-size: 2.4rem;
  font-family: var(--font-display);
  margin-bottom: 16px;
}

.download-content p {
  color: #94A3B8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.download-buttons {
  margin-bottom: 16px;
}

.download-note {
  font-size: 0.85rem;
  color: #64748B;
}

.download-note code {
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.download-admin-notice {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px;
  border-radius: var(--radius-lg);
}

.download-admin-notice h4 {
  font-size: 1.1rem;
  color: #F8FAFC;
  margin-bottom: 8px;
}

.download-admin-notice p {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 12px;
}

.admin-disclaimer {
  font-size: 0.8rem !important;
  color: #64748B !important;
  font-style: italic;
}

/* FAQ */
.section-faq {
  padding: 80px 0;
  background: #FFFFFF;
}

.faq-container {
  max-width: 800px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-main);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #0B1120;
  color: #94A3B8;
  padding: 80px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: #FFFFFF;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: space-around;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h5 {
  color: #F8FAFC;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-col a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748B;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .download-card { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2.4rem; }
  .nav-links { display: none; }
}
