/* ==========================================================================
   DENTALSITE - STYLE SYSTEM (INDUSTRIAL MINIMAL / SWISS EDITORIAL)
   ========================================================================== */

/* --- Font Declarations with Modern Web-Safe Fallbacks --- */
:root {
  /* Font Families */
  --font-heading: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Font Sizes (Fluid viewport units as requested) */
  --heading-size: 3vw;
  --subheading-size: 1.5vw;
  --paragraph-size: 1vw;

  /* Color Palette (Tech Minimal / High-End Blue Theme) */
  --color-white: #ffffff;
  --color-white-90: rgba(255, 255, 255, 0.9);
  --color-white-70: rgba(255, 255, 255, 0.7);
  --color-white-30: rgba(255, 255, 255, 0.3);
  --color-white-10: rgba(255, 255, 255, 0.1);
  --color-accent: #0044ff; /* Vibrant electric blue */
  --color-bg-base: #0050ff; /* Vibrant Electric Blue base */

  /* Spacing System */
  --container-width: 80%;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Responsive Sizing Rules --- */
@media (max-width: 1440px) {
  :root {
    --heading-size: 3.5vw;
    --subheading-size: 1.8vw;
    --paragraph-size: 1.2vw;
  }
}

@media (max-width: 1024px) {
  :root {
    --heading-size: 4.5vw;
    --subheading-size: 3.2vw;
    --paragraph-size: 2.5vw;
    --container-width: 85%;
  }
}

@media (max-width: 768px) {
  :root {
    --heading-size: 6vw;
    --subheading-size: 4vw;
    --paragraph-size: 3vw;
    --container-width: 90%;
  }
}

@media (max-width: 480px) {
  :root {
    --heading-size: 8vw;
    --subheading-size: 5.2vw;
    --paragraph-size: 4.2vw;
  }
}

/* --- Base & Reset Elements --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  /*background-color: var(--color-bg-base);*/
  color: var(--color-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   BACKGROUND SYSTEM (USER DEFINED ANIMATED MESH GRADIENT VIA @PROPERTY)
   ========================================================================== */

@keyframes ani-gradient-bg {
    0% {
        --x-0: 95%;
        --c-0: hsla(217, 100%, 30%, 1);
        --s-start-0: 8%;
        --s-end-0: 56.590226783981535%;
        --y-0: 75%;
        --y-1: 15%;
        --s-start-1: 1%;
        --s-end-1: 62.39165434620126%;
        --c-1: hsla(217, 100%, 30%, 1);
        --x-1: 95%;
        --x-2: 2%;
        --c-2: hsla(197, 93%, 61%, 1);
        --s-start-2: 8.392121895570533%;
        --s-end-2: 48.52567687605722%;
        --y-2: 86%;
        --s-start-3: 8.392121895570533%;
        --s-end-3: 48.52567687605722%;
        --y-3: 94%;
        --x-3: 93%;
        --c-3: hsla(197, 93%, 61%, 1);
        --c-4: hsla(217, 100%, 39%, 1);
        --x-4: 55%;
        --y-4: 101%;
        --s-start-4: 18%;
        --s-end-4: 49.94408311488525%;
        --x-5: 90%;
        --c-5: hsla(217, 100%, 30%, 1);
        --s-start-5: 11.133917156423086%;
        --s-end-5: 51.76366794121349%;
        --y-5: 47%;
        --c-6: hsla(217, 100%, 47%, 1);
        --x-6: 46%;
        --y-6: 72%;
        --s-start-6: 6%;
        --s-end-6: 36.01800730950539%;
    }

    100% {
        --x-0: 25%;
        --c-0: hsla(217, 100%, 30%, 1);
        --s-start-0: 9%;
        --s-end-0: 47.631590766043374%;
        --y-0: 90%;
        --y-1: 12%;
        --s-start-1: 9%;
        --s-end-1: 73%;
        --c-1: hsla(0, 0%, 0%, 1);
        --x-1: 3%;
        --x-2: 75%;
        --c-2: hsla(197, 93%, 61%, 1);
        --s-start-2: 9%;
        --s-end-2: 49.05074977970796%;
        --y-2: 71%;
        --s-start-3: 9%;
        --s-end-3: 49.05074977970796%;
        --y-3: 97%;
        --x-3: 51%;
        --c-3: hsla(197, 93%, 61%, 1);
        --c-4: hsla(217, 100%, 39%, 1);
        --x-4: 28%;
        --y-4: 75%;
        --s-start-4: 9%;
        --s-end-4: 49.07325835290392%;
        --x-5: 42%;
        --c-5: hsla(217, 100%, 30%, 1);
        --s-start-5: 9%;
        --s-end-5: 49.48618142677546%;
        --y-5: 102%;
        --c-6: hsla(217, 100%, 39%, 1);
        --x-6: 42%;
        --y-6: 97%;
        --s-start-6: 9%;
        --s-end-6: 47.075992875412794%;
    }
}

@property --x-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 95%;
}

@property --c-0 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(217, 100%, 30%, 1);
}

