* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #EC8B3B;
  --primary-hover: #D2701E;
  --primary-soft: #FBF0E2;
  --secondary: #2A8396;
  --secondary-hover: #1F6A7D;
  --success-bg: #FBF0E2;
  --info-bg: #E7F5F8;
  --warning: #ffab00;
  --danger: #f63c3c;
  --panel-bg: #fbfbfd;
  --dark: #343434;
  --gray: #818894;
  --gray100: #f9f9f9;
  --gray200: #f1f1f1;
  --gray300: #ececec;
  --white: #ffffff;
  --blue: #35A6BE;
  --blue-hover: #2A8396;
  --blue-light: #56BBD0;
  --blue-soft: #E7F5F8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container { padding: 0 28px; }
}
@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 11px 22px;
  min-height: 44px;
  text-align: center;
}
.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  min-height: 36px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  min-height: 50px;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 3px 6px 0 rgba(236, 139, 59, 0.3);
}
.btn-primary:active { background: var(--primary-hover); }
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 3px 8px 0 rgba(236, 139, 59, 0.3);
    transform: translateY(-1px);
  }
}
.btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline:active { background: var(--secondary); color: var(--white); }
@media (hover: hover) {
  .btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-1px);
  }
}

@media (max-width: 480px) {
  .btn-lg { width: 100%; }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray200);
  padding: 12px 0;
}
@media (min-width: 768px) {
  .navbar { padding: 14px 0; }
}
@media (min-width: 1024px) {
  .navbar { padding: 16px 0; }
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo img {
  height: 32px;
  width: auto;
}
@media (min-width: 768px) {
  .nav-logo img { height: 36px; }
}
@media (min-width: 1024px) {
  .nav-logo img { height: 40px; }
}

.nav-links {
  display: none;
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 20px;
  gap: 4px;
  border-bottom: 1px solid var(--gray200);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.nav-links.open { display: flex; }
@media (min-width: 768px) {
  .nav-links {
    top: 61px;
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    gap: 20px;
    background: none;
    border: none;
    box-shadow: none;
  }
}
@media (min-width: 1200px) {
  .nav-links { gap: 24px; }
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
  padding: 10px 0;
  transition: color 0.2s;
}
@media (min-width: 1024px) {
  .nav-links a:not(.btn) {
    font-size: 0.88rem;
    padding: 0;
    position: relative;
  }
  .nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s;
  }
  @media (hover: hover) {
    .nav-links a:not(.btn):hover::after { width: 100%; }
  }
}
@media (min-width: 1200px) {
  .nav-links a:not(.btn) { font-size: 0.9rem; }
}

.nav-links .btn {
  margin-top: 8px;
  align-self: flex-start;
}
@media (min-width: 1024px) {
  .nav-links .btn { margin-top: 0; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1002;
  touch-action: manipulation;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: 0.3s;
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.nav-links.open { z-index: 1001; }


.hero {
  padding: 100px 0 56px;
  background: linear-gradient(135deg, var(--panel-bg) 0%, var(--success-bg) 100%);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 120px 0 64px; }
}
@media (min-width: 1024px) {
  .hero { padding: 140px 0 80px; }
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(53, 166, 190, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .hero::before {
    width: 600px;
    height: 600px;
    top: -50%;
    right: -20%;
  }
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1024px) {
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
@media (min-width: 1200px) {
  .hero .container { gap: 64px; }
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(53, 166, 190, 0.12);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 16px;
}

.hero h1 .highlight { color: var(--primary); position: relative; }
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(53, 166, 190, 0.35), rgba(236, 139, 59, 0.35));
  border-radius: 4px;
}
@media (min-width: 768px) {
  .hero h1 .highlight::after { height: 8px; }
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.hero-visual > .hero-card {
  opacity: 0;
  transform: translateY(24px);
  animation: cardFadeIn 0.6s ease forwards;
}
.hero-visual > .hero-card:nth-child(1) { animation-delay: 0.2s; }
.hero-visual > .hero-card:nth-child(2) { animation-delay: 0.35s; }
.hero-visual > .hero-card:nth-child(3) { animation-delay: 0.5s; }

@keyframes cardFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-card {
  background: var(--white);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-card { padding: 26px 22px; }
}
@media (min-width: 1024px) {
  .hero-card { padding: 28px 24px; }
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
@media (hover: hover) {
  .hero-card:hover::before { transform: scaleX(1); }
  .hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(236, 139, 59, 0.3);
  }
  .hero-card:hover .hero-card-icon {
    background: rgba(236, 139, 59, 0.15);
    transform: scale(1.05);
  }
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(53, 166, 190, 0.1);
  border-radius: 14px;
  transition: all 0.3s;
}
@media (min-width: 768px) {
  .hero-card-icon {
    width: 58px;
    height: 58px;
  }
}
@media (min-width: 1024px) {
  .hero-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
}

.hero-card-icon svg { width: 44px; height: 44px; }
@media (min-width: 768px) { .hero-card-icon svg { width: 50px; height: 50px; } }
@media (min-width: 1024px) { .hero-card-icon svg { width: 56px; height: 56px; } }

.hero-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}
@media (min-width: 768px) { .hero-card h3 { font-size: 1rem; } }

.hero-card p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.5;
}
@media (min-width: 768px) { .hero-card p { font-size: 0.87rem; } }

.stats {
  padding: 36px 0;
  background: var(--secondary);
}
@media (min-width: 768px) { .stats { padding: 44px 0; } }
@media (min-width: 1024px) { .stats { padding: 48px 0; } }

.stats .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .stats .container { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .stats .container { gap: 32px; }
}

.stat-item { text-align: center; }

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}
@media (min-width: 768px) { .stat-label { font-size: 0.9rem; } }

