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

:root {
  --bg-core: #040208;
  --bg-surface: #0a0614;
  --primary: #9d4edd;
  --primary-glow: rgba(157, 78, 221, 0.5);
  --secondary: #00ffcc;
  --secondary-glow: rgba(0, 255, 204, 0.5);
  --accent: #ff007f;
  --accent-glow: rgba(255, 0, 127, 0.5);
  --text-main: #ffffff;
  --text-muted: #8b839e;
  --border-light: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-core);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Effects */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0a0614 0%, #040208 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s infinite alternate ease-in-out;
}

.orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; left: -200px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--secondary); bottom: -100px; right: -100px; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; background: var(--accent); top: 40%; left: 30%; opacity: 0.2; animation-delay: -10s; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, 50px) scale(1.1); }
  100% { transform: translate(-50px, 100px) scale(0.9); }
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 8%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(4, 2, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.brand {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

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

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

.btn-get-app {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  color: white !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-get-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Page Headers (For subpages) */
.page-header {
  padding: 150px 5% 50px;
  text-align: center;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Container for Subpages */
.content-container {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 0 5%;
  font-size: 1.1rem;
  color: #ccc;
}

.content-container h2 {
  color: var(--text-main);
  margin: 2.5rem 0 1rem;
  font-size: 1.8rem;
}

.content-container p {
  margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  position: relative;
  z-index: 1;
  padding-top: 150px;
  gap: 4rem;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #a09eb5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* App Mockup Visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: var(--bg-surface);
  border: 4px solid #333;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px var(--primary-glow);
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: rotate(0deg) scale(1.05);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #333;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  position: relative;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}

.mock-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 16px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-download {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.btn-download.primary { background: var(--text-main); color: var(--bg-core); }
.btn-download.primary:hover { background: var(--secondary); box-shadow: 0 0 20px var(--secondary-glow); }
.btn-download .icon { font-size: 1.5rem; }
.btn-download .text-sm { font-size: 0.7rem; opacity: 0.8; display: block; }
.btn-download .text-lg { font-size: 1.1rem; font-weight: 800; display: block; }

/* Showcase / Bento Grid */
.showcase { padding: 8rem 5%; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 1rem; }

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

.bento-card {
  background: rgba(10, 6, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: transform 0.4s ease, border-color 0.3s;
}

.bento-card:hover { transform: translateY(-10px); border-color: rgba(255, 255, 255, 0.2); }
.bento-icon { font-size: 2rem; margin-bottom: 1.5rem; color: var(--secondary); background: rgba(0, 255, 204, 0.1); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 16px; box-shadow: 0 0 20px var(--secondary-glow); }
.bento-card h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.bento-card p { color: var(--text-muted); font-size: 1.1rem; }
.span-2 { grid-column: span 2; }
.card-map { background: linear-gradient(180deg, rgba(157, 78, 221, 0.1) 0%, rgba(10, 6, 20, 0.6) 100%); border-color: rgba(157, 78, 221, 0.2); }
.card-map .bento-icon { color: var(--primary); background: rgba(157, 78, 221, 0.1); box-shadow: 0 0 20px var(--primary-glow); }

/* Corporate Footer */
.corporate-footer {
  background: #020104;
  padding: 5rem 5% 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

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

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color 0.3s;
}

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

/* Responsive Media Queries */
@media (max-width: 850px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .span-2 { grid-column: span 1; }
  .hero { flex-direction: column; text-align: center; gap: 2rem; padding-top: 120px; }
  .hero-content { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  nav { padding: 1rem 5%; }
  
  /* Mobile Menu logic */
  .menu-btn { display: block; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(4, 2, 8, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding-top: 3rem;
    transition: left 0.3s ease;
  }
  .nav-links.active { left: 0; }
  .nav-links a { font-size: 1.5rem; }
  
  .hero h1 { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; }
  .btn-download { width: 100%; justify-content: center; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
