  :root {
      --c1: #000000;  /* Pure black background */
      --c2: #111111;  /* Slightly lighter black for section contrast */
      --c3: #f5f5f5;  /* Soft white text */
      --a: #ffffff;   /* Accent color pure white */
      --radius: 12px;
      --shadow: 0 8px 28px rgba(0,0,0,0.35);
  }
  body {
    margin:0; font-family: 'Inter', system-ui, sans-serif;
    background:var(--c1); color:var(--c3);
  }
  .nav {
    position:sticky; top:0; z-index:1000;
    display:flex; justify-content:space-between; align-items:center;
    padding:16px 40px; backdrop-filter:blur(16px) saturate(150%);
    background:rgba(10,15,26,0.75); border-bottom:1px solid rgba(255,255,255,0.05);
  }
  .nav a { color:var(--c3); text-decoration:none; margin:0 14px; font-weight:500; }
  .nav .btn { padding:8px 14px; border-radius:var(--radius); }
  .btn.primary { background:var(--a); color:#fff; }
  :root {
      --a: #00f6ff;  /* neon cyan */
  }
  .btn.secondary { background:transparent; border:1px solid #4b5563; }
  
  .hero.full-bg {
    position:relative; min-height:90vh; display:flex; align-items:center; justify-content:center;
    background-size:cover; background-position:center;
  }
  .hero .overlay {
    position:absolute; top:0; left:0; width:100%; height:100%;
    background:linear-gradient(180deg,rgba(0,0,0,0.5),rgba(0,0,0,0.8));
  }
  .hero-content { position:relative; text-align:center; max-width:800px; color:white; }
  .hero h1 { font-size:64px; font-weight:800; margin-bottom:0.3em; }
  .hero .tagline { font-size:20px; opacity:0.85; margin-bottom:1em; }
  .scroll-down { font-size:32px; margin-top:20px; animation:bounce 2s infinite; }
  
  .section { padding:80px 40px; max-width:1200px; margin:auto; }
  .section.alt-bg { background:var(--c2); }
  .section-title { font-size:36px; margin-bottom:40px; text-align:center; }
  .cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px; }
  .cards article {
    background:rgba(255,255,255,0.05); padding:24px; border-radius:var(--radius);
    box-shadow:var(--shadow); transition:transform 0.3s ease;
  }
  .cards article:hover { transform:translateY(-4px); }
  
  .lifecycle-list { list-style:none; padding:0; font-size:18px; line-height:1.6; }
  
  .center { text-align:center; }
  
  @keyframes bounce {
    0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);}
  }
  
  /* Reveal animation */
  .reveal { opacity:0; transform:translateY(40px); transition:all 0.8s ease-out; }
  .reveal.active { opacity:1; transform:none; }
  /* Animated gradient background for hero */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: white;
  }

