/* Reset & Variables */
:root {
  --primary-color: #00e5ff;
  --secondary-color: #d4af37;
  --bg-dark: #0a0f1c;
  --bg-darker: #050810;
  --text-main: #f0f4f8;
  --text-muted: #a0aec0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition-speed: 0.3s;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  font-size: clamp(1rem, 1vw + 0.8rem, 1.125rem);
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 5vw; /* Use viewport width for consistent side spacing */
}
.navbar .logo {
  height: 40px;
  width: auto;
}
.nav-cta {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--primary-color);
  padding: 8px 20px;
  border-radius: 30px;
  transition: var(--transition-speed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('hero_bg.png') center/cover no-repeat;
  padding: 100px 20px 60px;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5, 8, 16, 0.7), rgba(5, 8, 16, 0.95));
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}
.badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 229, 255, 0.2);
}
.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}
.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}
.cta-btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.primary-btn {
  background: linear-gradient(90deg, #00b4cc, #00e5ff);
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}
.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.5);
}
.secondary-btn {
  background: transparent;
  color: #fff;
  border: 2px solid var(--glass-border);
}
.secondary-btn:hover {
  border-color: var(--primary-color);
  background: rgba(0, 229, 255, 0.05);
}
.trust-signals p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}
.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.3);
}

/* Pain Points Section */
.painpoints {
  padding: 100px 0;
  background: var(--bg-darker);
}
.painpoints h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #fff;
}
.card p {
  color: var(--text-muted);
}

/* Solutions Section */
.solutions {
  padding: 100px 0;
  background: var(--bg-dark);
}
.solutions-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.solutions-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.subtitle {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.features-list {
  list-style: none;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}
.check {
  color: var(--secondary-color);
  font-size: 1.2rem;
  background: rgba(212, 175, 55, 0.1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.features-list strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #fff;
}
.features-list p {
  color: var(--text-muted);
}
.solutions .highlight {
  margin-top: 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
}
.floating-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,229,255,0.05) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
  pointer-events: none;
}
.contact-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.contact-card h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.contact-card > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}
.modern-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}
.input-group textarea {
  resize: vertical;
  min-height: 120px;
}
.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(0, 229, 255, 0.05);
}
.full-width {
  width: 100%;
}
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  border-top-color: var(--bg-dark);
  animation: spin 1s ease-in-out infinite;
  display: none;
}
.spinner.active {
  display: inline-block;
  margin-left: 10px;
}
.hidden {
  display: none !important;
}
.form-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
}
.form-status.success {
  background: rgba(0, 255, 128, 0.1);
  color: #00ff80;
  border: 1px solid rgba(0, 255, 128, 0.2);
}
.form-status.error {
  background: rgba(255, 50, 50, 0.1);
  color: #ff3232;
  border: 1px solid rgba(255, 50, 50, 0.2);
}

/* Footer */
.footer {
  background: #020408;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}
.footer-logo {
  height: 30px;
  margin-bottom: 15px;
  opacity: 0.7;
}
.footer p {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.slide-up {
  transform: translateY(40px);
}
.slide-left {
  transform: translateX(-40px);
}
.slide-right {
  transform: translateX(40px);
}
.fade-in {
  transform: translateY(0);
}
.scale-up {
  transform: scale(0.95);
}

/* Applied when element enters viewport */
.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
  .solutions-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .features-list { display: inline-block; text-align: left; }
  .floating-img { max-width: 100%; margin: 0 auto; display: block; }
  .painpoints h2, .solutions-content h2, .contact-card h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); }
  .hero { padding: 120px 20px 60px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .hero p { font-size: 1rem; margin-bottom: 30px; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 15px; }
  .hero-buttons .cta-btn { width: 100%; }
  .nav-cta { padding: 6px 15px; font-size: 0.9rem; }
  .painpoints, .solutions, .contact { padding: 60px 0; }
  .glass-card { padding: 20px; }
  .grid { grid-template-columns: 1fr; }
  .navbar .logo { height: 32px; }
}