.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }
@media (min-width: 1024px) { .section { padding: 88px 0; } }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
@media (min-width: 768px) { .section-header { margin-bottom: 48px; } }
@media (min-width: 1024px) { .section-header { margin-bottom: 56px; } }

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--gray);
  line-height: 1.7;
  padding: 0 12px;
}

.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.about-card {
  background: var(--panel-bg);
  border-radius: 14px;
  padding: 24px 20px;
  border: 1px solid var(--gray200);
  transition: all 0.3s;
}
@media (min-width: 768px) { .about-card { padding: 28px 22px; } }
@media (min-width: 1024px) { .about-card { padding: 32px 24px; } }

@media (hover: hover) {
  .about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
}

.about-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .about-icon { width: 52px; height: 52px; } }
@media (min-width: 1024px) { .about-icon { width: 56px; height: 56px; } }

.about-icon svg { width: 26px; height: 26px; }
@media (min-width: 768px) { .about-icon svg { width: 28px; height: 28px; } }
@media (min-width: 1024px) { .about-icon svg { width: 32px; height: 32px; } }

.about-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}
@media (min-width: 1024px) { .about-card h3 { font-size: 1.05rem; } }

.about-card p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.6;
}
@media (min-width: 1024px) { .about-card p { font-size: 0.9rem; } }

.feature-section { background: var(--gray100); }
.feature-reverse { background: var(--white); }

.feature-section .container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.feature-reverse .container { flex-direction: column-reverse; }

@media (min-width: 900px) {
  .feature-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .feature-reverse .container { display: grid; }
}
@media (min-width: 1200px) {
  .feature-section .container { gap: 64px; }
}

.feature-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(53, 166, 190, 0.12);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-content h2 {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
}
@media (min-width: 1024px) { .feature-content p { font-size: 0.95rem; } }

.feature-content .note {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
  padding: 10px 14px;
  background: var(--gray100);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.feature-content .btn { margin-top: 4px; }

.mockup-card {
  background: var(--white);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray200);
  margin-bottom: 14px;
}
@media (min-width: 768px) { .mockup-card { padding: 20px; } }

.mockup-card-secondary {
  margin-left: 0;
}
@media (min-width: 640px) {
  .mockup-card-secondary { margin-left: 24px; }
}
@media (min-width: 1024px) {
  .mockup-card-secondary { margin-left: 32px; }
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mockup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) { .mockup-avatar { width: 44px; height: 44px; } }

