:root{
  --purple:#37245f;
  --green:#7a9744;
  --cream:#fbfaf6;
  --ink:#252426;
  --muted:#666467;
  --line:#e7e2d8;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

body{
  font-family:'Inter',sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.6;
}

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

header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 42px;
  gap:20px;
}

.logo{
  height:144px;
  width:auto;
}

.header-center{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.tagline{
  font-family:'Caveat',cursive;
  font-size:42px;
  font-weight:700;
  color:var(--green);
  letter-spacing:-0.02em;
}

nav{
  display:flex;
  gap:28px;
}

nav a{
  text-decoration:none;
  color:var(--purple);
  font-weight:700;
}

.hero{
  max-width:1200px;
  margin:auto;
  padding:90px 42px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.hero h1{
  font-size:66px;
  line-height:0.95;
  color:var(--purple);
  margin-bottom:24px;
  letter-spacing:-0.04em;
}

.hero p{
  color:var(--muted);
  font-size:20px;
  margin-bottom:30px;
}

.button-stack{
  display:inline-flex;
  flex-direction:column;
  gap:14px;
  align-items:stretch;
}

.button-row{
  display:flex;
  gap:16px;
}

.button{
  display:inline-block;
  background:var(--purple);
  color:white;
  text-decoration:none;
  padding:16px 28px;
  border-radius:16px;
  font-weight:700;
  text-align:center;
  white-space:nowrap;
}

.button.secondary{
  background:var(--green);
}

.start-button{
  align-self:stretch;
}

.hero-image{
  border-radius:32px;
  box-shadow:0 20px 50px rgba(55,36,95,0.12);
}

.section{
  max-width:1200px;
  margin:auto;
  padding:70px 42px;
}

.section h2{
  color:var(--purple);
  font-size:44px;
  margin-bottom:18px;
  letter-spacing:-0.03em;
}

.section-subtitle{
  color:var(--muted);
  max-width:900px;
  margin-bottom:50px;
}

.products{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:28px;
}

.card{
  background:white;
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 14px 35px rgba(55,36,95,0.05);
}

.card img{
  width:100%;
  height:280px;
  object-fit:cover;
  background:#f5f2ea;
}

.card-content{
  padding:28px;
}

.card-content h3{
  color:var(--purple);
  margin-bottom:10px;
  font-size:26px;
  letter-spacing:-0.02em;
}

.card-content p{
  color:var(--muted);
}

.partner-box{
  background:linear-gradient(135deg,var(--purple),#4c3877);
  padding:54px;
  border-radius:32px;
  color:white;
}

.partner-box h2{
  color:white;
}

.partner-box p{
  color:rgba(255,255,255,0.82);
  margin-bottom:30px;
}

.partner-box .button{
  background:white;
  color:var(--purple);
}

.contact-card{
  background:white;
  border-radius:28px;
  padding:40px;
  border:1px solid var(--line);
}

.contact-name{
  font-size:28px;
  font-weight:800;
  color:var(--purple);
  margin-bottom:12px;
}

.email-button{
  display:inline-block;
  background:var(--purple);
  color:white;
  padding:14px 24px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
}

footer{
  text-align:center;
  padding:40px;
  border-top:1px solid var(--line);
  color:#777;
  margin-top:40px;
  background:white;
}

@media(max-width:900px){

  header{
    flex-direction:row;
    gap:10px;
    padding:8px 14px;
    align-items:center;
  }

  .logo{
    height:58px;
    width:auto;
    max-width:none;
  }

  .header-center{
    flex:1;
  }

  .tagline{
    font-size:18px;
    line-height:1.0;
    text-align:center;
  }

  nav{
    display:flex;
    gap:10px;
    flex-wrap:nowrap;
    justify-content:flex-end;
  }

  nav a{
    font-size:12px;
  }

  .hero{
    grid-template-columns:1fr;
    padding:60px 22px;
  }

  .hero h1{
    font-size:42px;
  }

  .button-stack{
    width:auto;
    max-width:100%;
  }

  .button-row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
  }

  .button{
    padding:15px 18px;
  }

  .section{
    padding:55px 22px;
  }

  .partner-box{
    padding:34px 24px;
  }

  .card img{
    height:auto;
  }
}


/* Strong mobile header override - compact sticky header */
@media (max-width: 1024px) {
  header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    min-height: 0 !important;
  }

  .logo {
    height: 44px !important;
    width: auto !important;
    max-width: 120px !important;
  }

  .header-center {
    display: none !important;
  }

  nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
  }

  nav a {
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .hero {
    padding-top: 42px !important;
  }
}

@media (max-width: 430px) {
  header {
    padding: 5px 8px !important;
  }

  .logo {
    height: 38px !important;
    max-width: 105px !important;
  }

  nav {
    gap: 7px !important;
  }

  nav a {
    font-size: 11px !important;
  }
}


/* Mobile dynamic header:
   Full logo + tagline at top.
   Compact logo + hidden tagline after scrolling.
*/
@media (max-width: 1024px) {
  header {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 16px 18px !important;
    transition: all 0.25s ease !important;
  }

  .logo {
    height: auto !important;
    max-width: 288px !important;
    transition: all 0.25s ease !important;
  }

  .header-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    transition: all 0.25s ease !important;
  }

  .tagline {
    font-size: 30px !important;
    line-height: 1 !important;
    text-align: center !important;
    transition: all 0.25s ease !important;
  }

  nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 18px !important;
    transition: all 0.25s ease !important;
  }

  nav a {
    font-size: 15px !important;
  }

  body.scrolled header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 6px 10px !important;
  }

  body.scrolled .logo {
    height: 44px !important;
    width: auto !important;
    max-width: 120px !important;
  }

  body.scrolled .header-center {
    display: none !important;
  }

  body.scrolled nav {
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 10px !important;
  }

  body.scrolled nav a {
    font-size: 12px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 430px) {
  body.scrolled header {
    padding: 5px 8px !important;
  }

  body.scrolled .logo {
    height: 38px !important;
    max-width: 105px !important;
  }

  body.scrolled nav {
    gap: 7px !important;
  }

  body.scrolled nav a {
    font-size: 11px !important;
  }
}
