@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Layer resets and initial setup --- */
@layer reset, base, theme, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
  }

  body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.6;
    overflow-x: hidden;
  }

  img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
  }

  input, button, textarea, select {
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
  }

  button {
    cursor: pointer;
  }

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

  ul, ol {
    list-style: none;
  }
}

/* --- Theme variables and Design system --- */
@layer theme {
  :root {
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Base Raw Colors */
    --raw-obsidian: 9 9 11;       /* zinc-950 */
    --raw-ash-900: 24 24 27;     /* zinc-900 */
    --raw-ash-800: 39 39 42;     /* zinc-800 */
    --raw-ash-400: 161 161 170;  /* zinc-400 */
    --raw-ash-100: 244 244 245;  /* zinc-100 */

    /* ShinChat Purple Palette (Matching brand logo) */
    --brand-primary: light-dark(#4b2d83, #8b5cf6);
    --brand-hover: light-dark(#3c206d, #7c3aed);
    --brand-subtle: light-dark(rgba(75, 45, 131, 0.06), rgba(139, 92, 246, 0.08));
    --brand-border: light-dark(rgba(75, 45, 131, 0.12), rgba(139, 92, 246, 0.18));

    /* Semantic light colors (Soft Alabaster & Warm Muted Purple) */
    --light-bg: #f5f5f4;
    --light-surface: rgba(250, 250, 249, 0.85);
    --light-surface-solid: #fafaf9;
    --light-border: rgba(0, 0, 0, 0.05);
    --light-border-hover: rgba(0, 0, 0, 0.12);
    --light-text: #1c1917;
    --light-text-muted: #57534e;
    --light-text-inverse: #ffffff;
    
    /* Semantic dark colors (Obsidian & ShinChat Purple) */
    --dark-bg: #09090b;
    --dark-surface: rgba(24, 24, 27, 0.7);
    --dark-surface-solid: #18181b;
    --dark-border: rgba(255, 255, 255, 0.04);
    --dark-border-hover: rgba(255, 255, 255, 0.08);
    --dark-text: #fafafa;
    --dark-text-muted: #a1a1aa;
    --dark-text-inverse: #09090b;

    /* Dark theme locked colors */
    color-scheme: dark;
    
    --bg-color: var(--dark-bg);
    --surface-color: var(--dark-surface);
    --surface-solid: var(--dark-surface-solid);
    --border-color: var(--dark-border);
    --border-hover: var(--dark-border-hover);
    --text-color: var(--dark-text);
    --text-muted: var(--dark-text-muted);
    --text-inverse: var(--dark-text-inverse);

    /* Layout spacings */
    --container-max-width: 1200px;
    --header-height: 80px;
    
    /* Scrollbar */
    --scrollbar-track: #09090b;
    --scrollbar-thumb: #27272a;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: thin;
    
    accent-color: var(--brand-primary);
  }
}

@layer base {
  body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    position: relative;
    transition: background-color 0.5s ease, color 0.5s ease;
    letter-spacing: -0.01em;
  }

  /* Architectural & Editorial headings */
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-color);
    letter-spacing: -0.02em;
  }

  /* Sophisticated thin line grid background */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: light-dark(
      linear-gradient(rgba(0, 0, 0, 0.01) 1px, transparent 1px),
      linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px)
    ), light-dark(
      linear-gradient(90deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px)
    );
    background-size: 80px 80px;
    pointer-events: none;
  }

  /* Soft, low-intensity ambient white backlights */
  .spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    transition: all 1s ease;
  }

  .spotlight-1 {
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
    top: -10%;
    left: 20%;
  }

  .spotlight-2 {
    background: radial-gradient(circle, var(--brand-primary) 0%, transparent 70%);
    bottom: -10%;
    right: 10%;
    opacity: 0.02;
  }

  /* Accessibility focus visible rings */
  :focus-visible {
    outline: 1px solid var(--brand-primary);
    outline-offset: 4px;
  }
}