.mockup-header strong {
  display: block;
  font-size: 0.85rem;
  color: var(--secondary);
}
@media (min-width: 768px) { .mockup-header strong { font-size: 0.9rem; } }

.mockup-header span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 1px;
}
@media (min-width: 768px) { .mockup-header span { font-size: 0.8rem; } }

.mockup-body p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.6;
  font-style: italic;
}
@media (min-width: 768px) { .mockup-body p { font-size: 0.88rem; } }

.store-mockup {
  background: var(--white);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray200);
}
@media (min-width: 768px) { .store-mockup { padding: 16px; } }

.store-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--gray200);
  transition: background 0.2s;
  border-radius: 8px;
}
.store-item:last-child { border-bottom: none; }
@media (min-width: 768px) { .store-item { padding: 12px 8px; gap: 16px; } }

@media (hover: hover) {
  .store-item:hover { background: var(--gray100); }
}

.store-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--gray100);
  flex-shrink: 0;
}
@media (min-width: 768px) { .store-img { width: 60px; height: 60px; } }
@media (min-width: 1024px) { .store-img { width: 64px; height: 64px; } }

.store-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 3px;
}
@media (min-width: 768px) { .store-item h4 { font-size: 0.93rem; } }
@media (min-width: 1024px) { .store-item h4 { font-size: 0.95rem; } }

.store-points {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}
@media (min-width: 768px) { .store-points { font-size: 0.82rem; } }

.flashcard-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flashcard {
  background: transparent;
  border-radius: 14px;
  width: 100%;
  cursor: pointer;
  perspective: 600px;
  touch-action: manipulation;
}
@media (min-width: 768px) { .flashcard { perspective: 800px; } }

.flashcard-inner {
  position: relative;
  width: 100%;
  min-height: 200px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
}
@media (min-width: 768px) { .flashcard-inner { min-height: 220px; transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); } }

.flashcard.flipped .flashcard-inner { transform: rotateY(180deg); }

.flashcard-front,
.flashcard-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray200);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flashcard-front { z-index: 2; }
.flashcard-back { z-index: 1; }
.flashcard.flipped .flashcard-front { z-index: 1; }
.flashcard.flipped .flashcard-back { z-index: 2; }
@media (min-width: 768px) {
  .flashcard-front, .flashcard-back {
    padding: 28px 24px;
    min-height: 220px;
  }
}
@media (min-width: 1024px) {
  .flashcard-front, .flashcard-back { padding: 32px 28px; }
}

.flashcard-back { transform: rotateY(180deg); }

.flashcard-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
  align-self: flex-start;
}
@media (min-width: 768px) { .flashcard-label { font-size: 0.75rem; padding: 4px 10px; margin-bottom: 12px; } }

.flashcard-front .flashcard-label {
  background: rgba(236, 139, 59, 0.12);
  color: var(--primary-hover);
}
.flashcard-back .flashcard-label {
  background: rgba(53, 166, 190, 0.12);
  color: var(--secondary);
}

.flashcard p {
  font-size: 0.88rem;
  color: var(--dark);
  line-height: 1.6;
}
@media (min-width: 768px) { .flashcard p { font-size: 0.95rem; } }

.flashcard-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 14px;
  opacity: 0.7;
}
@media (min-width: 768px) { .flashcard-hint { font-size: 0.78rem; margin-top: 16px; } }

.flashcard-status {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 14px;
  text-align: center;
}
@media (min-width: 768px) { .flashcard-status { font-size: 0.8rem; margin-top: 16px; } }

.ia-mockup {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray200);
}

.ia-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--secondary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
}
@media (min-width: 768px) { .ia-header { padding: 16px 20px; font-size: 0.9rem; } }

.ia-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) { .ia-avatar { width: 36px; height: 36px; } }

.ia-avatar svg { width: 18px; height: 18px; }
@media (min-width: 768px) { .ia-avatar svg { width: 20px; height: 20px; } }

.ia-message {
  padding: 12px 16px;
  margin: 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .ia-message { padding: 14px 20px; margin: 12px; font-size: 0.86rem; }
}

