/* Vroma / Vroma Studio Landing Page
   Chrova website taste-aligned style baseline */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #007aff;
  --primary-hover: #0051d5;
  --secondary-color: #5856d6;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-tertiary: #e8e8ed;
  --border-color: #d2d2d7;
  --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container,
.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

/* Section Base */
.lp-page {
  padding-bottom: 0;
}

.lp-section {
  padding: 90px 0;
}

.lp-section:nth-of-type(even) {
  background: var(--bg-secondary);
}

.lp-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.lp-title {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lp-lead {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.lp-text {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 17px;
}

.lp-text--small {
  font-size: 14px;
}

/* Hero */
.lp-hero {
  padding-top: 84px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.lp-hero .lp-container {
  text-align: center;
}

.lp-hero .lp-title,
.lp-hero .lp-lead {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* Actions */
.lp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  border-radius: 24px;
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.lp-btn--primary {
  background: var(--primary-color);
  color: #fff;
}

.lp-btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.lp-btn--secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.lp-btn--secondary:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Shot */
.lp-shot {
  margin-top: 40px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-large);
  background: var(--bg-primary);
  position: relative;
}

.lp-shot__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: aspect-ratio 0.25s ease;
}

.lp-shot--overflow-y {
  cursor: zoom-in;
}

@media (hover: hover) and (pointer: fine) {
  .lp-shot--overflow-y:hover,
  .lp-shot--overflow-y:focus-within {
    cursor: zoom-out;
  }

  .lp-shot--overflow-y:hover .lp-shot__img,
  .lp-shot--overflow-y:focus-within .lp-shot__img {
    aspect-ratio: auto;
  }
}

.lp-shot__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 20px;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  font-family: "Monaco", "Menlo", monospace;
  letter-spacing: 0.02em;
  background: var(--accent-gradient);
  position: relative;
  overflow: hidden;
}

.lp-shot__img--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.06) 10px,
    rgba(255, 255, 255, 0.1) 10px,
    rgba(255, 255, 255, 0.1) 20px
  );
}

.lp-shot__img--placeholder {
  position: relative;
  z-index: 1;
}

.lp-shot__caption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-primary);
}

/* Grids */
.lp-grid {
  list-style: none;
  display: grid;
  gap: 24px;
  margin-top: 36px;
  padding: 0;
}

.lp-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-card {
  list-style: none;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-small);
}

.lp-card__title {
  font-size: 24px;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: 10px;
}

.lp-card__text {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Section-specific tweaks */
.lp-problem .lp-title,
.lp-solution .lp-title,
.lp-sharing .lp-title,
.lp-chrova .lp-title,
.lp-scenes .lp-title,
.lp-final-cta .lp-title {
  font-size: clamp(30px, 3.3vw, 46px);
}

.lp-features .lp-card__title {
  font-size: 22px;
}

.lp-scenes .lp-card {
  text-align: center;
  font-weight: 600;
}

.lp-final-cta {
  background: linear-gradient(180deg, #f8f8fb 0%, #f1f1f6 100%);
}

.lp-final-cta .lp-container {
  text-align: center;
}

.lp-final-cta .lp-actions {
  justify-content: center;
}

/* Footer */
.lp-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
  padding: 26px 0 40px;
}

.lp-footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.lp-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .lp-section {
    padding: 74px 0;
  }

  .lp-grid--3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container,
  .lp-container {
    padding: 0 16px;
  }

  .header {
    padding: 10px 0;
  }

  .logo h1 {
    font-size: 20px;
  }

  .nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav a {
    font-size: 13px;
  }

  .lp-page {
    padding-bottom: 0;
  }

  .lp-section {
    padding: 56px 0;
  }

  .lp-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .lp-lead {
    font-size: 17px;
  }

  .lp-text {
    font-size: 16px;
  }

  .lp-grid--3col,
  .lp-grid--2col {
    grid-template-columns: 1fr;
  }

  .lp-actions {
    gap: 10px;
  }

  .lp-btn {
    width: 100%;
    min-height: 46px;
  }

  .lp-shot {
    margin-top: 26px;
  }

  .lp-shot__img--placeholder {
    min-height: 220px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lp-btn {
    transition: none;
  }
}

/* Chrova-aligned Footer */
.footer {
  background-color: var(--text-primary);
  color: #ffffff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-section p {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--bg-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 14px;
}
