/* ============================================
   Floor & Tile Pattern Studio - Product Website
   Color Palette:
   Primary Green: #2F6B4F
   Light Green BG: #E8F0EC
   Dark Text: #1A2332
   Body Text: #4A5568
   Light BG: #F7F8FA
   Card BG: #FFFFFF
   Border: #E2E8F0
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #4A5568;
  background: #FFFFFF;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2F6B4F;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #245A3F;
}

h1, h2, h3, h4 {
  color: #1A2332;
  line-height: 1.3;
  font-weight: 700;
}

ul {
  list-style: none;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #2F6B4F;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(47, 107, 79, 0.25);
}

.btn-primary:hover {
  background: #245A3F;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(47, 107, 79, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #F0F4F2;
  color: #2F6B4F;
}

.btn-secondary:hover {
  background: #E2EBE6;
  color: #245A3F;
}

.btn-outline {
  background: transparent;
  color: #2F6B4F;
  border: 1.5px solid #2F6B4F;
}

.btn-outline:hover {
  background: #2F6B4F;
  color: #FFFFFF;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: 14px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #1A2332;
  font-weight: 700;
  font-size: 16px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
}

.nav-logo-text {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1A2332;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.nav-links a {
  color: #4A5568;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-links a:hover {
  color: #2F6B4F;
  background: #F0F4F2;
}

.nav-link-policy {
  color: #2F6B4F !important;
  font-weight: 600 !important;
}

/* === HERO SECTION === */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 100%);
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #E8F0EC;
  color: #2F6B4F;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge svg {
  color: #2F6B4F;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #1A2332;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #596579;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

/* === PHONE MOCKUP === */
.phone-mockup {
  position: relative;
}

.phone-frame {
  position: relative;
  width: 280px;
  background: #1A2332;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 25px 60px rgba(26, 35, 50, 0.20),
    0 8px 24px rgba(26, 35, 50, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1A2332;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  border-radius: 24px;
  display: block;
  background: #F7F8FA;
}

.phone-mockup-sm .phone-frame {
  width: 240px;
  padding: 10px;
  border-radius: 30px;
}

.phone-mockup-sm .phone-frame::before {
  width: 64px;
  height: 20px;
  top: 10px;
  border-radius: 0 0 12px 12px;
}

.phone-mockup-sm .phone-screen {
  border-radius: 20px;
}

/* === SECTION HEADERS === */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #2F6B4F;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #1A2332;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 17px;
  color: #596579;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* === OVERVIEW SECTION === */
.overview {
  padding: 100px 0;
  background: #FFFFFF;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.overview-card {
  background: #F7F8FA;
  border: 1px solid #E8EDF2;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: #D1DFDA;
}

.overview-icon {
  width: 52px;
  height: 52px;
  background: #E8F0EC;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.overview-icon svg {
  width: 26px;
  height: 26px;
  color: #2F6B4F;
}

.overview-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1A2332;
}

.overview-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #596579;
}

/* === FEATURES SECTION === */
.features {
  padding: 100px 0;
  background: #F7F8FA;
}

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

.feature-card {
  background: #FFFFFF;
  border: 1px solid #E8EDF2;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: #C5D9CF;
  box-shadow: 0 4px 20px rgba(47, 107, 79, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #E8F0EC;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: #2F6B4F;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1A2332;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #596579;
}

/* === SCREENSHOTS SECTION === */
.screenshots {
  padding: 100px 0;
  background: #FFFFFF;
  overflow: hidden;
}

.screenshots-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.screenshots-track-wrapper {
  overflow: hidden;
  flex: 1;
}

.screenshots-track {
  display: flex;
  gap: 32px;
  transition: transform 0.4s ease;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 260px;
  text-align: center;
}

.screenshot-caption {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1A2332;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}

.carousel-btn:hover {
  border-color: #2F6B4F;
  background: #E8F0EC;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  color: #4A5568;
}

.carousel-btn:hover svg {
  color: #2F6B4F;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D1DFDA;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}

.carousel-dot.active {
  background: #2F6B4F;
  width: 28px;
  border-radius: 5px;
}

/* === PRIVACY HIGHLIGHT === */
.privacy-highlight {
  padding: 60px 0;
  background: #F7F8FA;
}

.privacy-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: #FFFFFF;
  border: 1px solid #D1DFDA;
  border-radius: 20px;
  padding: 40px;
}

.privacy-banner-icon svg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.privacy-banner-text {
  flex: 1;
}

.privacy-banner-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1A2332;
}

