:root {
  --bg: #030712;
  --bg-surface: #111827;
  --panel: rgba(17, 24, 39, 0.6);
  --card: rgba(255, 255, 255, 0.03);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --gradient-start: #00f0ff;
  --gradient-end: #7000ff;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(112, 0, 255, 0.3);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Background Effects */
.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

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

.orb-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--gradient-end);
}

.orb-2 {
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--gradient-start);
  animation-delay: -10s;
}

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

/* Typography & General */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  padding: 1.25rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-link:hover {
  color: var(--text);
}

/* Buttons */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 99px;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0.5rem;
}

.button.small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.button.primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  position: relative;
  z-index: 1;
}

.button.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.button.primary:hover::before {
  opacity: 1;
}

.button.primary.glow-btn {
  box-shadow: var(--shadow-glow);
}
.button.primary.glow-btn:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.arrow {
  transition: transform 0.2s;
}
.button.ghost:hover .arrow {
  transform: translateX(4px);
}

/* Hero Section */
.landing-shell {
  padding-top: 8rem;
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.landing-copy {
  max-width: 600px;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

.badge-wrapper {
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  background: rgba(112, 0, 255, 0.1);
  border: 1px solid rgba(112, 0, 255, 0.2);
  color: #d8b4fe;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.landing-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual & Glassmorphism */
.landing-visual {
  position: relative;
  perspective: 1000px;
  animation: fadeIn 1s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.glass-panel {
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-panel:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.panel-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}

.mac-dots {
  display: flex;
  gap: 8px;
}

.mac-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mac-dots span:nth-child(1) { background: #ff5f56; }
.mac-dots span:nth-child(2) { background: #ffbd2e; }
.mac-dots span:nth-child(3) { background: #27c93f; }

.panel-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.feature-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(112, 0, 255, 0.15);
  color: var(--gradient-start);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-text h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

/* Floating Elements */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  animation: floatCard 6s infinite alternate ease-in-out;
}

.card-1 {
  top: -20px;
  right: -20px;
  animation-delay: -2s;
}

.card-2 {
  bottom: 40px;
  left: -40px;
  animation-delay: -4s;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  background: rgba(3, 7, 18, 0.8);
  margin-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-group h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}

.link-group a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.link-group a:hover {
  color: var(--gradient-start);
}

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

/* ============================
   Responsive — Mobile-First
=============================== */

/* Large tablets & small desktops */
@media (max-width: 992px) {
  .landing-shell {
    padding-top: 6rem;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .landing-copy {
    margin: 0 auto;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-actions {
    justify-content: center;
  }

  .glass-panel {
    transform: none;
    max-width: 520px;
    margin: 0 auto;
  }

  .glass-panel:hover {
    transform: translateY(-5px);
  }

  .card-1, .card-2 {
    display: none;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem 0;
  }

  .nav-link {
    display: none; /* hide text link on smaller screens, keep CTA */
  }

  .hero-title {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }

  .lead {
    font-size: 1rem;
  }

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

  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .feature-item {
    padding: 1rem;
    gap: 1rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .feature-text h2 {
    font-size: 1rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .site-header {
    padding: 0.85rem 0;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo svg {
    width: 20px;
    height: 20px;
  }

  .button.small {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }

  .landing-shell {
    padding-top: 5.5rem;
    padding-bottom: 3rem;
    align-items: flex-start;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .lead {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .landing-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .landing-actions .button {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  .glass-panel {
    border-radius: 16px;
  }

  .panel-header {
    padding: 0.85rem 1.25rem;
  }

  .feature-list {
    padding: 1rem;
    gap: 0.75rem;
  }

  .feature-item {
    padding: 0.85rem;
    gap: 0.85rem;
    border-radius: 12px;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-text h2 {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
  }

  .feature-text p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .site-footer {
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
  }

  .footer-inner {
    margin-bottom: 2rem;
  }

  .footer-brand p {
    font-size: 0.875rem;
  }

  .footer-bottom {
    padding-top: 1.5rem;
    font-size: 0.8rem;
  }

  /* Prevent horizontal overflow on very small screens */
  body {
    overflow-x: hidden;
  }

  .orb-1 {
    width: 280px;
    height: 280px;
  }

  .orb-2 {
    width: 320px;
    height: 320px;
    top: 50%;
    right: -100px;
  }
}

/* Pricing Section */
.pricing-section {
  padding: 8rem 0;
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.toggle-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

.toggle-label.active {
  color: var(--text);
  font-weight: 600;
}

.discount {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 240, 255, 0.1);
  color: var(--gradient-start);
  border-radius: 4px;
  margin-left: 0.5rem;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--line);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text);
  transition: .4s;
}

input:checked + .slider {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border-color: transparent;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(17, 24, 39, 0.8);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.05);
}

.best-value {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.plan-features li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.plan-features li:before {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.full-width {
  width: 100%;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .pricing-section {
    padding: 4rem 0;
  }
}



.install-app-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.install-app-btn:hover {
  color: #fff;
  border-color: rgba(0, 240, 255, 0.45);
  background: rgba(0, 240, 255, 0.12);
  transform: translateY(-1px);
}

.install-app-btn[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .main-nav {
    gap: 0.65rem;
  }

  .install-app-btn.small,
  .main-nav .button.small {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }
}
