/* =============================================
   imRadios Landing — style.css
   Mobile-first. Breakpoints: 640px, 1024px
   ============================================= */

/* --- Custom Properties --- */
:root {
  --c-white:      #FFFFFF;
  --c-bg:         #F7F9FC;
  --c-bg-alt:     #EEF2F8;
  --c-accent:     #E53935;
  --c-accent-2:   #FF6B6B;
  --c-text:       #1A1A2E;
  --c-muted:      #6B7280;
  --c-border:     #E2E8F0;
  --c-card:       #FFFFFF;
  --c-footer-bg:  #F0F4F8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--c-text);
  margin-left: 10px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--c-muted);
  font-size: 15px;
  transition: color 0.2s;
}

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

.nav-link-player {
  color: var(--c-accent) !important;
  font-weight: 500;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: 0.2s;
}

.mobile-menu {
  display: none;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 64px;
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--c-muted);
  font-size: 15px;
  padding: 4px 0;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--c-accent);
}

@media (min-width: 640px) {
  .nav-links   { display: flex; }
  .hamburger   { display: none; }
  .mobile-menu { display: none !important; }
}

/* --- Hero --- */
.hero {
  background: linear-gradient(150deg, #FFFFFF 0%, #F0F4FF 50%, #FFF0F0 100%);
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 36px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.2;
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 16px;
  color: var(--c-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-white);
  border: none;
  border-radius: 8px;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}

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

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
  border-radius: 8px;
  padding: 13px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-outline:hover { background: #FFF5F5; }

.btn-webplayer {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-webplayer:hover { color: var(--c-accent-2); }

.radio-wave {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero h1       { font-size: 52px; }
  .hero-sub      { font-size: 20px; }
  .hero-cta      { flex-direction: row; justify-content: center; }
}

/* --- Features Strip --- */
.features {
  background: var(--c-white);
  padding: 80px 24px;
  text-align: center;
}

.section-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--c-accent);
  font-weight: 600;
  text-transform: uppercase;
}

.section-headline {
  font-size: 28px;
  font-weight: 600;
  color: var(--c-text);
  margin: 8px 0 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 48px auto 0;
  text-align: left;
}

@media (min-width: 640px) {
  .section-headline { font-size: 32px; }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.icon-red   { background: #FFF0F0; }
.icon-blue  { background: #F0F8FF; }
.icon-green { background: #F0FFF4; }

.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text);
  margin: 16px 0 0;
}

.card p {
  color: var(--c-muted);
  font-size: 15px;
  margin: 8px 0 0;
  line-height: 1.6;
}

/* --- Player Section --- */
.player-section {
  background: var(--c-bg);
  padding: 80px 24px;
  text-align: center;
}

.player-section .section-headline { margin-bottom: 0; }

.player-sub {
  color: var(--c-muted);
  font-size: 16px;
  margin-top: 8px;
}

.player-wrapper {
  max-width: 780px;
  margin: 40px auto 0;
  background: var(--c-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--c-border);
}

/* --- Download Section --- */
.download {
  background: var(--c-white);
  padding: 80px 24px;
  text-align: center;
}

.download-sub {
  color: var(--c-muted);
  font-size: 16px;
  margin-top: 8px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .download-buttons { flex-direction: row; justify-content: center; }
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--c-text);
  color: var(--c-white);
  border-radius: 12px;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.store-btn:hover {
  background: #2D2D4E;
  transform: translateY(-2px);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-label {
  font-size: 11px;
  opacity: 0.8;
  line-height: 1.2;
}

.btn-store {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

/* --- Footer --- */
.site-footer {
  background: var(--c-footer-bg);
  border-top: 1px solid var(--c-border);
  padding: 40px 24px;
  color: var(--c-muted);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-copy {
  font-size: 14px;
  color: var(--c-muted);
}

.footer-divider {
  height: 1px;
  background: var(--c-border);
  margin: 20px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--c-muted);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--c-accent); }

.footer-sep {
  color: var(--c-border);
}