.ia-message p { margin: 0; }

.ia-message-user {
  background: var(--panel-bg);
  border: 1px solid var(--gray200);
  color: var(--dark);
  margin-right: 16px;
}
@media (min-width: 768px) { .ia-message-user { margin-right: 32px; } }

.ia-message-bot {
  background: rgba(53, 166, 190, 0.08);
  border: 1px solid rgba(53, 166, 190, 0.15);
  color: var(--dark);
  margin-left: 16px;
}
@media (min-width: 768px) { .ia-message-bot { margin-left: 32px; } }

.ia-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--gray200);
  color: var(--gray);
  font-size: 0.82rem;
}
@media (min-width: 768px) { .ia-input { padding: 14px 20px; font-size: 0.86rem; } }

.ia-send {
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
@media (min-width: 768px) { .ia-send { width: 32px; height: 32px; } }

.alert {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: #fff3e0;
  border-radius: 10px;
  border-left: 3px solid var(--warning);
  margin-bottom: 14px;
}
@media (min-width: 768px) { .alert { gap: 12px; padding: 16px; margin-bottom: 16px; } }

.alert svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--warning);
  width: 18px;
  height: 18px;
}
@media (min-width: 768px) { .alert svg { width: 20px; height: 20px; } }

.alert span {
  font-size: 0.82rem;
  color: var(--dark);
  line-height: 1.5;
}
@media (min-width: 768px) { .alert span { font-size: 0.85rem; } }

.cta {
  background: linear-gradient(135deg, var(--secondary-hover) 0%, var(--secondary) 55%, #8A4A10 100%);
  text-align: center;
  padding: 56px 0;
}
@media (min-width: 768px) { .cta { padding: 72px 0; } }
@media (min-width: 1024px) { .cta { padding: 88px 0; } }

.cta h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.7;
  padding: 0 12px;
}
@media (min-width: 768px) { .cta p { margin-bottom: 28px; } }
@media (min-width: 1024px) { .cta p { margin-bottom: 32px; } }

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
}

.cta .btn-primary {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.cta .btn-primary:active { background: #D2701E; }
@media (hover: hover) {
  .cta .btn-primary:hover {
    background: #D2701E;
    border-color: #D2701E;
    color: var(--secondary);
  }
}

.cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.cta .btn-outline:active { background: rgba(255, 255, 255, 0.1); }
@media (hover: hover) {
  .cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
  }
}

.footer {
  background: var(--secondary);
  border-top: 3px solid var(--blue);
  padding: 48px 0 0;
}
@media (min-width: 768px) { .footer { padding: 56px 0 0; } }
@media (min-width: 1024px) { .footer { padding: 64px 0 0; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
}
@media (min-width: 1024px) {
  .footer-grid { gap: 48px; margin-bottom: 48px; }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.87rem;
  line-height: 1.6;
  margin: 14px 0;
  max-width: 320px;
}
@media (min-width: 768px) { .footer-brand p { font-size: 0.9rem; } }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 768px) { .footer-social { gap: 12px; } }

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s;
}
@media (min-width: 768px) { .footer-social a { width: 40px; height: 40px; } }

.footer-social a:active { background: var(--primary); color: var(--white); }
@media (hover: hover) {
  .footer-social a:hover { background: var(--primary); color: var(--white); }
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}
@media (min-width: 768px) { .footer-links h4 { font-size: 0.95rem; } }

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 8px;
  padding: 2px 0;
  transition: color 0.2s;
}
@media (min-width: 768px) { .footer-links a { font-size: 0.88rem; } }

.footer-links a:active { color: var(--primary); }
@media (hover: hover) {
  .footer-links a:hover { color: var(--primary); }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}
@media (min-width: 768px) { .footer-bottom { padding: 24px 0; } }

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}
@media (min-width: 768px) { .footer-bottom p { font-size: 0.85rem; } }

