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

:root {
  --primary: #007aff;
  --primary-dark: #0056b3;
  --secondary: #1d1d1f;
  --secondary-light: #424245;
  --surface: #ffffff;
  --background: #fbfbfd;
  --border: rgba(0, 0, 0, 0.1);
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);

  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

section {
  padding: 100px 5%;
}

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

/* ================== Navbar ================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 15px 5%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.logo-icon {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.footer-icon {
  height: 60px;
}

.logo-main {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -0.5px;
  transition: var(--transition);
  line-height: 1;
}

.logo-main span {
  color: var(--primary);
}

.logo-sub {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 2px;
  transition: var(--transition);
}

.navbar.scrolled .logo-main {
  color: var(--secondary);
}

.navbar.scrolled .logo-sub {
  color: var(--text-secondary);
}

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

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

/* ================== Hero Section ================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ffffff, #5ac8fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-headline {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-wrap: balance;
  background: linear-gradient(to right, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
  opacity: 0.9;
}

.hero-subtext {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 16px;
  color: #d1d1d6;
  text-wrap: balance;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-support {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: #a1a1a6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================== Trust Line Section ================== */
.trust-line {
  padding: 60px 5%;
  background: var(--background);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.trust-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 48px;
  height: 48px;
}

.trust-content p {
  font-size: 1.15rem;
  color: var(--secondary);
  line-height: 1.5;
  margin: 0;
  max-width: 700px;
}

/* ================== Why It Matters Section ================== */
.why-matters {
  background: var(--background);
  padding: 100px 5%;
}

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

.matter-tile {
  background: var(--surface);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.matter-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.matter-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.matter-tile h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.matter-tile p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ================== Screenshot Section ================== */
.screenshot-section {
  background: #000;
  color: #fff;
  padding: 120px 5%;
  overflow: hidden;
}

.screenshot-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.screenshot-text {
  flex: 1;
}

.screenshot-text h2 {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.screenshot-text p {
  font-size: 1.3rem;
  color: #a1a1a6;
  line-height: 1.6;
}

.screenshot-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.app-screenshot {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.app-screenshot:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Store Badge Styles */
.store-badge {
  display: inline-flex;
  align-items: center;
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  height: 54px;
}

.store-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
}

.store-badge svg {
  height: 28px;
  margin-right: 12px;
}

.store-badge .text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.store-badge .small {
  font-size: 0.65rem;
  line-height: 1;
  margin-bottom: 2px;
}

.store-badge .large {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 0 24px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 1rem;
  height: 54px;
  transition: var(--transition);
}

.secondary-button svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* ================== Product Summary ================== */
.summary-section {
  text-align: center;
  background: var(--surface);
  position: relative;
  z-index: 10;
  margin-top: -20px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
  padding: 100px 5%;
}

.summary-text {
  font-size: 1.75rem;
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5;
  color: var(--secondary);
  font-family: 'Outfit', sans-serif;
}

.highlight {
  color: var(--primary);
}

/* ================== Features Grid ================== */
.features-section {
  background-color: var(--background);
}

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

.section-header h2 {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-top: auto;
}

/* ================== How It Works ================== */
.how-it-works {
  background-color: var(--surface);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  position: relative;
}

/* Line connecting steps */
.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, #ddd, #ddd);
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: 0 10px 20px rgba(0, 122, 255, 0.1);
  font-family: 'Outfit', sans-serif;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.step p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ================== About Section ================== */
.about-section {
  background-color: var(--secondary);
  color: #fff;
  border-radius: 40px;
  margin: 80px 5% 100px 5%;
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background blob */
.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.about-content p {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.8);
}

/* ================== Contact Section ================== */
.contact-section {
  background-color: var(--background);
}

.contact-container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

.contact-email svg {
  margin-right: 12px;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-form {
  flex: 1;
  background: var(--surface);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--secondary-light);
}

.form-control {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--background);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background-color: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--primary-dark);
}

/* ================== Footer ================== */
.footer {
  background-color: #000;
  color: #fff;
  padding: 80px 5% 40px;
}

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

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
  text-decoration: none;
  margin-bottom: 24px;
}

.footer-logo .logo-main {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.footer-logo .logo-main span {
  color: var(--primary);
}

.footer-logo .logo-sub {
  font-size: 0.8rem;
  color: #a1a1a6;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.footer-desc {
  color: #a1a1a6;
  margin-bottom: 24px;
}

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

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

.footer-links-col ul li {
  margin-bottom: 12px;
}

.footer-links-col ul li a {
  color: #a1a1a6;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a1a1a6;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-bottom-links a {
  color: #a1a1a6;
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ================== Responsive Design ================== */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 3.5rem;
  }

  .contact-container {
    flex-direction: column;
  }

  .steps-container {
    flex-wrap: wrap;
  }

  .steps-container::before {
    display: none;
  }

  .step {
    flex: 1 1 40%;
    margin-bottom: 40px;
  }

  .screenshot-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .screenshot-wrapper .hero-buttons {
    justify-content: center !important;
  }

  .app-screenshot {
    transform: none;
    max-height: 450px;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .summary-text {
    font-size: 1.4rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .hero-subheadline {
    font-size: 1.5rem;
  }

  .trust-content {
    flex-direction: column;
    text-align: center;
  }

  .trust-content p {
    text-align: center;
  }

  .about-section {
    padding: 60px 30px;
    border-radius: 24px;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }

  .step {
    flex: 1 1 100%;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}