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

:root {
  --primary: #FF8BA7; /* Soft Pink */
  --primary-dark: #FA709A;
  --secondary: #B8E1FF; /* Baby Blue */
  --accent: #FFD3B6; /* Cream/Peach */
  --text: #33272A; /* Dark Brownish for softness */
  --muted: #594A4E;
  --background: #FFF5F7; /* Very light pink/cream background */
  --surface: #ffffff;
  --border: #FFE3E8;
  --footer-bg: #33272A;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow: 0 10px 30px rgba(255, 139, 167, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, .logo span {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* --- Header & Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
}

.logo span {
  color: var(--primary-dark);
  font-size: 1.8rem;
  background: linear-gradient(to right, var(--primary-dark), #FF9A9E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--primary-dark);
}

.nav a:hover::after {
  width: 100%;
}

/* --- Hero Section (AIDA: Attention) --- */
.hero {
  padding: 160px 0 100px;
  background: radial-gradient(circle at top right, #FFF1F3 0%, var(--background) 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: var(--accent);
  filter: blur(100px);
  opacity: 0.3;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent);
  color: #D48166;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--text);
}

.hero h1 span {
  color: var(--primary-dark);
  position: relative;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.cta-button {
  background: var(--primary-dark);
  color: #fff;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 15px 30px rgba(250, 112, 154, 0.3);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(250, 112, 154, 0.4);
}

.ghost-button {
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
  background: transparent;
  transition: all 0.3s ease;
}

.ghost-button:hover {
  background: var(--primary);
  color: #fff;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.hero-media img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* --- Features (AIDA: Interest) --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.features {
  padding: 100px 0;
}

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

.feature-card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

/* --- Countdown Timer --- */
.countdown-container {
  background: var(--footer-bg);
  color: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  gap: 20px;
  margin-top: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.timer-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: "Outfit", sans-serif;
}

.timer-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.8;
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: #FFF;
}

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

.testimonial-card {
  background: var(--background);
  padding: 30px;
  border-radius: var(--radius-md);
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-dark);
}

/* --- FAQ --- */
.faq {
  padding: 100px 0;
}

.faq-item {
  background: var(--surface);
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--background);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 1000px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* --- Advisor Section --- */
.advisor-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #fff 0%, #fff0f5 100%);
}

.advisor-box {
  background: #fff;
  padding: 60px;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 100px rgba(250, 112, 154, 0.1);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.advisor-box::before {
  content: '🤖';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 100px;
  opacity: 0.05;
  transform: rotate(15deg);
}

.advisor-box h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.advisor-input-wrapper {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  background: var(--background);
  padding: 10px;
  border-radius: 40px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.advisor-input-wrapper:focus-within {
  border-color: var(--primary-dark);
  box-shadow: 0 10px 30px rgba(250, 112, 154, 0.15);
}

.advisor-box textarea {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 25px;
  font-size: 1.1rem;
  resize: none;
  outline: none;
  height: 60px;
  line-height: 30px;
}

.advisor-box .cta-button {
  padding: 0 40px;
  border-radius: 30px;
  white-space: nowrap;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advisor-result {
  margin-top: 50px;
  text-align: left;
  animation: slideUp 0.5s ease-out;
}

.advisor-answer-card {
  background: var(--secondary-light);
  padding: 30px;
  border-radius: 24px;
  border-left: 6px solid var(--primary-dark);
  position: relative;
}

.advisor-answer-card::after {
  content: 'Hiko Assistant';
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--primary-dark);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

#advisorAnswerText {
  color: var(--text-main);
  line-height: 1.8;
  font-size: 1.15rem;
  white-space: pre-line;
}

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

/* --- Lead Form --- */
.lead-section {
  padding: 100px 0;
}

.lead-box {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: 0 20px 50px rgba(255, 139, 167, 0.15);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.lead-form input, .lead-form textarea {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: all 0.3s ease;
  resize: vertical;
}

.lead-form input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 139, 167, 0.1);
}

/* --- Gallery (Bento Grid Style) --- */
.gallery {
  padding: 100px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(250, 112, 154, 0.2);
  z-index: 2;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .gallery-item.large, .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid, .lead-box {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .lead-box, .advisor-box {
    padding: 40px 20px;
  }

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

  .hero-media img {
    transform: none;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-media {
    order: 1;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
  }

  .advisor-input-wrapper {
    flex-direction: column;
    border-radius: 20px;
    padding: 15px;
  }

  .advisor-box textarea {
    height: 100px;
  }

  .advisor-box .cta-button {
    padding: 15px;
    width: 100%;
  }

  .nav {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .section-header h2, .hero h1, .advisor-box h2 {
    font-size: 1.8rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Lightbox Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px;
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-caption {
  margin-top: 20px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