/* Moving fog layer for cinematic Vanta Black */
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("{{ url_for('static', filename='images/fog-texture.png') }}");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.07; /* Keep it subtle */
    mix-blend-mode: lighten; /* Makes fog interact with background lighting */
    animation: fogMove 60s linear infinite;
    z-index: -2;
  }

  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  @keyframes fogMove {
    0% { background-position: 0% 0%; transform: scale(1); }
    50% { background-position: 100% 50%; transform: scale(1.05); }
    100% { background-position: 0% 100%; transform: scale(1); }
  }
  
  /* Vanta Black Background */
  #vanta-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
  }
  
  .overlay {
    pointer-events: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.015),
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 2px
    );
    z-index: -1;
  }
  
  /* Hero headline styling */
  .hero-copy h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.4em;
    animation: fadeInUp 1.2s ease forwards;
  }

  h1, h2, h3 {
    font-weight: 800;
    color: var(--c3);
  }
  p, li {
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
  }
  
  .hero-copy p {
    font-size: 1.3rem;
    opacity: 0;
    animation: fadeInUp 1.4s ease forwards;
    animation-delay: 0.3s;
  }
  
  .cta {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255,255,255,0.1);
  }
  .cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 25px rgba(255,255,255,0.2);
  }
  
  /* Scroll reveal animations */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
  }
  .reveal.active {
    opacity: 1;
    transform: none;
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* General content container */
  section.content, section.grid, section.cards {
    max-width: 1200px;
    margin: 0 auto; /* Center content */
    padding: 60px 20px; /* Top/bottom breathing room */
  }
  section.content:nth-child(even),
  section.grid:nth-child(even),
  section.cards:nth-child(even) {
      background-color: var(--c2);
  }

  /* Feature Cards */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    text-align: left;
  }
  .cards article {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .cards article:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.1);
  }

  /* Grid sections */
  .grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  /* Section titles */
  .content h2, .grid h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  /* Lists in content sections */
  .content ul {
    margin: 20px 0 0 20px;
    padding: 0;
    list-style: none;
  }
  .content ul li {
    margin-bottom: 10px;
    padding-left: 1.4em;
    position: relative;
  }
  .content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--a, #ffffff);
    font-weight: bold;
  }
  
  .pricing-link{
    display:flex;
    justify-content:center;
    padding:64px 16px;
    position:relative;
    z-index:1;           /* avoids being under overlapping sections */
  }
  
  a.cta{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 22px;
    border-radius:12px;
    font-weight:600;
    text-decoration:none;
    border:1px solid #374151;
    background:#0b1222;          /* adjust to your theme */
    color:#e5e7eb;
    box-shadow:0 8px 24px rgba(0,0,0,.25);
  }
  
  a.cta.secondary{
    background:transparent;
    border:1.5px solid var(--a, #ffffff);
    color:var(--a, #ffffff);
  }
  
  a.cta:hover{ transform:translateY(-1px); }
  a.cta:focus-visible{ outline:2px solid var(--a, #ffffff); outline-offset:3px; }
  .auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
  }
  
  .auth-card {
    background: rgba(255,255,255,0.03);
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 420px;
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .auth-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5em;
  }
  
  .auth-card .subtitle {
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 1.5em;
  }
  
  .form-group {
    text-align: left;
    margin-bottom: 1.2em;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--c3);
    font-size: 0.95rem;
    outline: none;
  }
  
  .form-group input:focus {
    border-color: var(--a);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
  }
  
  button.cta.full {
    margin-top: 10px;
  }
  
  .switch-auth {
    margin-top: 1.5em;
    font-size: 0.9rem;
  }
  .switch-auth a {
    color: var(--a);
    font-weight: 500;
  }
  .auth-wrapper {
    min-height: calc(100vh - 80px); /* accounts for nav height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  @media (max-width: 768px) {
    .auth-wrapper {
      min-height: calc(100vh - 60px); /* adjust for smaller nav */
      padding: 16px;
    }
  }
  html, body {
    height: 100%;
  }
  
  .account-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* ✅ full height center */
    padding: 40px 20px;
  }  
  
  .account-card {
    background: rgba(15, 15, 15, 0.65); /* Slightly less transparent */
    border-radius: 14px;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 255, 255, 0.08);
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.08);
    padding: 32px;
    width: 100%;
    max-width: 500px;
    color: #e5e9f0; /* Lighter text */
  }
  
  .account-card h2, 
  .account-card h3 {
    color: #fff;
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.2);
  }
   
  .account-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1em;
    text-align: center;
  }
  
  .info-block {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  
  .info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .info-block h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5em;
    color: var(--a);
  }
  
  button.cta.full, a.cta.full {
    text-align: center;
  }
  .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 1.5em;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .form-group input,
  .form-group select {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--c3);
    font-size: 0.95rem;
  }
  
  .form-group input:focus,
  .form-group select:focus {
    border-color: var(--a);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
    outline: none;
  }
  
  button.cta.full {
    margin-top: 10px;
  }
  .total-block {
    margin: 1.5em 0;
    text-align: center;
  }
  
  .total-block p {
    font-size: 0.9rem;
    opacity: 0.8;
  }
  
  .total-block h3 {
    font-size: 1.8rem;
    margin: 0.2em 0;
  }
  
  .total-block .per-month {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
  }
  
  .secure-note {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 1.5em;
    text-align: center;
  }
  .form-fields {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .form-group input {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--c3);
    font-size: 0.95rem;
  }
  
  .form-group input:focus {
    border-color: var(--a);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
    outline: none;
  }
  
  .activation-result {
    margin-top: 1.5em;
  }
  
  .activation-result textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--c3);
    font-family: monospace;
    font-size: 0.85rem;
    resize: none;
  }
  
  .note {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.5em;
  }

  .account-card a.cta.full,
  .account-card button.cta.full {
    width: auto;               /* No full width */
    padding: 10px 18px;         /* Smaller padding */
    font-size: 0.9rem;          /* Slightly smaller text */
    border-radius: 8px;         /* Slightly smaller radius */
    display: inline-block;      /* Inline sizing */
  }

  .account-card .info-block a.cta,
  .account-card .info-block button.cta {
    margin-top: 8px;
  }

    
  
  
  
