/* --- AeroLink Landing Page Stylesheet --- */

:root {
  --bg-primary: #0a0c16;
  --bg-secondary: #12162b;
  --bg-glass: rgba(18, 22, 43, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.4);

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-grad: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --accent-red: #ff4757;

  --text-main: #f1f3f9;
  --text-muted: #8b92b6;
  --text-dim: #545975;

  --shadow-neon: 0 0 20px rgba(0, 242, 254, 0.25);
  --shadow-card: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset & Setup --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, .brand-name {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* --- Background Glows --- */
.glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

.glow-1 {
  background: var(--accent-cyan);
  top: 10%;
  left: -100px;
}

.glow-2 {
  background: var(--accent-blue);
  top: 60%;
  right: -100px;
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(15px);
  background: rgba(10, 12, 22, 0.7);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 0;
  transition: var(--transition-fast);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo, .footer-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.main-nav a:hover {
  color: var(--accent-cyan);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-grad);
  color: #030611;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
  opacity: 0.95;
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 50px;
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  box-shadow: var(--shadow-neon);
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-glow:hover::after {
  opacity: 1;
}

.os-support-info {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

/* OS Compat Tags */
.os-compat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.os-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.15);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
}

.os-arch {
  font-size: 11px;
  color: var(--text-dim);
}

/* Hero Stats Strip */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border-glass);
}


/* --- Hero Section --- */
.hero-section {
  padding: 160px 0 100px 0;
  position: relative;
  background: radial-gradient(circle at center top, rgba(0, 242, 254, 0.03) 0%, transparent 60%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  text-align: left;
}

.badge {
  display: inline-block;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Screenshot styling */
.hero-visual {
  display: flex;
  justify-content: center;
}

.screen-frame {
  background: #161a35;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  padding: 6px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(10, 12, 22, 0.4);
  border-bottom: 1px solid var(--border-glass);
  border-radius: 12px 12px 0 0;
}

.screen-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.screen-header .dot.red { background: #ff4757; }
.screen-header .dot.yellow { background: #ffa502; }
.screen-header .dot.green { background: #2ed573; }

.screen-header .window-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 10px;
  font-family: monospace;
}

.app-screenshot {
  display: block;
  width: 100%;
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* --- Section Formatting --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* --- Feature Grid --- */
.features-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-glass);
}

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

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.08);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

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

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

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

/* --- Info Section / Split comparison --- */
.info-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 22, 43, 0.3) 100%);
  border-top: 1px solid var(--border-glass);
}

.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.comparison-box {
  padding: 40px;
}

.comparison-box h4 {
  font-size: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
  color: var(--accent-cyan);
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.comparison-row:last-child {
  margin-bottom: 0;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.comp-title {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.comp-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.bar.cloud {
  background: rgba(255, 71, 87, 0.15);
  color: var(--accent-red);
  border-left: 3px solid var(--accent-red);
}

.bar.aerolink {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border-left: 3px solid var(--accent-cyan);
}

.badge-success {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-warning {
  background: rgba(255, 71, 87, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(255, 71, 87, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-danger {
  background: rgba(255, 71, 87, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(255, 71, 87, 0.25);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.split-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.split-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.styled-list {
  list-style: none;
}

.styled-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
}

/* --- Guide Section --- */
.guide-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-glass);
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.tab-btn:hover, .tab-btn.active {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.tab-contents {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
  display: block;
}

.guide-step-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.guide-step-desc h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.guide-step-desc p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.guide-step-desc ul, .guide-step-desc ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.guide-step-desc li {
  margin-bottom: 10px;
}

.guide-step-media {
  display: flex;
  justify-content: center;
  position: relative;
}

.guide-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- FAQ Accordion --- */
.faq-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-glass);
  background: radial-gradient(circle at center bottom, rgba(79, 172, 254, 0.02) 0%, transparent 60%);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header .icon {
  font-size: 20px;
  color: var(--accent-cyan);
  transition: var(--transition-fast);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.accordion-body p {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.accordion-item.active {
  border-color: var(--border-focus);
}

.accordion-item.active .accordion-header {
  color: var(--accent-cyan);
}

.accordion-item.active .accordion-body {
  max-height: 1000px; /* arbitrary large value */
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
  color: var(--accent-red);
}

/* --- Download CTA --- */
.download-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-glass);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, rgba(79, 172, 254, 0.05) 100%);
  text-align: center;
}

.download-section h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.download-section p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 0 0;
  background: #06070e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 15px;
  max-width: 420px;
}

.footer-developer h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.developer-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 320px;
}

.dev-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-info {
  display: flex;
  flex-direction: column;
}

.dev-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
}

.dev-title {
  font-size: 12px;
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .hero-actions {
    align-items: center;
  }

  .split-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .guide-step-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 0;
  }
  
  .main-nav {
    display: none; /* simple hidden navigation on smaller screens */
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .section-header h2 {
    font-size: 28px;
  }
}

/* --- Header Right Section & Language Selector --- */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-selector {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.lang-btn:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.3);
}

.lang-arrow {
  transition: transform var(--transition-fast);
  opacity: 0.7;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: rgba(10, 12, 22, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 1000;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-option:hover, .lang-option.active {
  background: rgba(0, 242, 254, 0.08);
  color: var(--accent-cyan);
}

.lang-current-flag, .lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.lang-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* --- WhatsApp Guide Action Button --- */
.btn-whatsapp {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #25d366 !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #25d366;
  color: #06070e !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

/* --- Download Social Proof Rating Style --- */
.download-social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.download-social-proof.justify-center {
  justify-content: center;
}

.rating-stars {
  color: #ffb800; /* Beautiful gold color for rating stars */
  font-size: 16px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 184, 0, 0.3);
}

.rating-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 184, 0, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 184, 0, 0.2);
  line-height: 1;
}

.proof-divider {
  color: var(--text-dim);
  font-size: 14px;
}

.proof-downloads {
  font-size: 13px;
  color: var(--text-muted);
}

.download-counter-num {
  font-weight: 700;
  color: var(--accent-cyan);
}

/* ============================================================
   OFFICE NETWORK ANIMATION - PROFESSIONAL
   ============================================================ */

.office-anim-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.office-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,242,254,0.05) 0%, rgba(10,12,22,0) 70%),
              linear-gradient(135deg, #0a0c16 0%, #0d1028 50%, #0a0c16 100%);
  border-radius: 20px;
  border: 1px solid rgba(0,242,254,0.14);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,242,254,0.06),
    0 30px 70px rgba(0,0,0,0.75),
    0 0 50px rgba(0,242,254,0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.office-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,242,254,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,242,254,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

.office-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,242,254,0.06) 0%, transparent 25%),
    linear-gradient(315deg, rgba(79,172,254,0.04) 0%, transparent 25%);
  pointer-events: none;
  z-index: 0;
}