.privacy-banner-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #596579;
}

/* === ABOUT SECTION === */
.about {
  padding: 100px 0;
  background: #FFFFFF;
}

.about-content {
  display: flex;
  justify-content: center;
}

.about-card {
  background: #F7F8FA;
  border: 1px solid #E8EDF2;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.about-logo {
  margin-bottom: 24px;
}

.about-logo-img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin: 0 auto;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.about-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1A2332;
}

.about-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #596579;
  margin-bottom: 12px;
}

.about-contact-inline {
  margin-top: 24px;
}

.about-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2F6B4F;
  font-weight: 600;
  font-size: 15px;
}

.about-email svg {
  width: 18px;
  height: 18px;
}

/* === CONTACT SECTION === */
.contact {
  padding: 100px 0;
  background: #F7F8FA;
}

.contact-content {
  display: flex;
  justify-content: center;
}

.contact-card {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
}

.contact-item {
  background: #FFFFFF;
  border: 1px solid #E8EDF2;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 220px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #E8F0EC;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: #2F6B4F;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1A2332;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 14px;
  color: #596579;
  line-height: 1.5;
}

.contact-item a:hover {
  color: #2F6B4F;
}

/* === CTA SECTION === */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #2F6B4F 0%, #245A3F 100%);
}

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

.cta-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.cta .btn-primary {
  background: #FFFFFF;
  color: #2F6B4F;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
  background: #F0F4F2;
  color: #245A3F;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* === FOOTER === */
.footer {
  padding: 48px 0 32px;
  background: #1A2332;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* === PRIVACY POLICY PAGE === */
.privacy-page {
  padding: 120px 0 80px;
  background: #F7F8FA;
  min-height: 100vh;
}

.privacy-header {
  text-align: center;
  margin-bottom: 48px;
}

.privacy-icon-large svg {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
}

.privacy-header-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin: 0 auto 24px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.privacy-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: #1A2332;
  margin-bottom: 8px;
}

.privacy-meta {
  font-size: 15px;
  color: #7A8599;
}

.privacy-content {
  background: #FFFFFF;
  border: 1px solid #E8EDF2;
  border-radius: 20px;
  padding: 48px;
}

.privacy-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #F0F2F5;
}

.privacy-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.privacy-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1A2332;
  margin-bottom: 16px;
}

.privacy-section p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #4A5568;
}

.privacy-section ul {
  margin: 12px 0;
  padding-left: 0;
}

.privacy-section li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #4A5568;
}

.privacy-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2F6B4F;
}

.privacy-contact-box {
  background: #F7F8FA;
  border: 1px solid #E8EDF2;
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
}

.privacy-contact-box p {
  margin-bottom: 6px;
  font-size: 15px;
}

.privacy-contact-box a {
  color: #2F6B4F;
  font-weight: 600;
}

.privacy-back {
  text-align: center;
  margin-top: 40px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section-title {
    font-size: 30px;
  }

  .hero-title {
    font-size: 38px;
  }

  .privacy-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-container {
    height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #FFFFFF;
    flex-direction: column;
    padding: 80px 24px 32px;
    gap: 4px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transition: right 0.35s ease;
    align-items: stretch;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    display: block;
    text-align: left;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .phone-frame {
    width: 220px;
  }

  .phone-frame::before {
    width: 60px;
    height: 18px;
  }

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

  .overview-card {
    padding: 24px 20px;
  }

  .features {
    padding: 60px 0;
  }

  .feature-card {
    padding: 20px;
  }

  .screenshots {
    padding: 60px 0;
  }

  .screenshot-item {
    width: 200px;
  }

  .phone-mockup-sm .phone-frame {
    width: 180px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-desc {
    font-size: 15px;
  }

  .contact-card {
    flex-direction: column;
  }

  .contact-item {
    min-width: unset;
  }

  .about-card {
    padding: 32px 24px;
  }

  .cta-content h2 {
    font-size: 26px;
  }

  .privacy-content {
    padding: 28px 20px;
  }

  .privacy-header h1 {
    font-size: 28px;
  }

  .privacy-section h2 {
    font-size: 18px;
  }

  .footer-links {
    gap: 16px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 24px;
  }

  .phone-frame {
    width: 200px;
  }

  .phone-mockup-sm .phone-frame {
    width: 160px;
  }

  .screenshot-item {
    width: 170px;
  }
}
