/* ==========================================================================
   myaihouse.live - Minimalist White & Gray Stylesheet
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  
  /* White & Gray Palette */
  --bg-page: #f9fafb;
  --bg-white: #ffffff;
  --bg-subtle: #f3f4f6;
  --bg-elevated: #ffffff;
  
  --border-subtle: #e5e7eb;
  --border-medium: #d1d5db;
  --border-focus: #0f172a;
  
  --text-primary: #0f172a;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  
  --btn-dark: #0f172a;
  --btn-dark-hover: #1e293b;
  --btn-gray: #f3f4f6;
  --btn-gray-hover: #e5e7eb;
  
  --accent-gold: #d97706;
  --accent-gold-bg: #fef3c7;
  --accent-blue: #2563eb;
  --accent-blue-bg: #eff6ff;
  --accent-green: #059669;
  --accent-green-bg: #ecfdf5;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  
  --container-max: 1080px;
  --transition-fast: 0.15s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.55;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-brand .brand-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--text-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
}

.nav-brand span.domain-highlight {
  color: var(--text-muted);
  font-weight: 500;
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.35rem;
  padding: 0.3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-primary, .btn-gold {
  background: var(--btn-dark);
  color: #ffffff;
}

.btn-primary:hover, .btn-gold:hover {
  background: var(--btn-dark-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #9ca3af;
}

.btn-cws {
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
  border: 1px solid #bfdbfe;
}

.btn-cws:hover {
  background: #dbeafe;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-gray {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.badge-gold {
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
}

.badge-blue {
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
}

.badge-green {
  background: var(--accent-green-bg);
  color: var(--accent-green);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-pill .deal-tag {
  background: var(--btn-dark);
  color: #fff;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.7rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-guarantee-item svg {
  color: var(--accent-green);
}

/* Promo Banner */
.promo-banner {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 2rem auto 3.5rem;
  max-width: 860px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.promo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.promo-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.promo-price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.promo-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.promo-freq {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Sections */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Extension Grid */
.extensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.extension-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.extension-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  flex-shrink: 0;
}

.card-icon-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.card-actions-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.card-actions-row .btn {
  flex: 1;
  min-width: 0;
}

.card-actions .btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Upcoming Card */
.upcoming-card {
  border-style: dashed;
  background: var(--bg-subtle);
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

/* How It Works Steps */
.how-it-works-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* Pricing Section */
.pricing-section {
  padding: 2.5rem 0 4rem;
}

.pricing-card-highlight {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.price-box {
  margin: 1.25rem 0 1.75rem;
}

.old-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 1.2rem;
  margin-right: 0.4rem;
}

.current-price {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1;
}

.price-sub {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.pricing-features {
  text-align: left;
  max-width: 440px;
  margin: 0 auto 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.pricing-feature svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature strong {
  color: var(--text-primary);
}

/* FAQ */
.faq-section {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  color: var(--text-primary);
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.faq-icon {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.25rem 1.15rem 1.25rem;
  max-height: 300px;
}

/* Extension Detail Pages */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 1.5rem 0;
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.extension-hero-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.extension-hero-icon {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 6px;
  flex-shrink: 0;
}

.extension-hero-icon img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
}

.extension-hero-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.extension-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.extension-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.detail-bundle-alert {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--btn-dark);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.detail-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.detail-feature-bullet {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.detail-feature-bullet strong {
  color: var(--text-primary);
}

.detail-feature-bullet svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Legal & Contact */
.legal-wrapper {
  max-width: 760px;
  margin: 2.5rem auto 4.5rem;
}

.legal-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.legal-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-highlight-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.legal-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.75rem 0 0.6rem;
}

.legal-p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.legal-list {
  color: var(--text-secondary);
  margin-left: 1.35rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.contact-card-main {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  max-width: 640px;
  margin: 1.5rem auto 4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-email-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.email-address {
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.contact-channel-item {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-white);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col-title {
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.86rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .detail-content-grid {
    grid-template-columns: 1fr;
  }
  .extension-hero-card {
    flex-direction: column;
    text-align: center;
  }
  .extension-hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-cta-group .btn-sm {
    display: none;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .promo-banner {
    flex-direction: column;
    text-align: center;
  }
  .promo-content {
    flex-direction: column;
  }
}
