/* Color Variables - Sakura Pink, Vanilla Cream, Matcha, Charcoal */
:root {
  --sakura-pink: #FFB7C5;
  --sakura-light: #FFD4DB;
  --sakura-pale: #FFF5F7;
  --vanilla-cream: #FFF9E6;
  --matcha-green: #A8D5BA;
  --matcha-dark: #7FB89A;
  --charcoal: #333333;
  --charcoal-light: #666666;
  --white: #FFFFFF;
  --linen: #FAF8F5;
  --spacing-unit: 8px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.8;
  color: var(--charcoal);
  background-color: var(--linen);
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  line-height: 1.8;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
  width: 100%;
  box-sizing: border-box;
}

/* Header */
.header {
  background-color: var(--white);
  padding: calc(var(--spacing-unit) * 3) 0;
  border-bottom: 1px solid var(--sakura-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 2);
}

.logo-icon {
  width: 60px;
  height: 60px;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--sakura-pale) 0%, var(--vanilla-cream) 100%);
  padding: calc(var(--spacing-unit) * 12) 0 calc(var(--spacing-unit) * 10);
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 2);
}

.hero-title {
  font-size: 3.25rem;
  color: var(--charcoal);
  margin-bottom: calc(var(--spacing-unit) * 3);
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--charcoal-light);
  margin-bottom: calc(var(--spacing-unit) * 5);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 5);
  font-size: 1rem;
  font-weight: 600;
  border-radius: calc(var(--spacing-unit) * 6);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--sakura-pink);
  color: var(--charcoal);
  border-color: var(--sakura-pink);
}

.btn-primary:hover {
  background-color: var(--sakura-light);
  border-color: var(--sakura-light);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--charcoal);
  border-color: var(--sakura-pink);
}

.btn-secondary:hover {
  background-color: var(--sakura-pale);
}

/* Features Section */
.features {
  padding: calc(var(--spacing-unit) * 10) 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
}

.feature-card {
  text-align: center;
  padding: calc(var(--spacing-unit) * 4);
  background-color: var(--linen);
  border-radius: calc(var(--spacing-unit) * 2);
  border: 1px solid var(--sakura-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto calc(var(--spacing-unit) * 3);
}

.feature-card h3 {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--charcoal);
}

.feature-card p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
  padding: calc(var(--spacing-unit) * 10) 0;
  background: linear-gradient(180deg, var(--vanilla-cream) 0%, var(--sakura-pale) 100%);
}

.section-title {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 8);
  color: var(--charcoal);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--spacing-unit) * 5);
}

.steps-grid .step:nth-child(4) {
  grid-column: 1 / 2;
}

.step {
  text-align: center;
  padding: calc(var(--spacing-unit) * 3);
}

.step-number {
  width: 64px;
  height: 64px;
  background-color: var(--matcha-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto calc(var(--spacing-unit) * 3);
}

.step h3 {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--charcoal);
}

.step p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
}

/* About Section */
.about {
  padding: calc(var(--spacing-unit) * 10) 0;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing-unit) * 8);
  align-items: center;
}

.about-text h2 {
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.about-text p {
  margin-bottom: calc(var(--spacing-unit) * 3);
  color: var(--charcoal-light);
}

.about-img,
.gallery-img,
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--spacing-unit) * 2);
  display: block;
}

.about-image .about-img {
  aspect-ratio: 4/3;
}

.gallery-item {
  overflow: hidden;
  border-radius: calc(var(--spacing-unit) * 2);
  background-color: var(--linen);
}

.gallery-item .gallery-img {
  aspect-ratio: 1/1;
}

.product-image {
  overflow: hidden;
  border-radius: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2) 0 0;
}

.product-image .product-img {
  aspect-ratio: 4/3;
}

.image-placeholder {
  width: 100%;
  padding-bottom: 75%;
  background: linear-gradient(135deg, var(--sakura-pale) 0%, var(--vanilla-cream) 50%, var(--matcha-green) 100%);
  border-radius: calc(var(--spacing-unit) * 2);
  position: relative;
}

.image-placeholder::after {
  content: 'Image Placeholder';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--charcoal-light);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Gallery Section */
.gallery {
  padding: calc(var(--spacing-unit) * 10) 0;
  background-color: var(--linen);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 3);
}

/* Products Section */
.products {
  padding: calc(var(--spacing-unit) * 10) 0;
  background-color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
}

.product-card {
  background-color: var(--linen);
  border-radius: calc(var(--spacing-unit) * 2);
  overflow: hidden;
  border: 1px solid var(--sakura-light);
}

.product-image .image-placeholder {
  padding-bottom: 75%;
  border-radius: 0;
}

.product-info {
  padding: calc(var(--spacing-unit) * 4);
}

.product-info h3 {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--charcoal);
}

.product-info p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sakura-pink);
  margin-bottom: calc(var(--spacing-unit) * 3);
}

/* Testimonials Section */
.testimonials {
  padding: calc(var(--spacing-unit) * 10) 0;
  background: linear-gradient(180deg, var(--sakura-pale) 0%, var(--vanilla-cream) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
}

.testimonial-card {
  background-color: var(--white);
  padding: calc(var(--spacing-unit) * 5);
  border-radius: calc(var(--spacing-unit) * 2);
  border: 1px solid var(--sakura-light);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal-light);
  margin-bottom: calc(var(--spacing-unit) * 3);
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  padding: calc(var(--spacing-unit) * 12) 0;
  background: linear-gradient(135deg, var(--sakura-pink) 0%, var(--matcha-green) 100%);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.cta-content p {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: calc(var(--spacing-unit) * 5);
}

.cta .btn-primary {
  background-color: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.cta .btn-primary:hover {
  background-color: var(--vanilla-cream);
  border-color: var(--vanilla-cream);
}

/* Contact Section */
.contact {
  padding: calc(var(--spacing-unit) * 10) 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--spacing-unit) * 5);
  margin-top: calc(var(--spacing-unit) * 6);
}

.contact-item {
  text-align: center;
  padding: calc(var(--spacing-unit) * 4);
  background-color: var(--linen);
  border-radius: calc(var(--spacing-unit) * 2);
  border: 1px solid var(--sakura-light);
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto calc(var(--spacing-unit) * 3);
}

.contact-item h3 {
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--charcoal);
  font-size: 1.25rem;
}

.contact-item a {
  color: var(--sakura-pink);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--matcha-green);
}

.contact-item p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background-color: var(--charcoal);
  color: var(--white);
  padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: calc(var(--spacing-unit) * 6);
  align-items: start;
}

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

.footer-brand .logo-wrapper {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand p {
  color: var(--sakura-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: right;
}

.footer-info p {
  color: var(--sakura-light);
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid .step:nth-child(4) {
    grid-column: 1 / 2;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

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

  .features-grid,
  .steps-grid,
  .products-grid,
  .testimonials-grid,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid .step:nth-child(4) {
    grid-column: 1 / 2;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 4);
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

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

  .footer-links {
    align-items: center;
  }

  .container {
    padding: 0 calc(var(--spacing-unit) * 2);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 5);
    min-height: 50vh;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
  }

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

  .btn {
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 4);
    font-size: 0.95rem;
    width: 100%;
    max-width: 300px;
  }
}
