/* ============================================
   Innto - YouCanRoll Professional Website
   Clean, Elegant, Premium
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --color-primary: #1d1d1f;
  --color-secondary: #86868b;
  --color-accent: #0071e3;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f7;
  --color-text: #1d1d1f;
  --color-text-light: #86868b;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-hero: clamp(3.5rem, 10vw, 7rem);
  --fs-title: clamp(2.5rem, 6vw, 4.5rem);
  --fs-subtitle: clamp(1.25rem, 2.5vw, 1.75rem);
  --fs-body: 1.125rem;

  /* Spacing */
  --spacing-section: clamp(5rem, 15vh, 12rem);
  --container-padding: clamp(1.5rem, 5vw, 3rem);

  /* Effects */
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* === LOGO SPLASH SCREEN === */
.logo-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.logo-splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.logo-splash img {
  max-width: 800px;
  width: 80%;
  animation: logoFadeIn 1.5s ease-out;
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s var(--transition);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 32px;
  transition: transform 0.3s var(--transition);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-links .btn-cta {
  color: white !important;
}

.btn-cta {
  background: var(--color-primary);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s var(--transition);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  transform: scale(1.10);
  background: #000;
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #FAFAFA;
  padding: 8rem var(--container-padding) 4rem;
  position: relative;
}

.hero-content {
  max-width: 900px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: var(--fs-subtitle);
  color: var(--color-secondary);
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === SECTION UTILITIES === */
.section {
  padding: var(--spacing-section) var(--container-padding);
}

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

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

.section-title {
  font-size: var(--fs-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: var(--fs-subtitle);
  color: var(--color-secondary);
  margin-bottom: 4rem;
}

/* === PRODUCT REVEAL === */
.reveal-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FDFDFD;
  overflow: hidden;
}

.reveal-container {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.reveal-image {
  width: 100%;
  max-width: 800px;
  margin: 4rem auto 0;
  opacity: 0;
  transform: scale(0.85) translateY(50px);
  transition: all 0.1s linear;
}

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

/* === STICKY SCROLL SECTION === */
.sticky-section {
  position: relative;
  height: 200vh;
  background: #000;
  color: white;
}

.sticky-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-visual {
  display: flex;
  align-items: center;
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.sticky-image {
  flex: 1;
  max-width: 900px;
  /* Increased for better visibility */
}

.sticky-image img {
  width: 100%;
  height: auto;
  transition: transform 0.1s ease-out;
  /* Much faster for instant response */
}

.sticky-text {
  flex: 1;
  max-width: 500px;
}

.sticky-text h2 {
  font-size: var(--fs-title);
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.sticky-text p {
  font-size: var(--fs-subtitle);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* === FEATURES GRID === */
.features-section {
  background: white;
}

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

.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 24px;
  background: var(--color-bg-alt);
  transition: all 0.4s var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: #ededef;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--color-secondary);
  font-size: 1.0625rem;
}

/* === CONTACT FORM === */
.contact-section {
  background: var(--color-bg-alt);
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.625rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: all 0.3s var(--transition);
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  background: var(--color-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.form-submit:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  display: block;
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: white;
  padding: 4rem var(--container-padding) 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  height: 40px;
  margin-bottom: 2rem;
  filter: invert(1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--transition);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links:not(:has(.btn-cta)) {
    display: none;
  }

  .sticky-visual {
    flex-direction: column;
    gap: 3rem;
  }

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

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }
}
/* === FIELD OPTIONAL HINT === */
.field-optional {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-left: 0.25rem;
}
