/* home.css - Styles for the Giotto homepage */
:root {
  --giotto-primary: #8B7ED8;
  --giotto-secondary: #C4A8FF;
  --giotto-light: #F7F5FF;
  --giotto-dark: #5A4FCF;
  --giotto-neutral: #64748B;
  --giotto-text: #1E293B;
  --giotto-white: #FFFFFF;
  --giotto-warm-gray: #F8FAFC;
  --giotto-cool-gray: #F1F5F9;
  --giotto-accent: #FF6B9D;
  --giotto-success: #10B981;
  --giotto-warning: #F59E0B;
  --background: var(--giotto-white);
  --foreground: var(--giotto-text);
  --primary: var(--giotto-primary);
  --secondary: var(--giotto-light);
  --border: #E2E8F0;
  --radius: 1.25rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
}
body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  margin: 0;
  padding: 0;
  font-size: var(--text-base);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.text-center {
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--giotto-light) 0%, var(--giotto-cool-gray) 100%);
}
#hero {
  position: relative;
  padding: 5rem 0 0 0;
  overflow: hidden;
}
.logo-animated {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-copy h1 {
  font-size: var(--text-5xl);
  font-weight: bold;
  color: var(--giotto-text);
  letter-spacing: -0.025em;
  margin: 0 0 1rem 0;
}
.hero-copy .subtitle {
  font-size: var(--text-xl);
  color: #64748B;
  font-weight: 500;
  margin: 0;
}
.store-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}
@media (min-width: 640px) {
  .store-badges {
    flex-direction: row;
  }
}
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: #000;
  color: #fff;
  border-radius: 1.5rem;
  min-width: 200px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  font-size: var(--text-base);
}
.store-btn:hover {
  background: #222;
  color: #fff;
  transform: scale(1.03);
}
.store-btn .store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.store-btn .small {
  font-size: var(--text-xs);
  opacity: 0.9;
}
.store-btn .large {
  font-size: var(--text-lg);
  font-weight: 600;
}
.download-note {
  color: #64748B;
  font-size: var(--text-sm);
  margin-top: 1.5rem;
}
#values {
  background: #fff;
  padding: 5rem 0;
}
#values .text-center h2 {
  font-size: var(--text-3xl);
  font-weight: bold;
  color: var(--giotto-text);
  margin-bottom: 1rem;
}
#values .text-center p {
  font-size: var(--text-lg);
  color: #64748B;
  margin-bottom: 2rem;
}
.value-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .value-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .value-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.value-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.value-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.12);
  transform: scale(1.03);
}
.icon-bg {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  background: linear-gradient(135deg, var(--giotto-primary) 0%, var(--giotto-secondary) 100%);
}
#features-preview {
  background: #F1F5F9;
  padding: 5rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.features-text h2 {
  font-size: var(--text-3xl);
  font-weight: bold;
  color: var(--giotto-text);
  margin-bottom: 1rem;
}
.features-text p {
  font-size: var(--text-lg);
  color: #64748B;
  margin-bottom: 2rem;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.features-list li {
  display: flex;
  align-items: center;
  font-size: var(--text-base);
  color: #334155;
  margin-bottom: 1rem;
}
.checkmark {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--giotto-primary);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 1.5rem;
  font-size: 1rem;
  margin-right: 0.75rem;
}
.cta-btn {
  background: linear-gradient(135deg, var(--giotto-primary) 0%, var(--giotto-secondary) 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 1rem 2.5rem;
  font-size: var(--text-lg);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cta-btn:hover {
  opacity: 0.9;
}
.features-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle-visual {
  position: relative;
  width: 320px;
  height: 320px;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.12);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle-dashed {
  position: absolute;
  inset: 0;
  border: 4px dashed #E2E8F0;
  border-radius: 50%;
}
.circle-pulse {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--giotto-primary) 0%, var(--giotto-secondary) 100%);
  opacity: 0.2;
  animation: circlePulse 3s ease-in-out infinite;
}
.pulse1 {
  inset: 32px;
  opacity: 0.2;
  animation-delay: 0s;
}
.pulse2 {
  inset: 64px;
  opacity: 0.4;
  animation-delay: 0.5s;
}
.pulse3 {
  inset: 96px;
  opacity: 0.6;
  animation-delay: 1s;
}
.progress-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  color: var(--giotto-primary);
  border-radius: 1rem;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
  font-size: var(--text-sm);
  font-weight: 500;
}
#cta {
  background: linear-gradient(135deg, var(--giotto-primary) 0%, var(--giotto-secondary) 100%);
  color: #fff;
  padding: 5rem 0;
}
#cta h2 {
  font-size: var(--text-3xl);
  font-weight: bold;
  margin-bottom: 1.5rem;
}
#cta p {
  font-size: var(--text-lg);
  color: #E9D8FD;
  margin-bottom: 2rem;
}
#cta .store-btn {
  background: #fff;
  color: #1E293B;
}
#cta .store-btn:hover {
  background: #F1F5F9;
  color: #1E293B;
}

/* Header / Navigation Styles */
.site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s;
}
.nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.logo-link:hover {
  opacity: 0.8;
}
.logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}
.logo-text {
  font-weight: 600;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--giotto-primary) 0%, var(--giotto-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #64748B;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--giotto-primary);
  background: var(--giotto-light);
  box-shadow: 0 2px 8px 0 rgba(139,126,216,0.08);
}

/* Footer Styles */
.site-footer {
  background: #F8FAFC;
  border-top: 1px solid var(--border);
  padding: 3rem 0 0 0;
  margin-top: 4rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--giotto-primary) 0%, var(--giotto-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-nav, .footer-support, .footer-connect {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav-title, .footer-support-title, .footer-connect-title {
  font-weight: 500;
  color: #1E293B;
  margin-bottom: 0.5rem;
}
.footer-link {
  color: #64748B;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--giotto-primary);
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748B;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact:hover {
  color: var(--giotto-primary);
}
.footer-bottom {
  border-top: 1px solid #E2E8F0;
  margin-top: 2rem;
  padding: 2rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #64748B;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    gap: 0;
  }
}
.wave-divider {
  width: 100%;
  height: 32px;
  /* TODO: wave-divider.svg not found in project. If available, place it in vanilla-build/assets and uncomment the line below. */
  /* background: url('../assets/wave-divider.svg') repeat-x bottom; */
  margin: 2rem 0;
}
:focus {
  outline: 2px solid var(--giotto-primary, #8B7ED8);
  outline-offset: 2px;
} 