/* GNDev site styles — shared across all pages */
  :root {
    --ink: #0b1520;
    --ink-2: #10141c;
    --cyan: #00c2d1;
    --violet: #8c7bff;
    --hairline: #e2e8ed;
    --ink-text: #14181b;
    --slate: #8695a0;
    --slate-on-light: #57636c;
    --slate-on-cyan: #2a3540;
    --paper: #f1f4f8;
    --white: #ffffff;
    --radius: 12px;
    --max: 1080px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation: none !important; transition: none !important; }
  }

  body {
    margin: 0;
    background: var(--ink);
    color: var(--hairline);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    margin: 0;
    line-height: 1.15;
  }

  p { margin: 0; }

  a { color: inherit; }

  img { max-width: 100%; display: block; }

  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: var(--ink-2); }
  ::-webkit-scrollbar-thumb { background: var(--slate); border-radius: 8px; }
  ::-webkit-scrollbar-thumb:hover { background: #7b828e; }
  html { scrollbar-color: var(--slate) var(--ink-2); scrollbar-width: thin; }

  :focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
  }

  .wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* Nav */
  header {
    background: var(--ink-2);
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    max-width: var(--max);
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 12px;
  }
  .logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
  }
  .nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links li:not(:last-child) { margin-right: 28px; }
  .nav-links { gap: 0; }
  @supports (gap: 1px) {
    .nav-links { gap: 28px; }
    .nav-links li:not(:last-child) { margin-right: 0; }
  }
  .nav-links a {
    text-decoration: none;
    color: var(--hairline);
    font-size: 0.95rem;
  }
  .nav-links a:hover { color: var(--cyan); }
  .nav-whatsapp {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--hairline);
    font-size: 0.9rem;
  }
  .nav-whatsapp svg { color: #25D366; flex-shrink: 0; }
  .nav-whatsapp:hover { color: var(--white); }
  .nav-cta {
    background: var(--cyan);
    color: var(--ink-text);
    font-weight: 500;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  /* Hero */
  .hero {
    background: var(--cyan);
    padding: 72px 24px 64px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/network-pattern.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
  }
  .hero-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 1;
  }
  .hero-eyebrow {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--ink-text);
    background: rgba(255,255,255,0.35);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
  }
  .hero h1 {
    color: var(--ink-text);
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 700;
  }
  .hero p {
    color: var(--slate-on-cyan);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 520px;
    margin: 18px 0 0;
  }
  .hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
  }
  .btn-primary, .btn-secondary {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 8px;
    display: inline-block;
  }
  .btn-primary {
    background: var(--ink);
    color: var(--white);
  }
  .btn-primary:hover { filter: brightness(1.2); }
  .btn-secondary {
    background: transparent;
    color: var(--ink-text);
    border: 1.5px solid var(--ink-text);
  }
  .btn-secondary:hover { background: rgba(11,21,32,0.08); }

  /* Phone frame for real app screenshots */
  .hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
  }
  .phone-frame {
    width: 220px;
    background: var(--ink);
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.35);
    position: relative;
    z-index: 2;
  }
  .phone-frame.phone-behind {
    position: absolute;
    top: 36px;
    left: -34px;
    z-index: 1;
    opacity: 0.55;
    transform: scale(0.92);
  }
  .phone-frame img {
    width: 100%;
    border-radius: 22px;
    display: block;
  }
  .phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 16px;
    background: var(--ink);
    border-radius: 0 0 10px 10px;
    z-index: 3;
  }

  /* Value strip */
  .value-strip {
    background: var(--ink-2);
    padding: 28px 24px;
    border-bottom: 1px solid var(--hairline);
  }
  .value-strip-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
  }
  .value-item svg { color: var(--cyan); margin: 0 auto 8px; display: block; }
  .value-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--white);
    font-size: 0.9rem;
    margin: 0 0 2px;
  }
  .value-item p {
    color: var(--slate);
    font-size: 0.78rem;
  }

  /* About band */
  .about-band {
    background: var(--paper);
    padding: 64px 24px;
  }
  .about-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }
  .about-inner .eyebrow { color: var(--slate-on-light); }
  .about-inner h2 {
    color: var(--ink-text);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-bottom: 16px;
  }
  .about-inner p.body-text {
    color: var(--ink-text);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.6;
  }
  .about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .about-visual img {
    width: 115px;
    aspect-ratio: 9/20;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  }

  @media (max-width: 780px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { margin-top: 24px; }
    .phone-frame.phone-behind { display: none; }
    .about-inner { grid-template-columns: 1fr; }
    .about-visual { order: -1; max-width: 320px; margin: 0 auto; }
  }

  section { padding: 64px 24px; }

  .eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--slate);
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-align: center;
  }

  /* Services */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: var(--max);
    margin: 0 auto;
  }
  .service-card {
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: 40px;
    padding: 36px 24px;
    text-align: center;
  }
  .service-card svg { color: var(--cyan); margin-bottom: 16px; }
  .service-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .service-card p {
    color: var(--hairline);
    font-size: 0.9rem;
  }

  /* Process */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
  }
  .process-step {
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    position: relative;
  }
  .process-step::after {
    content: "→";
    position: absolute;
    right: -21px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--violet);
    font-size: 1.1rem;
  }
  .process-step:last-child::after { content: ""; }
  @media (max-width: 780px) {
    .process-step::after { display: none; }
  }
  .process-step .num { color: var(--violet); font-family: 'Space Grotesk', sans-serif; }
  .process-step h3 {
    display: inline;
    color: var(--white);
    font-size: 1rem;
  }
  .process-step p {
    color: var(--hairline);
    font-size: 0.85rem;
    margin-top: 6px;
  }

  /* Testimonials — structure ready, not yet populated with real quotes */
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: var(--max);
    margin: 0 auto;
  }
  .testimonial-card {
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 26px;
  }
  .testimonial-card p.quote {
    color: var(--hairline);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .testimonial-card .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--violet);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  .testimonial-card .author-name {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
  }
  .testimonial-card .author-role {
    color: var(--slate);
    font-size: 0.78rem;
  }

  /* Portfolio */
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: var(--max);
    margin: 0 auto;
  }
  .project-card {
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
  }
  .project-card > img {
    height: 280px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 16px;
    border-radius: 8px;
  }
  @media (max-width: 640px) {
    .project-card > img { height: 180px; }
  }
  .project-card .phone-frame {
    width: 130px;
    margin: 0 auto 16px;
  }
  .project-card .phone-frame img { border-radius: 16px; }
  .photo-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    padding: 14px 0 10px;
  }
  .photo-stack img {
    width: 80px;
    aspect-ratio: 9/20;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    flex-shrink: 0;
  }
  .photo-stack .photo-left {
    transform: rotate(-8deg);
    margin-right: -18px;
    z-index: 1;
  }
  .photo-stack .photo-center {
    z-index: 2;
    position: relative;
  }
  .photo-stack .photo-right {
    transform: rotate(8deg);
    margin-left: -18px;
    z-index: 1;
  }
  .project-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .platform-tag {
    display: inline-block;
    background: rgba(226, 232, 237, 0.65);
    color: var(--ink-text);
    font-size: 0.8rem;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 14px;
  }
  .view-all {
    text-align: center;
    margin-top: 28px;
  }
  .view-all a {
    color: var(--cyan);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .view-all a:hover { text-decoration: underline; }
  .project-card p.desc {
    color: var(--hairline);
    font-size: 0.92rem;
  }

  /* CTA + contact */
  .contact-block {
    max-width: 720px;
    margin: 0 auto;
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 40px;
  }
  .contact-block h2 {
    color: var(--hairline);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 28px;
  }
  .field-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .field-row > div:first-child { margin-right: 16px; }
  @supports (gap: 1px) {
    .field-row > div:first-child { margin-right: 0; }
  }
  .field-row input { flex: 1; min-width: 180px; }
  input, textarea {
    width: 100%;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--ink-text);
  }
  textarea { margin-bottom: 20px; min-height: 120px; resize: vertical; }
  input::placeholder, textarea::placeholder { color: var(--slate-on-light); }
  .error-text {
    color: #ff9b9b;
    font-size: 0.82rem;
    margin-top: -12px;
    margin-bottom: 14px;
    min-height: 1em;
  }
  .send-btn {
    display: block;
    width: 100%;
    background: var(--cyan);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    padding: 13px;
    cursor: pointer;
  }
  .send-btn:hover { filter: brightness(1.08); }
  .send-btn:disabled { opacity: 0.6; cursor: not-allowed; }
  .form-message {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    min-height: 1.2em;
  }
  .form-message.success { color: #6be3a3; }
  .form-message.failure { color: #ff9b9b; }

  /* Footer */
  footer {
    border-top: 1px solid var(--ink-2);
    padding: 40px 24px;
  }
  .footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
  }
  .footer-col h3 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .footer-col ul { list-style: none; margin: 0; padding: 0; }
  .footer-col li { margin-bottom: 6px; }
  .footer-col a {
    color: var(--slate);
    text-decoration: none;
    font-size: 0.88rem;
  }
  .footer-col a:hover { color: var(--cyan); }
  .copyright {
    text-align: center;
    color: var(--slate);
    font-size: 0.85rem;
    margin-top: 32px;
  }

  @media (max-width: 640px) {
    .nav-links { order: 3; width: 100%; justify-content: center; }
    section { padding: 48px 20px; }
    .contact-block { padding: 28px 20px; }
  }

  .page-header {
    background: var(--ink-2);
    padding: 56px 24px 48px;
    text-align: center;
    border-bottom: 1px solid var(--hairline);
  }
  .page-header h1 {
    color: var(--white);
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  }
  .page-header p {
    color: var(--slate);
    max-width: 560px;
    margin: 14px auto 0;
    font-size: 1rem;
  }
  .breadcrumb {
    font-size: 0.85rem;
    color: var(--slate);
    margin-bottom: 18px;
  }
  .breadcrumb a { color: var(--cyan); text-decoration: none; }
  .breadcrumb a:hover { text-decoration: underline; }
  .work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: var(--max);
    margin: 0 auto;
  }
  .cta-strip {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 40px;
  }
  .cta-strip h2 {
    color: var(--hairline);
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  .cta-strip a.send-btn {
    display: inline-block;
    text-decoration: none;
    width: auto;
    padding: 13px 32px;
  }

  /* Pricing */
  .pricing-note {
    max-width: var(--max);
    margin: 0 auto 32px;
    text-align: center;
    color: var(--slate);
    font-size: 0.9rem;
  }
  .pricing-website {
    max-width: 640px;
    margin: 0 auto 48px;
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
  }
  .pricing-website h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 6px;
  }
  .pricing-website .price {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--cyan);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
  }
  .pricing-website ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--hairline);
    font-size: 0.92rem;
    line-height: 1.8;
  }
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: var(--max);
    margin: 0 auto;
  }
  .pricing-card {
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 30px;
  }
  .pricing-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  .pricing-card .price {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--cyan);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
  }
  .pricing-card p.desc {
    color: var(--hairline);
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .pricing-baseline {
    max-width: var(--max);
    margin: 32px auto 0;
    text-align: center;
    color: var(--slate);
    font-size: 0.88rem;
  }
  .pricing-storefee {
    max-width: var(--max);
    margin: 12px auto 0;
    text-align: center;
    color: var(--slate);
    font-size: 0.88rem;
  }