/* ---- SVG Lines ---- */
.conn-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.conn-line {
  stroke-dasharray: 6 5;
  animation: dashFlow 2s linear infinite;
  filter: drop-shadow(0 0 3px rgba(0,242,254,0.5));
}
#line2 { animation-delay: -0.5s; }
#line3 { animation-delay: -1s; }
#line4 { animation-delay: -1.5s; }

@keyframes dashFlow {
  to { stroke-dashoffset: -22; }
}

/* ---- Router Hub ---- */
.router-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.router-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,242,254,0.18) 0%, transparent 70%);
  animation: routerPulseGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes routerPulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.5); opacity: 1; }
}

.router-hub svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(0,242,254,0.4));
}

.router-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(0,242,254,0.65);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  z-index: 1;
}

.router-ping {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1.5px solid rgba(0,242,254,0.35);
  border-radius: 50%;
  animation: pingRing 2.5s ease-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.router-ping::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(0,242,254,0.15);
  border-radius: 50%;
  animation: pingRing 2.5s ease-out infinite 0.7s;
}

@keyframes pingRing {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

/* ---- PC Nodes ---- */
.pc-node {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 108px;
  cursor: default;
  transition: transform 0.3s ease;
}

.pc-node:hover { transform: translateY(-4px) scale(1.04); }

.pc-screen {
  width: 100px;
  height: 68px;
  background: linear-gradient(145deg, rgba(12,16,38,0.97) 0%, rgba(7,9,20,0.99) 100%);
  border: 1.5px solid rgba(0,242,254,0.12);
  border-radius: 9px 9px 3px 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 6px 25px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.pc-screen.active {
  border-color: rgba(0,242,254,0.45);
  box-shadow:
    0 6px 25px rgba(0,0,0,0.65),
    0 0 18px rgba(0,242,254,0.18),
    0 0 35px rgba(0,242,254,0.06),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.pc-screen.receiving {
  border-color: rgba(79,172,254,0.7) !important;
  box-shadow:
    0 6px 25px rgba(0,0,0,0.65),
    0 0 25px rgba(79,172,254,0.35),
    0 0 50px rgba(79,172,254,0.12) !important;
  animation: receivePulse 0.4s ease-in-out 4;
}

@keyframes receivePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

/* Scanline effect */
.pc-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.1) 3px, rgba(0,0,0,0.1) 4px
  );
  pointer-events: none;
  z-index: 3;
}

