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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f8f9fa;
  color: #1a1a2e;
}

/* Header */
header {
  background: #1a1a2e;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.site-brand:hover .site-name { opacity: 0.85; }

.site-name { font-size: 1.4rem; font-weight: 700; letter-spacing: 0.04em; }

.site-tagline { font-size: 0.85rem; opacity: 0.5; }

/* Breadcrumbs */
.breadcrumb {
  padding: 0.7rem 2rem;
  font-size: 0.85rem;
  color: #999;
  max-width: 960px;
  margin: 0 auto;
}

.breadcrumb a { color: #0f3460; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; }

/* Main layout */
main { max-width: 960px; margin: 0 auto; padding: 0 2rem 4rem; }

/* Hero */
.hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 3rem;
}

.hero h2 { font-size: 2rem; line-height: 1.3; margin-bottom: 1rem; }
.hero p { font-size: 1.05rem; color: #555; max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* Tool sections */
.tool-section { margin-bottom: 3.5rem; }

.tool-header { margin-bottom: 1.5rem; }
.tool-header h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.tool-header p { color: #666; font-size: 0.95rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 4px solid #0f3460;
  display: flex;
  flex-direction: column;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: #666; line-height: 1.55; flex: 1; }

.tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  background: #e8f0fe;
  color: #0f3460;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  align-self: flex-start;
}

/* Coming soon */
.coming-soon .tool-header h3 { color: #999; }
.coming-soon .tool-header p { color: #bbb; }

.coming-soon-banner {
  background: #f0f0f0;
  color: #aaa;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px dashed #ddd;
}

/* Inner pages */
.page-header { margin-bottom: 2rem; padding-top: 2rem; }
.page-header h2 { font-size: 1.6rem; }
.page-header p { color: #666; margin-top: 0.4rem; }

.skill-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-bottom: 1.5rem;
}

.skill-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.skill-card p { color: #555; font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.75rem; }
.skill-card p:last-child { margin-bottom: 0; }
.skill-card a { color: #0f3460; }

code {
  background: #f0f4f8;
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.btn-download {
  display: inline-block;
  background: #0f3460;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.btn-download:hover { background: #16213e; }
.btn-download.disabled { background: #ccc; cursor: not-allowed; pointer-events: none; }

/* About team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  text-align: center;
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #0f3460;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.team-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.team-title { font-size: 0.82rem; color: #0f3460; font-weight: 600; margin-bottom: 0.6rem; }
.team-card p { font-size: 0.875rem; color: #666; line-height: 1.5; }

.linkedin-link {
  color: #1a1a2e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.linkedin-link:hover { color: #0f3460; }

/* Contact section */
.contact-section {
  background: #1a1a2e;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: #fff;
}

.contact-section h2 { font-size: 1.9rem; margin-bottom: 0.5rem; }
.contact-section > p { font-size: 1rem; opacity: 0.65; margin-bottom: 2rem; }

.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255,255,255,0.07);
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.11);
}

.contact-form textarea { resize: vertical; }

.g-recaptcha { display: flex; justify-content: center; margin-top: 0.25rem; }

.contact-form button {
  align-self: center;
  background: #0f3460;
  color: #fff;
  border: none;
  padding: 0.75rem 2.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.25rem;
}

.contact-form button:hover { background: #16213e; }

.form-status { margin-top: 1rem; font-size: 0.9rem; min-height: 1.2em; }
.form-status.success { color: #a8f0a8; }
.form-status.error { color: #ffb3b3; }

/* Footer */
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  color: #aaa;
  font-size: 0.85rem;
  border-top: 1px solid #e8e8e8;
  margin-top: 3rem;
}

footer a { color: #aaa; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #0f3460; }

.footer-linkedin { display: flex; align-items: center; color: #aaa; transition: color 0.2s; }
.footer-linkedin:hover { color: #0a66c2; }
