:root {
    --bg: #0b1220;
    --bg-soft: #121a2b;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --text: #f3f4f6;
    --muted: #9ca3af;
    --accent: #4f46e5;
    --accent-soft: rgba(79, 70, 229, 0.28);
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    --radius: 24px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    position: relative;
    overflow-x: hidden;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input,
  textarea {
    font: inherit;
  }
  
  .page-bg {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.24), transparent 35%),
      radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.18), transparent 32%),
      radial-gradient(circle at 50% 85%, rgba(99, 102, 241, 0.16), transparent 35%),
      linear-gradient(180deg, #0b1220 0%, #0a1020 100%);
    z-index: -3;
  }
  
  .grid-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: 0.22;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
  }
  
  .hero {
    width: min(1200px, calc(100% - 48px));
    min-height: calc(100vh - 140px);
    margin: 0 auto;
    padding: 72px 0 32px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }
  
  .hero__content {
    max-width: 620px;
  }
  
  .hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  
  .hero__title {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
  }
  
  .hero__text {
    margin: 24px 0 0;
    max-width: 560px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--muted);
  }
  
  .hero__button {
    margin-top: 34px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--accent), #6d63ff);
    color: white;
    padding: 14px 26px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 14px 34px rgba(79, 70, 229, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  }
  
  .hero__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(79, 70, 229, 0.42);
  }
  
  .hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .phone {
    width: min(360px, 100%);
    aspect-ratio: 9 / 18.5;
    padding: 14px;
    border-radius: 44px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)),
      #0d1424;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    position: relative;
  }
  
  .phone::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--accent-soft), transparent 60%);
    z-index: -1;
    filter: blur(18px);
  }
  
  .phone__notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 24px;
    background: #050811;
    border-radius: 0 0 16px 16px;
    z-index: 3;
  }
  
  .phone__screen {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: #050811;
    position: relative;
  }
  
  .phone__slides {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .phone__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .phone__slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
  }
  
  .phone__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .phone__dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
  }
  
  .phone__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  
  .phone__dot.is-active {
    background: white;
    transform: scale(1.15);
  }
  
  .contact-strip {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 8px 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .contact-strip a:hover {
    color: var(--text);
  }
  
  .footer{
    margin-top:80px;
    padding:40px 20px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,0.08);
    color:#9ca3af;
    font-size:14px;
    }
    
    .footer__company{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-bottom:16px;
    }
    
    .footer__company strong{
    color:#ffffff;
    font-size:16px;
    }
    
    .footer__links{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
    }
    
    .footer__links a{
    color:#60a5fa;
    text-decoration:none;
    }
    
    .footer__links a:hover{
    text-decoration:underline;
    }
    
    .footer__dot{
    opacity:0.6;
    }
    
    .footer__copy{
    opacity:0.7;
    font-size:13px;
    }
  
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    animation: revealUp 1s ease forwards;
  }
  
  .reveal-delay {
    animation-delay: 0.18s;
  }
  
  @keyframes revealUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 50;
  }
  
  .modal.is-open {
    display: block;
  }
  
  .modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
  }
  
  .modal__dialog {
    position: relative;
    width: min(560px, calc(100% - 32px));
    margin: 8vh auto 0;
    background: rgba(12, 18, 32, 0.95);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }
  
  .modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }
  
  .modal__title {
    margin: 0;
    font-size: 1.7rem;
  }
  
  .modal__subtitle {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
  }
  
  .modal__form {
    margin-top: 24px;
    display: grid;
    gap: 16px;
  }
  
  .modal__label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: 0.95rem;
  }
  
  .modal__input,
  .modal__textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  
  .modal__input:focus,
  .modal__textarea:focus {
    border-color: rgba(99, 102, 241, 0.7);
    background: rgba(255, 255, 255, 0.06);
  }
  
  .modal__textarea {
    resize: vertical;
    min-height: 130px;
  }
  
  .modal__submit {
    border: none;
    border-radius: 999px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent), #6d63ff);
    color: white;
    font-weight: 600;
    cursor: pointer;
  }

  .modal__honeypot {
    display: none;
  }
  
  .modal__status {
    display: none;
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    border: 1px solid transparent;
    animation: statusFade 0.25s ease;
  }
  
  .modal__status.is-visible {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }
  
  .modal__status.is-success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
  }
  
  .modal__status.is-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fecaca;
  }
  
  .modal__status::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .modal__status.is-success::before {
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
  }
  
  .modal__status.is-error::before {
    background: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
  }
  
  @keyframes statusFade {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 980px) {
    .hero {
      grid-template-columns: 1fr;
      padding-top: 44px;
      gap: 32px;
      min-height: auto;
    }
  
    .hero__content {
      text-align: center;
      margin: 0 auto;
    }
  
    .hero__text {
      margin-left: auto;
      margin-right: auto;
    }
  
    .hero__button {
      margin-left: auto;
      margin-right: auto;
    }
  
    .phone {
      width: min(320px, 82vw);
    }
  }
  
  @media (max-width: 640px) {
    .hero,
    .contact-strip,
    .footer {
      width: min(100% - 28px, 1200px);
    }
  
    .hero__title {
      font-size: clamp(2.2rem, 12vw, 3.4rem);
    }
  
    .hero__text {
      font-size: 1rem;
      line-height: 1.7;
    }
  
    .modal__dialog {
      margin-top: 4vh;
      padding: 22px;
    }
  }

  .back-button{
    display:inline-block;
    margin-bottom:20px;
    padding:8px 14px;
    background:#1f2937;
    color:#60a5fa;
    text-decoration:none;
    border-radius:6px;
    font-size:14px;
    transition:all .2s ease;
    }
    
    .back-button:hover{
    background:#374151;
    transform:translateX(-2px);
    }