:root {
  --bg: #050609;
  --bg-alt: #111827;
      --bg-soft: #0b0f16;
      --gold: #d4af37;
      --gold-soft: #f4d993;
      --text: #f9fafb;
      --text-muted: #9ca3af;
      --border: #1f2933;
      --accent: #f97316;
      --card-radius: 18px;
      --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
    }

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

    html, body {
      font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: radial-gradient(circle at top, #111827 0, #050609 55%);
      color: var(--text);
      scroll-behavior: smooth;
    }

    body { line-height: 1.6; }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .container {
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(16px);
      background: linear-gradient(to bottom, rgba(5, 6, 9, 0.94), rgba(5, 6, 9, 0.7));
      border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.8rem 0;
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .nav-logo {
      width: 70px;
      height: 70px;
      border-radius: 999px;
      background: radial-gradient(circle at 20% 20%, #0c0a0a, #0c0a0a);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }

    .nav-logo img {
      width: 70%;
      height: auto;
    }

    .nav-brand {
      display: flex;
      flex-direction: column;
    }

    .nav-brand-title {
      font-weight: 600;
      letter-spacing: 0.06em;
      font-size: 0.95rem;
      text-transform: uppercase;
    }

    .nav-brand-sub {
      font-size: 0.7rem;
      color: var(--text-muted);
    }

    .nav-links {
      display: flex;
      gap: 1.5rem;
      font-size: 0.9rem;
    }

    .nav-links a {
      position: relative;
      padding-bottom: 0.1rem;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--gold), var(--gold-soft));
      transition: width 0.2s ease-out;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-cta {
      border-radius: 999px;
      padding: 0.5rem 1.1rem;
      border: 1px solid rgba(212, 175, 55, 0.55);
      background: radial-gradient(circle at top, rgba(244, 217, 147, 0.25), transparent);
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .nav-cta:hover { background: rgba(212, 175, 55, 0.16); }

    .hero { padding: 3.5rem 0 2.5rem; }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
      gap: 2.5rem;
      align-items: center;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.75rem;
      padding: 0.25rem 0.7rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid rgba(212, 175, 55, 0.6);
      margin-bottom: 1rem;
    }

    .badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: var(--gold);
      box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
    }

    .hero h1 {
      font-size: clamp(2.1rem, 3vw, 2.6rem);
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    .hero-highlight {
      background: linear-gradient(90deg, #f4d993, #d4af37, #f97316);
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero p {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 1.5rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      padding: 0.7rem 1.4rem;
      font-size: 0.85rem;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.18s ease-out;
    }

    .btn-primary {
      background: linear-gradient(135deg, #f4d993, #d4af37);
      color: #111827;
      box-shadow: var(--shadow-soft);
      font-weight: 600;
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #ffe9a9, #f4d993);
      transform: translateY(-1px);
    }

    .btn-ghost {
      border-color: rgba(148, 163, 184, 0.8);
      background: rgba(15, 23, 42, 0.7);
      color: var(--text);
    }

    .btn-ghost:hover {
      border-color: var(--gold);
      background: rgba(15, 23, 42, 0.95);
    }

    .hero-tagline {
      margin-top: 1.2rem;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .hero-tagline span { color: var(--gold-soft); }

    .hero-card {
      background: radial-gradient(circle at top, rgba(244, 217, 147, 0.1), #020617);
      border-radius: 24px;
      padding: 1.7rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
      box-shadow: var(--shadow-soft);
    }

    .hero-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.2rem;
    }

    .hero-card-title {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--text-muted);
    }

    .hero-card-pill {
      padding: 0.2rem 0.65rem;
      font-size: 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(212, 175, 55, 0.5);
      color: var(--gold-soft);
    }

    .hero-metrics {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
      margin-bottom: 1.2rem;
    }

    .metric {
      padding: 0.8rem 0.9rem;
      border-radius: var(--card-radius);
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(31, 41, 55, 0.9);
    }

    .metric-label {
      font-size: 0.7rem;
      color: var(--text-muted);
      margin-bottom: 0.3rem;
    }

    .metric-value {
      font-size: 1.1rem;
      font-weight: 600;
    }

    .metric-value span {
      font-size: 0.75rem;
      color: var(--gold-soft);
      margin-left: 0.3rem;
    }

    .hero-card-footer {
      font-size: 0.75rem;
      color: var(--text-muted);
      border-top: 1px solid rgba(31, 41, 55, 0.7);
      padding-top: 0.8rem;
      margin-top: 0.8rem;
    }

    .hero-card-footer span { color: var(--gold-soft); }

    section { padding: 3rem 0 2.5rem; }

    .section-header { margin-bottom: 1.8rem; }

    .section-kicker {
      text-transform: uppercase;
      font-size: 0.75rem;
      letter-spacing: 0.14em;
      color: var(--gold-soft);
      margin-bottom: 0.3rem;
    }

    .section-title {
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
    }

    .section-subtitle {
      font-size: 0.9rem;
      color: var(--text-muted);
      max-width: 650px;
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
      gap: 2rem;
    }

    .about-box {
      background: rgba(15, 23, 42, 0.9);
      border-radius: var(--card-radius);
      padding: 1.6rem;
      border: 1px solid rgba(31, 41, 55, 0.9);
    }

    .about-box p {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 0.7rem;
    }

    .about-highlight {
      color: var(--gold-soft);
      font-weight: 500;
    }

    .about-list {
      list-style: none;
      margin-top: 0.8rem;
      font-size: 0.85rem;
    }

    .about-list li {
      margin-bottom: 0.4rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .about-bullet {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--gold-soft);
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.4rem;
    }

    .skill-card {
      background: rgba(15, 23, 42, 0.9);
      border-radius: var(--card-radius);
      padding: 1.3rem 1.2rem;
      border: 1px solid rgba(31, 41, 55, 0.9);
    }

    .skill-card h3 {
      font-size: 0.95rem;
      margin-bottom: 0.4rem;
    }

    .skill-card p {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
    }

    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.3rem;
      margin-top: 0.4rem;
    }

    .skill-tag {
      font-size: 0.7rem;
      padding: 0.2rem 0.45rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.6);
      color: var(--text-muted);
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.4rem;
    }

    .project-card {
      background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
      border-radius: var(--card-radius);
      padding: 1.4rem 1.3rem;
      border: 1px solid rgba(31, 41, 55, 0.9);
    }

    .project-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--gold-soft);
      margin-bottom: 0.4rem;
    }

    .project-title {
      font-size: 1rem;
      margin-bottom: 0.3rem;
    }

    .project-meta {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
    }

    .project-desc {
      font-size: 0.82rem;
      color: var(--text-muted);
      margin-bottom: 0.5rem;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
    }

    .project-tag {
      font-size: 0.7rem;
      padding: 0.2rem 0.5rem;
      border-radius: 999px;
      border: 1px solid rgba(55, 65, 81, 0.9);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.2rem;
    }

    .service-card {
      background: rgba(15, 23, 42, 0.9);
      border-radius: var(--card-radius);
      padding: 1.1rem 1.1rem;
      border: 1px solid rgba(31, 41, 55, 0.9);
      font-size: 0.85rem;
    }

    .service-card h3 {
      font-size: 0.95rem;
      margin-bottom: 0.4rem;
    }

    .service-card ul { list-style: none; margin-top: 0.3rem; }
    .service-card li { margin-bottom: 0.25rem; color: var(--text-muted); }

    .ia-box {
      background: linear-gradient(135deg, rgba(13, 16, 26, 0.98), rgba(15, 23, 42, 0.95));
      border-radius: 24px;
      padding: 1.7rem 1.5rem;
      border: 1px solid rgba(212, 175, 55, 0.45);
      box-shadow: var(--shadow-soft);
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .ia-box h3 {
      font-size: 1rem;
      margin-bottom: 0.6rem;
      color: var(--gold-soft);
    }

    .ia-list { list-style: none; margin-top: 0.4rem; }
    .ia-list li { margin-bottom: 0.4rem; }

    .ia-pill {
      display: inline-block;
      padding: 0.15rem 0.5rem;
      border-radius: 999px;
      border: 1px solid rgba(212, 175, 55, 0.6);
      font-size: 0.7rem;
      margin-right: 0.4rem;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
      gap: 2rem;
    }

    .contact-card {
      background: rgba(15, 23, 42, 0.9);
      border-radius: var(--card-radius);
      padding: 1.4rem 1.3rem;
      border: 1px solid rgba(31, 41, 55, 0.9);
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .contact-card strong { color: var(--gold-soft); }

    form {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.7rem;
    }

    label {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    input, textarea {
      width: 100%;
      padding: 0.6rem 0.7rem;
      border-radius: 10px;
      border: 1px solid rgba(55, 65, 81, 0.9);
      background: rgba(15, 23, 42, 0.9);
      color: var(--text);
      font-size: 0.85rem;
    }

    textarea {
      min-height: 120px;
      resize: vertical;
    }

    input:focus, textarea:focus {
      outline: none;
      border-color: var(--gold);
      box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.6);
    }

    footer {
      border-top: 1px solid rgba(31, 41, 55, 0.9);
      padding: 1.5rem 0;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    footer a { color: var(--gold-soft); }

    @media (max-width: 900px) {
      .nav-links { display: none; }
      .hero-grid,
      .about-grid,
      .contact-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .hero { padding-top: 2.4rem; }
    }

    @media (max-width: 780px) {
      .grid-3,
      .services-grid,
      .projects-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      section { padding: 2.4rem 0 2rem; }
    }