:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F7F9;
  --bg-tertiary: #F0F0F3;
  
  --text-primary: #1F1F22;
  --text-secondary: #6E6E77;
  --text-tertiary: #A1A1A8;
  
  --accent-primary: #FF4B3A; 
  --accent-primary-hover: #FA5E50;
  --accent-secondary: #FB9300; 
  
  --font-main: 'Poppins', sans-serif;
  
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

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

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

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

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

/* Navbar */
.navbar {
  padding: 20px 0;
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 75, 58, 0.3);
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 75, 58, 0.4);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
}

/* Hero Section */
.hero {
  padding: 100px 0 120px;
  background: radial-gradient(circle at 15% 50%, rgba(255, 75, 58, 0.04), transparent 50%),
              radial-gradient(circle at 85% 30%, rgba(251, 147, 0, 0.04), transparent 50%),
              var(--bg-primary);
  overflow: hidden;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1.2;
}

.hero-text h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #1F1F22 0%, #4A4A52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.7;
}

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

.version-info {
  font-size: 13px !important;
  color: var(--text-tertiary);
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  gap: 6px;
}
.version-info::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #34C759;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.2);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.mockup-wrapper {
  position: relative;
  z-index: 10;
}

.mockup-frame {
  width: 320px;
  height: 660px;
  background: #111;
  border-radius: 48px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12),
              inset 0 0 0 2px #333,
              inset 0 0 0 6px #000;
  position: relative;
  z-index: 2;
}

.notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #111;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 5;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  opacity: 0.6;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 75, 58, 0.3);
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
}

.blob-2 {
  width: 250px;
  height: 250px;
  background: rgba(251, 147, 0, 0.25);
  bottom: -40px;
  left: -40px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 80px 24px;
}

.feature-card {
  background: var(--bg-primary);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid var(--bg-tertiary);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 75, 58, 0.1);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Support Page */
.support-page {
  padding: 60px 24px;
  min-height: 70vh;
}

.support-header {
  text-align: center;
  margin-bottom: 60px;
}

.support-header h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.support-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

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

.faq-section h2 {
  font-size: 28px;
  margin-bottom: 32px;
  text-align: center;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
}

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

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 32px;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-card {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: var(--radius-lg);
  min-width: 300px;
}

.contact-card svg {
  width: 48px;
  height: 48px;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 60px 0 20px;
  border-top: 1px solid var(--bg-tertiary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text h1 {
    font-size: 40px;
  }
  
  .hero-text p {
    margin: 0 auto 32px;
  }
  
  .download-buttons {
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Modal & Contact Form */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  animation: slideUp 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-secondary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s;
}

.close-btn:hover {
  background: var(--bg-tertiary);
  transform: rotate(90deg);
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: #111;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--bg-primary);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(255, 75, 58, 0.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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