@property --s-start-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 8%;
}

@property --s-end-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 56.590226783981535%;
}

@property --y-0 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 75%;
}

@property --y-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 15%;
}

@property --s-start-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 1%;
}

@property --s-end-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 62.39165434620126%;
}

@property --c-1 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(217, 100%, 30%, 1);
}

@property --x-1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 95%;
}

@property --x-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 2%;
}

@property --c-2 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(197, 93%, 61%, 1);
}

@property --s-start-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 8.392121895570533%;
}

@property --s-end-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 48.52567687605722%;
}

@property --y-2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 86%;
}

@property --s-start-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 8.392121895570533%;
}

@property --s-end-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 48.52567687605722%;
}

@property --y-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 94%;
}

@property --x-3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 93%;
}

@property --c-3 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(197, 93%, 61%, 1);
}

@property --c-4 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(217, 100%, 39%, 1);
}

@property --x-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 55%;
}

@property --y-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 101%;
}

@property --s-start-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 18%;
}

@property --s-end-4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 49.94408311488525%;
}

@property --x-5 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 90%;
}

@property --c-5 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(217, 100%, 30%, 1);
}

@property --s-start-5 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 11.133917156423086%;
}

@property --s-end-5 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 51.76366794121349%;
}

@property --y-5 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 47%;
}

@property --c-6 {
    syntax: '<color>';
    inherits: false;
    initial-value: hsla(217, 100%, 47%, 1);
}

@property --x-6 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 46%;
}

@property --y-6 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 72%;
}

@property --s-start-6 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 6%;
}

@property --s-end-6 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 36.01800730950539%;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    --x-0: 95%;
    --c-0: hsla(217, 100%, 30%, 1);
    --y-0: 75%;
    --y-1: 15%;
    --c-1: hsla(217, 100%, 30%, 1);
    --x-1: 95%;
    --x-2: 2%;
    --c-2: hsla(197, 93%, 61%, 1);
    --y-2: 86%;
    --y-3: 94%;
    --x-3: 93%;
    --c-3: hsla(197, 93%, 61%, 1);
    --c-4: hsla(217, 100%, 39%, 1);
    --x-4: 55%;
    --y-4: 101%;
    --x-5: 90%;
    --c-5: hsla(217, 100%, 30%, 1);
    --y-5: 47%;
    --c-6: hsla(217, 100%, 47%, 1);
    --x-6: 46%;
    --y-6: 72%;
    background-color: hsla(215, 93%, 50%, 1);
    background-image: radial-gradient(circle at var(--x-0) var(--y-0), var(--c-0) var(--s-start-0), transparent var(--s-end-0)), radial-gradient(circle at var(--x-1) var(--y-1), var(--c-1) var(--s-start-1), transparent var(--s-end-1)), radial-gradient(circle at var(--x-2) var(--y-2), var(--c-2) var(--s-start-2), transparent var(--s-end-2)), radial-gradient(circle at var(--x-3) var(--y-3), var(--c-3) var(--s-start-3), transparent var(--s-end-3)), radial-gradient(circle at var(--x-4) var(--y-4), var(--c-4) var(--s-start-4), transparent var(--s-end-4)), radial-gradient(circle at var(--x-5) var(--y-5), var(--c-5) var(--s-start-5), transparent var(--s-end-5)), radial-gradient(circle at var(--x-6) var(--y-6), var(--c-6) var(--s-start-6), transparent var(--s-end-6));
    animation: ani-gradient-bg 15s linear infinite alternate;
    background-blend-mode: normal, normal, normal, normal, normal, normal, normal;
    will-change: transform, opacity;
    contain: paint;
}

