/* ==========================================================================
   iromote — Solid, Opaque Light Theme (Raycast-Inspired Placement & Content)
   ========================================================================== */

:root {
  /* iromote Brand Colors (Strictly all-lowercase product brand) */
  --iro-red: #e34d3c;
  --iro-orange: #f49b00;
  --iro-blue: #4787e9;
  --iro-blue-dark: #2563eb;
  --iro-blue-hover: #1d4ed8;
  --iro-green: #10b981;
  --iro-green-hover: #059669;

  /* Solid Light Palette (Zero glassmorphism, completely opaque) */
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-input: #f8fafc;

  /* Solid Borders */
  --border-subtle: #e2e8f0;
  --border-card: #e2e8f0;
  --border-focus: #4787e9;

  /* Typography */
  --text-main: #0f172a;       /* Slate 900 */
  --text-muted: #475569;      /* Slate 600 */
  --text-sub: #64748b;        /* Slate 500 */
  --text-inverse: #ffffff;

  /* Radii */
  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-card-sm: 16px;

  /* Shadows (Gentle, solid, natural elevation) */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.08);

  /* Layout */
  --container-max: 1100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* ==========================================================================
   Solid Site Header (Opaque, Clean)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

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

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-svg-logo {
  height: 24px;
  width: auto;
  display: block;
}

.brand-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Dropdown Selector (Solid) */
.lang-selector-wrap {
  position: relative;
}

.lang-selector-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lang-selector-btn:hover {
  border-color: var(--iro-blue);
  background: #ffffff;
}

.lang-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-sub);
  transition: transform 0.2s ease;
}

.lang-selector-wrap.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 6px;
  min-width: 140px;
  display: none;
  z-index: 200;
}

.lang-selector-wrap.open .lang-dropdown-menu {
  display: block;
}

