/* CSS Variables */
:root {
  /* Colors */
  --color-primary: #8D31FF;
  --color-primary-dark: #551D99;
  --color-dark: #1A1A21;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray-light: #D9D9D9;
  --color-gray-medium: #636F73;
  --color-gray-dark: #262C2D;
  --color-screen: #15121B;
  --color-green: #9CE84F;
  --color-orange: #DDC070;
  --color-yellow: #F4E3B5;
  --color-purple-light: #CAA4FF;
  --color-blue: #3497F9;
  --color-chat-bg: #DCF7C5;
  --color-analytics-bg: #F8F8F8;
  --color-text-secondary: rgba(255, 255, 255, 0.31);

  /* Typography */
  --font-primary: 'Roboto', sans-serif;
  --font-logo: 'Cantora One', cursive;

  /* Spacing */
  --container-max-width: 1440px;
  --container-padding: 80px;
  --section-gap: 42px;

  /* Border Radius */
  --border-radius-sm: 12px;
  --border-radius-md: 21px;
  --border-radius-lg: 40px;
  --border-radius-xl: 70px;

  /* Shadows */
  --shadow-phone: 0px 0px 1.17px 0px rgba(0, 21, 64, 0.14), 0px 1.17px 2.34px 0px rgba(0, 21, 64, 0.05);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-white);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 33, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  min-height: 84px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-white);
}

.logo-image {
  width: 46px;
  height: 22px;
  object-fit: contain;
}

.logo-icon {
  display: flex;
  flex-wrap: wrap;
  width: 46px;
  height: 22px;
  gap: 2px;
}

.logo-part {
  background-color: var(--color-gray-light);
  border-radius: 6px;
}

.logo-part:nth-child(1) {
  width: 11px;
  height: 11px;
}

.logo-part:nth-child(2) {
  width: 23px;
  height: 24px;
}

.logo-part:nth-child(3) {
  width: 20px;
  height: 25px;
}

.logo-part:nth-child(4) {
  width: 26px;
  height: 25px;
}

.logo-text {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: 56px;
  list-style: none;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  transition: var(--transition-smooth);
}

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

/* App Buttons */
.app-buttons {
  display: flex;
  gap: 8px;
}

.app-button {
  width: 32px;
  height: 32px;
  background: var(--color-white);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.app-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(141, 49, 255, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary));
  border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  max-width: 500px;
  animation: fadeInUp 1s ease-out;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 60px;
  font-weight: 600;
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: 26px;
  background: linear-gradient(135deg, var(--color-white), #E0E0E0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-white);
  opacity: 0.9;
}

.hero-image {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  animation: fadeInRight 1s ease-out 0.3s both;
  position: relative;
  z-index: 3;
  width: 400px;
  height: 400px;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: float 6s ease-in-out infinite;
}

/* Phone Mockup */
.phone-mockup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 502px;
  animation: float 6s ease-in-out infinite 0.5s;
  z-index: 4;
}

.hero-phone-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #3A4245;
  border-radius: 40px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: var(--color-gray-dark);
  border-radius: 38px;
  z-index: 1;
}

.phone-screen {
  position: absolute;
  top: 13px;
  left: 15px;
  right: 15px;
  bottom: 13px;
  background: var(--color-screen);
  border-radius: 35px;
  z-index: 2;
  overflow: hidden;
}

.phone-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 35px;
  position: relative;
  overflow: hidden;
}

.phone-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 35px;
}

/* Hero Background */
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.bg-circle {
  position: absolute;
  top: 195px;
  right: -200px;
  width: 1001px;
  height: 739px;
  background: var(--color-primary);
  border-radius: 50%;
  filter: blur(400px);
  opacity: 0.6;
  z-index: 1;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--color-white);
}

.feature {
  padding: var(--section-gap) 0;
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 132px;
}

.feature-reverse .feature-content {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  max-width: 530px;
}

.feature-title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 9px;
}

