/*
  Global styles for the AI Made Simple website
  Colors, typography and layout inspired by the warm neutral and gold palette of the provided design.
*/

:root {
  --bg: #FDF7EF;            /* main page background */
  --panel: #F6EDE2;         /* section background */
  --text: #382B1F;          /* primary text color */
  --muted: #856A53;         /* muted text color */
  --accent: #CFA86B;        /* gold accent */
  --radius: 12px;           /* border radius */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header.site-header {
  background-color: var(--panel);
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.brand {
  font-size: 1rem;
  font-weight: 700;
}

.brand small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text);
}

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

.cta-button {
  background-color: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
}

.cta-button:hover {
  filter: brightness(1.05);
}

/* Hero section */
.hero {
  background-color: var(--bg);
  padding: 2rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background-color: #fff;
  color: var(--text);
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background-color: #f8f8f8;
}

.hero-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.8rem;
}

.hero-logos span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

/* Hero image */
.hero-image {
  position: relative;
}

.hero-image .image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image .play-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

/* Path section */
.path-section {
  background-color: var(--panel);
  padding: 2rem 0;
}

.path-section > .container > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

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

.path-card {
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.path-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.path-card-content {
  padding: 1rem;
  flex-grow: 1;
}

.path-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.path-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.path-card .btn {
  width: 100%;
}

/* Achieve section */
.achieve-section {
  background-color: var(--bg);
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.achieve-title {
  text-align: center;
  margin-bottom: 2rem;
}

.achieve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.achieve-item {
  text-align: center;
  padding: 1rem;
}

.achieve-item .icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.achieve-item h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
  color: var(--text);
}

.achieve-item p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Program section */
.program-section {
  background-color: var(--panel);
  padding: 2rem 0;
}

.program-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

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

.program-card {
  background: linear-gradient(135deg, var(--accent) 0%, #DDA864 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.program-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.program-card p {
  margin: 0;
  font-size: 0.9rem;
}

/* Signup section */
.signup-section {
  background-color: var(--bg);
  padding: 2rem 0;
}

.signup-card {
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.signup-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}

.signup-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.signup-card form {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.signup-card input[type="email"] {
  flex: 1 1 280px;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.signup-card button {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
}

.signup-card button:hover {
  filter: brightness(1.05);
}

.signup-card small {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
}

/* About section */
.about-section {
  background-color: var(--panel);
  padding: 2rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius);
}

.about-grid h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.about-grid p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

/* Contact section */
.contact-section {
  background-color: var(--bg);
  padding: 2rem 0;
}

.contact-card {
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-card p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-card a {
  color: var(--accent);
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--panel);
  color: var(--muted);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav-links {
    gap: 1rem;
  }
}