/* ============================================================
   STYLE.CSS - Modern SaaS Landing Page & Customer Portal
   Design Theme: Dark Premium Tech, Glassmorphism, Harmonious Glows
   ============================================================ */

:root {
  --bg-main: #060608;
  --bg-surface: #0c0c12;
  --bg-surface-elevated: #12121d;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.15);
  
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-secondary: #a855f7;
  --color-accent: #10b981;
  --color-accent-hover: #059669;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-muted: #8e93b2;
  --color-text: #f3f4f6;
  --color-text-white: #ffffff;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-blur: blur(16px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Background Gradients & Glows */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

body::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(100px);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--color-muted);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-secondary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 8, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(to right, var(--color-text-white), #d1d5db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 15px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  font-family: var(--font-body);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-text-white);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-secondary));
}

.btn--secondary {
  background: var(--glass-bg);
  border: var(--glass-border);
  color: var(--color-text-white);
}

.btn--secondary:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-text-white);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn--accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn--danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.btn--danger:hover {
  background: var(--color-danger);
  color: var(--color-text-white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

/* User Profile Badge */
.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 50px;
}

.user-badge__img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
}

.user-badge__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-white);
}

/* Hero Section */
.hero {
  padding: 80px 0 100px 0;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 24px;
}

.hero__badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero__title {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero__title span {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: 19px;
  max-width: 750px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 64px;
}

/* Mockup Browser Area with Tabs */
.mockup-tabs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  width: 100%;
}

