:root {
    --bg: #0B0D10;
    --card: #14171C;
    --silver: #E8EDF2;
    --cold-gray: #A8B2BE;
    --border: #2A2F36;
    --glow: #C9D4E0;
    --mid-gray: #8A939F;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --section-spacing: 100px;
    --title-margin: 12px;
    --content-margin: 40px;
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--cold-gray);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image: 
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
  }

  h1, h2, h3, h4 {
    color: var(--silver);
    font-weight: 900;
    line-height: 1.2;
  }

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

  ul {
    list-style: none;
  }

  /* Navigation */
  .site-header {
    position: sticky;
    top: 0;
    height: 76px;
    background: rgba(11, 13, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--border), transparent) 1;
  }

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
  }

  .brand-logo img {
    height: 36px;
    width: auto;
    border-radius: 8px;
    border: 2px solid var(--border);
    box-shadow: 0 0 10px rgba(201, 212, 224, 0.15);
  }

  .brand-text {
    display: flex;
    flex-direction: column;
  }

  .brand-main {
    font-size: 16px;
    font-weight: 900;
    color: var(--silver);
    line-height: 1.1;
  }

  .brand-sub {
    font-size: 12px;
    font-style: italic;
    color: var(--mid-gray);
  }

  .nav-links {
    display: flex;
    gap: 32px;
  }

  .nav-links a {
    font-size: 14px;
    color: var(--mid-gray);
    position: relative;
    padding: 8px 0;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--silver);
    transition: var(--transition);
    transform: translateX(-50%);
  }

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

  .nav-links a:hover::after {
    width: 100%;
  }

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

  .btn-metal {
    background: linear-gradient(135deg, #E8EDF2, #8A939F);
    color: #0B0D10;
    font-weight: 900;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 0 #2A2F36, 0 0 15px rgba(201, 212, 224, 0.2);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
  }

  .btn-metal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2A2F36, 0 0 25px rgba(201, 212, 224, 0.4);
  }

  .btn-metal:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #2A2F36;
  }

  .btn-metal-large {
    padding: 16px 48px;
    font-size: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 0 #2A2F36, 0 0 20px rgba(201, 212, 224, 0.3);
  }
  
  .btn-metal-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #2A2F36, 0 0 35px rgba(201, 212, 224, 0.5);
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--silver);
    transition: var(--transition);
  }

  /* Hero Section */
  .hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
  }

  .hero-content {
    flex: 1;
    max-width: 560px;
  }

  .hero-title {
    font-size: 48px;
    margin-bottom: 24px;
    letter-spacing: -1px;
  }

  .hero-title .line1 {
    display: block;
    font-size: 28px;
    color: var(--silver);
    margin-bottom: 8px;
  }

  .hero-title .line1 span {
    font-style: italic;
    color: var(--mid-gray);
    font-size: 20px;
    margin-left: 8px;
    font-weight: 500;
  }

  .hero-title .line2 {
    display: block;
    background: linear-gradient(135deg, #FFFFFF, #A8B2BE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(232, 237, 242, 0.2);
  }

  .hero-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--cold-gray);
    background: rgba(20, 23, 28, 0.5);
  }

  .hero-desc {
    font-size: 16px;
    margin-bottom: 40px;
    color: var(--cold-gray);
    line-height: 1.8;
  }

  .hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
  }

  .phone-mockup {
    position: absolute;
    border-radius: 36px;
    border: 4px solid #2A2F36;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px rgba(201, 212, 224, 0.1);
    overflow: hidden;
    background: #000;
    transition: var(--transition);
  }

  .phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .phone-back {
    width: 240px;
    height: 500px;
    transform: translate(40px, -20px) rotate(6deg);
    opacity: 0.6;
    z-index: 1;
  }

  .phone-front {
    width: 260px;
    height: 540px;
    transform: translate(-20px, 20px) rotate(-2deg);
    z-index: 2;
    border-color: #E8EDF2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(201, 212, 224, 0.2);
  }

  .phone-front:hover {
    transform: translate(-20px, 10px) rotate(0deg);
  }

  /* Section Titles */
  .section {
    max-width: 1200px;
    margin: var(--section-spacing) auto 0;
    padding: 0 24px;
  }

  .section-header {
    margin-bottom: var(--content-margin);
  }

  .section-title {
    font-size: 32px;
    margin-bottom: var(--title-margin);
    color: var(--silver);
  }

  .section-subtitle {
    font-size: 15px;
    color: var(--mid-gray);
  }

  .dash-divider {
    border: none;
    border-top: 1px dashed var(--border);
    margin: var(--content-margin) 0;
  }

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

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

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

  /* Cards */
  .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
  }

  .card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(201, 212, 224, 0.15);
  }

  .driver-card-name {
    font-size: 18px;
    font-weight: 900;
    color: var(--silver);
    margin-bottom: 8px;
  }

  .driver-card-version {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 28px;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--silver);
    opacity: 0.8;
  }

  .driver-card-desc {
    font-size: 13px;
    color: var(--mid-gray);
    margin-top: 12px;
  }

  /* Capability Section */
  .number-badge {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 64px;
    font-family: var(--font-mono);
    font-weight: 900;
    color: rgba(232, 237, 242, 0.05);
    line-height: 1;
    pointer-events: none;
  }

  .cap-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(201, 212, 224, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .cap-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--silver);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cap-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .cap-desc {
    font-size: 14px;
    color: var(--mid-gray);
  }

  /* Dashboard Readout */
  .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .dash-item {
    background: rgba(20, 23, 28, 0.6);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .dash-label {
    font-size: 13px;
    color: var(--mid-gray);
  }

  .dash-value {
    font-size: 16px;
    font-family: var(--font-mono);
    color: #F2F5F8;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(242, 245, 248, 0.3);
    word-break: break-all;
  }

  /* Screenshots Section */
  .screenshots-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    perspective: 1000px;
  }

  .screenshot-phone {
    width: 220px;
    height: 460px;
    border-radius: 32px;
    border: 4px solid #2A2F36;
    background: #000;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  }

  .screenshot-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .screenshot-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #2A2F36;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
  }

  .screenshot-phone:nth-child(1) {
    transform: rotate(-3deg) translateY(20px);
  }

  .screenshot-phone:nth-child(2) {
    z-index: 2;
    transform: scale(1.05);
  }

  .screenshot-phone:nth-child(3) {
    transform: rotate(3deg) translateY(20px);
  }

  .screenshot-phone:hover {
    transform: translateY(-10px) rotate(0) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 25px rgba(201, 212, 224, 0.2);
    z-index: 10;
  }

  /* Safety Section */
  .group-title {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(232, 237, 242, 0.1);
    border: 1px solid var(--border);
    color: var(--silver);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .safety-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .safety-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(201, 212, 224, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .safety-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--silver);
    stroke-width: 2;
  }

  .safety-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .safety-card p {
    font-size: 13px;
    color: var(--mid-gray);
  }

  /* FAQ Section */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
  }

  .faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--silver);
  }

  .faq-num {
    font-size: 24px;
    font-family: var(--font-mono);
    font-weight: 900;
    color: var(--mid-gray);
    margin-right: 24px;
    opacity: 0.5;
  }

  .faq-q {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
  }

  .faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
  }

  .faq-toggle::before,
  .faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--silver);
    transition: var(--transition);
  }

  .faq-toggle::before {
    width: 12px;
    height: 2px;
  }

  .faq-toggle::after {
    width: 2px;
    height: 12px;
  }

  .faq-btn[aria-expanded="true"] .faq-toggle {
    background: var(--silver);
    border-color: var(--silver);
    transform: rotate(45deg);
  }

  .faq-btn[aria-expanded="true"] .faq-toggle::before,
  .faq-btn[aria-expanded="true"] .faq-toggle::after {
    background: var(--bg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .faq-answer-content {
    padding: 0 24px 24px 80px;
    color: var(--cold-gray);
    font-size: 15px;
    line-height: 1.7;
  }

  /* CTA Section */
  .cta-box {
    background: linear-gradient(180deg, var(--card), var(--bg));
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--content-margin);
  }
  
  .cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glow), transparent);
  }

  .cta-title {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .cta-desc {
    font-size: 16px;
    color: var(--cold-gray);
    margin-bottom: 32px;
  }

  .check-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .check-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .check-icon {
    color: var(--silver);
  }

  .check-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--silver);
    fill: none;
    stroke-width: 2;
  }

  .check-text h4 {
    font-size: 15px;
    color: var(--silver);
    margin-bottom: 4px;
  }

  .check-text p {
    font-size: 13px;
    color: var(--mid-gray);
  }

  /* Footer */
  .site-footer {
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--border), transparent) 1;
    padding: 100px 24px 40px;
    margin-top: var(--section-spacing);
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .footer-brand img {
    height: 28px;
    border-radius: 4px;
  }

  .footer-brand span {
    color: var(--silver);
    font-weight: 700;
  }

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

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

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

  .footer-copy {
    font-size: 12px;
    color: var(--mid-gray);
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* JS Animation Classes */
  .fade-up {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1), transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .fade-up.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid { grid-template-columns: repeat(3, 1fr); }
    .screenshots-row { gap: 15px; }
    .screenshot-phone { width: 180px; height: 380px; }
    .hero-title { font-size: 40px; }
    .hero-visual { height: 500px; }
    .phone-back { width: 200px; height: 420px; }
    .phone-front { width: 220px; height: 460px; }
  }

  @media (max-width: 768px) {
    :root {
      --section-spacing: 70px;
      --title-margin: 8px;
      --content-margin: 28px;
    }

    .site-header { background: var(--bg); }
    .nav-links { display: none; }
    .nav-actions .btn-metal { display: none; }
    .hamburger { display: flex; }

    .nav-links.mobile-show {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 76px;
      left: 0;
      width: 100%;
      background: var(--bg);
      padding: 20px;
      border-bottom: 1px solid var(--border);
    }

    .hero-section { flex-direction: column; padding-top: 40px; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-tags { justify-content: center; }
    .hero-visual { height: 400px; width: 100%; }
    .phone-back { width: 160px; height: 340px; transform: translate(20px, -10px) rotate(6deg); }
    .phone-front { width: 180px; height: 380px; transform: translate(-10px, 10px) rotate(-2deg); }

    .grid-4 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    
    .screenshots-row {
      flex-direction: row;
      overflow-x: auto;
      justify-content: flex-start;
      padding-bottom: 20px;
      gap: 20px;
    }
    .screenshot-phone { transform: none !important; flex-shrink: 0; }
    
    .cta-box { padding: 40px 20px; }
    .btn-metal-large { width: 100%; }
    .check-list { grid-template-columns: 1fr; }
    
    .footer-container { flex-direction: column; text-align: center; }
    .footer-copy { text-align: center; }
  }