/* -----------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
MODERN CSS RESET
////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------- */

/* 1. Use a more-intuitive box-sizing model. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Allow percentage-based heights in the application */
html,
body {
  height: 100%;
}

/* 4. Improve the line height and add accessible line-height */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Create a root stacking context */
#root,
#__next {
  isolation: isolate;
}

/* -----------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
PROJECT STYLES
////////////////////////////////////////////////////////////////////////////////
----------------------------------------------------------------------------- */

:root {
  --color-primary: #348aa7; /* Blue */
  --color-secondary: #bce784; /* Green */
  --color-accent: #513b56; /* Dark Purple */
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7f8;
  --color-text: #513b56;
  --container-width: 1000px;
  --spacing: 1.5rem;
}

/* --------------------------------- */
/* General                           */
/* --------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "source-sans-pro", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1,
h2,
h3 {
  font-family: "bebas-neue", sans-serif;
  color: var(--color-accent);
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

ul {
  padding-left: 1.5rem;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* --------------------------------- */
/* Hero                              */
/* --------------------------------- */

.hero {
  background: linear-gradient(135deg, var(--color-accent) 10%, var(--color-primary) 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  font-size: clamp(1.8rem, 8.5vw, 4rem);
  letter-spacing: 0.05em;
}

.brand-letter {
  color: var(--color-primary);
}

.tagline {
  font-size: clamp(1.1rem, 5vw, 1.5rem);
  font-weight: bold;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.intro {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-family: "verveine", sans-serif;
  color: #e0e0e0;
}

@media (min-width: 580px) {
  .intro {
    max-width: 800px;
  }
  .intro-line {
    display: block;
    margin-top: 0.5rem;
  }
}

.btn {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-accent);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --------------------------------- */
/* Sections                          */
/* --------------------------------- */

.section {
  padding: 80px 0;
}

.alt-bg {
  background-color: var(--color-bg-alt);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--color-secondary);
}

/* --------------------------------- */
/* Platforms                         */
/* --------------------------------- */

.flex-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
}

.platform-group {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.platform-group h3 {
  margin-bottom: 1.5rem;
}

.platform-group ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 1rem;
}

.platform-group li {
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 0;
  border-radius: 20px;
  font-weight: bold;
  width: 120px;
  text-align: center;
}

/* --------------------------------- */
/* Pricing                           */
/* --------------------------------- */

.pricing-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.price-box {
  background: var(--color-primary);
  color: #fff;
  padding: 2rem;
  border-radius: 50%;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(52, 138, 167, 0.3);
  flex-shrink: 0;
}

.price-box p {
  white-space: nowrap;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.price {
  font-size: 3rem;
  font-family: "bebas-neue", sans-serif;
  line-height: 1;
}

.referral-box {
  max-width: 600px;
  background: var(--color-secondary);
  padding: 2rem;
  border-radius: 12px;
  color: var(--color-accent);
  text-align: left;
}

/* --------------------------------- */
/* About                             */
/* --------------------------------- */

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  max-width: 300px;
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
}

/* --------------------------------- */
/* Contact                           */
/* --------------------------------- */

.contact-section {
  text-align: center;
  padding-top: 0;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-link {
  background: var(--color-accent);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  flex: 1;
  min-width: 200px;
}

.contact-link:hover {
  background: var(--color-primary);
  color: #fff;
}

/* --------------------------------- */
/* Footer                            */
/* --------------------------------- */

.footer {
  background-color: var(--color-accent);
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

.footer p {
  font-size: clamp(0.7rem, 3.5vw, 0.9rem);
  white-space: nowrap;
  margin-bottom: 0;
}

/* --------------------------------- */
/* Responsive                        */
/* --------------------------------- */

@media (min-width: 768px) {
  .pricing-info {
    flex-direction: row;
    justify-content: center;
  }
}
