/* CSS Reset & Variables */
:root {
  --bg-color: #0b0b0f;
  /* Slightly lighter/black-blue for depth */
  --text-color: #f4f4f5;
  --text-muted: #a1a1aa;
  --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  /* Purple to Blue Modern */
  --accent-color: #22d3ee;
  --card-bg: rgba(24, 24, 27, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --success: #34d399;
  --danger: #f87171;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.7;
  /* Increased for readability */
  overflow-x: hidden;
  font-size: 16px;
  background-image: radial-gradient(circle at 50% 0%, #1e1b4b 0%, var(--bg-color) 40%);
  /* Subtle Ambient Light */
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 800;
  /* Bolder */
  letter-spacing: -0.03em;
  /* Tighter tracking */
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  /* Bigger Hero */
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(124, 58, 237, 0.3);
  /* Glow effect */
}

h2 {
  font-size: 2.75rem;
  margin-top: 5rem;
  margin-bottom: 2rem;
  display: inline-block;
  background: linear-gradient(to right, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-muted);
  max-width: 750px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Layout */
.container {
  max-width: 1280px;
  /* Wider container */
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  padding: 8rem 0 6rem 0;
  /* More spacing */
  text-align: center;
}

.intro-lead {
  font-size: 1.5rem;
  color: #e4e4e7;
  margin: 0 auto;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  /* Pill shape */
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--success);
  color: #000;
  box-shadow: 0 0 25px rgba(52, 211, 153, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(52, 211, 153, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Table Design (Card Style) */
.comparison-section {
  overflow-x: auto;
  margin: 4rem 0;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: var(--glass-border);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  /* Allows rounded corners */
  border-spacing: 0;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
}

.comparison-table th,
.comparison-table td {
  padding: 1.75rem 2rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
  background: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr {
  transition: background-color 0.2s;
}

.comparison-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.service-logo a {
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.service-logo a:hover {
  color: var(--accent-color);
}

.price-tag {
  font-family: 'Inter', monospace;
  font-weight: 600;
  font-size: 1.1rem;
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
}

/* Hardware Grid */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.hardware-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.4), rgba(20, 20, 20, 0.8));
  border: var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.hardware-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
}

.hardware-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.hardware-title {
  font-size: 1.75rem;
  margin: 1rem 0;
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.badge-apple {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-amazon {
  background: rgba(255, 153, 0, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(255, 153, 0, 0.3);
}

.badge-google {
  background: rgba(66, 133, 244, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(66, 133, 244, 0.3);
}

/* Footer */
footer {
  margin-top: 8rem;
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  background: #000;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Tech Specs Box */
.tech-specs {
  margin-top: 5rem;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  padding: 3rem;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Features */
.feature-check {
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.8rem;
  margin-right: 5px;
}

.feature-cross {
  color: var(--danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 113, 113, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.8rem;
  margin-right: 5px;
}