@import url('google-fonts.css');

:root {
  --bg-color: #030307;
  --bg-gradient: radial-gradient(circle at 50% 0%, #0d0b21 0%, #030307 70%, #010103 100%);
  --panel-bg: rgba(10, 10, 18, 0.55);
  --panel-border: rgba(255, 255, 255, 0.05);
  --panel-border-hover: rgba(255, 255, 255, 0.15);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  
  /* Accent Neon Colors */
  --neon-blue: #007aff;
  --neon-cyan: #00f2fe;
  --neon-purple: #9d4edd;
  --neon-coral: #ff007f;
  
  --accent-gradient: linear-gradient(135deg, #00c6ff 0%, #007aff 100%);
  --purple-gradient: linear-gradient(135deg, #9d4edd 0%, #7209b7 100%);
  --coral-gradient: linear-gradient(135deg, #ff007f 0%, #ff5c8a 100%);
  --cyan-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  
  --font-title: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  height: 100%;
  overflow-x: hidden;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Glowing Neon Background Orbs */
.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1600px;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.orb-indigo {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, transparent 70%);
  top: -200px;
  left: 10%;
}

.orb-cyan {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
  top: 100px;
  right: 5%;
}

.orb-pink {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.08) 0%, transparent 70%);
  top: 40%;
  left: -150px;
}

.orb-blue {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.12) 0%, transparent 70%);
  bottom: 15%;
  right: -100px;
}

