@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #181715;
  --surface-color: #252320;
  --border-color: rgba(250, 249, 245, 0.12);
  --text-primary: #faf9f5;
  --text-muted: rgba(250, 249, 245, 0.6);
  --primary: #cc785c;
  --primary-hover: #a9583e;
  --primary-glow: rgba(204, 120, 92, 0.08);
  --accent-gold: #e0a96d;
  --accent-gold-glow: rgba(224, 169, 109, 0.1);
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% -20%, var(--surface-color) 0%, var(--bg-color) 70%);
  background-attachment: fixed;
}

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

.border-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 40px 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(24, 23, 21, 0.85);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

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

.nav-logo img {
  height: 22px;
  width: 22px;
  object-fit: contain;
}

.nav-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

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

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link.active::after, .nav-link:hover::after {
  transform: scaleX(1);
}

.btn-navbar {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-navbar:hover {
  background: var(--accent-gold);
  color: var(--bg-color);
}

.menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: #fff;
}

.hero-content h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

.hero-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.badge-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.download-badge:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.download-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.badge-text p {
  margin: 0;
  font-size: 8px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.badge-text h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

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

.phone-mockup {
  width: 230px;
  height: 465px;
  border-radius: 36px;
  border: 10px solid #2e2c27;
  background: #000;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-glow-blob {
  position: absolute;
  width: 280px;
  height: 280px;
  background: var(--primary-glow);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Stats Section */
.stats {
  padding: 0 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.glass-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-item {
  flex: 1;
  padding: 16px 0;
}

/* Highlights Section */
.main-highlights-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: #fff;
}

.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tab buttons */
.tab-btn {
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tab-visual:hover img {
  transform: scale(1.03);
}

/* Feature Grid Section */
.feature-grid-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(204, 120, 92, 0.08);
  border: 1px solid rgba(204, 120, 92, 0.16);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.card-hint {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: auto;
  opacity: 0.8;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.feature-card:hover .card-hint {
  transform: translateX(4px);
  color: var(--accent-gold);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 23, 21, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: 90%;
  max-width: 920px;
  max-height: 85vh;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 20px 32px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
}

.modal-close {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #fff;
}

/* Modal Body */
.modal-body {
  padding: 36px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
}

.modal-body::-webkit-scrollbar {
  width: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.modal-content-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.modal-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Spec List */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.spec-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  font-size: 13px;
  line-height: 1.5;
}

.spec-item span.label {
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.spec-item span.value {
  color: var(--text-primary);
}

.modal-content-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-preview {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  background: #181715;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bullets-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  color: var(--primary);
}

.bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullets-list li {
  font-size: 13px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bullet-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* FAQs Section */
.faq-section {
  padding: 80px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.005);
}

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

.faq-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 10px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-content {
  max-height: 500px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-content-inner {
  padding: 0 24px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Screenshots Page */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.screenshot-card .phone-mockup {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover .phone-mockup {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.screenshot-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-gold);
}

/* Footer */
.footer {
  padding: 80px 40px 40px;
  border-top: 1px solid var(--border-color);
  background: #11100e;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}

.footer-brand-title img {
  height: 20px;
  width: 20px;
}

.footer-brand p {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 48px;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content, .hero-visual, .stats-grid, .tab-content.active, .feature-grid, .faq-container, .glass-card, .screenshot-card {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-reveal {
  opacity: 1;
}

@media (max-width: 990px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .badge-container {
    justify-content: center;
  }
  
  .navbar {
    padding: 0 20px;
  }
  
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2100;
  }
  
  .menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(24, 23, 21, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 40px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: none;
  }
  
  .nav-links.active {
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  
  .modal-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
