/* ============================================
   IRIX Landing Page — Styles
   Brand: Primary #D32F2F | Secondary #535F70
   Fonts: Montserrat (display) + Roboto (body)
   ============================================ */

/* ---- Custom Properties ---- */
:root {
  --color-primary: #D32F2F;
  --color-primary-dark: #B71C1C;
  --color-primary-light: #EF5350;
  --color-secondary: #535F70;

  --color-bg-light: #FDFDFF;
  --color-bg-gray: #F4F5F8;
  --color-surface: #FFFFFF;
  --color-bg-dark: #1A1C1E;
  --color-surface-dark: #2B2D31;

  --color-text: #1A1C1E;
  --color-text-secondary: #44474E;
  --color-text-light: #FDFDFF;
  --color-text-muted: #6B7280;

  --color-border: #DFE2EB;
  --color-divider: #C3C7CF;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.16);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --container-max: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-light);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section ---- */
.section {
  padding: 96px 0;
}
.section--light { background: var(--color-bg-light); }
.section--gray { background: var(--color-bg-gray); }

.section__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}
.section__title--center { text-align: center; }

.section__subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--sm { padding: 10px 24px; font-size: 14px; }
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(211,47,47,.3);
}
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__logo-img {
  height: 36px;
  width: auto;
  transition: var(--transition);
}
.navbar__logo-img--light { display: none; }
.navbar__logo-img--dark { display: block; }
.navbar.scrolled .navbar__logo-img--light { display: block; }
.navbar.scrolled .navbar__logo-img--dark { display: none; }

.navbar__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.navbar__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}
.navbar__links a:hover::after { width: 100%; }
.navbar.scrolled .navbar__links a { color: var(--color-text-secondary); }
.navbar.scrolled .navbar__links a:hover { color: var(--color-text); }

.navbar__cta { margin-left: 8px; }
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  margin-left: auto;
}
.navbar.scrolled .navbar__toggle { color: var(--color-text); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}
.hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero__logo {
  height: 140px;
  width: auto;
  margin: 0 auto 32px;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero__description {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__showcase {
  margin-top: 56px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 48px;
}

/* ---- Browser Frame ---- */
.browser-frame {
  background: var(--color-surface-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.browser-frame--small {
  box-shadow: var(--shadow-lg);
}
.browser-frame--platform {
  box-shadow: var(--shadow-lg);
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #383A3E;
}
.browser-frame__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #555;
}
.browser-frame__dot:nth-child(1) { background: #FF5F57; }
.browser-frame__dot:nth-child(2) { background: #FFBD2E; }
.browser-frame__dot:nth-child(3) { background: #28CA41; }
.browser-frame__url {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-family: var(--font-body);
  background: rgba(255,255,255,.08);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}
.browser-frame__content img,
.browser-frame__content video {
  width: 100%;
  display: block;
}


.phone-frame__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Phone frame inside showcase (centered) */
.phone-frame--showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}
.phone-frame__screen--tall {
  width: 260px;
  height: 540px;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  border: 4px solid #333;
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* ---- About Section ---- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.about__lead {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 16px;
}
.about__body {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- Highlights ---- */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.highlight {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.highlight__icon {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.highlight__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.highlight__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ---- Feature Cards ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card__icon {
  font-size: 40px;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: block;
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-card__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ---- Showcase ---- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.showcase:last-child { margin-bottom: 0; }
.showcase--reverse { direction: rtl; }
.showcase--reverse > * { direction: ltr; }
.showcase__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.showcase__body {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- Platforms Section ---- */
.platforms {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  margin-bottom: 56px;
  padding: 0 20px;
}

/* Phone Frame */
.phone-frame {
  text-align: center;
  flex-shrink: 0;
  position: relative;
}
.phone-frame__screen {
  width: 200px;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  border: 4px solid #333;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-frame__label {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.platform-web {
  text-align: center;
  flex: 1;
  max-width: 560px;
}
.platform-web__label {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* ---- Store Badges ---- */
.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-width: 200px;
}
.store-badge:hover {
  background: #2B2D31;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.store-badge--web {
  background: var(--color-primary);
}
.store-badge--web:hover {
  background: var(--color-primary-dark);
}
.store-badge__icon {
  font-size: 32px;
}
.store-badge__small {
  display: block;
  font-size: 11px;
  opacity: .7;
  line-height: 1.2;
}
.store-badge__name {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

/* ---- Partners ---- */
.section--partners {
  background: var(--color-bg-gray);
  padding: 56px 0;
  text-align: center;
}
.partners__text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}
.partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 140px;
  flex-wrap: wrap;
}
.partners__logo-link {
  display: block;
  transition: var(--transition);
}
.partners__logo-link:hover {
  opacity: .75;
  transform: translateY(-2px);
}
.partners__logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 64px 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}
.footer__tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.footer__description {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  max-width: 360px;
}
.footer__heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.8);
}
.footer__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--color-primary-light);
  font-weight: 500;
  margin-bottom: 12px;
  transition: var(--transition);
}
.footer__email .material-icons { font-size: 20px; }
.footer__email:hover { color: #fff; }
.footer__contact-text {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}
.footer__links ul { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer__links a:hover { color: #fff; }

.footer__emails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__emails .footer__email {
  margin-bottom: 0;
}

.footer__gpe {
  padding: 32px 0 8px;
  text-align: center;
}
.footer__gpe-logo {
  height: 160px;
  width: auto;
  opacity: .7;
  transition: var(--transition);
  margin: 0 auto;
}
.footer__gpe-logo:hover {
  opacity: 1;
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.footer__bottom strong { font-weight: 600; color: rgba(255,255,255,.5); }

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__image { order: -1; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase--reverse { direction: ltr; }
  .showcase__image { order: -1; }
  .platforms { gap: 20px; }
  .phone-frame__screen { width: 160px; height: 340px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section__title { font-size: 28px; }
  .section__subtitle { font-size: 16px; margin-bottom: 40px; }

  .navbar__links { display: none; }
  .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }

  /* Mobile menu */
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,28,30,.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  .navbar__links.open a {
    font-size: 24px;
    color: #fff;
  }

  .hero { padding-top: 100px; min-height: auto; padding-bottom: 0; }
  .hero__logo { height: 100px; }
  .hero__tagline { font-size: 36px; }
  .hero__description { font-size: 16px; }
  .hero__showcase { margin-top: 40px; }

  .highlights { grid-template-columns: 1fr 1fr; gap: 16px; }
  .highlight { padding: 24px 16px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 24px; }

  .showcase__title { font-size: 22px; }

  .platforms {
    flex-direction: column;
    align-items: center;
  }
  .platforms .platform-web { order: -1; max-width: 100%; }
  .phone-frame__screen { width: 180px; height: 380px; }
  .phone-frame--left,
  .phone-frame--right { display: inline-block; }
  .platforms {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .store-badges { flex-direction: column; align-items: center; }
  .store-badge { width: 260px; justify-content: center; }

  .section--partners { padding: 40px 0; }
  .partners__logos { gap: 32px; }
  .partners__logo { height: 48px; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer__description { max-width: none; }
  .footer__links ul { align-items: center; }
  .footer__email { justify-content: center; }
  .footer__emails { align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__logo { height: 80px; }
  .hero__tagline { font-size: 28px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  .highlights { grid-template-columns: 1fr; }
  .phone-frame__screen { width: 140px; height: 300px; }
  .platforms { gap: 16px; }
}
