:root {
  --ink: #0f172a;          /* Deep Slate/Navy */
  --muted: #475569;        /* Cool Slate Grey */
  --paper: #ffffff;        /* Pure White */
  --surface: #f8fafc;      /* Cool white/grey page backdrop */
  --soft-blue: #e0f2fe;    /* Light sky blue tint */
  --line: #e2e8f0;         /* Modern thin grey border */
  --blue: #02569b;         /* Deep Flutter Blue */
  --blue-dark: #0f172a;    /* Deep slate navy */
  --cyan: #0175c2;         /* Vibrant sky blue */
  --green: #0d9488;        /* Clean Teal */
  --green-soft: #f0fdf4;   /* Soft Teal background */
  --red-ink: #ef4444;      /* Clean Warning Red */
  --orange: #ea580c;       /* Orange for PIN badge */
  --orange-light: #fff7ed; /* Light orange backing */
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  --shadow-glow: 0 20px 40px rgba(2, 86, 155, 0.06), 0 1px 10px rgba(2, 86, 155, 0.02);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 14px max(22px, calc((100vw - 1160px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand,
.nav,
.hero-actions {
  align-items: center;
  display: flex;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav {
  color: var(--muted);
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.header-cta:hover {
  color: var(--cyan);
}

.header-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  white-space: nowrap;
  background: var(--paper);
  transition: all 0.2s ease;
}

.header-cta:hover {
  border-color: var(--cyan);
  background: var(--surface);
}

.hero {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  padding: 40px max(22px, calc((100vw - 1160px) / 2)) 40px;
  align-items: center;
  background: linear-gradient(160deg, #dbeafe 0%, #eff6ff 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  max-width: 600px;
  position: relative;
  z-index: 10;
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--blue-dark);
}

h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--blue-dark);
}

h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.button.primary {
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(2, 86, 155, 0.15);
  color: white;
  border: 1px solid var(--blue);
}

.button.primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--cyan);
  background: var(--surface);
  transform: translateY(-1px);
}

.button.wide {
  width: 100%;
}

.hero-scribble {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 4px;
}

.signal-row {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.signal-row span {
  background: var(--soft-blue);
  border: 1px solid rgba(1, 117, 194, 0.15);
  border-radius: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.signal-row span::before {
  content: "✓ ";
  font-size: 11px;
}

/* ==========================================================================
   INTERACTIVE APP MOCKUP CONTAINER
   ========================================================================== */

.console-card {
  align-self: center;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(2, 86, 155, 0.14), 0 2px 8px rgba(2, 86, 155, 0.06);
  padding: 16px;
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   ANIMATED CLOUDS
   ========================================================================== */

.cloud-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cloud {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  animation: drift linear infinite;
  transform: translateX(-300px);
}

.cloud-1 {
  width: 220px;
  height: 120px;
  top: 10%;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.6 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z'/%3E%3C/svg%3E");
  animation-duration: 50s;
  animation-delay: -10s;
}

.cloud-2 {
  width: 140px;
  height: 80px;
  top: 60%;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.6 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z'/%3E%3C/svg%3E");
  animation-duration: 75s;
  animation-delay: -35s;
}

.cloud-3 {
  width: 300px;
  height: 180px;
  top: 75%;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.6 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z'/%3E%3C/svg%3E");
  animation-duration: 100s;
  animation-delay: -70s;
}

.cloud-4 {
  width: 180px;
  height: 100px;
  top: 30%;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.6 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z'/%3E%3C/svg%3E");
  animation-duration: 65s;
  animation-delay: -45s;
}

.cloud-5 {
  width: 250px;
  height: 140px;
  top: 5%;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.6 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z'/%3E%3C/svg%3E");
  animation-duration: 85s;
  animation-delay: -15s;
}

.cloud-6 {
  width: 160px;
  height: 90px;
  top: 85%;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 640 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.6 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z'/%3E%3C/svg%3E");
  animation-duration: 55s;
  animation-delay: -80s;
}

@keyframes drift {
  from { transform: translateX(-300px); }
  to { transform: translateX(120vw); }
}

.demo-intro {
  margin-bottom: 16px;
}

.demo-intro h3 {
  margin-bottom: 4px;
  color: var(--blue-dark);
}

.demo-intro p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.demo-stage-wrapper {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 280px;
}

/* App Mockup styles */
.app-mockup {
  background: var(--paper);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 420px;
}

.window-titlebar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  user-select: none;
}

.titlebar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.titlebar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.app-title-text {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-left: 6px;
}

.titlebar-right {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #64748b;
}

.win-btn {
  cursor: pointer;
}

.app-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Sidebar Mockup */
.app-sidebar {
  width: 160px;
  border-right: 1px solid var(--line);
  background: #ffffff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  font-size: 14px;
  color: var(--blue);
}

.sidebar-logo img {
  height: 20px;
}

.btn-new-transfer {
  background: var(--cyan);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.sidebar-quick {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-quick {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-item.active {
  background: #eff6ff;
  color: var(--blue);
}

.sidebar-footer {
  margin-top: auto;
}

/* App Content Panel */
.app-content {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  position: relative;
}

.content-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.search-bar {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  width: 150px;
}

.search-bar input {
  border: none;
  background: transparent;
  font-size: 11px;
  outline: none;
  width: 100%;
  margin-left: 4px;
}

.pin-badge {
  background: var(--orange-light);
  border: 1px dashed var(--orange);
  border-radius: 8px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  min-height: 28px;
}

.pin-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
}

.pin-code {
  font-size: 12px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.btn-connect {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.drop-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  background: var(--surface);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cloud-icon {
  font-size: 24px;
  margin-bottom: 4px;
  color: #94a3b8;
}

.drop-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.drop-subtext {
  font-size: 11px;
  color: var(--muted);
}

.grid-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.section-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.grid-controls {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-layout {
  cursor: pointer;
  padding: 2px;
}

.icon-layout.active {
  color: var(--blue);
}

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

.file-card-demo {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.file-card-demo:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 12px rgba(1, 117, 194, 0.08);
  transform: translateY(-1px);
}

.file-card-demo.selected {
  border-color: var(--cyan);
  background: var(--soft-blue);
}

.file-icon {
  font-weight: 800;
  font-size: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 6px;
}

.file-icon.pdf {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fee2e2;
}

.file-icon.video {
  background: #f0fdf4;
  color: #22c55e;
  border: 1px solid #dcfce7;
  font-size: 16px;
}

.file-icon.image {
  background: #faf5ff;
  color: #a855f7;
  border: 1px solid #f3e8ff;
  font-size: 16px;
}

.file-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.file-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.file-size {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}

/* Sharing overlay dialog inside the mockup */
.share-overlay-dialog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.share-overlay-dialog.active {
  opacity: 1;
  pointer-events: auto;
}

.dialog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--line);
  width: 200px;
  overflow: hidden;
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 11px;
}

.close-dialog-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

.dialog-body {
  padding: 10px;
  text-align: center;
}

.dialog-qr-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  width: 72px;
  height: 72px;
  margin: 0 auto 6px;
}

.qr-grid-mini {
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  height: 100%;
}

.qr-grid-mini span {
  background: var(--blue-dark);
  border-radius: 1px;
}

.qr-grid-mini span:nth-child(even) {
  background: var(--line);
}

.dialog-tip {
  font-size: 9px;
  color: var(--muted);
  margin: 0;
  line-height: 1.3;
}

/* Phone Mockup styles */
.phone-mockup {
  width: 280px;
  height: 420px;
  background: #0f172a;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border: 4px solid #1e293b;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  background: #ffffff;
  flex: 1;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-statusbar {
  background: #ffffff;
  padding: 4px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
}

.phone-browser {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #f8fafc;
}

.browser-address {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lock-icon {
  font-size: 9px;
}

.address-text {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

.browser-content {
  flex: 1;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.phone-state-default {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.phone-hero-icon {
  font-size: 32px;
  color: var(--cyan);
}

.phone-state-default h4 {
  margin: 0;
  font-size: 14px;
  color: var(--blue-dark);
}

.phone-state-default p {
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}

.phone-state-transfer {
  width: 100%;
}

.file-transfer-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.transfer-file-icon {
  width: 44px;
  height: 44px;
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fee2e2;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 10px;
}

.transfer-file-icon.video {
  background: #f0fdf4;
  color: #22c55e;
  border-color: #dcfce7;
  font-size: 18px;
}

.transfer-file-icon.image {
  background: #faf5ff;
  color: #a855f7;
  border-color: #f3e8ff;
  font-size: 18px;
}

.phone-state-transfer h4 {
  font-size: 12px;
  margin: 0 0 4px;
  word-break: break-all;
}

.phone-state-transfer p {
  font-size: 10px;
  margin: 0 0 14px;
}

.btn-download-sim {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: 700;
  font-size: 12px;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-download-sim:hover {
  background: var(--cyan);
}

.phone-state-success {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #bde7d7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.phone-state-success h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--green);
}

.phone-state-success p {
  font-size: 11px;
  margin: 0 0 16px;
}

.btn-reset-sim {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 750;
  font-size: 11px;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}

/* ==========================================================================
   OTHER SECTIONS (COMPACT SIZES)
   ========================================================================== */

.receiver-card {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 10px;
}

.receiver-card p {
  margin-bottom: 0;
  font-size: 11px;
}

.receiver-card strong {
  font-size: 12px;
  display: block;
}

.section,
.site-footer {
  padding-left: max(22px, calc((100vw - 1160px) / 2));
  padding-right: max(22px, calc((100vw - 1160px) / 2));
}

.section {
  padding-bottom: 48px;
  padding-top: 48px;
}

.section-heading {
  margin: 0 auto 28px;
  max-width: 780px;
  text-align: center;
}

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

.proof-grid article {
  padding: 20px;
  box-shadow: var(--shadow);
}

.proof-grid span {
  color: var(--cyan);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.proof-grid h3 {
  color: var(--blue-dark);
}

.story-section {
  padding-top: 0;
}

.story-card {
  background: var(--paper);
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 940px;
  padding: 28px;
  border-left: 4px solid var(--cyan);
}

.story-card p:last-child {
  font-size: 18px;
  margin-bottom: 0;
}

.pricing-section {
  background: #f0f7ff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.pricing-card {
  box-shadow: var(--shadow-glow);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 340px;
  margin: 0 auto;
  max-width: 940px;
  padding: 24px;
}

.price-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.plan-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

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

.currency {
  font-size: 24px;
  font-weight: 850;
  color: var(--blue-dark);
}

.amount {
  font-size: 64px;
  font-weight: 900;
  line-height: 0.9;
  color: var(--blue-dark);
}

.term {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.pricing-features li {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.maintenance-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 16px;
  padding: 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow);
}

.maintenance-box strong {
  color: var(--ink);
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.maintenance-box p {
  margin: 0;
  font-style: italic;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  max-width: 860px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.comparison-table th, .comparison-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: var(--blue-dark);
  font-weight: 600;
  background: var(--surface);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td strong {
  color: var(--ink);
}

.faq-list details {
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}

.faq-list details:hover {
  border-color: var(--cyan);
}

.faq-list summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-dark);
}

.faq-list p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.guarantee-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.guarantee-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.guarantee-box h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
}

.guarantee-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 12px;
}

.guarantee-box p:last-child {
  margin-bottom: 0;
}

.circle-100 {
  position: relative;
  display: inline-block;
  padding: 0 4px;
  font-weight: 800;
  color: var(--blue);
}

.circle-100::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 2px solid var(--cyan);
  border-radius: 48% 52% 50% 50% / 42% 40% 60% 58%;
  transform: rotate(-3deg);
  pointer-events: none;
  opacity: 0.7;
}

.site-footer {
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  padding-top: 20px;
  font-size: 13px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-desc {
  font-size: 12px;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 16px;
}

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

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 32px;
  }

  .console-card {
    margin: 0 auto;
  }

  .demo-stage-wrapper {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    margin: 0 auto;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 32px;
  }

  .hero-text,
  .story-card p:last-child {
    font-size: 15px;
  }

  .demo-stage-wrapper {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 32px;
    padding-top: 32px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

.pricing-wrapper {
  margin: 0 auto;
  max-width: 940px;
}

/* Checkout Modal CSS */
#payBtn {
  cursor: pointer;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none; /* Controlled by JS setting style.display */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}
.modal-card {
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #8892b0;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #fff;
}
.modal-card h3 {
  margin: 0 0 8px 0;
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}
.modal-sub {
  color: #8892b0;
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.input-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.input-group label {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.input-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.input-group input:focus {
  outline: none;
  border-color: #00f2fe;
  box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.2);
  background: rgba(255, 255, 255, 0.08);
}
.input-note {
  color: #56617a;
  font-size: 11px;
  margin-top: 4px;
}
#submitPaymentBtn {
  margin-top: 8px;
  border: none;
  cursor: pointer;
}
#submitPaymentBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

