:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
  color: #e5e7eb;
}

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

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #020617;
}

.brand-text a {
  font-weight: 700;
  font-size: 16px;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: #9ca3af;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 4px 8px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  color: #e5e7eb;
}

.nav-links a:hover {
  background: rgba(148, 163, 184, 0.15);
}

/* LAYOUT */

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px 40px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  color: #020617;
  border-color: rgba(22, 163, 74, 0.8);
}

.btn.ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.6);
}

.btn.full {
  width: 100%;
}

.btn.danger {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.75);
  color: #fecaca;
}

/* ADMIN UI */

.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-actions form {
  margin: 0;
}

.admin-toolbar {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.input,
.select {
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  font-size: 14px;
}

.input {
  min-width: 260px;
  flex: 1;
}

.table-wrap {
  margin-top: 14px;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.35);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  text-align: right;
  vertical-align: top;
}

.table thead th {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.badge-green {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.45);
}

.badge-blue {
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(14, 165, 233, 0.45);
}

.link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pre {
  white-space: pre-wrap;
}

.nowrap {
  white-space: nowrap;
}

/* HERO */

.hero {
  margin-top: 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
}

.hero-main h1 {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.3;
}

.hero-main p {
  margin-top: 10px;
  color: #cbd5f5;
  line-height: 1.8;
}

.hero-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-metrics {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-metrics div {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-metrics strong {
  display: block;
  font-size: 16px;
}

.hero-metrics span {
  font-size: 11px;
  color: #9ca3af;
}

/* HERO RIGHT PANEL */

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-profile-card {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 0.98));
  border-radius: 20px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

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

.hero-profile-header img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #22c55e;
}

.hero-profile-header strong {
  font-size: 15px;
}

.hero-profile-header span {
  font-size: 12px;
  color: #9ca3af;
}

.hero-profile-body {
  margin-top: 10px;
  font-size: 13px;
  color: #e5e7eb;
}

.hero-profile-body p {
  margin-bottom: 8px;
}

.hero-profile-body ul {
  margin: 0;
  padding-right: 18px;
  font-size: 12px;
  color: #cbd5f5;
}

.hero-mini-panel {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 12px 14px 14px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
}

.hero-mini-panel .tag {
  font-size: 11px;
  color: #93c5fd;
}

.pill-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-row span {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.5);
}

/* SECTIONS */

.section {
  margin-top: 40px;
}

.section.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h1,
.section-header h2 {
  margin: 0;
}

.section-header h1 {
  font-size: 26px;
}

.section-header h2 {
  font-size: 22px;
}

.section-header p {
  margin-top: 8px;
  color: #9ca3af;
  font-size: 14px;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), rgba(15, 23, 42, 0.98));
  border-radius: 20px;
  padding: 24px 20px 26px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* CARDS */

.card-grid {
  margin-top: 20px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 16px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: #cbd5f5;
  font-size: 13px;
}

.card-list {
  margin: 10px 0 0;
  padding-right: 18px;
  font-size: 12px;
  color: #9ca3af;
}

/* STEPS */

.steps {
  margin: 18px 0 0;
  padding-right: 18px;
  font-size: 13px;
}

.steps li {
  margin-bottom: 10px;
}

.steps strong {
  display: block;
}

/* SERVICE LIST */

.service-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 18px;
}

.service-list li {
  margin-bottom: 10px;
}

.service-list h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.service-list p {
  margin: 0;
  font-size: 13px;
  color: #cbd5f5;
}

/* PRICING */

.pricing-grid {
  margin-top: 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pricing-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  padding: 18px 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-featured {
  border-width: 2px;
  border-color: rgba(34, 197, 94, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  position: relative;
}

.pricing-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price strong {
  font-size: 26px;
}

.price span {
  font-size: 12px;
  color: #9ca3af;
}

.pricing-note {
  font-size: 12px;
  color: #cbd5f5;
}

.pricing-card ul {
  margin: 0;
  padding-right: 18px;
  font-size: 12px;
  color: #e5e7eb;
}

.pricing-footnote {
  margin-top: 18px;
  font-size: 12px;
  color: #9ca3af;
}

/* FORMS & ALERTS */

.form {
  margin-top: 10px;
}

.form label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  font-size: 14px;
}

.alert {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13px;
}

.alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.8);
}

.alert.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.8);
}

/* LISTS */

.bullet-list {
  list-style: disc;
  padding-right: 18px;
  font-size: 13px;
}