.pc-screen-inner {
  width: 78%;
  height: 80%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.pc-screen-inner::before {
  content: '● ● ●';
  font-size: 4px;
  letter-spacing: 2px;
  color: rgba(0,242,254,0.35);
  line-height: 1;
}

.mini-file {
  font-size: 17px;
  line-height: 1;
  text-align: center;
  filter: drop-shadow(0 0 5px rgba(0,242,254,0.3));
  animation: fileFloat 3.5s ease-in-out infinite;
}

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

.mini-bars {
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0.45;
}

.mini-bars span {
  height: 2px;
  background: linear-gradient(90deg, rgba(0,242,254,0.7), rgba(79,172,254,0.25));
  border-radius: 1px;
}
.mini-bars span:nth-child(1) { width: 88%; }
.mini-bars span:nth-child(2) { width: 68%; }
.mini-bars span:nth-child(3) { width: 45%; }

.pc-base {
  width: 26px;
  height: 5px;
  background: linear-gradient(180deg, rgba(0,242,254,0.07), rgba(0,242,254,0.02));
  border: 1px solid rgba(0,242,254,0.09);
  border-top: none;
  border-radius: 0 0 3px 3px;
  margin-top: -1px;
}

.pc-stand {
  width: 38px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0,242,254,0.05), transparent);
  border-radius: 2px;
  border: 1px solid rgba(0,242,254,0.07);
  border-top: none;
}

.pc-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.4px;
  margin-top: 5px;
  font-family: 'Outfit', sans-serif;
}

.pc-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 600;
  color: rgba(46,213,115,0.75);
  letter-spacing: 0.2px;
  margin-top: 1px;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2ed573;
  box-shadow: 0 0 5px rgba(46,213,115,0.7);
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---- Flying Data Packets ---- */
.packets-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.data-packet {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1.5px solid rgba(0,242,254,0.55);
  background: rgba(5,10,28,0.95);
  /* No backdrop-filter - too heavy for mobile GPU */
  box-shadow:
    0 0 10px rgba(0,242,254,0.45),
    0 3px 10px rgba(0,0,0,0.55);
  pointer-events: none;
  z-index: 7;
  will-change: left, top, opacity, transform;
}

.data-packet.image-type {
  border-color: rgba(255,176,0,0.55);
  box-shadow: 0 0 12px rgba(255,176,0,0.35), 0 0 25px rgba(255,176,0,0.12), 0 5px 15px rgba(0,0,0,0.55);
}

.data-packet.folder-type {
  border-color: rgba(79,172,254,0.55);
  box-shadow: 0 0 12px rgba(79,172,254,0.35), 0 0 25px rgba(79,172,254,0.12), 0 5px 15px rgba(0,0,0,0.55);
}

/* ---- Transfer Toast ---- */
.transfer-toast {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  background: rgba(8,12,28,0.93);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,242,254,0.18);
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55), 0 0 15px rgba(0,242,254,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.transfer-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-speed {
  color: var(--accent-cyan);
  font-size: 9.5px;
  opacity: 0.75;
}

/* ---- Speed Badge ---- */
.speed-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(8,12,28,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,242,254,0.18);
  border-radius: 10px;
  padding: 9px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  box-shadow: 0 5px 22px rgba(0,0,0,0.45), 0 0 12px rgba(0,242,254,0.07);
  z-index: 8;
}

.speed-val {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.speed-unit {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  opacity: 0.65;
}

.speed-label {
  font-size: 7.5px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.speed-badge::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2ed573;
  box-shadow: 0 0 6px rgba(46,213,115,0.8);
  animation: statusBlink 1.6s ease-in-out infinite;
}

/* ---- will-change for GPU acceleration ---- */
.conn-line {
  will-change: stroke-dashoffset;
}
.router-glow {
  will-change: transform, opacity;
}
.status-dot {
  will-change: opacity;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .office-anim-wrap { max-width: 440px; }
}

@media (max-width: 768px) {
  .office-anim-wrap { max-width: 100%; }

  /* Kill heavy blur effects on mobile */
  .transfer-toast,
  .speed-badge {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5,10,28,0.97);
  }

  /* Simplify box shadows on mobile */
  .pc-screen {
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  }
  .pc-screen.active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.6), 0 0 10px rgba(0,242,254,0.2);
  }
  .pc-screen.receiving {
    box-shadow: 0 4px 12px rgba(0,0,0,0.6), 0 0 14px rgba(79,172,254,0.35) !important;
  }

  /* Reduce router glow animation cost */
  .router-glow {
    animation-duration: 4s;
    opacity: 0.5;
  }

  /* Smaller packet on mobile */
  .data-packet {
    width: 26px;
    height: 26px;
    font-size: 12px;
    box-shadow: 0 0 6px rgba(0,242,254,0.4);
  }

  /* Simpler scanline - disable on mobile */
  .pc-screen::after { display: none; }

  /* Smaller toast */
  .transfer-toast {
    font-size: 10px;
    padding: 6px 10px;
    gap: 5px;
    max-width: 90vw;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .office-anim-wrap { max-width: 330px; }
  .pc-node { width: 76px; }
  .pc-screen { width: 70px; height: 50px; }
  .mini-file { font-size: 12px; }
  .pc-label { font-size: 9px; }
  .pc-status { font-size: 7px; }

  /* Disable ping ring animation on small mobile - too heavy */
  .router-ping, .router-ping::after {
    display: none;
  }

  /* Speed badge smaller */
  .speed-badge {
    padding: 6px 9px;
    top: 8px;
    right: 8px;
  }
  .speed-val { font-size: 14px; }
}
