/* Tasting Power Landing Page - Matches app color scheme */

:root {
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-hover: #d9480f;
  --success: #10b981;
  --text: #333;
  --text-light: #666;
  --bg: #fef9e7;
  --card-bg: #fff;
  --border: #e2d9c8;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  background: linear-gradient(135deg, #fef9e7 0%, #fdf4dc 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  background: linear-gradient(135deg, #fef9e7 0%, #fdf4dc 100%);
}

/* Hero header with logo on gradient */
header {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  padding: 45px 20px;
  margin: 0 0 30px 0;
  border-radius: 0 0 12px 12px;
  text-align: center;
}

header .title {
  font-size: 0;
  margin: 0;
}

header .title::before {
  content: "";
  display: block;
  width: 300px;
  height: 90px;
  margin: 0 auto;
  background: url('logo-light.svg') no-repeat center / contain;
}

/* Main content padding */
body > *:not(header) {
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography */
h1, h2, h3 {
  color: var(--text);
  margin-top: 1.5em;
}

h1 {
  font-size: 2.2em;
}

h2 {
  font-size: 1.6em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3em;
}

h3 {
  font-size: 1.1em;
  color: var(--accent);
}

.hero-title {
  font-size: 1.6em;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 1.2em;
}

p {
  margin: 1em 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05em;
  text-decoration: none;
  margin: 0.5em 0.5em 0.5em 0;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(234, 88, 12, 0.1);
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Lists */
ul, ol {
  padding-left: 1.5em;
}

li {
  margin: 0.5em 0;
}

/* Horizontal rules */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

th {
  background: var(--accent);
  color: white;
  font-weight: 600;
  text-align: left;
}

th, td {
  padding: 12px 16px;
}

tbody tr {
  border-bottom: 1px solid var(--border);
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: #fff7e6;
}


/* Responsive */
@media (max-width: 600px) {
  header {
    padding: 30px 20px;
    border-radius: 0;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.4em;
  }

  table {
    font-size: 0.85em;
  }

  th, td {
    padding: 8px 10px;
  }

  .btn {
    display: block;
    text-align: center;
  }
}

/* Slideshow */
.slideshow {
  margin: 1.5em 0;
}

.slideshow-steps {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.slideshow .step {
  flex: 1;
  text-align: left;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5;
}

.slideshow .step strong {
  display: block;
  color: var(--text);
}

.slideshow .step span {
  font-size: 0.9em;
  color: var(--text-light);
}

.slideshow .step.active {
  border-color: var(--accent);
  background: rgba(234, 88, 12, 0.05);
}

.slideshow .step.active strong {
  color: var(--accent);
}

.slideshow .step:hover {
  border-color: var(--accent);
}

.slideshow-images {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  aspect-ratio: 4/3;
  background: var(--card-bg);
}

.slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s;
}

.slideshow .slide.active {
  opacity: 1;
}

@media (max-width: 600px) {
  .slideshow-steps {
    flex-direction: column;
  }

  .slideshow-images {
    aspect-ratio: auto;
  }

  .slideshow .slide {
    position: relative;
    display: none;
    height: auto;
  }

  .slideshow .slide.active {
    display: block;
    opacity: 1;
  }
}