.association {
  background:
    radial-gradient(circle at 12% 12%, rgba(236, 139, 59, 0.14), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(53, 166, 190, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
  overflow: hidden;
  position: relative;
}

.association::before {
  content: "";
  position: absolute;
  inset: 28px auto auto 50%;
  width: 680px;
  height: 680px;
  background: linear-gradient(135deg, rgba(42, 131, 150, 0.08), rgba(236, 139, 59, 0.08));
  border-radius: 50%;
  transform: translateX(-6%);
  pointer-events: none;
}

.association-shell {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .association-shell {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }
}

.association-intro h2 {
  color: var(--secondary);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 12px 0 16px;
}

.association-intro p {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .association-intro p { font-size: 0.98rem; }
}

.association-academy-card {
  margin-top: 22px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(42, 131, 150, 0.97), rgba(31, 106, 125, 0.97)),
    var(--secondary);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(42, 131, 150, 0.22);
}

.association-academy-card span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(236, 139, 59, 0.18);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.association-academy-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.association-academy-card p {
  color: rgba(255, 255, 255, 0.74);
  margin: 8px 0 18px;
}

.association-board {
  padding: 16px;
  border: 1px solid rgba(42, 131, 150, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 55px rgba(42, 131, 150, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .association-board { padding: 20px; }
}

.association-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: #E7F5F8;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .association-tabs { grid-template-columns: repeat(4, 1fr); }
}

.association-tab {
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  min-height: 42px;
  padding: 9px 10px;
  transition: all 0.2s;
}

.association-tab:focus-visible {
  outline: 3px solid rgba(53, 166, 190, 0.4);
  outline-offset: 2px;
}

.association-tab.active {
  background: var(--white);
  box-shadow: 0 8px 18px rgba(42, 131, 150, 0.14);
  color: var(--primary-hover);
}

.association-panel {
  min-height: 410px;
  padding: 24px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(251, 251, 253, 0.96)),
    var(--white);
  border: 1px solid rgba(42, 131, 150, 0.12);
}

.association-panel[hidden] { display: none; }

@media (min-width: 768px) {
  .association-panel {
    padding: 30px;
    min-height: 440px;
  }
}

.association-kicker {
  display: inline-block;
  color: var(--primary-hover);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.association-panel h3 {
  color: var(--secondary);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 12px;
}

.association-panel p,
.association-panel li {
  color: var(--gray);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .association-panel p,
  .association-panel li { font-size: 0.96rem; }
}

.association-panel ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: 20px;
}

.association-panel li {
  position: relative;
  padding-left: 30px;
}

.association-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(236, 139, 59, 0.15);
}

.association-mini-grid,
.association-stats,
.association-roadmap {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.association-mini-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .association-mini-grid { grid-template-columns: repeat(3, 1fr); }
}

.association-mini-grid div,
.association-stats div {
  padding: 16px;
  border-radius: 18px;
  background: #F0F8FB;
  border: 1px solid rgba(53, 166, 190, 0.18);
}

