/* website/style.css */
/* Stylesheet for Aura AI landing page and checkout portal */

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

:root {
  --bg: 224 35% 6%;
  --bg-panel: 224 30% 10%;
  --bg-card: 224 25% 14%;
  --border: 224 20% 20%;
  --text: 220 14% 96%;
  --text-sub: 220 10% 64%;
  --primary: 263 90% 68%;
  --primary-rgb: 139, 92, 246;
  --secondary: 192 95% 50%;
  --success: 142 76% 48%;
  --warning: 38 92% 52%;
  
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: hsl(var(--bg));
  color: hsl(var(--text));
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background-color: hsl(var(--bg-panel) / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
}

.logo-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: hsl(var(--text-sub));
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 8% 80px 8%;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.pill-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: hsl(var(--secondary));
  background-color: hsl(var(--secondary) / 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid hsl(var(--secondary) / 0.2);
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #ffffff 60%, hsl(var(--text-sub)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: hsl(var(--text-sub));
  line-height: 1.5;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

/* Visual Mockup area */
.hero-visual {
  flex: 0.8;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.mockup-frame {
  background-color: hsl(var(--bg-panel));
  border: 1px solid hsl(var(--primary) / 0.3);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(var(--primary-rgb), 0.15);
  animation: float 4s infinite ease-in-out;
}

.hero-logo-large {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.6));
}

.mockup-status {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: hsl(var(--success));
  background-color: hsl(var(--success) / 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid hsl(var(--success) / 0.2);
}

/* Buttons styling */
.btn-primary {
  background-color: hsl(var(--primary));
  color: #fff;
  border: none;
  font-family: var(--font);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
  background-color: hsl(var(--primary) / 0.85);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.45);
}

.btn-primary-glow {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  color: #fff;
  border: none;
  font-family: var(--font);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  width: 100%;
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
  transition: var(--transition);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.55);
}

.btn-secondary {
  background-color: hsl(var(--bg-card) / 0.6);
  color: hsl(var(--text));
  border: 1px solid hsl(var(--border));
  font-family: var(--font);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: hsl(var(--border));
  transform: translateY(-2px);
}

/* Checkout portal screen modal overlay */
#checkout-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card {
  background-color: hsl(var(--bg-panel) / 0.9);
  border: 1px solid hsl(var(--primary) / 0.3);
  padding: 32px;
  border-radius: var(--radius);
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid hsl(var(--border));
  border-top-color: hsl(var(--primary));
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.btn-text {
  background: transparent;
  border: none;
  color: hsl(var(--text-sub));
  font-family: var(--font);
  cursor: pointer;
  text-decoration: underline;
  font-size: 13px;
}

/* Features grid section */
.features-section {
  padding: 80px 8%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 40px;
}

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

.feature-card {
  background-color: hsl(var(--bg-panel));
  border: 1px solid hsl(var(--border) / 0.7);
  padding: 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: hsl(var(--primary) / 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.05);
}

.feat-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: hsl(var(--text-sub));
}

/* Pricing cards section */
.pricing-section {
  background-color: hsl(var(--bg-panel) / 0.4);
  padding: 80px 8%;
  border-top: 1px solid hsl(var(--border) / 0.4);
  border-bottom: 1px solid hsl(var(--border) / 0.4);
}

.section-subtitle {
  text-align: center;
  color: hsl(var(--text-sub));
  margin-top: -30px;
  margin-bottom: 50px;
}

.pricing-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: hsl(var(--bg-panel));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 40px 32px;
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  transition: var(--transition);
}

.pricing-card.highlighted {
  border-color: hsl(var(--primary));
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.12);
  background: radial-gradient(circle at top right, hsl(var(--primary) / 0.08), transparent 60%), hsl(var(--bg-panel));
}

.pricing-card.highlighted:hover {
  box-shadow: 0 10px 35px rgba(var(--primary-rgb), 0.2);
}

.badge-pro {
  position: absolute;
  top: -12px;
  left: 32px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
}

.tier {
  font-size: 18px;
  font-weight: 700;
  color: hsl(var(--text-sub));
}

.pricing-card.highlighted .tier {
  color: hsl(var(--secondary));
}

.price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
}

.period {
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--text-sub));
}

.desc {
  font-size: 13.5px;
  color: hsl(var(--text-sub));
}

.features {
  list-style: none;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.features li::before {
  content: "✓";
  color: hsl(var(--success));
  font-weight: bold;
  margin-right: 8px;
}

/* Install guide steps */
.install-section {
  padding: 80px 8%;
  max-width: 900px;
  margin: 0 auto;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: hsl(var(--bg-panel));
  border: 1px solid hsl(var(--border) / 0.7);
  padding: 16px 24px;
  border-radius: var(--radius);
}

.step-number {
  font-size: 18px;
  font-weight: 800;
  background-color: hsl(var(--primary));
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.zip-link {
  color: hsl(var(--secondary));
  text-decoration: none;
  border-bottom: 1px dashed hsl(var(--secondary));
}

.zip-link:hover {
  color: hsl(var(--text));
  border-bottom-style: solid;
}

/* Success Card page */
.success-page {
  display: flex;
  height: 100vh;
  width: 100vw;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.success-card {
  max-width: 520px;
  width: 100%;
}

.success-icon {
  font-size: 56px;
  margin-bottom: 10px;
}

.badge-status-pro {
  background: linear-gradient(135deg, hsl(var(--success)), hsl(var(--secondary)));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
}

.action-box {
  background-color: hsl(var(--bg) / 0.5);
  border: 1px solid hsl(var(--border));
  padding: 14px 20px;
  border-radius: var(--radius);
  width: 100%;
  margin-top: 10px;
}

.success-ctas {
  margin-top: 10px;
  width: 100%;
}

.success-ctas a {
  display: block;
  text-align: center;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: hsl(var(--text-sub));
  font-size: 13px;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

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

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

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Utility classes */
.hidden {
  display: none !important;
}