/* Futuristic Floating Nav Bar */
.floating-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background: rgba(8, 8, 14, 0.5);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 8px 12px;
  z-index: 1000;
  transition: var(--transition-smooth);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.floating-nav.scrolled {
  top: 14px;
  background: rgba(4, 4, 8, 0.8);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.navbar-brand {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 21px;
  color: #fff !important;
  margin-left: 10px;
}

.navbar-nav {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-item {
  position: relative;
  z-index: 2;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13.5px;
  font-family: var(--font-sans);
  padding: 6px 18px !important;
  border-radius: 100px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.08);
}

/* Premium Navigation Download button */
.btn-appstore {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border-radius: 100px;
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  font-family: var(--font-sans);
}

.btn-appstore:hover {
  background: #ffffff;
  color: #030307;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.btn-appstore-sub {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.btn-appstore-title {
  font-size: 16px;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  padding-top: 180px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(157, 78, 221, 0.08);
  border: 1px solid rgba(157, 78, 221, 0.2);
  color: #c084fc;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.badge-premium i {
  color: var(--neon-cyan);
}

.headline-glow {
  font-family: var(--font-title);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(to bottom, #ffffff 40%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.headline-glow span {
  background: linear-gradient(135deg, #00f2fe 0%, #9d4edd 50%, #ff007f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-header {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

/* Premium Apple Keyboard Keycaps styling */
.hero-shortcut-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.shortcut-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #242533 0%, #12131b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 3.5px solid rgba(0, 0, 0, 0.65);
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 38px;
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  box-shadow: 0 6px 15px rgba(0,0,0,0.45);
  font-family: var(--font-sans);
}

/* Centered Interactive Mockup Perspective Dashboard */
.hero-dashboard-wrapper {
  max-width: 1000px;
  margin: 60px auto 0 auto;
  padding: 0 20px;
  position: relative;
}

.glow-backdrop-radial {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

.perspective-container {
  perspective: 1500px;
  width: 100%;
}

.perspective-card {
  transform: rotateX(8deg) rotateY(-8deg) rotateZ(-1deg) scale(0.98);
  transform-style: preserve-3d;
  transition: var(--transition-smooth);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 
    0 35px 80px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(157, 78, 221, 0.15);
  will-change: transform;
}

.perspective-card:hover {
  transform: rotateX(2deg) rotateY(-2deg) rotateZ(0deg) scale(1.01);
  box-shadow: 
    0 40px 90px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(157, 78, 221, 0.25);
}

.perspective-card img {
  will-change: transform;
  filter: blur(0);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

/* macOS Window wrapper frame styling */
.mac-window {
  background: rgba(10, 10, 16, 0.65);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 
    0 35px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 40px rgba(157, 78, 221, 0.15);
  overflow: hidden;
  position: relative;
}

.mac-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.traffic-lights {
  display: flex;
  gap: 8px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.light-close { background: #ff5f56; }
.light-minimize { background: #ffbd2e; }
.light-zoom { background: #27c93f; }

.window-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-sans);
}

/* New Premium description cards (Bento Grid) */
.features-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-tag {
  font-family: var(--font-sans);
  color: var(--neon-purple);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 60px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

/* Description Cards styling (Плашки) */
.bento-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 28px;
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: var(--panel-border-hover);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.45),
    0 0 35px var(--glow-color, rgba(157, 78, 221, 0.05));
}

.card-cyan {
  --glow-color: rgba(0, 242, 254, 0.08);
}
.card-purple {
  --glow-color: rgba(157, 78, 221, 0.08);
}
.card-blue {
  --glow-color: rgba(0, 122, 255, 0.08);
}
.card-coral {
  --glow-color: rgba(255, 0, 127, 0.08);
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-cyan .bento-icon {
  background: rgba(0, 242, 254, 0.08);
  color: var(--neon-cyan);
  border-color: rgba(0, 242, 254, 0.2);
}

.card-purple .bento-icon {
  background: rgba(157, 78, 221, 0.08);
  color: var(--neon-purple);
  border-color: rgba(157, 78, 221, 0.2);
}

.card-blue .bento-icon {
  background: rgba(0, 122, 255, 0.08);
  color: var(--neon-blue);
  border-color: rgba(0, 122, 255, 0.2);
}

.card-coral .bento-icon {
  background: rgba(255, 0, 127, 0.08);
  color: var(--neon-coral);
  border-color: rgba(255, 0, 127, 0.2);
}

.card-span-8 { grid-column: span 8; }
.card-span-4 { grid-column: span 4; }
.card-span-6 { grid-column: span 6; }

.bento-card-title {
  font-family: var(--font-title);
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.bento-card-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* Feature Showcase Rows with 3D Perspective Screenshots */
.feature-row {
  margin-top: 140px;
  align-items: center;
}

.feature-tag-small {
  font-family: var(--font-sans);
  color: var(--neon-cyan);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-row-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.feature-checklist {
  list-style: none;
  margin-top: 28px;
}

.feature-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-secondary);
}

.feature-checklist li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--neon-purple);
  font-size: 16px;
}

/* 3D Tilted Screenshot Container */
.screenshot-perspective {
  perspective: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.tilted-mockup {
  transform: rotateY(-14deg) rotateX(10deg) rotateZ(-1.5deg);
  box-shadow: 
    25px 25px 60px rgba(0, 0, 0, 0.65),
    -10px -10px 40px rgba(157, 78, 221, 0.08);
  transition: var(--transition-smooth);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  will-change: transform;
}

.tilted-mockup-reverse {
  transform: rotateY(14deg) rotateX(10deg) rotateZ(1.5deg);
  box-shadow: 
    -25px 25px 60px rgba(0, 0, 0, 0.65),
    10px -10px 40px rgba(0, 242, 254, 0.08);
  transition: var(--transition-smooth);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  will-change: transform;
}

.tilted-mockup:hover, .tilted-mockup-reverse:hover {
  transform: rotateY(-3deg) rotateX(2deg) rotateZ(0deg) scale(1.02);
  box-shadow: 
    10px 15px 40px rgba(0, 0, 0, 0.6),
    0px 0px 30px rgba(157, 78, 221, 0.15);
}

.tilted-mockup img, .tilted-mockup-reverse img {
  will-change: transform;
  filter: blur(0);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

/* Document Page Layout (Privacy, Terms) */
main.doc-layout {
  display: block;
  flex: 1 0 auto;
  flex-grow: 1;
  width: 100%;
  max-width: 800px;
  margin: 140px auto 80px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.doc-header {
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.doc-title {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.doc-meta {
  color: var(--text-secondary);
  font-size: 14px;
}

.doc-content h2 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.doc-content p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.doc-content ul {
  list-style-type: none;
  margin-bottom: 24px;
}

.doc-content li {
  color: var(--text-secondary);
  font-size: 15.5px;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.doc-content li::before {
  content: "✦";
  color: var(--neon-cyan);
  position: absolute;
  left: 0;
  font-size: 14px;
}

/* CTA Download Section */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.app-icon-large {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #1b1c2b 0%, #0d0d15 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 36px auto;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.6), 
    0 0 35px rgba(157, 78, 221, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.app-icon-large::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}

.app-icon-large img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
}

.cta-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 48px;
  line-height: 1.6;
}

.btn-cta-large {
  padding: 14px 38px;
  border-radius: 100px;
  background: linear-gradient(135deg, #00f2fe 0%, #007aff 50%, #9d4edd 100%);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
  font-size: 16px;
}

.btn-cta-large:hover {
  background: #ffffff;
  color: #030307;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

/* Footer Section */
.simple-footer {
  margin-top: auto;
  border-top: 1px solid var(--panel-border);
  padding: 40px 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  background: rgba(3, 3, 6, 0.7);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 24px;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--text-primary);
}

/* Scroll reveal class animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mockup-hud {
  max-width: 567px;
  width: 100%;
}

.mockup-popover {
  max-width: 350px;
  width: 100%;
}

.mockup-inspector {
  max-width: 354px;
  width: 100%;
}

.mockup-settings {
  max-width: 470px;
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .floating-nav {
    top: 12px;
    width: 95%;
    border-radius: 20px !important;
    padding: 10px 16px;
  }

  .navbar-collapse {
    width: 100%;
    margin-top: 10px;
  }

  .navbar-nav {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 14px !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 8px !important;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 10px !important;
    border-radius: 10px !important;
  }

  .btn-appstore {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    padding: 10px 20px !important;
  }
  
  .headline-glow {
    font-size: 3.2rem;
  }
  
  .bento-grid {
    gap: 20px;
  }
  
  .card-span-8, .card-span-4, .card-span-6 {
    grid-column: span 12;
  }
  
  .cta-title {
    font-size: 2.75rem;
  }
  
  .tilted-mockup, .tilted-mockup-reverse {
    transform: none;
    max-width: 100%;
    margin-top: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  .tilted-mockup:hover, .tilted-mockup-reverse:hover {
    transform: translateY(-5px);
  }
  
  .feature-row {
    margin-top: 80px;
  }
}

@media (max-width: 575px) {
  .headline-glow {
    font-size: 2.4rem;
  }
  
  .sub-header {
    font-size: 1.1rem;
  }
  
  .bento-card {
    padding: 28px;
  }
  
  .hero-shortcut-container {
    flex-wrap: wrap;
    gap: 8px;
  }
}