.feature-description {
  font-size: 22px;
  line-height: 1.46;
  color: var(--color-dark);
  opacity: 0.8;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.feature-circle {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  z-index: 0;
}

.feature-phone {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 400px;
}

.feature-phone-image {
  position: relative;
  z-index: 1;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

/* Task Cards */
.feature-1-content {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.task-card {
  width: 180px;
  padding: 15px;
  border-radius: 15px;
  position: relative;
  backdrop-filter: blur(10px);
}

.task-card-purple {
  background: rgba(140, 60, 251, 0.9);
}

.task-card-yellow {
  background: rgba(244, 227, 181, 0.9);
}

.task-info {
  margin-bottom: 10px;
}

.task-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}

.task-title {
  font-size: 12px;
  font-weight: 400;
}

.task-card-purple .task-label,
.task-card-purple .task-title {
  color: var(--color-white);
}

.task-card-yellow .task-label,
.task-card-yellow .task-title {
  color: #BF9220;
}

.task-status {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.task-status.green {
  background: var(--color-green);
}

.task-status.orange {
  background: var(--color-orange);
}

/* Analytics Card */
.feature-2-content {
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics-card {
  width: 200px;
  padding: 20px;
  background: var(--color-analytics-bg);
  border-radius: 15px;
  color: var(--color-black);
}

.analytics-header {
  margin-bottom: 15px;
}

.analytics-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
  display: block;
}

.analytics-date {
  font-size: 10px;
  color: #B8B8B8;
  margin-top: 5px;
  display: block;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #F0F0F0;
  border-radius: 20px;
  margin: 15px 0;
  overflow: hidden;
}

.progress-fill {
  width: 70%;
  height: 100%;
  background: var(--color-primary);
  border-radius: 20px;
  animation: progressFill 2s ease-out;
}

.analytics-numbers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.number-primary {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
}

.number-secondary {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.analytics-arrow {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--color-primary);
  font-size: 12px;
}

/* Chat Messages */
.feature-3-content {
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  height: 100%;
}

.chat-message {
  position: relative;
}

.message-bubble {
  background: var(--color-chat-bg);
  padding: 12px 15px;
  border-radius: 15px;
  margin-bottom: 5px;
  max-width: 85%;
}

.message-bubble p {
  font-size: 11px;
  line-height: 1.3;
  color: #1D1D1D;
  margin: 0;
}

.message-bubble p + p {
  margin-top: 8px;
}

.message-time {
  font-size: 9px;
  color: rgba(0, 0, 0, 0.25);
  text-align: right;
  margin-top: 2px;
}

.message-status {
  position: absolute;
  bottom: 5px;
  right: 15px;
  font-size: 8px;
  color: var(--color-blue);
}

/* Footer */
.footer {
  position: relative;
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary));
  border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
  padding: 48px 0;
  margin-top: 100px;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
  text-align: center;
}

.footer-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  max-width: 718px;
}

.footer-title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
}

.footer-description {
  font-size: 24px;
  line-height: 1.17;
  color: var(--color-white);
  max-width: 584px;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 23px;
  align-items: center;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  color: var(--color-black);
  transition: var(--transition-smooth);
  min-width: 165px;
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(141, 49, 255, 0.3);
}

.store-button-image {
  width: 165px;
  height: 55px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.store-icon {
  width: 28px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.2;
  opacity: 0.8;
}

.store-name {
  font-size: 22px;
  font-weight: 510;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
}

/* Footer Background */
.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.footer-bg .bg-circle {
  position: absolute;
  top: -242px;
  left: -271px;
  width: 1001px;
  height: 739px;
  background: var(--color-primary);
  border-radius: 50%;
  filter: blur(400px);
  opacity: 0.3;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes progressFill {
  from {
    width: 0%;
  }
  to {
    width: 70%;
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-on-scroll.animate-delay-1 {
  transition-delay: 0.2s;
}

.animate-on-scroll.animate-delay-2 {
  transition-delay: 0.4s;
}

.animate-on-scroll.animate-delay-3 {
  transition-delay: 0.6s;
}