.blob {
    display: none;
}

/* ==========================================================================
   LAYOUT STRUCTURE (FLEXBOX DRIVEN & EDITORIAL)
   ========================================================================== */

/* Main Wrapper - Occupies entire viewport and structures children */
.main-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Internal Container - Perfect horizontal and vertical alignment with high negative space */
.container {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: 6vh 0;
  box-sizing: border-box;
}

/* Hero Content wrapper */
.hero-content {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4.5rem; /* Generous industrial negative space */
}

/* ==========================================================================
   COMPONENTS (LOGO, TEXT, CTA & FOOTER)
   ========================================================================== */

/* Logo wrapper */
.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 680px; /* Refined visual density */
  margin: 0 auto;
  transition: var(--transition-smooth);
}

.logo-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Headline & Typography Block */
.text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 2rem;
}

.headline {
  font-family: var(--font-heading);
  font-weight: 800; /* Poppins Bold */
  font-size: var(--heading-size);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--color-white);
  text-transform: uppercase;
}

.subheadline {
  font-family: var(--font-heading);
  font-weight: 400; /* Poppins Regular */
  font-size: var(--subheading-size);
  color: var(--color-white-90);
  line-height: 1.35;
  max-width: 780px;
}

/* Description text container with pure Swiss-inspired left border indicator */
.description-container {
  border-left: 2px solid var(--color-white-30);
  padding: 0.5rem 0 0.5rem 1.8rem;
  text-align: left;
  max-width: 580px;
  margin: 0 auto;
  transition: var(--transition-smooth);
}

.description-container:hover {
  border-left-color: var(--color-white);
}

.description {
  font-family: var(--font-body);
  font-weight: 500; /* Montserrat Medium */
  font-size: var(--paragraph-size);
  color: var(--color-white-70);
  line-height: 1.75;
}

/* Minimal CTA Button with slide-up cover animation and crisp custom focus styles */
.cta-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 44px;
  border: 1.5px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Inverted background animation panel */
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  transform: translateY(100%);
  transition: var(--transition-smooth);
  z-index: -1;
}

/* Elegant Hover & Active Interaction */
.cta-btn:hover {
  color: #001277; /* Deepest blue to contrast background */
  cursor: pointer;
}

.cta-btn:hover::before {
  transform: translateY(0);
}

.cta-btn:hover .arrow-icon {
  transform: translateX(6px);
}

/* High Visibility Keyboard Focus State for Accessibility */
.cta-btn:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 6px;
}

.arrow-icon {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Footer Section - Pure White Centered Caption aligned perfectly at bottom */
.bottom-footer {
  width: 100%;
  padding: 2.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  flex-direction: column;
}

.bottom-footer a {color:var(--color-white);text-decoration: none;font-weight:700;padding-bottom:1rem;display:block;font-size: var(--paragraph-size);}

.footer-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--color-white-70);
  text-align: center;
  text-transform: uppercase;
  width: 90%;
  max-width: 800px;
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS (DEVICES & TOUCH TARGETS)
   ========================================================================== */
@media (max-width: 1024px) {
  .logo-wrapper {
    max-width: 480px; /* Refined visual density */
  }
}


@media (max-width: 768px) {
  .hero-content {
    gap: 3.5rem;
  }
  
  .logo-wrapper {
    max-width: 320px;
  }
  
  .description-container {
    padding-left: 1.2rem;
    border-left-width: 1.5px;
    text-align: center;
    border-left: none;
    border-top: 1.5px solid var(--color-white-30);
    padding: 1.5rem 0 0;
  }

  .cta-btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    padding: 18px 24px; /* Enhanced mobile touch target */
  }
}

@media (max-width: 480px) {
  .hero-content {
    gap: 3rem;
  }

  .logo-wrapper {
    max-width: 250px;
  }

  .footer-text {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
}
