/* ============================================
   rconsole - Style Sheet
   Dark security-focused theme with glassmorphism
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border-color);
}

:root {
  /* Core colors (HSL) */
  --bg-h: 222;
  --bg-s: 47%;
  --bg-l: 6%;
  --fg-h: 210;
  --fg-s: 40%;
  --fg-l: 98%;

  --background: hsl(222 47% 6%);
  --foreground: hsl(210 40% 98%);

  --card: hsl(222 47% 8%);
  --card-foreground: hsl(210 40% 98%);

  --primary: hsl(187 85% 53%);
  --primary-foreground: hsl(222 47% 6%);
  --primary-rgb: 34, 211, 238;

  --secondary: hsl(222 30% 14%);
  --secondary-foreground: hsl(210 40% 98%);

  --muted: hsl(222 30% 12%);
  --muted-foreground: hsl(215 20% 55%);

  --destructive: hsl(0 84% 60%);

  --border-color: hsl(222 30% 18%);
  --input-border: hsl(222 30% 18%);
  --ring: hsl(187 85% 53%);

  --radius: 0.75rem;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(187 85% 53%) 0%, hsl(199 89% 48%) 50%, hsl(217 91% 60%) 100%);

  /* Shadows */
  --shadow-glow: 0 0 60px hsla(187, 85%, 53%, 0.2);
  --shadow-card: 0 8px 32px hsla(222, 47%, 4%, 0.5);
  --shadow-button: 0 4px 24px hsla(187, 85%, 53%, 0.3);

  /* Glass */
  --glass-bg: hsla(222, 30%, 12%, 0.6);
  --glass-border: hsla(222, 30%, 25%, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.glow {
  box-shadow: var(--shadow-glow);
}

.glow-card {
  box-shadow: var(--shadow-card);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-primary {
  color: var(--primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Animations --- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

.animate-fade-up {
  animation: fade-up 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-hero {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-button);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn-hero:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 30px hsla(187, 85%, 53%, 0.4);
}

.btn-hero-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border-color);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn-hero-outline:hover {
  background: var(--secondary);
  border-color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.btn-ghost:hover {
  background: hsla(222, 30%, 25%, 0.3);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-logo-icon {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: hsla(187, 85%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  color: var(--muted-foreground);
  transition: color 0.2s;
  font-size: 0.875rem;
}

.navbar-links a:hover {
  color: var(--foreground);
}

.navbar-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

.navbar-mobile-toggle {
  display: flex;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  animation: fade-in 0.3s ease-out;
}

.navbar-mobile-menu.open {
  display: flex;
}

.navbar-mobile-menu a {
  color: var(--muted-foreground);
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.navbar-mobile-menu a:hover {
  color: var(--foreground);
}

.navbar-mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}

/* Language Switcher */
.lang-switch {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.lang-switch:hover {
  color: var(--foreground);
  border-color: var(--primary);
  background: hsla(187, 85%, 53%, 0.1);
}

.navbar-mobile-menu .lang-switch {
  display: inline-flex;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
  .navbar-cta {
    display: flex;
  }
  .navbar-mobile-toggle {
    display: none;
  }
  .lang-switch {
    display: inline-flex;
  }
}

/* --- SVG Icons (inline) --- */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-xl {
  width: 3rem;
  height: 3rem;
}

.icon-primary {
  color: var(--primary);
  stroke: var(--primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  animation: pulse-slow 4s ease-in-out infinite;
}

.hero-orb-1 {
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsla(187, 85%, 53%, 0.2);
}

.hero-orb-2 {
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: hsla(187, 85%, 53%, 0.1);
  animation-delay: 2s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: linear-gradient(var(--primary) 1px, transparent 1px),
                     linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.hero-badge span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-demo-box {
  max-width: 28rem;
  margin: 0 auto;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
}

.hero-demo-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hero-demo-header span {
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-demo-creds {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.hero-demo-creds span {
  color: var(--muted-foreground);
}

.hero-demo-creds code {
  color: var(--primary);
  font-family: monospace;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 36rem;
  margin: 2rem auto 0;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hero-stat-value span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
}

.hero-stat p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Browser Preview */
.hero-preview {
  position: relative;
  margin-top: 4rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-preview-inner {
  border-radius: 1rem;
  padding: 1rem;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  background: hsla(222, 30%, 14%, 0.3);
  border-radius: var(--radius) var(--radius) 0 0;
}

.browser-dots {
  display: flex;
  gap: 0.375rem;
}

.browser-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.browser-dot-red { background: hsla(0, 84%, 60%, 0.6); }
.browser-dot-yellow { background: hsla(45, 93%, 47%, 0.6); }
.browser-dot-green { background: hsla(142, 71%, 45%, 0.6); }

.browser-url {
  flex: 1;
  display: flex;
  justify-content: center;
}

.browser-url span {
  padding: 0.25rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.browser-content {
  background: var(--card);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.app-preview {
  padding: 1.5rem;
  min-height: 300px;
  background: linear-gradient(to bottom, var(--card), var(--background));
}

.app-preview-layout {
  display: flex;
  gap: 1.5rem;
}

.app-sidebar {
  width: 12rem;
  flex-shrink: 0;
}

.app-sidebar-active {
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.app-sidebar-item {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.app-main {
  flex: 1;
}

.app-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.app-main-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.app-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.app-card {
  border-radius: 0.5rem;
  padding: 1rem;
}

.app-card-blue {
  background: linear-gradient(to bottom right, hsla(217, 91%, 60%, 0.2), hsla(217, 91%, 60%, 0.1));
}

.app-card-green {
  background: linear-gradient(to bottom right, hsla(160, 84%, 39%, 0.2), hsla(160, 84%, 39%, 0.1));
}

.app-card h4 {
  font-weight: 500;
  font-size: 0.875rem;
}

.app-card p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.hero-preview-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to right, hsla(187, 85%, 53%, 0.05), hsla(187, 85%, 53%, 0.1), hsla(187, 85%, 53%, 0.05));
  border-radius: 1.5rem;
  filter: blur(32px);
  z-index: -1;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .app-sidebar {
    display: none;
  }
  .app-cards {
    grid-template-columns: 1fr;
  }
}

/* --- Features Section --- */
.features {
  padding: 6rem 0;
  position: relative;
}

.features-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(187, 85%, 53%, 0.02), transparent);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
}

.feature-card:hover {
  background: hsla(222, 30%, 14%, 0.3);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsla(187, 85%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.2s;
}

.feature-card:hover .feature-icon {
  background: hsla(187, 85%, 53%, 0.2);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Security Section --- */
.security {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.security-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.security-badge span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.security h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.security-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.security-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.security-feature span {
  color: var(--foreground);
  font-size: 0.9375rem;
}

/* Security Visual */
.security-visual {
  position: relative;
}

.security-visual-inner {
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
}

.security-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: pulse-slow 4s ease-in-out infinite;
}

.security-ring-1 {
  width: 16rem;
  height: 16rem;
  border-color: hsla(187, 85%, 53%, 0.2);
}

.security-ring-2 {
  width: 12rem;
  height: 12rem;
  border-color: hsla(187, 85%, 53%, 0.3);
  animation-delay: 1s;
}

.security-ring-3 {
  width: 8rem;
  height: 8rem;
  border-color: hsla(187, 85%, 53%, 0.4);
  animation-delay: 2s;
}

.security-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.security-shield {
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background: hsla(187, 85%, 53%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-float {
  position: absolute;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.security-float-1 {
  top: 2rem;
  left: 2rem;
  animation: float 6s ease-in-out infinite;
}

.security-float-2 {
  top: 3rem;
  right: 3rem;
  animation: float 6s ease-in-out infinite;
  animation-delay: 1s;
}

.security-float-3 {
  bottom: 3rem;
  left: 3rem;
  animation: float 6s ease-in-out infinite;
  animation-delay: 2s;
}

.security-visual-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(187, 85%, 53%, 0.1), hsla(187, 85%, 53%, 0.05), transparent);
  border-radius: 1rem;
  filter: blur(48px);
  z-index: -1;
}

@media (min-width: 640px) {
  .security-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Integration Section --- */
.integration {
  padding: 6rem 0;
  position: relative;
}

.integration-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(222, 30%, 14%, 0.3), transparent);
}

.integration-card {
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.integration-card h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.integration-card > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.integration-logo {
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
  cursor: pointer;
}

.integration-logo:hover {
  background: hsla(222, 30%, 14%, 0.3);
}

.integration-logo-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom right, hsla(187, 85%, 53%, 0.2), hsla(187, 85%, 53%, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: transform 0.3s;
}

.integration-logo:hover .integration-logo-icon {
  transform: scale(1.1);
}

.integration-logo-icon span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.integration-logo p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.integration-logo:hover p {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .integration-card {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .integration-card {
    padding: 4rem;
  }
}

/* --- Pricing Section --- */
.pricing {
  padding: 6rem 0;
  position: relative;
}

.pricing-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(187, 85%, 53%, 0.02), transparent);
}

.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  border: 1px solid hsla(222, 30%, 25%, 0.5);
}

.pricing-card:hover {
  border-color: hsla(187, 85%, 53%, 0.3);
}

.pricing-card-highlight {
  border: 2px solid hsla(187, 85%, 53%, 0.5);
  box-shadow: var(--shadow-card);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.pricing-plan-period {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.pricing-price {
  margin-bottom: 2rem;
}

.pricing-price-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
}

.pricing-price-unit {
  color: var(--muted-foreground);
  margin-left: 0.25rem;
}

.pricing-price-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding: 0.375rem 0;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- CTA Section --- */
.cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-orb-1 {
  position: absolute;
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsla(187, 85%, 53%, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-orb-2 {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: hsla(187, 85%, 53%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.cta-badge span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cta h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.footer-col h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-page {
  padding-top: 7rem;
  padding-bottom: 4rem;
  max-width: 48rem;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.legal-content {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.legal-content p {
  margin-bottom: 0.75rem;
}

.legal-content .company-info {
  font-weight: 600;
  color: var(--foreground);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul li {
  margin-bottom: 0.25rem;
}

.legal-content .source {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 3rem;
}

/* --- Order Page --- */
.order-page {
  min-height: 100vh;
  position: relative;
}

.order-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.order-content {
  position: relative;
  z-index: 10;
  max-width: 36rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.order-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  margin-bottom: 2rem;
}

.order-back:hover {
  color: var(--foreground);
}

.order-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.order-logo p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.order-summary {
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-summary h1 {
  font-size: 1.125rem;
  font-weight: 600;
}

.order-summary .plan-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.order-summary .plan-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  text-align: right;
}

.order-summary .plan-period {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Form */
.order-form {
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--foreground);
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--background);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsla(187, 85%, 53%, 0.15);
}

.form-input::placeholder {
  color: var(--muted-foreground);
  opacity: 0.6;
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--destructive);
}

.form-error {
  font-size: 0.75rem;
  color: var(--destructive);
  margin-top: 0.25rem;
  display: none;
}

.form-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1.25rem 0;
}

.subdomain-wrapper {
  display: flex;
}

.subdomain-wrapper .form-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.subdomain-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  border: 1px solid var(--input-border);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: hsla(222, 30%, 14%, 0.6);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-family: monospace;
  white-space: nowrap;
}

.order-legal {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
  line-height: 1.6;
}

.order-legal a {
  color: var(--primary);
}

.order-legal a:hover {
  text-decoration: underline;
}

/* --- Order Success Page --- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.success-content {
  position: relative;
  z-index: 10;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: hsla(187, 85%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-card {
  border-radius: 1rem;
  padding: 2.5rem;
}

.success-card h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.success-card p {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.success-card .btn {
  margin-top: 1.5rem;
}

/* --- Loader Spinner --- */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}
