:root {
  --bg: #C5DACB;
  --button-bg: #74B49E;
  --text: #1A1A1A;

  --cta: #E8871E;
  --cta-secondary: #E99C4A;

  --hero-accent: #F58E32;

  --card-bg: rgba(255,255,255,0.6);
  --border: rgba(0,0,0,0.08);
}

[data-theme="dark"] {
  --bg: #0F2A23;
  --button-bg: #1E3D34;
  --text: #FBF8EF;

  --cta: #D67C18;
  --cta-secondary: #A96214;

  --hero-accent: #F58E32;

  --card-bg: rgba(0,0,0,0.25);
  --border: rgba(255,255,255,0.12);
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;

  background: var(--button-bg);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 12px;

  cursor: pointer;
  font-size: 14px;

  backdrop-filter: blur(7px);
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* HERO */
.hero {
  text-align: center;
  padding: 90px 20px 30px;
}

.logo {
  width: 230px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

h1 {
  font-size: 64px;
  margin: 25px 0 14px;
}


.slogan {
  font-size: 36px;
  margin: 10px auto;
  font-weight: 600;
  color: var(--hero-accent);
  line-height: 1.45;
}

.subtitle {
  max-width: 750px;
  margin: 25px auto;
  font-size: 19px;
  opacity: 0.85;
  line-height: 1.7;
}

/* CTA */
.cta-group {
  margin-top: 36px;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
}

.cta {
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.secondary-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-description {
  margin-top: 9px;
  line-height: 1.55;
  font-size: 14px;
  opacity: 0.75;
  max-width: 280px;
}

.cta:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}



.primary {
  background: var(--cta);
  color: white;
  padding-bottom: 20px;
}

.secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
}

/* SECTIONS */
section {
  padding: 50px 20px;
  text-align: center;
}

h2 {
  font-size: 34px;
  margin-bottom: 33px;
}

/* SCREENSHOTS */
.gallery {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 10px;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: blur(7px);
}

.gallery img {
  width: 260px;
  border-radius: 22px;
  scroll-snap-align: center;
  flex: 0 0 auto;
  margin: 0 auto;
}

/* FEATURES */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 18px;
  text-align: left;
  backdrop-filter: blur(7px);
}

.below-paragraphs{
  max-width: 1300px;
  margin: auto;
  line-height: 1.85;
}


/* LINKS */
.link-box a {
  display: inline-block;
  margin: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, background 0.2s ease;
}

.link-box a:hover {
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  padding: 40px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}


* {
  box-sizing: border-box;
}

a:focus, button:focus {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}


/* SMARTPHONE SECTION */

@media (max-width: 600px) {
    .logo {
      width: 180px;
      height: auto;
      border-radius: 20px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    h1 {
        font-size: 40px;
        margin: 16px 0 9px;
        backdrop-filter: blur(7px);
    }

    .slogan {
      font-size: 24px;
      margin: 6px auto;
      font-weight: 600;
      color: var(--hero-accent);
      line-height: 1.45;
    }

    .subtitle {
      max-width: 270px;
      margin: 20px auto;
      font-size: 15.5px;
      opacity: 0.85;
      line-height: 1.8;
      backdrop-filter: blur(7px);
    }

      h2 {
        font-size: 26px;
        margin-bottom: 24px;
      }


    .screenshot{
      backdrop-filter: blur(7px);
    }

    .gallery img {
      width: 200px;
      border-radius: 18px;
      scroll-snap-align: center;
      flex: 0 0 auto;
      margin: 0 auto;
    }

    .below-paragraphs{
      max-width: 290px;
      margin: auto;
      line-height: 1.8;
      backdrop-filter: blur(7px);
    }
}