/* =========================
   WEBCARE — PREMIUM APPLE-STYLE DESIGN
   Light theme, sophisticated, trustworthy
========================= */

:root {
    --color-primary: #007AFF;
    --color-primary-dark: #0056CC;
    --color-primary-light: #409CFF;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F5F5F7;
    --color-surface-elevated: #FFFFFF;
    --color-text-primary: #1D1D1F;
    --color-text-secondary: #86868B;
    --color-text-tertiary: #8E8E93;
    --color-border: #D2D2D7;
    --color-border-light: #E5E5EA;
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #409CFF 100%);
    --shadow-subtle: 0 4px 24px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 20px 60px rgba(0, 0, 0, 0.08);
    --border-radius-sm: 12px;
    --border-radius-md: 18px;
    --border-radius-lg: 24px;
    --border-radius-pill: 1000px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.webcare-page {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
    color: var(--color-text-primary);
    background: var(--color-surface);
    overflow-x: hidden;
}

/* ============ CONTAINERS ============ */
.webcare-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.webcare-container.narrow {
    max-width: 680px;
}

.center {
    text-align: center;
}

/* ============ HERO SECTION ============ */
.webcare-hero {
    padding: 180px 0 140px;
    background: linear-gradient(135deg, 
        rgba(245, 245, 247, 0.8) 0%,
        rgba(255, 255, 255, 1) 40%,
        rgba(245, 245, 247, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.webcare-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-border) 50%, 
        transparent 100%);
}

.webcare-title {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #1D1D1F 0%, #424245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.webcare-subtitle {
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0 auto 48px;
    max-width: 680px;
    font-weight: 400;
    letter-spacing: -0.003em;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

/* ============ CTA BUTTONS ============ */
.webcare-cta {
    margin-top: 56px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.webcare-btn-primary,
.webcare-btn-secondary {
    padding: 18px 40px;
    font-size: 17px;
    font-weight: 500;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.webcare-btn-primary {
   position: relative;     /* ADD */
    isolation: isolate;     /* ADD — this is the key fix */
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-subtle);
      box-sizing: border-box;    
    border: none;
     border: 1px solid transparent;  
      display: inline-flex;          /* ✅ FIXES right-side growth */
    align-items: center;
    justify-content: center;
}


.webcare-btn-primary::before {
  border-radius: inherit; 
  z-index: -1;            /* ADD */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.webcare-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.webcare-btn-primary:hover::before {
    opacity: 1;
}

.webcare-btn-primary span,
.webcare-btn-secondary span {
    position: relative;
    z-index: 1;
}

.webcare-btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
}

.webcare-btn-secondary:hover {
    background: var(--color-surface-alt);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-subtle);
}

/* ============ SECTIONS ============ */
.webcare-section {
    padding: 160px 0;
    position: relative;
}

.webcare-section.light {
    background: var(--color-surface-alt);
}

.webcare-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-border-light) 50%, 
        transparent 100%);
}

.webcare-heading {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.webcare-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* ============ FEATURES ============ */
.webcare-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.webcare-card {
    background: var(--color-surface-elevated);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--color-border-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.webcare-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-border-light) 50%, 
        transparent 100%);
}

.webcare-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: transparent;
}

.webcare-card h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.webcare-card p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-tertiary);
    margin: 0;
}

/* ============ STEPS ============ */
.webcare-steps {
    list-style: none;
    counter-reset: step-counter;
    margin: 64px auto 0;
    max-width: 600px;
    padding: 0;
}

.webcare-steps li {
    counter-increment: step-counter;
    font-size: 20px;
    line-height: 1.6;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
    padding-left: 72px;
    text-align: left;
}

.webcare-steps li:last-child {
    border-bottom: none;
}

.webcare-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.webcare-steps strong {
    color: var(--color-text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

/* ============ FINAL CTA ============ */
.webcare-final {
    padding: 200px 0;
    background: linear-gradient(135deg, 
        rgba(245, 245, 247, 0.8) 0%,
        rgba(255, 255, 255, 1) 40%);
    position: relative;
}

.webcare-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-border-light) 50%, 
        transparent 100%);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1024px) {
    .webcare-container {
        padding: 0 32px;
    }
    
    .webcare-title {
        font-size: 64px;
    }
    
    .webcare-heading {
        font-size: 40px;
    }
    
    .webcare-section {
        padding: 120px 0;
    }
}

@media (max-width: 768px) {
    .webcare-container {
        padding: 0 24px;
    }
    
    .webcare-hero {
        padding: 120px 0 80px;
    }
    
    .webcare-title {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    .webcare-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .webcare-heading {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .webcare-text {
        font-size: 17px;
    }
    
    .webcare-section {
        padding: 80px 0;
    }
    
    .webcare-final {
        padding: 120px 0;
    }
    
    .webcare-cta {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .webcare-btn-primary,
    .webcare-btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 16px 32px;
    }
    
    .webcare-features {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }
    
    .webcare-card {
        padding: 32px 24px;
    }
    
    .webcare-steps li {
        padding-left: 56px;
        font-size: 17px;
        padding: 24px 0;
    }
    
    .webcare-steps li::before {
        width: 40px;
        height: 40px;
        font-size: 17px;
        top: 24px;
    }
}

@media (max-width: 480px) {
    .webcare-title {
        font-size: 40px;
    }
    
    .webcare-heading {
        font-size: 28px;
    }
    
    .webcare-container {
        padding: 0 20px;
    }
}

/* ============ ACCESSIBILITY & MICRO-INTERACTIONS ============ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.webcare-btn-primary:focus-visible,
.webcare-btn-secondary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Performance optimization */
.webcare-card,
.webcare-btn-primary,
.webcare-btn-secondary {
    will-change: transform, box-shadow;
    backface-visibility: hidden;
}

















/* ==================================
   CONTACT SUPPORT – PRODUCTION READY
   ================================== */

.contact-support {
  padding: clamp(72px, 10vw, 120px) 20px;
  background: #ffffff;
}

.contact-support-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

/* Heading */
.contact-support-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

/* Subtitle */
.contact-support-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  color: #64748b;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Primary CTA Button */
.talk-to-us-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-height: 56px;            /* Mobile tap target */
  padding: 0 40px;

  border-radius: 999px;
  background: #0071e3;
  color: #ffffff;

  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 18px 40px rgba(0, 113, 227, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* Hover / Focus */
.talk-to-us-btn:hover,
.talk-to-us-btn:focus-visible {
  background: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(0, 113, 227, 0.38);
}

/* Icon */
.talk-to-us-btn .btn-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
}

/* Helper text */
.contact-support-note {
  margin-top: 16px;
  font-size: 13px;
  color: #94a3b8;
}

/* Mobile refinements */
@media (max-width: 480px) {
  .talk-to-us-btn {
    width: 100%;
    max-width: 320px;
  }
}
