:root {
  /* ============================================================
     DESIGN ARTISTICA — OFFICIAL BRAND DESIGN TOKENS
     PRISTINE WHITE / LIGHT CORPORATE ARCHITECTURAL THEME
     Derived directly from official Design Artistica logo
     ============================================================ */

  /* Primary Brand Palette */
  --da-navy: #143053;         /* Deep Navy - Corporate headline & authority */
  --da-slate: #182A32;        /* Dark Slate - Structural contrast & dark badges */
  --da-blue: #37669F;         /* Medium Blue - Accent highlights, active links & icons */
  --da-red: #C84234;          /* Warm Red - Primary high-conversion CTAs & focal points */
  --da-brown: #5A4118;        /* Earth Brown - Wood joinery & organic grounding */
  --da-yellow: #F4D50F;       /* Golden Yellow - Apex pinnacle accent */
  --da-gold: #E5A523;         /* Warm Gold - Architectural illumination & brass accents */

  /* White & Light Corporate Architectural Surfaces */
  --da-bg-white: #FFFFFF;     /* Pure White Background */
  --da-bg-light: #F8FAFC;     /* Off-white / light slate surface */
  --da-bg-subtle: #F1F5F9;    /* Subtle architectural gray */
  --da-bg-card: #FFFFFF;      /* Clean White Card */
  --da-border: #E2E8F0;       /* Crisp light border */
  --da-border-hover: #37669F; /* Active border hover */
  --da-border-dark: #CBD5E1;  /* Emphasized divider border */

  /* High-Contrast Corporate Typography */
  --da-text-heading: #143053; /* Deep Navy headings */
  --da-text-body: #334155;    /* Crisp dark slate text */
  --da-text-muted: #64748B;   /* Professional secondary gray */
  --da-text-light: #94A3B8;   /* Subtle metadata */

  /* Typography Fonts */
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Dimensions & Proportions */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 9999px;

  /* Shadows for Pristine White Cards */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 14px 34px rgba(20, 48, 83, 0.12);
  --shadow-modal: 0 25px 60px rgba(15, 23, 42, 0.25);

  /* Easing */
  --ease-architectural: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-transition: 250ms;
}

/* Base Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--da-bg-white);
  color: var(--da-text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--da-navy);
  color: #ffffff;
}

/* Corporate Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--da-text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

p {
  color: var(--da-text-body);
}

/* Clean White Card */
.white-card {
  background: var(--da-bg-white);
  border: 1px solid var(--da-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-transition) ease;
}

.white-card:hover {
  border-color: var(--da-border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Pyramid Motif Accent */
.pyramid-indicator {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--da-gold);
}

/* Corporate Buttons (All Perfectly Round Shape) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--da-red), #B23428);
  color: #ffffff;
  padding: 13px 28px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(200, 66, 52, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d6483a, #C84234);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200, 66, 52, 0.35);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--da-bg-white);
  color: var(--da-navy);
  padding: 13px 26px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill) !important;
  border: 1.5px solid var(--da-navy);
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  background: var(--da-navy);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 48, 83, 0.15);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--da-navy);
  color: #ffffff;
  padding: 13px 26px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--da-navy);
  border-radius: var(--radius-pill) !important;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-navy:hover {
  background: #1B3D66;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 48, 83, 0.25);
}

/* MANDATORY GLOBAL RULE: ALL BUTTONS STRICTLY ROUND SHAPE */
button,
.btn,
.btn-primary,
.btn-secondary,
.btn-navy,
.scope-btn,
.sim-pill-btn,
.filter-pill-btn,
.table-btn,
.float-whatsapp-btn,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  border-radius: 9999px !important;
}

/* ============================================================
   ARCHITECTURAL MOUSE EFFECTS & CUSTOM MAGNETIC CURSOR
   Active on fine pointer devices (desktop / trackpad)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor .btn-primary,
  body.has-custom-cursor .btn-secondary,
  body.has-custom-cursor .btn-navy,
  body.has-custom-cursor input[type="submit"],
  body.has-custom-cursor input[type="button"],
  body.has-custom-cursor .sim-pill-btn,
  body.has-custom-cursor .scope-btn,
  body.has-custom-cursor .filter-pill-btn,
  body.has-custom-cursor .float-whatsapp-btn {
    cursor: none !important;
  }

  .da-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--da-navy);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.2s ease, 
                opacity 0.25s ease;
    opacity: 0;
    will-change: transform;
  }

  .da-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(20, 48, 83, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.2s ease, 
                background-color 0.2s ease, 
                opacity 0.25s ease;
    opacity: 0;
    will-change: transform;
    backdrop-filter: blur(1px);
  }

  /* Ring Hover States */
  .da-cursor-ring.cursor-hover {
    width: 52px;
    height: 52px;
    border-color: var(--da-blue);
    background-color: rgba(55, 102, 159, 0.08);
  }

  .da-cursor-ring.cursor-hover-cta {
    width: 58px;
    height: 58px;
    border-color: var(--da-red);
    background-color: rgba(200, 66, 52, 0.12);
  }

  .da-cursor-ring.cursor-active {
    transform: translate(-50%, -50%) scale(0.85);
  }

  .da-cursor-dot.cursor-hover {
    background: var(--da-gold);
    width: 8px;
    height: 8px;
  }

  /* Magnetic Button Transition */
  .btn-primary, .btn-secondary, .btn-navy, .float-whatsapp-btn, .sim-pill-btn, .scope-btn {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
    will-change: transform;
  }

  /* 3D Tilt Card */
  .white-card, .project-corp-card, .arch-pillar-card, .calc-slider-wrap {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
    overflow: hidden;
  }

  /* Dynamic Card Glare Overlay */
  .card-spotlight-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: 2;
  }

  .white-card:hover .card-spotlight-overlay,
  .project-corp-card:hover .card-spotlight-overlay,
  .calc-slider-wrap:hover .card-spotlight-overlay {
    opacity: 1;
  }

  /* Tactile Ripple Wave */
  .da-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: da-ripple-anim 0.6s linear;
    background-color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
  }

  .btn-secondary .da-ripple {
    background-color: rgba(20, 48, 83, 0.15);
  }
}

@keyframes da-ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
