/* Color Palette Variables */
:root {
  --primary-color: #6C63FF;
  --primary-gradient: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
  --accent-color: #FF6584;
  --bg-color: #F5F6FA;
  --surface-color: #FFFFFF;
  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;
  --text-hint: #B0B7C3;
  --border-color: #E5E7EB;
  --radius-m: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(74, 0, 224, 0.15);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0F0F1A;
    --surface-color: #1A1A2E;
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --border-color: #374151;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

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

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

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

/* Header & Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background-color: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

/* CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-m);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(74, 0, 224, 0.25);
}

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

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

/* Sections */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8%;
  gap: 60px;
}

@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
  }
}

.hero-content {
  flex: 1;
}

.tagline {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 600px) {
  .tagline {
    font-size: 38px;
  }
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 540px;
}

@media (max-width: 968px) {
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  gap: 15px;
}

@media (max-width: 968px) {
  .hero-actions {
    justify-content: center;
  }
}

/* Device Mockup & Simulator */
.hero-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 300px;
  height: 580px;
  background-color: #000;
  border-radius: 40px;
  border: 10px solid #222;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  padding: 15px;
  color: var(--text-primary);
  font-family: sans-serif;
  overflow-y: auto;
}

.phone-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.phone-logo {
  width: 20px;
  height: 20px;
}

.phone-title {
  font-weight: 700;
  font-size: 15px;
}

/* Feature Simulator List Items */
.simulator-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-card {
  background-color: var(--surface-color);
  border-radius: var(--radius-m);
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  border-left: 4px solid var(--primary-color);
  font-size: 13px;
  animation: slideUp 0.3s ease;
  text-align: left;
}

.sim-card.link { border-left-color: #3B82F6; }
.sim-card.phone { border-left-color: #22C55E; }
.sim-card.email { border-left-color: #F59E0B; }

.sim-text {
  font-weight: 500;
  margin-bottom: 6px;
  word-break: break-all;
  color: var(--text-primary);
}

.sim-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-secondary);
}

/* Web Interactive input */
.interactive-input-card {
  width: 100%;
  max-width: 450px;
  background-color: var(--surface-color);
  border-radius: var(--radius-m);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-top: 40px;
  border: 1px solid var(--border-color);
}

.interactive-input-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.interactive-textarea {
  width: 100%;
  height: 80px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  resize: none;
  margin-bottom: 16px;
  outline: none;
}

.interactive-textarea:focus {
  border-color: var(--primary-color);
}

/* Features Grid */
.features-section {
  padding: 80px 8%;
  background-color: var(--surface-color);
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background-color: var(--bg-color);
  border-radius: var(--radius-m);
  padding: 30px;
  text-align: left;
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon-container {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-m);
  background-color: rgba(108, 99, 255, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Legals Style */
.legal-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background-color: var(--surface-color);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

@media (max-width: 868px) {
  .legal-container {
    margin: 40px 5%;
    padding: 24px;
  }
}

.legal-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.legal-content p, .legal-content ul {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul {
  margin-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background-color: var(--surface-color);
  padding: 40px 8%;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  list-style: none;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