.association-mini-grid strong,
.association-stats strong {
  display: block;
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.association-mini-grid span,
.association-stats span {
  color: var(--gray);
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
}

.association-stats {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .association-stats { grid-template-columns: repeat(3, 1fr); }
}

.association-stats strong {
  color: var(--primary-hover);
  font-size: 1.8rem;
  line-height: 1;
}

.association-roadmap {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .association-roadmap { grid-template-columns: repeat(2, 1fr); }
}

.association-roadmap span {
  position: relative;
  padding: 14px 14px 14px 42px;
  border-radius: 16px;
  background: #F0F8FB;
  color: var(--secondary);
  font-size: 0.86rem;
  font-weight: 700;
}

.association-roadmap span::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.ict {
  background:
    radial-gradient(circle at 12% 14%, rgba(53, 166, 190, 0.16), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(236, 139, 59, 0.13), transparent 28%),
    linear-gradient(180deg, #F3F9FC 0%, #ffffff 100%);
}

.ict::before {
  background: linear-gradient(135deg, rgba(53, 166, 190, 0.10), rgba(42, 131, 150, 0.08));
  transform: translateX(-18%);
}

.ict-identity-card {
  background:
    linear-gradient(135deg, rgba(31, 106, 125, 0.97), rgba(42, 131, 150, 0.97)),
    var(--secondary);
}

.ict-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ict-card-badges em {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  padding: 7px 10px;
}

.ict-board {
  box-shadow: 0 18px 55px rgba(53, 166, 190, 0.12);
}

.ict-mini-grid div,
.ict-stats div {
  background: #EBF6FA;
  border-color: rgba(53, 166, 190, 0.2);
}

.ict-stats strong {
  color: var(--blue-hover);
}

.ict-roadmap span {
  background: #EBF6FA;
}

.ict-roadmap span::before {
  background: var(--blue);
}

.donations {
  background:
    linear-gradient(135deg, rgba(42, 131, 150, 0.05), rgba(236, 139, 59, 0.08)),
    var(--white);
}

.donation-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(145deg, #2A8396 0%, #1F6A7D 58%, #154B59 100%);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(42, 131, 150, 0.25);
}

@media (min-width: 768px) {
  .donation-card { padding: 34px; }
}

.donation-card::before,
.donation-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.donation-card::before {
  width: 190px;
  height: 190px;
  right: -58px;
  top: -52px;
  background: rgba(236, 139, 59, 0.25);
}

.donation-card::after {
  width: 140px;
  height: 140px;
  left: -46px;
  bottom: -48px;
  border: 22px solid rgba(255, 255, 255, 0.08);
}

.donation-card-tag {
  position: relative;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(236, 139, 59, 0.2);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

.donation-card h3 {
  position: relative;
  font-size: clamp(1.45rem, 4vw, 2.05rem);
  line-height: 1.12;
  margin: 16px 0 12px;
  z-index: 1;
}

.donation-card p {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  margin-bottom: 20px;
  z-index: 1;
}

.donation-flow {
  position: relative;
  display: grid;
  gap: 12px;
  z-index: 1;
}

.donation-flow div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.donation-flow strong {
  display: block;
  color: var(--white);
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.donation-flow span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  line-height: 1.4;
}

.donation-pix {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 18px;
  border: 1px solid rgba(42, 131, 150, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(42, 131, 150, 0.06), rgba(236, 139, 59, 0.06));
}

.donation-pix-label {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donation-pix-hint {
  margin: 0;
  color: var(--dark);
  font-size: 0.86rem;
  line-height: 1.55;
}

.donation-pix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.donation-pix-actions .btn { min-height: 42px; }

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.qr-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 26, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.qr-modal-content {
  position: relative;
  width: min(420px, 100%);
  padding: 30px 26px 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(9, 20, 26, 0.35);
  text-align: center;
  transform: translateY(14px) scale(0.97);
  transition: transform 0.25s ease;
}

.qr-modal.is-open .qr-modal-content {
  transform: translateY(0) scale(1);
}

.qr-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(42, 131, 150, 0.1);
  color: var(--secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.qr-modal-close:hover {
  background: var(--secondary);
  color: var(--white);
}

.qr-modal-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(236, 139, 59, 0.15);
  color: var(--primary-hover);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qr-modal h3 {
  margin: 14px 0 8px;
  color: var(--secondary);
  font-size: 1.35rem;
}

.qr-modal-hint {
  margin: 0 auto 18px;
  max-width: 300px;
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.55;
}

.qr-modal-image {
  display: block;
  width: min(240px, 80%);
  height: auto;
  margin: 0 auto 20px;
  border-radius: 12px;
  border: 1px solid rgba(42, 131, 150, 0.2);
  box-shadow: 0 10px 30px rgba(9, 20, 26, 0.12);
}

.pix-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1400;
  transform: translate(-50%, 16px);
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 34px rgba(9, 20, 26, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.pix-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.donations .feature-content h2 {
  max-width: 620px;
}

body.page-loaded .navbar { animation: slideDown 0.5s ease forwards; }
body.page-loaded .hero { animation: fadeInUp 0.7s ease forwards; }
body.page-loaded .stats { animation: fadeInUp 0.5s ease forwards; }
body.page-loaded .section { animation: fadeInUp 0.6s ease forwards; }
body.page-loaded .cta { animation: fadeInUp 0.6s ease forwards; }
body.page-loaded .footer { animation: fadeInUp 0.5s ease forwards; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
