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

:root {
  --bg: #0a0a0a;
  --text: #f5f5f7;
  --text-muted: #a1a1a6;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --surface: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(10, 10, 10, 0.7);
}

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

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

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-cta:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 5% 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 800px;
  background: linear-gradient(180deg, #fff, #a1a1a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* Email Form */
.email-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 450px;
  position: relative;
}

.email-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-input:focus {
  border-color: var(--text-muted);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.email-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  border: none;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.email-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.form-success {
  width: 100%;
  text-align: center;
  color: #34c759;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.2);
  border-radius: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
  border-width: 0;
  transition: all 0.3s ease;
}

.form-success.show {
  max-height: 100px;
  opacity: 1;
  margin-top: 0.5rem;
  padding: 0.8rem;
  border-width: 1px;
}

/* Social Proof Banner */
.social-proof {
  text-align: center;
  padding: 4rem 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.social-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  opacity: 0.4;
  flex-wrap: wrap;
}
.social-logos span {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 8rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
}

/* Features grid */
.feature-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 8rem;
}
.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}
.feature-text {
  flex: 1;
}
.feature-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.feature-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.feature-image {
  flex: 1.2;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s ease;
}
.feature-image:hover img {
  transform: scale(1.03);
}

/* Grid Layouts (Cards) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonial {
  font-style: italic;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -10px;
  color: var(--border);
  opacity: 0.5;
  z-index: -1;
}
.testimonial-author {
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem auto;
  max-width: 1000px;
}
.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* FAQ Accordion */
.accordion {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  cursor: pointer;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1.1rem;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
}
.accordion.active .accordion-content {
  max-height: 300px;
  margin-top: 1rem;
}
.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.accordion.active .accordion-icon {
  transform: rotate(45deg);
}

/* Page Container (for secondary pages) */
.page-container {
  padding: 10rem 5% 6rem;
  max-width: 800px;
  margin: 0 auto;
}
.page-container h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}
.page-container p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.page-container h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.page-container img {
  width: 100%;
  border-radius: 15px;
  margin: 2rem 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
  text-align: center;
  color: var(--text-muted);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-content a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-content a:hover {
  color: var(--text);
}

/* Slideshow Animation */
.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slideAnim 15s infinite ease-in-out;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-caption {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  font-size: 1.1rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

@keyframes slideAnim {
  0% { opacity: 0; transform: scale(1); }
  5% { opacity: 1; }
  28% { opacity: 1; }
  33% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .feature-row {
    flex-direction: column !important;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .email-form {
    flex-direction: column;
  }
  .email-btn {
    width: 100%;
  }
}