.bullet-list li {
  margin-bottom: 6px;
}

/* CONTACT SOCIAL */

.contact-social-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 10px;
}

.contact-social-inline span {
  color: #9ca3af;
}

/* CV PAGE */

.cv-hero {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cv-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #22c55e;
  object-fit: cover;
}

.cv-hero-text h2 {
  margin: 0;
}

.cv-hero-text p {
  margin: 4px 0 10px;
  color: #cbd5f5;
}

.cv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.cv-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
}

.cv-links a {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.cv-section {
  margin-top: 26px;
}

.cv-section h3 {
  margin-bottom: 8px;
}

.cv-list {
  list-style: disc;
  padding-right: 18px;
  font-size: 13px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.skills-grid span {
  background: rgba(148, 163, 184, 0.2);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.project-card {
  background: rgba(30, 41, 59, 0.6);
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* FOOTER */

.footer {
  margin-top: 40px;
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  color: #9ca3af;
  font-size: 12px;
  text-align: center;
}

.footer-sub {
  margin-top: 4px;
}

.footer-social {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}

.footer-social a {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* RESPONSIVE */

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}



/* Audience grid */
.audience-grid .card p {
  min-height: 64px;
}

.link-inline {
  display: inline-flex;
  margin-top: 6px;
  font-size: 13px;
  color: #93c5fd;
  text-decoration: none;
}
.link-inline:hover {
  text-decoration: underline;
}

/* Floating WhatsApp button */
.floating-whatsapp {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ecfdf5;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.45);
}
.floating-whatsapp .wa-icon {
  font-size: 16px;
}
.floating-whatsapp:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Small screens: move WhatsApp button a bit up */
@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 80px;
    right: 12px;
  }
}


/* Header CTA */
.nav-cta{
  margin-right: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(147,197,253,0.18);
  border: 1px solid rgba(147,197,253,0.28);
  color: #e5f0ff !important;
  font-size: 13px;
  text-decoration: none;
}
.nav-cta:hover{
  background: rgba(147,197,253,0.26);
  transform: translateY(-1px);
}
@media (max-width: 820px){
  .nav-cta{ display:none; }
}


/* FAQ */
.faq{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq-item{
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(15,23,42,0.45);
  border-radius: 14px;
  padding: 10px 14px;
}
.faq-item summary{
  cursor: pointer;
  font-weight: 700;
  color: #e2e8f0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item p{
  margin: 10px 0 2px;
  color: #cbd5e1;
  line-height: 1.7;
}


/* Notice */
.notice{
  max-width: 980px;
  margin: 12px auto 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(59,130,246,0.10);
  border: 1px solid rgba(59,130,246,0.22);
  color: #dbeafe;
  font-size: 13px;
}
.notice a{ color:#93c5fd; text-decoration:none; }
.notice a:hover{ text-decoration:underline; }


/* Admin table */
.table-wrapper{
  max-width: 100%;
  overflow-x: auto;
  margin-top: 16px;
}
.table{
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.table th,
.table td{
  border-bottom: 1px solid rgba(148,163,184,0.35);
  padding: 8px 10px;
  text-align: right;
}
.table th{
  background: rgba(15,23,42,0.85);
  font-weight: 600;
  color: #e5e7eb;
}
.table tr:nth-child(even){
  background: rgba(15,23,42,0.6);
}
.table tr:nth-child(odd){
  background: rgba(15,23,42,0.3);
}
.table code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
}


/* WhatsApp CTA with icon */
.wa-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wa-cta .wa-ico{
  font-size: 15px;
  line-height: 1;
}
.wa-cta .wa-label{
  line-height: 1;
}


@media (max-width: 520px){
  .floating-whatsapp .wa-text{ display:none; }
  .floating-whatsapp{ padding: 10px 12px; }
}


/* Service pages layout */
.two-col{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 860px){
  .two-col{ grid-template-columns: 1fr; }
}
.list{
  margin: 10px 0 0;
  padding-right: 18px;
  color: #cbd5e1;
  line-height: 1.8;
}
.card-actions{
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn.small{
  padding: 8px 10px;
  font-size: 12px;
}


/* CV button inside profile card */
.cv-card-btn{
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: 1px solid rgba(34,197,94,0.35);
}
.cv-card-btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}


.service-landing-grid .card{
  min-height: 0;
}
.service-landing-grid .card p{
  min-height: 64px;
}
