:root {
  --main-blue: rgb(18, 59, 120);
  --main-red: rgb(217, 33, 33);
  --main-blue-raw: 18, 59, 120;
  --main-red-raw: 217, 33, 33;
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #6b7280;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 15px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-brand img {
  width: 40px;
  height: 40px;
}

.header-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-title .line1 {
  font-size: 14px;
  font-weight: 700;
  color: var(--main-blue);
}

.header-title .line2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--main-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--main-blue);
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--main-blue);
  padding: 8px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
}

.hero-escudo {
  width: 150px;
  height: 150px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1.5s ease forwards;
}

.hero-title {
  margin-bottom: 6px;
}

.hero-title .line1 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  color: var(--main-blue);
}

.hero-title .line2 {
  font-size: clamp(36px, 6vw, 44px);
  font-weight: 800;
  color: var(--main-red);
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--main-blue);
  max-width: 520px;
  margin: 12px auto 0;
  opacity: 0;
  animation: fadeInUp 1.5s ease 0.3s forwards;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  margin-top: 40px;
  opacity: 0;
  animation: fadeInUp 1.5s ease 0.6s forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  width: 100%;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--main-red);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(var(--main-red-raw), 0.35);
}

.btn-secondary {
  background: var(--main-blue);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--main-blue);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn.is-disabled {
  opacity: 0.75;
  cursor: default;
  pointer-events: none;
}

.coming-soon-banner {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(90deg, var(--main-blue), rgb(10, 40, 85));
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.coming-soon-banner__text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.coming-soon-note {
  font-size: 17px;
  opacity: 0.95;
  margin: 0 auto 20px;
  max-width: 480px;
  line-height: 1.5;
}

body.has-coming-soon-banner .hero {
  padding-top: 120px;
}

/* Sections */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--main-blue);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-left: 4px;
}

/* Features grid */
.features-block {
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  color: var(--main-blue);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--main-red);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-text {
  flex: 1;
  font-size: 17px;
  font-weight: 500;
}

.feature-chevron {
  opacity: 0.5;
  flex-shrink: 0;
}

.feature-chevron svg {
  width: 14px;
  height: 14px;
}

/* Highlight cards */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.highlight-card {
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.highlight-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.highlight-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.highlight-card-header svg {
  width: 24px;
  height: 24px;
  color: var(--main-red);
  flex-shrink: 0;
}

.highlight-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--main-blue);
}

.highlight-card p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--main-blue) 0%, rgb(10, 40, 85) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}

.cta-banner h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  max-width: 320px;
  margin: 0 auto;
}

/* About */
.about {
  background: #fafafa;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 24px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  width: 100%;
  max-width: 600px;
}

.about-actions .btn {
  flex: 1;
  min-width: 160px;
  width: auto;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 10px;
}

.copied-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(34, 197, 94, 0.95);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 200;
  pointer-events: none;
}

.copied-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer p {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer a {
  color: var(--main-blue);
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

.developer-link:not(.btn) {
  color: var(--main-blue);
  font-weight: 500;
}

.developer-link:not(.btn):hover {
  text-decoration: underline;
}

.highlight-card .developer-link {
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 90px;
  }

  .about-actions {
    flex-direction: column;
  }

  .about-actions .btn {
    width: 100%;
  }
}
