/* Design System - Find.to */

:root {
  /* Colors */
  --primary-blue: #1E5FAF;
  --primary-hover: #184C8C;
  --accent: #23B5AF;
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #DC2626;
  
  --bg-main: #F7F9FC;
  --bg-card: #FFFFFF;
  --border: #E5E7EB;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  
  /* Typography */
  --font-family: 'Inter', sans-serif;
  
  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  
  /* Border Radius */
  --radius-button: 12px;
  --radius-card: 16px;
  --radius-input: 12px;
  
  /* Shadows */
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-dialog: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Navigation */
.nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 20px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-links a:not(.btn-primary):not(.btn-secondary) {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 200ms;
}

.nav-links a:not(.btn-primary):not(.btn-secondary):hover {
  color: var(--text-primary);
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-button);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 200ms;
  font-size: 16px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary-blue);
  color: #FFFFFF;
  border: 2px solid var(--primary-blue);
  transition: all 200ms;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 95, 175, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--text-primary);
  border: 2px solid var(--border);
  transition: all 200ms;
}

.btn-secondary:hover {
  background: var(--bg-main);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: var(--space-8) 0;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-main) 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-6);
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

/* Phone Mockup */
.phone-mockup {
  width: 320px;
  height: 640px;
  background: var(--text-primary);
  border-radius: 32px;
  padding: 16px;
  box-shadow: var(--shadow-dialog);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}

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

.request-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
  font-size: 14px;
}

.request-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
}

.request-message {
  font-size: 18px;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.request-btn {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius-button);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* Section Styles */
section {
  padding: var(--space-8) 0;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
}

/* Problem Section */
.problem {
  background: var(--bg-card);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
}

.problem-card {
  background: var(--bg-main);
  padding: var(--space-4);
  border-radius: var(--radius-card);
  border: 2px solid var(--border);
}

.problem-quote {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.problem-context {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Solution Section */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
}

.step {
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto var(--space-2);
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.step-description {
  color: var(--text-secondary);
}

/* Industries Section */
.industries {
  background: var(--bg-card);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}

.industry-card {
  background: var(--bg-main);
  padding: var(--space-4);
  border-radius: var(--radius-card);
  text-align: center;
  border: 2px solid var(--border);
  transition: all 200ms;
}

.industry-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-card);
}

.industry-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-blue);
  margin-bottom: var(--space-2);
}

.industry-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.industry-card p {
  color: var(--text-secondary);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  padding: var(--space-4);
  border-radius: var(--radius-card);
  border: 2px solid var(--border);
  position: relative;
}

.pricing-featured {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-dialog);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: white;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-plan {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: var(--space-3);
}

.pricing-price span {
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-4);
  padding: 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  color: var(--text-primary);
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ Section */
.faq {
  background: var(--bg-card);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: var(--space-6) 0 var(--space-3);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-6);
  margin-bottom: var(--space-4);
}

.footer-brand .logo {
  color: white;
  margin-bottom: var(--space-2);
}

.footer-brand .logo-icon {
  color: var(--accent);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: var(--space-1);
  transition: color 200ms;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-3);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .nav-links {
    display: none;
  }
  
  .phone-mockup {
    width: 280px;
    height: 560px;
  }
  
  .pricing-featured {
    transform: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Manage Subscription */
.manage-subscription {
  text-align: center;
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid var(--border);
}

.manage-subscription h2 {
  font-size: 24px;
  margin-bottom: var(--space-2);
}

.manage-subscription p {
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

/* Personal Use Section */
.personal-use {
  padding: var(--space-8) 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.personal-use-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.personal-use-text h2 {
  margin-bottom: var(--space-3);
}

.personal-use-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.personal-use-features {
  list-style: none;
  margin-bottom: var(--space-4);
}

.personal-use-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-size: 16px;
}

.personal-use-features li svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.personal-use-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-preview {
  position: relative;
  width: 280px;
  height: 560px;
  background: #1F2937;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.preview-header {
  padding: var(--space-3);
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  background: white;
  border-bottom: 2px solid var(--border);
}

.preview-map {
  flex: 1;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  position: relative;
}

.preview-map::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: #4285f4;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.preview-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding: var(--space-3);
  background: white;
}

.preview-btn {
  padding: var(--space-2);
  background: var(--bg-main);
  border: 2px solid var(--border);
  border-radius: var(--radius-button);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .personal-use-content {
    grid-template-columns: 1fr;
  }
  
  .personal-use-visual {
    order: -1;
  }
  
  .phone-preview {
    width: 240px;
    height: 480px;
  }
}

/* Offline View */
.offline-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  padding: var(--space-4);
}

.offline-view.hidden {
  display: none;
}

.offline-content {
  text-align: center;
  max-width: 500px;
}

.offline-wifi-icon {
  width: 80px;
  height: 80px;
  color: var(--warning);
  margin-bottom: var(--space-4);
}

.offline-content h1 {
  font-size: 36px;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.offline-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

#online-view.hidden {
  display: none;
}

/* Offline View */
.offline-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  padding: var(--space-4);
}

.offline-view.hidden {
  display: none;
}

.offline-content {
  text-align: center;
  max-width: 500px;
}

.offline-wifi-icon {
  width: 80px;
  height: 80px;
  color: var(--warning);
  margin-bottom: var(--space-4);
}

.offline-content h1 {
  font-size: 36px;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.offline-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

#online-view.hidden {
  display: none;
}
