/* ==================== CSS Variables ==================== */
:root {
  --primary-blue: rgba(68, 216, 220, 1);
  --primary-blue-light: rgba(68, 216, 220, 0.1);
  --primary-blue-dark: #19359c;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --dark: #1a1a1a;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --shadow: 0 10px 30px rgba(25, 53, 156, 0.1);
  --shadow-hover: 0 15px 40px rgba(25, 53, 156, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Reset & Base Styles ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==================== Utility Classes ==================== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(68, 216, 220, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(68, 216, 220, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue-dark);
  border: 2px solid var(--primary-blue-dark);
}

.btn-secondary:hover {
  background: var(--primary-blue-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-download {
  background: var(--white);
  color: var(--primary-blue-dark);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 18px;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(30px);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  opacity: 0;
  transform: translateY(20px);
}

/* ==================== Navigation ==================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-blue-dark);
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-blue-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 85px;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 15px;
  color: var(--dark);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-light);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ==================== Hero Section ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-blue-light) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  opacity: 0;
  transform: translateX(-50px);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-blue-dark);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(50px);
}

.phone-mockup {
  position: relative;
  filter: drop-shadow(0 20px 60px rgba(25, 53, 156, 0.3));
}

.phone-frame {
  width: 280px;
  height: 574px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 30px;
  background: #1a1a1a;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 2;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-blue), transparent);
  top: -100px;
  left: -100px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-blue-dark), transparent);
  top: 20%;
  right: -50px;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--primary-blue), transparent);
  bottom: 10%;
  left: 10%;
}

.shape-4 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--primary-blue-dark), transparent);
  bottom: -80px;
  right: 5%;
}

/* ==================== About Section ==================== */
.about-section {
  padding: 100px 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text {
  opacity: 0;
  transform: translateY(30px);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary-blue-light), var(--white));
  border: 2px solid var(--primary-blue);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--primary-blue-dark);
  margin-bottom: 8px;
}

.stat-card p {
  color: var(--gray);
  font-weight: 500;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 25px;
  opacity: 0;
  transform: translateY(30px);
}

.visual-card {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.visual-card:hover {
  transform: translateX(10px);
}

.visual-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.visual-card p {
  line-height: 1.6;
  opacity: 0.9;
}

/* ==================== Features Section ==================== */
.features-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-dark));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-blue);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary-blue-dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.7;
}

.feature-card.upcoming {
  position: relative;
  opacity: 0.8;
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==================== Team Section ==================== */
.team-section {
  padding: 100px 0;
  background: var(--white);
}

.team-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.team-member-img {
  width: 150px;
  height: 150px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-blue);
  box-shadow: 0 10px 30px rgba(68, 216, 220, 0.3);
}

.team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.5rem;
  color: var(--primary-blue-dark);
  margin-bottom: 8px;
}

.role {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.bio {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue-light);
  border-radius: 50%;
  color: var(--primary-blue-dark);
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* ==================== Download Section ==================== */
.download-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.download-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.download-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
}

.download-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.download-note {
  opacity: 0.8;
  font-size: 0.95rem;
}

.download-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.shape-5 {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  top: -150px;
  left: -150px;
}

.shape-6 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  bottom: -100px;
  right: -100px;
}

/* ==================== Contact Section ==================== */
.contact-section {
  padding: 100px 0;
  background: var(--off-white);
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--primary-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue-dark);
}

.contact-card h3 {
  font-size: 1.3rem;
  color: var(--primary-blue-dark);
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--gray);
  line-height: 1.7;
}

.contact-card a {
  color: var(--primary-blue);
}

.contact-card a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue-light);
  border-radius: 50%;
  color: var(--primary-blue-dark);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* ==================== Footer ==================== */
footer {
  background: var(--primary-blue-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.footer-brand p {
  line-height: 1.7;
  opacity: 0.9;
  margin-top: 15px;
}

.footer-links-group h4 {
  margin-bottom: 20px;
  color: var(--primary-blue);
}

.footer-links-group a {
  display: block;
  margin-bottom: 12px;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links-group a:hover {
  opacity: 1;
  transform: translateX(5px);
  color: var(--primary-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* ==================== Back to Top Button ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content,
  .hero-image {
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .phone-frame {
    width: 250px;
    height: 512px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}