@font-face {
  font-family: 'Visuelt Pro';
  src: url('./assets/VisueltPro-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('./assets/Satoshi-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

:root {
  --gradient-start: #1D2266;
  --gradient-end: #030828;
  --accent-gradient: linear-gradient(90deg, #D042F9, #FF6B6B);
}

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

body {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: white;
  background: linear-gradient(to top, var(--gradient-end), var(--gradient-start));
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-bottom: 12rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  text-align: left;
}

.logo {
  width: 225px;
  height: auto;
  margin-bottom: 4rem;
}

h1, h2, h3, h4 {
  font-family: 'Visuelt Pro', sans-serif;
  font-weight: 900;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  color: transparent;
  line-height: 115%;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 3rem;
  text-align: center;
  padding: 0 10%;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  transition: transform 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
}

.app-store-badge {
  width: 200px;
  height: auto;
}

/* iPhone Styles */
.iphone-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(20%);
  transition: transform 0.3s ease;
  z-index: 10;
}

.iphone-wrapper:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(20%);
}

.iphone {
  position: relative;
  width: 100%;
  padding-bottom: 200%;
  background: #1a1a1a;
  border-radius: 50px;
  box-shadow: 
    0 50px 100px rgba(0,0,0,0.5),
    0 0 0 12px #2a2a2a;
}

.iphone-notch {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 33px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}

.iphone-screen {
  position: absolute;
  top: 1%;
  left: 1%;
  right: 1%;
  bottom: 1%;
  background: var(--gradient-start);
  border-radius: 45px;
  overflow: hidden;
}

.app-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features {
  margin-top: -6rem;
  padding-top: 12rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem 2rem 0;
  text-align: center;
}

.feature-image {
  display: block;
  margin: 2rem auto 0;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 0.5rem;
}

.why-cogito {
  background-color: #3E6DDA;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.benefit {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
}

.testimonial {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
}

.quote {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  max-width: 800px;
  margin: 2rem auto;
}

footer {
  background: rgba(0, 0, 0, 0.2);
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
}

.logo-small {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copyright {
  text-align: right;
  opacity: 0.8;
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-bottom: 8rem;
  }

  .logo {
    width: 150px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    text-align: center;
  }

  .subtitle {
    margin: 0 auto 2rem;
  }
  
  .footer-content {
    text-align: center;
    gap: 3rem;
  }
  
  .footer-copyright {
    text-align: center;
  }

  .iphone-wrapper {
    transform: none;
    transform: translateY(10%);
    width: 90%;
  }

  .iphone-wrapper:hover {
    transform: translateY(10%);
  }

  .iphone-notch {
    height: 28px;
  }

  .features {
    margin-top: -4rem;
    padding-top: 8rem;
  }
}