:root {
  --bg-color: #0a0a0c;
  --card-bg: #131316;
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.4);
  --accent: #8b5cf6;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
  --font-main: "Inter Tight", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
  --max-width: 1200px;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 50%,
      rgba(79, 70, 229, 0.04),
      transparent 40%),
    radial-gradient(circle at 85% 30%,
      rgba(139, 92, 246, 0.04),
      transparent 40%);
  z-index: -2;
  pointer-events: none;
}

@keyframes bgPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

h1,
h2,
h3,
h4,
.logo,
.btn,
.nav-link,
.tagline {
  font-family: var(--font-heading);
}

#typing-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  min-height: 2.2em;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.header {
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #00f0ff;
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px #00f0ff;
}

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

.logo {
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 30%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.dot {
  color: inherit;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(15px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-heading);
}

.mobile-nav-link:hover {
  color: var(--accent);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

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

  .mobile-menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .phone-wrapper {
    margin-top: 2rem;
    perspective: none;
  }

  .phone-case {
    width: 100%;
    height: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    transform: none !important;
  }

  .phone-notch,
  .phone-status-bar {
    display: none;
  }

  .phone-screen {
    background: transparent;
    border-radius: 0;
    height: auto;
  }

  .app-grid {
    padding: 0;
    gap: 1rem;
  }

  .app-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--accent);
}

.nav-link:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.btn-primary:hover {
  transition:
    transform 0.1s ease-out,
    box-shadow 0.3s ease,
    background 0.3s ease;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  padding: 180px 0 100px;
  position: relative;
  text-align: center;
}

.tagline {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  cursor: default;
  transition: all 0.3s ease;
  position: relative;
}

.gradient-text:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at 50% 50%,
      var(--primary) 0%,
      transparent 60%);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.01) 100%);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform-style: preserve-3d;
  will-change: transform;
}

.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, 0),
      transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  mix-blend-mode: overlay;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg,
      var(--accent),
      var(--primary),
      transparent 60%);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: #16161a;
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover .card-icon {
  background: var(--gradient);
  color: white;
  transform: scale(1.1) rotate(-5deg);
  border-color: transparent;
  box-shadow: 0 5px 15px var(--primary-glow);
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-container {
  background: linear-gradient(135deg, #1e1b4b 0%, #131316 100%);
  padding: 4rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.construction-message {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.icon-construction {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.phone-wrapper {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  perspective: 1000px;
  animation: phoneSlideUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
}

@keyframes phoneSlideUp {
  0% {
    transform: translateY(100vh) rotateX(20deg);
    opacity: 0;
  }

  100% {
    transform: translateY(0) rotateX(0);
    opacity: 1;
  }
}

.phone-case {
  width: 300px;
  height: 580px;
  background: #1a1a1c;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #333,
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  position: relative;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.phone-case:hover {
  transform: rotateY(0) rotateX(0);
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.process {
  background: #050505;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto 0;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(-50%);
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, #8b5cf6, #06b6d4);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
  transform: translateX(-50%);
  z-index: 1;
  transition: height 0.1s linear;
}

.timeline-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 8rem;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.active {
  transform: translateY(0);
  opacity: 1;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-icon {
  width: 16px;
  height: 16px;
  background: #050505;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: all 0.4s ease;
}

.timeline-item.active .timeline-icon {
  border-color: #06b6d4;
  box-shadow:
    0 0 15px #06b6d4,
    0 0 0 6px rgba(6, 182, 212, 0.1);
  background: #06b6d4;
  transform: translate(-50%, -50%) scale(1.2);
}

.timeline-content {
  width: 42%;
  padding: 3rem;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  position: relative;
  z-index: 5;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}

.timeline-content:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.8;
}

.timeline-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #a1a1aa;
  font-size: 1.1rem;
  line-height: 1.6;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
}

@media (max-width: 768px) {

  .timeline-line,
  .timeline-progress {
    left: 20px;
    transform: none;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 4rem;
  }

  .timeline-item:nth-child(even) {
    align-items: flex-start;
  }

  .timeline-icon {
    left: 20px;
    transform: translate(-50%, -50%);
  }

  .timeline-item.active .timeline-icon {
    transform: translate(-50%, -50%) scale(1.2);
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
    padding: 2rem;
  }

  .step-number {
    font-size: 3rem;
  }

  .timeline-content h3 {
    font-size: 1.5rem;
  }
}

.tech-ribbon {
  background: #050505;
  padding: 2rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-track {
  display: flex;
  width: fit-content;
  animation: scroll 40s linear infinite;
}

.tech-icon {
  font-size: 3rem;
  margin: 0 2rem;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.tech-icon:hover {
  color: #fff;
  transform: translateY(-5px);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.tech-icon::after {
  content: attr(data-name);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  font-family: var(--font-main);
  color: white;
}

.tech-icon:hover::after {
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.pricing-grid {
  gap: 2rem;
  align-items: flex-start;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(79, 70, 229, 0.1);
}

.highlight {
  border: 1px solid var(--primary);
  background: linear-gradient(180deg,
      rgba(79, 70, 229, 0.1) 0%,
      rgba(19, 19, 22, 1) 100%);
}

.popular-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
  font-family: var(--font-heading);
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

.full-width {
  width: 100%;
  text-align: center;
}

.audit-section {
  padding: 120px 0;
}

.audit-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.success-message {
  display: none;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.app-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  width: 100%;
}

.app-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.2rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.app-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.app-icon {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 0;
}

.app-name {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.phone-screen {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}