@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
  --bg-color: #0C0C1E;
  --panel-bg: #14142B;
  --card-bg: #1E1E38;
  --primary-gradient: linear-gradient(135deg, #FF3D00 0%, #FF9100 100%);
  --teal-gradient: linear-gradient(135deg, #00D8FF 0%, #00FFD8 100%);
  --accent-color: #FF3D00;
  --teal-color: #00D8FF;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.08);
  --glow-shadow: 0 8px 32px 0 rgba(255, 61, 0, 0.25);
  --teal-glow: 0 8px 32px 0 rgba(0, 216, 255, 0.2);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(12, 12, 30, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 61, 0, 0.4);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-weight: 600;
}

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

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

.nav-btn {
  background: var(--primary-gradient);
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--glow-shadow);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 61, 0, 0.4);
}

.mobile-only {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-btn {
    display: none; /* Hide desktop top-right button */
  }

  .mobile-only {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(12, 12, 30, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 1050;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active {
    transform: translateY(0);
  }
}

/* Sections Layout */
.section {
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  min-height: 90vh;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.play-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 12px 28px;
  border-radius: 16px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.play-store-btn img {
  width: 24px;
  height: 24px;
}

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

.phone-mockup {
  width: 280px;
  height: 570px;
  background-color: #080812;
  border: 8px solid #27273F;
  border-radius: 40px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 216, 255, 0.15);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

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

.phone-mockup-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #1E1E38 0%, #080812 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.phone-mockup-placeholder img.app-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(255, 61, 0, 0.3);
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 61, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  top: 10%;
  z-index: 1;
}

/* Feature Grid Cards */
.feature-title {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

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

.card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 216, 255, 0.3);
  box-shadow: var(--teal-glow);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 216, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-color);
  font-size: 28px;
  margin-bottom: 28px;
}

.card.orange-theme .card-icon {
  background: rgba(255, 61, 0, 0.1);
  color: var(--accent-color);
}

.card.orange-theme:hover {
  border-color: rgba(255, 61, 0, 0.3);
  box-shadow: var(--glow-shadow);
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

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

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--teal-color);
}

.card.orange-theme .card-link {
  color: var(--accent-color);
}

/* Page Showcase Visual Layout */
.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.showcase-block:nth-child(even) {
  direction: rtl;
}

.showcase-block:nth-child(even) .showcase-text {
  direction: ltr;
}

.showcase-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 18px;
}

.showcase-text p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.showcase-visual {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 24px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-visual img {
  max-width: 100%;
  border-radius: 16px;
}

.screenshot-placeholder {
  width: 100%;
  height: 320px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
}

.screenshot-placeholder i {
  font-size: 40px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.2);
}

/* Footer Section */
footer {
  background-color: #080814;
  border-top: 1px solid var(--border-color);
  padding: 60px 24px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.footer-links h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  color: var(--text-secondary);
  font-size: 13px;
}

/* Responsive Grid styling */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .showcase-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .showcase-block:nth-child(even) {
    direction: ltr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
