/* CSS Reset and Global Styles */
:root {
  --navy: #1e1e2f;
  --accent: #5d7eff;
  --light-accent: #89a3ff;
  --white: #ffffff;
  --dark-glass: rgba(255, 255, 255, 0.05);
  --light-glass: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
  --text-muted: rgba(255, 255, 255, 0.7);
  --bg-light: rgba(93, 126, 255, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.link {
  color: var(--accent);
  text-decoration: underline;
}

.link:hover {
  text-decoration: none;
  color: var(--light-accent);
}

/* Utility Classes */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(93, 126, 255, 0.4);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background-color: var(--light-accent);
  box-shadow: 0 6px 20px rgba(93, 126, 255, 0.6);
}

/* Animation for elements scrolling into view */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;
}

.logo span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--accent);
}

/* Hero Section */
#hero {
  padding-top: 180px;
  padding-bottom: 100px;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: #ffffff;
}

#hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(93, 126, 255, 0.05), transparent 60%);
  z-index: -1;
}

.hero-content {
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  animation: fadeInDown 1s ease-out;
}

.hero-content .tagline {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: #666666;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.5s;
  animation-fill-mode: both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-mockup {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  background: linear-gradient(135deg, var(--accent), var(--light-accent));
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(93, 126, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.app-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 30px;
}

.mockup-content {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  z-index: 1;
  text-align: center;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trusted Section */
.trusted-section {
  padding: 60px 0;
  text-align: center;
  background-color: #f8f9fa;
}

.trusted-text {
  font-size: 1.1rem;
  color: #666666;
  font-weight: 500;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.features-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #000000;
}

.features-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 60px;
  color: #666666;
  font-weight: 400;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: transparent;
  padding: 0;
  text-align: center;
  border: none;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--accent), var(--light-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  width: 50px;
  height: 50px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-name {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent);
  font-weight: 700;
}

.feature-quote {
  font-weight: 400;
  color: #000000;
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

/* Products Section */
.products-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.products-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #000000;
}

.products-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 60px;
  color: #666666;
  font-weight: 400;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: transparent;
  padding: 0;
  text-align: center;
  border: none;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--accent), var(--light-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon {
  width: 50px;
  height: 50px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
  transform: scale(1.1);
}

.product-name {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent);
  font-weight: 700;
}

.product-quote {
  font-weight: 400;
  color: #000000;
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

/* About Section */
#about {
  padding: 100px 0;
  background-color: #ffffff;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 600;
  color: #000000;
}

.about-text p {
  color: #666666;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
}

/* Contact Section */
#contact {
  padding: 100px 0;
  text-align: center;
  background-color: #ffffff;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #000000;
}

#contact > .container > p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #666666;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #666666;
}

/* Footer */
.main-footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 15px;
  color: #000000;
}

.footer-brand p {
  color: #666666;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #000000;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-column ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
  color: #666666;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  #hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .app-mockup {
    max-width: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .main-header .container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    font-size: 0.85rem;
  }

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

  .hero-content .tagline {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-title {
    font-size: 2rem;
  }

  .features-subtitle {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-title {
    font-size: 2rem;
  }

  .products-subtitle {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  #hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .tagline {
    font-size: 1rem;
  }

  .app-mockup {
    max-width: 250px;
  }

  .product-content {
    padding: 20px;
  }

  .product-content h3 {
    font-size: 1.3rem;
  }

  .product-description {
    font-size: 1rem;
  }

  .about-text h2,
  #contact h2 {
    font-size: 1.8rem;
  }
}