/* --- Core components --- */
@layer components {
  .container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 32px;
  }

  /* Refined card: thin borders, zero loud neon */
  .glass-card {
    position: relative;
    background-color: var(--surface-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
  }

  .glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }

  /* Card Mouse Glow effect: Soft white highlight */
  .glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
      rgba(255, 255, 255, 0.04),
      transparent 50%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .glass-card:hover::before {
    opacity: 1;
  }

  /* Luxury Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
  }

  .btn-primary {
    background-color: var(--brand-primary);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.15);
  }

  .btn-primary:hover {
    background-color: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.25);
  }

  .btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
  }

  .btn-secondary:hover {
    border-color: var(--brand-primary);
    background-color: var(--brand-subtle);
    transform: translateY(-2px);
  }

  /* Header and Navigation */
  header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }

  header.site-header.scrolled {
    background-color: light-dark(rgba(245, 245, 244, 0.8), rgba(9, 9, 11, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-color);
    height: 70px;
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo img {
    height: 38px;
    width: auto;
    border-radius: 4px;
    transition: transform 0.3s ease;
  }

  .logo:hover img {
    transform: scale(1.05);
  }

  .logo-text {
    display: flex;
    flex-direction: column;
  }

  .logo-text .title {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--text-color);
  }

  .logo-text .title span {
    color: var(--brand-primary);
  }

  .logo-text .subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-top: 3px;
  }

  /* Desktop Menu Navigation */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
  }

  .nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 18px;
    color: var(--text-muted);
    border-radius: 6px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
  }

  .nav-link:hover, .nav-link.active {
    color: var(--text-color);
  }

  .nav-link.active {
    color: var(--brand-primary);
  }

  /* Navigation Pill dynamic indicator: Purple border, clean design */
  .nav-indicator {
    position: absolute;
    height: 36px;
    border-radius: 6px;
    background-color: light-dark(rgba(0, 0, 0, 0.03), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
  }

  /* Right-side Navbar Actions */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .whatsapp-chat-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
  }

  .whatsapp-chat-link:hover {
    color: var(--brand-primary);
  }

  .whatsapp-chat-link svg {
    width: 14px;
    height: 14px;
  }



  /* Hamburger Mobile Toggle */
  .mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    z-index: 101;
  }

  .mobile-menu-toggle svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
  }

  /* SPA View sections */
  section.page {
    display: none;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 100px;
    min-height: 100vh;
  }

  section.page.active {
    display: block;
    animation: fadeInSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes fadeInSlideUp {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* --- Page Section: Home --- */
  .hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 40px;
    min-height: 75vh;
    text-align: center;
  }

  .hero-tagline {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--brand-subtle);
    border: 1px solid var(--brand-border);
    color: var(--brand-primary);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
  }

  .hero-title span.gradient-text {
    font-weight: 500;
    color: var(--brand-primary);
    position: relative;
  }

  .hero-desc {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
  }

  /* Quick statistics section */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 80px;
  }

  .stat-card {
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 12px 0 12px 24px;
    text-align: left;
    border-radius: 0;
  }

  .stat-num {
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
  }

  .stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* Featured Services Overview */
  .section-header {
    text-align: left;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    max-width: var(--container-max-width);
  }

  .section-tag {
    color: var(--brand-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
    display: block;
  }

  .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 350;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }

  .section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
    max-width: 700px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
  }

  .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: var(--brand-subtle);
    color: var(--brand-primary);
    margin-bottom: 24px;
    border: 1px solid var(--brand-border);
    transition: all 0.3s ease;
  }

  .service-card:hover .service-icon {
    background-color: var(--brand-primary);
    color: var(--dark-bg);
  }

  .service-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
  }

  .service-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  .service-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    font-weight: 300;
  }

  .service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: transform 0.3s ease;
  }

  .service-link svg {
    width: 12px;
    height: 12px;
    stroke-width: 2;
    transition: transform 0.25s ease;
  }

  .service-card:hover .service-link svg {
    transform: translate(3px, -3px);
  }

  /* Why Choose Us Grid */
  .why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 48px;
  }

  .choose-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .choose-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--brand-primary);
    flex-shrink: 0;
  }

  .choose-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
  }

  .choose-text h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 6px;
  }

  .choose-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
  }

  /* Testimonials styling */
  .testimonials-container {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
  }

  .testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .testimonial-slide {
    min-width: 100%;
    padding: 8px;
  }

  .testimonial-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
  }

  .testimonial-card::after {
    content: "“";
    position: absolute;
    top: 12px;
    right: 48px;
    font-size: 10rem;
    font-family: Georgia, serif;
    line-height: 1;
    color: light-dark(rgba(0, 0, 0, 0.02), rgba(255, 255, 255, 0.01));
    user-select: none;
    pointer-events: none;
  }

  .stars-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 24px;
    color: var(--brand-primary);
  }

  .stars-rating svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
  }

  .testimonial-quote {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 36px;
    color: var(--text-color);
  }

  .testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: auto;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--brand-subtle);
    border: 1px solid var(--brand-border);
    color: var(--brand-primary);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .testimonial-info h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
  }

  .testimonial-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  .carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .carousel-dot.active {
    width: 20px;
    border-radius: 4px;
    background-color: var(--brand-primary);
  }

  /* Premium Call to Action (CTA) card */
  .cta-wrapper {
    margin-top: 100px;
  }

  .cta-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }

  .cta-card p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 0.98rem;
    font-weight: 300;
  }

  /* --- Page Section: Services --- */
  .detailed-services {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  .service-detail-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
  }

  @media (min-width: 900px) {
    .service-detail-block {
      grid-template-columns: 1.2fr 0.8fr;
    }

    .service-detail-block:nth-child(even) {
      direction: rtl;
    }

    .service-detail-block:nth-child(even) > * {
      direction: ltr;
    }
  }

  .detail-content h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .detail-content h3 svg {
    color: var(--brand-primary);
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
  }

  .detail-content p {
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
    font-weight: 300;
    font-size: 0.92rem;
  }

  .detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
  }

  .feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
  }

  .feature-tag svg {
    color: var(--brand-primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke-width: 2;
  }

  .detail-stats {
    background: light-dark(rgba(0, 0, 0, 0.02), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 220px;
  }

  .detail-stats .stat-value {
    font-size: 3.2rem;
    font-weight: 300;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
  }

  .detail-stats .stat-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* --- Page Section: About --- */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
  }

  @media (min-width: 900px) {
    .about-grid {
      grid-template-columns: 1.15fr 0.85fr;
    }
  }

  .about-text h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 20px;
  }

  .about-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
    font-size: 0.92rem;
  }

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

  .value-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
  }

  .value-card h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
  }

  .value-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 300;
  }

  .company-info-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .info-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
  }

  .info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .info-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.85rem;
  }

  .info-val {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.85rem;
  }

  /* --- Page Section: Portfolio --- */
  .portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .filter-btn {
    padding: 8px 22px;
    border-radius: 4px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .filter-btn:hover, .filter-btn.active {
    color: var(--text-color);
    border-color: var(--brand-border);
  }

  .filter-btn.active {
    background-color: var(--brand-primary);
    color: var(--dark-bg);
    border-color: transparent;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
  }

  .portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface-solid);
    border: 1px solid var(--border-color);
    transition: border-color 0.4s ease;
  }

  .portfolio-item:hover {
    border-color: var(--brand-border);
  }

  .portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
  }

  .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
  }

  .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
  }

  .portfolio-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
  }

  .portfolio-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
  }

  .portfolio-metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--brand-subtle);
    border: 1px solid var(--brand-border);
    padding: 4px 12px;
    border-radius: 4px;
    width: fit-content;
  }

  /* --- Page Section: Pricing --- */
  .pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
  }

  .pricing-toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
  }

  .pricing-toggle-label.active {
    color: var(--text-color);
  }

  .pricing-switch-btn {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 9999px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
  }

  .pricing-switch-btn::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--text-muted);
    top: 3px;
    left: 4px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
  }

  .pricing-switch-btn.annual::before {
    transform: translateX(22px);
    background-color: var(--brand-primary);
  }

  .annual-discount {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--brand-subtle);
    border: 1px solid var(--brand-border);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 4px;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: stretch;
  }

  .pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
  }

  .pricing-card.popular {
    border-color: var(--brand-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .popular-tag {
    position: absolute;
    top: 20px;
    right: 24px;
    background: var(--brand-subtle);
    border: 1px solid var(--brand-border);
    color: var(--brand-primary);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .plan-name {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
  }

  .plan-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.5;
  }

  .plan-price-wrap {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
  }

  .plan-currency {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--brand-primary);
  }

  .plan-price {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--brand-primary);
  }

  .plan-period {
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  .plan-features-list {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
  }

  .plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 300;
  }

  .plan-feature-item svg {
    width: 14px;
    height: 14px;
    color: var(--brand-primary);
    flex-shrink: 0;
    margin-top: 3px;
    stroke-width: 2.5;
  }

  .plan-feature-item.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.5;
  }

  .plan-feature-item.disabled svg {
    color: var(--text-muted);
  }

  /* Pricing FAQs Accordion */
  .faq-section {
    margin-top: 100px;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
  }

  .faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .faq-question {
    width: 100%;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 0.98rem;
    text-align: left;
    color: var(--text-color);
  }

  .faq-question svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .faq-item.open .faq-question svg {
    transform: rotate(45deg);
    color: var(--brand-primary);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .faq-answer-inner {
    padding: 0 0 24px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
  }

  /* --- Page Section: Contact --- */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  @media (min-width: 900px) {
    .contact-grid {
      grid-template-columns: 0.85fr 1.15fr;
    }
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .contact-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--brand-primary);
    flex-shrink: 0;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
  }

  .contact-details h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
  }

  .contact-details p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
  }

  /* Contact Form elements */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }

  .form-control:focus {
    border-color: var(--brand-primary);
    background-color: var(--surface-solid);
    outline: none;
  }

  /* Validations with :user-invalid */
  .form-control:user-invalid {
    border-color: #ef4444;
  }

  textarea.form-control {
    resize: vertical;
    min-height: 120px;
    field-sizing: content;
  }

  .form-submit-row {
    margin-top: 8px;
  }

  /* Simulated success modal */
  .dialog-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .dialog-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .success-dialog {
    background-color: var(--surface-solid);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
    width: 90%;
    max-width: 460px;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .dialog-overlay.open .success-dialog {
    transform: scale(1);
  }

  .success-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-subtle);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 1px solid var(--brand-border);
  }

  .success-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
  }

  .success-dialog h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
  }

  .success-dialog p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 28px;
    line-height: 1.6;
    font-weight: 300;
  }

  /* --- Footer --- */
  .site-footer {
    background-color: var(--surface-solid);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px 0;
    margin-top: 120px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
  }

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

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

  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-brand .logo img {
    height: 32px;
  }

  .footer-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
    font-weight: 300;
  }

  .footer-location {
    font-size: 0.82rem;
    font-weight: 500;
  }

  .footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 10px;
  }

  .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all 0.3s ease;
  }

  .social-btn:hover {
    color: var(--brand-primary);
    border-color: var(--brand-border);
    transform: translateY(-2px);
  }

  .social-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
  }

  .footer-title {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-link {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
    font-weight: 300;
  }

  .footer-link:hover {
    color: var(--brand-primary);
  }

  .footer-copyright {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  .footer-legal-links {
    display: flex;
    gap: 24px;
  }

  /* Custom Interactive Cursor (Glow trail) */
  .cursor-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  /* Floating WhatsApp Button */
  .floating-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--surface-solid);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .floating-whatsapp:hover {
    transform: scale(1.08);
    border-color: var(--brand-border);
    color: var(--brand-primary);
  }

  .floating-whatsapp svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
  }
}