.lang-dropdown-menu button {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-dropdown-menu button:hover,
.lang-dropdown-menu button.active {
  background: var(--bg-subtle);
  color: var(--iro-blue);
  font-weight: 600;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.nav-link--cta {
  background: var(--iro-blue);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.1s ease;
}

.nav-link--cta:hover {
  background: var(--iro-blue-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section (Raycast Centered Layout)
   ========================================================================== */
.section--hero {
  padding: 72px 0 64px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-centered {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--iro-blue-dark);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 54px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-line {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

/* Solid Buttons */
.solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.solid-btn:active {
  transform: scale(0.98);
}

.solid-btn--primary {
  background: var(--iro-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.solid-btn--primary:hover {
  background: var(--iro-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.solid-btn--secondary {
  background: var(--iro-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(71, 135, 233, 0.25);
}

.solid-btn--secondary:hover {
  background: var(--iro-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(71, 135, 233, 0.35);
}

.hero-subnote {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 48px;
  line-height: 1.5;
}

/* Raycast-Style Centered App Frame */
.hero-app-frame {
  max-width: 440px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}

.hero-app-frame:hover {
  transform: translateY(-4px);
}

.hero-app-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* ==========================================================================
   Raycast-Style Philosophy / Manifesto Header
   ========================================================================== */
.section--manifesto {
  padding: 88px 0 54px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.manifesto-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--iro-blue);
  margin-bottom: 12px;
}

.manifesto-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.manifesto-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ==========================================================================
   Raycast-Style Bento Feature Grid
   ========================================================================== */
.section--features {
  padding: 80px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}

.bento-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Spotlight Card (Wide 2-Column) */
.bento-card--spotlight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-subtle);
}

.bento-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.bento-card-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.bento-card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.bento-card-desc:last-child {
  margin-bottom: 0;
}

.bento-card-desc--center {
  max-width: 600px;
  margin: 0 auto 28px;
}

.bento-card-visual {
  text-align: center;
}

.bento-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

/* 2-Column Bento Row */
.bento-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.bento-card--half {
  display: flex;
  flex-direction: column;
}

.bento-card--half .bento-card-visual {
  margin-bottom: 24px;
}

/* Wide Utility Card */
.bento-card--utility {
  background: var(--bg-subtle);
  padding: 44px 36px;
}

.pebble-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.pebble-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pebble-badge:hover {
  border-color: var(--iro-blue);
  color: var(--iro-blue);
}

/* ==========================================================================
   Raycast Integration Strip (Works With Your Setup)
   ========================================================================== */
.section--setup {
  padding: 56px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.setup-pebble {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card-sm);
  padding: 24px 20px;
}

.setup-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.setup-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.setup-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Raycast-Style 2-Tier Pricing Cards
   ========================================================================== */
.section--pricing {
  padding: 88px 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-header {
  margin-bottom: 48px;
}

.pricing-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.pricing-sub {
  font-size: 17px;
  color: var(--text-muted);
}

.pricing-cards-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 820px;
  margin: 0 auto 40px;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border: 2px solid var(--iro-blue);
  box-shadow: var(--shadow-md);
}

.pricing-card-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pricing-card-badge--featured {
  color: var(--iro-blue-dark);
}

.pricing-card-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}

.pricing-card-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.pricing-card-period {
  font-size: 14px;
  color: var(--text-sub);
}

.pricing-card-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-card-features li {
  font-size: 15px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card-features li::before {
  content: "✓";
  font-weight: 800;
  color: var(--iro-green);
}

.solid-btn--card-trial {
  width: 100%;
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 12px;
}

.solid-btn--card-trial:hover {
  background: #ffffff;
  border-color: var(--iro-blue);
  color: var(--iro-blue);
}

.solid-btn--card-buy {
  width: 100%;
  background: var(--iro-blue);
  color: #ffffff;
  padding: 12px;
}

.solid-btn--card-buy:hover {
  background: var(--iro-blue-hover);
}

.buy-guarantee-note {
  font-size: 14px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.buy-guarantee-note svg {
  width: 16px;
  height: 16px;
  color: var(--iro-orange);
}

.manage-license-trigger {
  font-size: 14px;
  color: var(--text-muted);
}

.manage-license-trigger button {
  background: none;
  border: none;
  color: var(--iro-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  padding: 0 4px;
  font-family: inherit;
}

/* ==========================================================================
   Raycast 2x2 Clean FAQ Grid
   ========================================================================== */
.section--faq {
  padding: 88px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card-sm);
  padding: 28px;
}

.faq-q {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.faq-a {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Solid Clean Site Footer
   ========================================================================== */
.site-footer {
  background: #ffffff;
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-meta {
  font-size: 13px;
  color: var(--text-sub);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-link-btn {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--iro-blue);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
}

.footer-link {
  font-size: 13px;
  color: var(--text-sub);
  transition: color 0.15s ease;
}

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

/* ==========================================================================
   Manage License Modal (Solid, Opaque Dialog)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-pebble-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  max-width: 680px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-sub);
  cursor: pointer;
  line-height: 1;
}

.modal-header-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}

.modal-cols {
  display: flex;
  gap: 32px;
}

.modal-col {
  flex: 1;
}

.modal-col:first-child {
  border-right: 1px solid var(--border-subtle);
  padding-right: 32px;
}

.modal-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.modal-col p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.modal-col input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 13px;
  margin-bottom: 12px;
  outline: none;
  background: var(--bg-subtle);
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.modal-col input:focus {
  border-color: var(--iro-blue);
  background: #ffffff;
}

.modal-col button {
  width: 100%;
  padding: 10px;
  background: var(--iro-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.modal-col button:hover {
  background: var(--iro-blue-hover);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .bento-card--spotlight {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bento-row-two-col {
    grid-template-columns: 1fr;
  }

  .pricing-cards-wrap {
    grid-template-columns: 1fr;
  }

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

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

  .modal-cols {
    flex-direction: column;
    gap: 24px;
  }

  .modal-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-right: 0;
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions-wrap {
    flex-direction: column;
  }

  .solid-btn {
    width: 100%;
  }
}
