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

    body {
      font-family: 'DM Sans', sans-serif;
      background-color: #000D1F;
      color: #ffffff;
      overflow-x: hidden;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ── Hero bg: coat of arms as soft watermark ── */
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
    }
    .coat-watermark {
      position: absolute;
      right: -6%;
      top: 50%;
      transform: translateY(-50%);
      width: min(700px, 90vw);
      opacity: 0.07;
      filter: grayscale(30%) blur(1px);
      pointer-events: none;
      animation: float 8s ease-in-out infinite;
    }
    /* Subtle gradient overlay over the watermark area */
    .hero-overlay {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 80% at 20% 50%, rgba(0,31,63,0.95) 0%, rgba(0,31,63,0.6) 60%, transparent 100%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(0,13,31,0.7) 0%, transparent 100%);
    }

    /* ── Gradient text ── */
    .gradient-text {
      background: linear-gradient(135deg, #ffffff 0%, #D4122A 40%, #C9A84C 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .gradient-text-blue {
      background: linear-gradient(135deg, #4A9EFF 0%, #ffffff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ── Glassmorphism cards ── */
    .glass-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.09);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: all 0.35s ease;
    }
    .glass-card:hover {
      background: rgba(255,255,255,0.07);
      border-color: rgba(212,18,42,0.3);
      transform: translateY(-4px);
      box-shadow: 0 20px 60px rgba(212,18,42,0.1);
    }

    /* ── Red accent glow ── */
    .red-glow {
      box-shadow: 0 0 40px rgba(212,18,42,0.25), 0 0 80px rgba(212,18,42,0.1);
    }
    .btn-primary {
      background: linear-gradient(135deg, #D4122A 0%, #A50D20 100%);
      transition: all 0.3s ease;
      box-shadow: 0 4px 20px rgba(212,18,42,0.35);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(212,18,42,0.5);
    }
    .btn-primary:active {
      transform: translateY(0);
    }

    /* ── Divider lines ── */
    .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(212,18,42,0.4), transparent);
    }

    /* ── Subtle noise texture overlay ── */
    .noise::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 1;
      opacity: 0.4;
    }

    /* ── Animated entrance ── */
    .animate-on-load { opacity: 0; }
    .delay-1 { animation-delay: 0.1s; }
    .delay-2 { animation-delay: 0.25s; }
    .delay-3 { animation-delay: 0.45s; }
    .delay-4 { animation-delay: 0.65s; }
    .delay-5 { animation-delay: 0.85s; }
    .delay-6 { animation-delay: 1.05s; }

    /* ── Email input ── */
    .email-input {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      color: white;
      transition: all 0.3s ease;
      outline: none;
    }
    .email-input::placeholder { color: rgba(255,255,255,0.35); }
    .email-input:focus {
      border-color: rgba(212,18,42,0.6);
      background: rgba(255,255,255,0.09);
      box-shadow: 0 0 0 3px rgba(212,18,42,0.12);
    }

    /* ── Dot badge ── */
    .badge {
      background: linear-gradient(135deg, rgba(212,18,42,0.2), rgba(212,18,42,0.05));
      border: 1px solid rgba(212,18,42,0.3);
      color: #E8223C;
    }

    /* ── Feature icon ring ── */
    .icon-ring {
      background: linear-gradient(135deg, rgba(212,18,42,0.15), rgba(0,51,102,0.3));
      border: 1px solid rgba(212,18,42,0.2);
    }

    /* ── Scrollbar ── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #000D1F; }
    ::-webkit-scrollbar-thumb { background: #D4122A; border-radius: 3px; }

    /* ── Footer links ── */
    .footer-link {
      color: rgba(255,255,255,0.45);
      transition: color 0.2s;
      text-decoration: none;
    }
    .footer-link:hover { color: #E8223C; }

    /* ── Top nav logo text ── */
    .logo-glyph {
      font-family: 'Sora', sans-serif;
      font-weight: 800;
      letter-spacing: -1px;
    }

    /* ── Success state ── */
    .success-msg {
      display: none;
      animation: fadeUp 0.5s ease forwards;
    }
    .success-msg.visible { display: flex; }

    /* ── Horizontal scroll strip ── */
    .marquee-track {
      display: flex;
      gap: 2rem;
      animation: marquee 22s linear infinite;
      white-space: nowrap;
    }
    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .marquee-wrapper { overflow: hidden; }

    /* ── Star / glow dots decoration ── */
    .star-dot {
      position: absolute;
      border-radius: 50%;
      background: rgba(212,18,42,0.6);
      filter: blur(1px);
      animation: pulse-slow 4s ease-in-out infinite;
    }

    /* ── Phone float animation ── */
    @keyframes floatPhone {
      0%, 100% { transform: translateY(0px); }
      50%       { transform: translateY(-10px); }
    }
    /* Scale override for center phone */
    .phone-mockup { flex-shrink: 0; }
    /* Responsive phones row */
    @media (max-width: 768px) {
      #app-demo .phone-mockup { width: 160px !important; height: 320px !important; }
    }
    @media (max-width: 520px) {
      #app-demo > div > div:last-child > div:first-child { flex-direction: column; align-items: center; }
    }
    /* ── 5Pyas neon glow title ── */
    @keyframes glow {
      0% {
        text-shadow: 0 0 5px #f80000, 0 0 10px #f80000, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
      }
      100% {
        text-shadow: 0 0 10px #0800e3, 0 0 20px #0800e3, 0 0 40px #0800e3, 0 0 80px #0800e3, 0 0 160px #0800e3;
      }
    }
    .pyas-container {
      text-align: center;
      margin-bottom: 0.5rem;
    }
    .neon-text {
      font-family: 'Sora', sans-serif !important;
      font-weight: 800 !important;
      font-size: clamp(6rem, 20vw, 13rem) !important;
      color: #fff !important;
      letter-spacing: -0.05em !important;
      line-height: 0.95 !important;
      animation: glow 1.5s ease-in-out infinite alternate !important;
      display: block !important;
      -webkit-text-fill-color: #fff !important;
      background: none !important;
      -webkit-background-clip: unset !important;
      background-clip: unset !important;
      margin: 0 !important;
      padding: 0 !important;

     
    }

    
    footer { margin-top: auto; }
