:root {
  --bg-color: #E6E5E0;
  --card-bg: #FFFFFF;
  --text-main: #111111;
  --text-muted: #666666;
  --card-radius: 40px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  padding: 24px;
  line-height: 1.5;
}

h1 { font-size: clamp(2.5rem, 7vw, 7.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 0.95; }
h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
p { font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 400; color: var(--text-muted); }
p.subtitle { color: var(--text-main); font-weight: 500; }
.mt-large { margin-top: 4rem; }
.mt-medium { margin-top: 2rem; }

.card {
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  margin-bottom: 24px;
  width: 100%;
  padding: 40px;
  position: relative;
}

/* Navbar */
.navbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 80px; position: relative; z-index: 10; }
.nav-left { display: flex; gap: 12px; }
.pill { display: inline-flex; align-items: center; background-color: #F2F2F2; border-radius: 100px; padding: 6px; font-size: 0.85rem; font-weight: 500; border: none; font-family: inherit; }
.pill span { padding: 0 12px; }
.copy-btn { background-color: white; border: none; border-radius: 100px; padding: 6px 16px; font-family: inherit; font-size: 0.85rem; font-weight: 500; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: transform 0.2s; }
.copy-btn:active { transform: scale(0.95); }
.nav-links-pill a { padding: 6px 16px; text-decoration: none; color: var(--text-main); background-color: white; border-radius: 100px; margin-left: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.nav-links-pill a:first-child { margin-left: 0; }
.black-pill { background-color: var(--text-main); color: white; padding: 12px 24px; text-decoration: none; transition: opacity 0.2s; cursor: pointer; border: none; font-family: inherit; font-size: 0.85rem;}
.black-pill:hover { opacity: 0.8; }

/* Animated Hero Canvas */
.hero-card { min-height: 90vh; display: flex; flex-direction: column; overflow: hidden; position: relative; }
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; border-radius: var(--card-radius); }


.hero-content { position: relative; z-index: 10; flex-grow: 1; display: flex; flex-direction: column; padding-bottom: 40px; }
.hero-top { margin-bottom: auto; }
.avatar { position: relative; display: inline-flex; align-items: center; margin-bottom: 40px; }
.avatar-logo { height: 180px; max-width: 100%; object-fit: contain; }
.indent { margin-left: 10vw; display: inline-block; }
.indent-more { margin-left: 20vw; display: inline-block; }

/* Statement */
.statement-card { padding: 80px 40px; }
.statement-content { display: flex; gap: 60px; max-width: 1200px; margin: 0 auto; }
.statement-left { flex: 1; }
.statement-right { flex: 2; }
.btn-reset { background: none; border: none; font-family: inherit; cursor: pointer; }
.cta-link { display: inline-flex; align-items: center; gap: 12px; color: var(--text-main); text-decoration: none; font-size: 1.1rem; font-weight: 500; transition: opacity 0.3s; }
.cta-link:hover { opacity: 0.7; }
.sparkle { color: var(--text-main); animation: spin 8s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Services */
.services-card { padding: 80px 40px; }
.services-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 80px; }
.services-header h2 { margin-bottom: 32px; }
.divider-pill { background-color: white; border: 1px solid #E2E2E2; }
.service-list { max-width: 1000px; margin: 0 auto; border-top: 1px solid #E2E2E2; }
.service-row { display: flex; justify-content: space-between; align-items: center; padding: 32px 0; border-bottom: 1px solid #E2E2E2; }
.service-name { font-size: clamp(1.2rem, 2.5vw, 2rem); font-weight: 500; letter-spacing: -0.02em; }
.service-desc { font-size: 1rem; color: var(--text-muted); max-width: 400px; text-align: right; }

/* Footer */
.footer-card { background-color: var(--text-main); color: white; padding: 100px 40px 40px; }
.footer-top { margin-bottom: 120px; text-align: center; }
.footer-top h2 { max-width: 900px; margin: 0 auto 40px; }
.email-link { font-size: clamp(1.5rem, 4vw, 3rem); color: white; text-decoration: none; border-bottom: 1px solid white; padding-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 24px; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-col { display: flex; gap: 16px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: white; }

/* Modal Form */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; z-index: 100; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; padding: 20px; }
.modal-container { background: white; padding: 40px; border-radius: 24px; width: 100%; max-width: 550px; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.15); position: relative; transform: translateY(20px); transition: transform 0.3s ease; }
.modal-overlay.active .modal-container { transform: translateY(0); }
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
.close-modal:hover { color: var(--text-main); }
.input-group { margin-bottom: 20px; text-align: left; flex: 1; }
.input-row { display: flex; gap: 16px; }
.input-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; }
.input-group input, .input-group textarea, .input-group select { width: 100%; padding: 12px; border: 1px solid #E2E2E2; border-radius: 8px; font-family: inherit; font-size: 1rem; outline: none; transition: border-color 0.2s; background: white; }
.input-group input:focus, .input-group textarea:focus, .input-group select:focus { border-color: var(--text-main); }
.btn-full { width: 100%; font-size: 1rem; padding: 16px; border-radius: 12px; }
.form-message { margin-top: 16px; font-size: 0.9rem; font-weight: 500; text-align: center; }
.form-message.success { color: #15803d; }
.form-message.error { color: #b91c1c; }

/* Responsive */
@media (max-width: 768px) {
  body { padding: 12px; }
  .card { padding: 24px; border-radius: 24px; }
  .navbar { flex-direction: column; gap: 16px; margin-bottom: 40px; }
  .nav-left { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .avatar-logo { height: 80px; }
  .avatar { margin-bottom: 20px; }
  .indent, .indent-more { margin-left: 0; }
  .statement-content { flex-direction: column; gap: 24px; }
  .service-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .service-desc { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: center; }
}

