/* CSS Reset and Variables */
:root {
  --bg-dark: #0a0a0c;
  --bg-darker: #050506;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --primary: #f97316; /* Vibrant Orange */
  --accent: #8b5cf6; /* Vibrant Purple */
  --gradient-brand: linear-gradient(135deg, var(--primary), var(--accent));
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography Specifics */
h1,
h2,
h3,
h4,
.logo-text {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

/* Layout Classes */
.section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Glassmorphism Utilities */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 5%;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo-text {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
}

.nav-links a:not(.btn):hover {
  opacity: 1;
  color: var(--primary);
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-icon .line {
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.15) 0%,
    rgba(10, 10, 12, 0) 70%
  );
  border-radius: 50%;
  z-index: -1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.stats-row {
  display: flex;
  gap: 3rem;
}

.stat-card h3 {
  font-size: 2rem;
  color: var(--text-main);
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Hero Image & Shapes */
.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(249, 115, 22, 0.2);
  top: 10%;
  right: 20%;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(139, 92, 246, 0.2);
  bottom: 10%;
  left: 20%;
  animation: float 10s ease-in-out infinite reverse;
}

.mockup-container {
  position: relative;
  width: 320px;
  height: 650px;
}

.app-mockup {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  border: 8px solid #1f2023;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  white-space: nowrap;
  animation: float-small 6s ease-in-out infinite;
}

.floating-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.top-left {
  top: 15%;
  left: -20%;
}

.bottom-right {
  bottom: 25%;
  right: -25%;
  animation-delay: 2s;
}

/* Features Grid */
.features-overview {
  text-align: center;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  text-align: left;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.learn-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.learn-more:hover {
  color: var(--text-main);
  letter-spacing: 0.5px;
}

/* Split Sections */
.split-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 8rem 5%;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-content {
  flex: 1;
}

.split-content h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.split-content > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-item .check {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: var(--gradient-brand);
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item .check.outline {
  background: transparent;
  border: 1px solid var(--text-muted);
}

.feature-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-item.planned {
  opacity: 0.7;
}

.split-image {
  flex: 1;
  position: relative;
}

.rounded-image {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.rounded-image:hover {
  transform: scale(1.02);
}

.shadow-heavy {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* CTA Section */
.cta-section {
  padding: 6rem 5%;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-container {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
}

.cta-container h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-container > p {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-group {
  display: flex;
  gap: 1rem;
}

.contact-form input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
}

/* Footer */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 5% 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 300px;
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes float-small {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Reveal Animations setup */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .split-section {
    flex-direction: column;
    gap: 3rem;
    padding: 5rem 5%;
  }
  .split-section.reverse {
    flex-direction: column;
  }
  .hover-card {
    display: none;
  }
}

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: var(--transition);
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
  }

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

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .stats-row {
    justify-content: center;
  }

  .hero-content {
    margin-bottom: 4rem;
  }

  .floating-card {
    display: none;
  }

  .input-group {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .stats-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  .nav-container {
    padding: 0;
  }
}