/* --- Utilities --- */
@layer utilities {
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .text-gradient {
    color: var(--brand-primary);
  }

  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Media Queries and Responsive overrides --- */
@media (max-width: 900px) {
  header.site-header {
    height: 70px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--surface-solid);
    flex-direction: column;
    padding: 40px 24px;
    gap: 16px;
    z-index: 100;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav-indicator {
    display: none;
  }

  .nav-actions {
    display: none;
  }
}

@media (pointer: coarse) {
  .nav-link, .btn, .filter-btn, .theme-toggle, .mobile-menu-toggle {
    min-height: 44px;
  }
}

/* --- Pricing Tabs & Panels --- */
.pricing-tabs-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 40px auto;
  max-width: 700px;
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: 9999px;
}

.pricing-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.pricing-tab-btn:hover {
  color: var(--text-color);
}

.pricing-tab-btn.active {
  background: var(--brand-primary);
  color: #000;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.pricing-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* --- Extras / Add-ons Section --- */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.extra-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-radius: 8px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.extra-card:hover {
  border-color: var(--brand-border);
  transform: translateY(-2px);
}

.extra-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
}

.extra-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-subtle);
  border: 1px solid var(--brand-border);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Responsive adjustment for tabs */
@media (max-width: 600px) {
  .pricing-tabs-wrap {
    border-radius: 12px;
    padding: 8px;
    gap: 6px;
  }
  .pricing-tab-btn {
    width: 100%;
    border-radius: 6px;
    padding: 8px 12px;
    text-align: center;
  }
}
