/* ============================================
   DOGGO — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --green:        #3DBA6F;
  --green-dark:   #1F7A47;
  --green-light:  #B8F0CE;
  --green-xlight: #EDFAF3;
  --ink:          #0F1A14;
  --ink-soft:     #2A3D31;
  --warm:         #F5F0E8;
  --cream:        #FAFAF7;
  --accent:       #FF6B35;
  --accent-soft:  #FFF0EA;
  --muted:        #7A9186;
  --border:       #D4E8DB;

  --pro-ink:            #0D0F1A;
  --pro-ink-soft:       #1E2240;
  --pro-purple:         #6C5CE7;
  --pro-purple-dark:    #4a3ab8;
  --pro-purple-light:   #A29BFE;
  --pro-purple-xlight:  #F0EEFF;
  --pro-gold:           #F0B429;
  --pro-gold-soft:      #FFF8E1;
  --pro-border:         #DDD8F5;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  48px;

  --shadow-sm: 0 2px 8px rgba(15,26,20,.08);
  --shadow-md: 0 8px 32px rgba(15,26,20,.12);
  --shadow-lg: 0 24px 64px rgba(15,26,20,.16);
  --shadow-pro: 0 24px 64px rgba(108,92,231,.15);

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   PRO MODE SWITCHER — floating pill
   ============================================ */

.pro-switcher {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  display: flex; align-items: center; gap: .6rem;
  background: var(--ink);
  color: #fff;
  border: none; border-radius: var(--radius-xl);
  padding: .7rem 1.25rem;
  font-family: var(--font-body);
  font-size: .82rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  text-decoration: none;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.pro-switcher:hover {
  transform: translateY(-3px);
  background: var(--pro-purple);
  box-shadow: 0 12px 40px rgba(108,92,231,.4);
}
.pro-switcher-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  transition: background .2s;
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  background: rgba(250,250,247,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, background .3s, border-color .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); object-fit: contain; }
.nav-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; transition: color .3s; }

.nav-badge {
  display: inline-block;
  background: var(--pro-purple);
  color: #fff;
  font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .15rem .45rem; border-radius: 4px;
  margin-left: .3rem;
  vertical-align: middle;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .9rem; font-weight: 500;
  color: var(--ink-soft); position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; right: 0; height: 2px;
  background: var(--green);
  transform: scaleX(0); transition: transform .2s; border-radius: 2px;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--green-dark); font-weight: 600; }

.nav-cta {
  background: var(--green); color: #fff !important;
  padding: .5rem 1.25rem; border-radius: var(--radius-xl);
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.nav-burger {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: var(--radius-xl);
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green-xlight); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #e55a28; }
.btn-pro { background: var(--pro-purple); color: #fff; }
.btn-pro:hover { background: var(--pro-purple-dark); }
.btn-pro-outline { background: transparent; color: var(--pro-purple); border: 2px solid var(--pro-purple); }
.btn-pro-outline:hover { background: var(--pro-purple-xlight); }
.btn-gold { background: var(--pro-gold); color: var(--pro-ink); font-weight: 700; }
.btn-gold:hover { background: #d9a020; }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: var(--green-xlight); }
.btn-glass { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.25); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

.display-xl { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; line-height: 1.0; letter-spacing: -.04em; }
.display-lg { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.display-md { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }

.tag { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .85rem; border-radius: var(--radius-xl); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tag-green { background: var(--green-xlight); color: var(--green-dark); }
.tag-accent { background: var(--accent-soft); color: var(--accent); }
.tag-dark { background: var(--ink); color: #fff; }
.tag-pro { background: var(--pro-purple-xlight); color: var(--pro-purple); }
.tag-gold { background: var(--pro-gold-soft); color: #9a6700; }

/* ============================================
   LAYOUT
   ============================================ */

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ============================================
   CARDS & TESTIMONIALS
   ============================================ */

.card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); position: relative; transition: transform .25s, box-shadow .25s; }
.testimonial-card::before { content: '"'; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--green-light); position: absolute; top: 1rem; right: 1.5rem; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-body { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--green-dark); flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-size: .85rem; color: var(--ink); }
.testimonial-sub { font-size: .78rem; color: var(--muted); }

/* ============================================
   SECTION HEADER
   ============================================ */

.section-header { margin-bottom: 3.5rem; }
.section-header .tag { margin-bottom: .75rem; }
.section-header p { margin-top: 1rem; font-size: 1.05rem; color: var(--ink-soft); max-width: 560px; line-height: 1.7; }

/* ============================================
   FOOTER
   ============================================ */

.footer { background: var(--ink); color: #fff; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { margin-top: .75rem; font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: .25rem; }
.footer-logo img { width: 36px; height: 36px; border-radius: 50%; background: var(--ink-soft); object-fit: contain; }
.footer-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; }
.footer-col h4 { font-family: var(--font-display); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { text-decoration: none; font-size: .88rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ============================================
   PAGE HERO
   ============================================ */

.page-hero { padding: 140px 0 80px; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 600px 400px at 80% 50%, rgba(61,186,111,.25) 0%, transparent 70%); }
.page-hero.pro-hero::before { background: radial-gradient(ellipse 600px 400px at 80% 50%, rgba(108,92,231,.4) 0%, transparent 70%); }
.page-hero .tag { margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 540px; line-height: 1.7; margin-top: 1.25rem; }

.divider { width: 48px; height: 4px; background: var(--green); border-radius: 4px; margin-top: 1rem; }

/* CTA BANNER */
.cta-banner { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); border-radius: var(--radius-xl); padding: 5rem 4rem; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,.1) 0%, transparent 50%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1rem; }
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-banner.pro-cta { background: linear-gradient(135deg, var(--pro-purple) 0%, var(--pro-purple-dark) 100%); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes morphBlob { 0%,100% { border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%; } 33% { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; } 66% { border-radius: 50% 50% 60% 40% / 40% 55% 45% 60%; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.animate-up  { animation: fadeUp .7s ease both; }
.animate-up-d1 { animation: fadeUp .7s .1s ease both; }
.animate-up-d2 { animation: fadeUp .7s .2s ease both; }
.animate-up-d3 { animation: fadeUp .7s .3s ease both; }
.animate-up-d4 { animation: fadeUp .7s .4s ease both; }

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); flex-direction: column; padding: 1.5rem 5%; gap: 1rem; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
  .cta-banner { padding: 3rem 2rem; }
  .pro-switcher { bottom: 1rem; right: 1rem; font-size: .75rem; padding: .6rem 1rem; }
}