.mockup-tabs {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-tab {
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.mockup-tab:hover {
  color: var(--color-text-white);
  background: rgba(255, 255, 255, 0.03);
}

.mockup-tab--active {
  color: var(--color-text-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.mockup-tab__icon {
  font-size: 16px;
}

.mockup-wrapper {
  perspective: 1000px;
  width: 100%;
}

.mockup-container {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(99, 102, 241, 0.1);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.mockup-header {
  height: 48px;
  background: #11111a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 16px;
  justify-content: space-between;
}

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

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dot--red { background: #ff5f56; }
.mockup-dot--yellow { background: #ffbd2e; }
.mockup-dot--green { background: #27c93f; }

.mockup-address {
  width: 50%;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
}

.mockup-body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #09090e;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Supported Platforms Section */
.platforms-section {
  padding: 60px 0 20px 0;
  text-align: center;
}

.platforms-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 40px 32px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.platforms-card__title {
  font-size: 24px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--color-text-white), #d1d5db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.platforms-card__desc {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.platform-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.platform-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.05);
}

.platform-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
}

/* Brand Custom Icon Designs */
.platform-item__icon--douyin {
  background: linear-gradient(135deg, #000000, #1c1c1e);
  border: 2px solid #00f2fe;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
  text-shadow: 1px 1px #ff007f;
}

.platform-item__icon--xiaohongshu {
  background: #ff2442;
  font-size: 14px;
  font-weight: bold;
}

.platform-item__icon--taobao {
  background: linear-gradient(135deg, #ff5000, #ff8400);
  font-size: 22px;
}

.platform-item__icon--1688 {
  background: linear-gradient(135deg, #ff6b00, #ff8b00);
  font-size: 13px;
  letter-spacing: -0.5px;
}

.platform-item__icon--jd {
  background: #e1251b;
  font-size: 16px;
  font-weight: 900;
}

.platform-item__icon--pinduoduo {
  background: linear-gradient(135deg, #e02e24, #ff5e56);
}

.platform-item__icon--kuaishou {
  background: linear-gradient(135deg, #ff5000, #ff8c00);
  font-size: 22px;
}

.platform-item__icon--dewu {
  background: #000000;
  border: 1.5px solid #00cbd4;
  color: #00cbd4;
  font-size: 14px;
}

.platform-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-white);
}

/* Pain Points Section */
.pain-points {
  padding: 100px 0;
  background: rgba(12, 12, 18, 0.4);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header__title {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-header__desc {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--transition-smooth);
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.05);
}

.pain-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pain-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.pain-card__icon--bad {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.pain-card__icon--good {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pain-card__comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.comparison-side h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.comparison-side--bad h4 { color: #f87171; }
.comparison-side--good h4 { color: #34d399; }

.comparison-side p {
  font-size: 14px;
  line-height: 1.5;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
}

.steps-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  text-align: center;
  background: var(--glass-bg);
  border: var(--glass-border);
  padding: 40px 24px;
  border-radius: 24px;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
}

.step-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-text-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.step-icon {
  font-size: 40px;
  color: #a5b4fc;
  margin-bottom: 24px;
}

.step-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
}

/* Features Grid */
.features {
  padding: 100px 0;
  background: rgba(12, 12, 18, 0.4);
}

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

.feature-box {
  background: var(--glass-bg);
  border: var(--glass-border);
  padding: 32px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.feature-box:hover {
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
}

.feature-box__icon {
  font-size: 32px;
  color: #c084fc;
  margin-bottom: 16px;
}

.feature-box__title {
  font-size: 19px;
  margin-bottom: 12px;
}

.feature-box__desc {
  font-size: 14px;
  line-height: 1.6;
}

/* Demo Container */
.demo-section {
  padding: 100px 0;
  text-align: center;
}

.demo-frame {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: var(--bg-surface);
}

/* Pricing Grid */
.pricing {
  padding: 100px 0;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, rgba(0, 0, 0, 0) 60%), rgba(12, 12, 18, 0.4);
}

/* Active License Bar */
.license-bar-container {
  max-width: 900px;
  margin: 0 auto 48px auto;
}

.license-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.license-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.license-bar__icon {
  font-size: 24px;
  color: var(--color-accent);
}

.license-bar__key {
  font-family: 'SF Mono', Consolas, monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--color-text-white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.license-bar__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.license-bar__badge--trial {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.license-bar__days {
  font-size: 14px;
  color: var(--color-muted);
}

/* Pricing Cards Layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 48px 32px 32px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
}

.price-card--popular {
  border: 2px solid var(--color-warning);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.06);
}

.price-card--best {
  border: 2px solid var(--color-accent);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.08);
}

.price-card__ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.price-card__ribbon--popular {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
}

.price-card__ribbon--best {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.price-card__title {
  font-size: 24px;
  margin-bottom: 8px;
}

.price-card__devices {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.price-card__price-wrapper {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-card__currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-white);
  margin-right: 4px;
}

.price-card__amount {
  font-size: 54px;
  font-weight: 800;
  color: var(--color-text-white);
  font-family: var(--font-heading);
  line-height: 1;
}

.price-card__perday {
  font-size: 13px;
  color: #818cf8;
  margin-bottom: 32px;
  font-weight: 500;
}

.price-card__features {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.price-card__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: bold;
}

.price-card__btn {
  width: 100%;
  margin-top: auto;
}

/* FAQ Accordion */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  background: var(--glass-bg-hover);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--color-text-white);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--color-muted);
  transition: var(--transition-smooth);
}

.faq-item--active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-item--active .faq-answer {
  max-height: 200px;
}

/* Customer Portal Area (Sleek CSS integration) */
.portal-section {
  padding: 80px 0;
  display: none; /* Shown dynamically when active */
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.portal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portal-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.portal-card {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 32px;
}

.portal-card__header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.portal-card__title {
  font-size: 20px;
  font-weight: 700;
}

.devices-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.device-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.device-item__left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.device-item__icon {
  font-size: 24px;
  color: var(--color-primary);
}

.device-item__details h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.device-item__details p {
  font-size: 11px;
}

/* Invoices Table */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-muted);
}

td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
}

/* Status Pill */
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.pill--success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.pill--warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.pill--danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* Google Sign-in Modal / Portal Auth */
.auth-card {
  max-width: 420px;
  margin: 80px auto;
  text-align: center;
}

.google-btn-wrapper {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

/* Footer */
.footer {
  background: #040406;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.footer-brand p {
  max-width: 320px;
  font-size: 14px;
}

.footer-links h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: var(--color-muted);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--color-text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 20px;
  cursor: pointer;
}

/* Responsive design */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero__title {
    font-size: 36px;
  }
  
  .hero__sub {
    font-size: 16px;
  }
  
  .pain-grid, .steps-flow, .features-grid, .pricing-grid, .footer-grid, .portal-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card {
    padding-top: 32px;
  }
  
  .navbar .container {
    height: 64px;
  }
}
