/* ================================
   THEME 32: Executive Business (Enterprise Hosting)
   ================================ */

body.theme-business {
  --color-primary: #0A2647;
  --color-primary-light: #1B3A5C;
  --color-primary-dark: #051A34;
  --color-primary-darker: #020A16;
  
  --color-secondary: #C49A6C;
  --color-secondary-light: #D4B08C;
  --color-secondary-dark: #A57C52;
  --color-secondary-darker: #7A5D3E;
  
  --color-accent: #2E7D32;
  --color-accent-light: #4CAF50;
  --color-accent-dark: #1B5E20;
  
  /* RGB values */
  --color-primary-rgb: 10, 38, 71;
  --color-primary-light-rgb: 27, 58, 92;
  --color-primary-dark-rgb: 5, 26, 52;
  --color-primary-darker-rgb: 2, 10, 22;
  
  --color-secondary-rgb: 196, 154, 108;
  --color-secondary-light-rgb: 212, 176, 140;
  --color-secondary-dark-rgb: 165, 124, 82;
  --color-secondary-darker-rgb: 122, 93, 62;
  
  --color-accent-rgb: 46, 125, 50;
  --color-accent-light-rgb: 76, 175, 80;
  --color-accent-dark-rgb: 27, 94, 32;
  
  /* Borders */
  --border-primary: rgba(10, 38, 71, 0.2);
  --border-secondary: rgba(196, 154, 108, 0.15);
  
  /* Gradients - Executive Suite */
  --gradient-horizontal: linear-gradient(90deg, #0A2647, #1B3A5C, #C49A6C);
  --gradient-primary: linear-gradient(135deg, #020A16, #0A2647, #1B3A5C, #C49A6C);
  --gradient-card-header: linear-gradient(145deg, #020A16, #051A34, #0A2647, #2E7D32);
  --gradient-overlay: linear-gradient(135deg, 
    rgba(2, 10, 22, 0.95), 
    rgba(10, 38, 71, 0.8), 
    rgba(196, 154, 108, 0.3)
  );
  
  /* Shadows */
  --shadow-md: 0 10px 20px rgba(10, 38, 71, 0.2);
  --shadow-lg: 0 15px 30px rgba(10, 38, 71, 0.3);
  --shadow-xl: 0 20px 40px rgba(196, 154, 108, 0.15);
  --shadow-glow: 0 0 30px rgba(196, 154, 108, 0.25);
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes pulseDot {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* ================================
   CARD STYLES
   ================================ */

/* Modern Card Hover Effects */
.use-case-card-modern {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.use-case-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 40px -20px rgba(10, 38, 71, 0.2) !important;
    border-color: rgba(196, 154, 108, 0.2) !important;
}

/* Feature Cards */
.feature-card-modern {
    transition: all 0.3s ease;
    cursor: default;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(10, 38, 71, 0.25) !important;
    border-color: rgba(196, 154, 108, 0.4) !important;
}

.feature-card-modern .fa, 
.feature-card-modern .fas {
    transition: all 0.3s ease;
}

.feature-card-modern:hover .fa,
.feature-card-modern:hover .fas {
    transform: scale(1.1);
    color: var(--color-primary) !important;
}

/* Performance Cards */
.performance-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.performance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px -30px rgba(10, 38, 71, 0.2) !important;
}

/* Stack Items Hover */
.stack-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(10, 38, 71, 0.2);
    border-color: rgba(196, 154, 108, 0.3) !important;
}

/* Tag hover effect */
.use-case-tag {
    transition: all 0.2s ease;
}

.use-case-card-modern:hover .use-case-tag {
    background: rgba(196, 154, 108, 0.05) !important;
    border-color: rgba(196, 154, 108, 0.2) !important;
}

/* ================================
   BUTTONS & CTAs
   ================================ */

/* Business CTAs */
.biz-cta-modern {
    position: relative;
    overflow: hidden;
    min-height: 70px;
    box-sizing: border-box;
}

.biz-cta-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.biz-cta-modern:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.biz-cta-modern:hover {
    transform: translateY(-3px);
}

.biz-cta-canada, .biz-cta-offshore {
    min-width: 100%;
}

/* Growth Card CTA */
.growth-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 40px -10px rgba(196, 154, 108, 0.4);
}

.growth-cta:hover i.fa-arrow-right {
    transform: translateX(5px);
}

/* Button hover effects - theme business */
body.theme-business .btn-speed {
    transition: all 0.3s ease;
}

body.theme-business .btn-speed:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ================================
   MIGRATION SECTION
   ================================ */

/* Fix for any unwanted movements */
.migration-section * {
    animation: none !important;
    transform: none !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
}

/* Button hover - only background and shadow change */
.migration-section a[target="_blank"]:hover {
    background: #B3804D !important;
    box-shadow: 0 15px 30px -5px rgba(196, 154, 108, 0.4) !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

/* Remove any default link underlines */
.migration-section a {
    text-decoration: none !important;
}

/* Ensure image stays fixed */
.migration-section [style*="background-image"] {
    transform: none !important;
    transition: none !important;
}

/* Rounded corners only on right side */
.migration-image-wrapper {
    border-radius: 0 30px 30px 0;
}

/* ================================
   BUSINESS-SPECIFIC CLASSES
   Prefix: biz-
   ================================ */

/* Business Plan Cards */
.biz-plan {
  border: 1px solid var(--border-primary);
  transition: var(--transition-base);
  width: 100%;
  overflow: hidden;
  background: var(--surface-primary);
  border-radius: var(--radius-2xl);
  position: relative;
  margin-bottom: var(--space-xl);
}

.biz-plan:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.biz-location-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(var(--color-secondary-rgb), 0.1);
  border-radius: var(--radius-full);
  color: var(--color-secondary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* WordPress Modern Section */
.wp-modern-section {
  padding: var(--space-6xl) 0;
  overflow: hidden;
}

.wp-modern-img {
  background-image: url('https://cdn.underhost.com/images/managedbusinesshostingbg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
  border-radius: var(--radius-3xl);
}

/* ================================
   DIVIDER STYLES
   ================================ */

.uh-divider--business .uh-divider-icon {
    transition: all 0.3s ease;
}

.uh-divider--business .uh-divider-icon:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 50px rgba(var(--color-secondary-rgb), 0.8);
}

/* ================================
   RESOURCE GAUGES
   ================================ */

.gauge-fill {
    position: relative;
    transition: width 1s ease;
}

.gauge-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    animation: shimmer 2s infinite;
}

/* ================================
   TOOLTIPS
   ================================ */

.tooltip-trigger:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

/* ================================
   BUSINESS FAQ OVERRIDES
   ================================ */

body.theme-business .faq-badge {
  background: linear-gradient(90deg, rgba(10, 38, 71, 0.1), rgba(196, 154, 108, 0.15));
  color: var(--color-primary);
  border: 1px solid rgba(10, 38, 71, 0.2);
}

body.theme-business .faq-dot {
  background: var(--color-secondary) !important;
  box-shadow: 0 0 10px var(--color-secondary) !important;
}

body.theme-business .faq-divider-line {
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent) !important;
}

body.theme-business .faq-highlighted {
  background: rgba(196, 154, 108, 0.04) !important;
  border-left-color: var(--color-secondary) !important;
}

body.theme-business .faq-contact-btn {
  background: var(--color-secondary) !important;
  box-shadow: 0 8px 20px rgba(196, 154, 108, 0.2) !important;
}

body.theme-business .faq-contact-btn:hover {
  background: var(--color-secondary-dark) !important;
}

body.theme-business .faq-title span {
  color: var(--color-secondary) !important;
}

/* ================================
   BUSINESS COMPARISON TABLE
   ================================ */

body.theme-business .wp-comparison-table th {
  background: var(--gradient-card-header);
}

body.theme-business .wp-comparison-table td i.fa-check-circle {
  color: var(--color-secondary) !important;
}

body.theme-business .badge-unlimited {
  background: rgba(var(--color-secondary-rgb), 0.1);
  color: var(--color-secondary);
}

/* Support section badge */
body.theme-business .supporttextholder .speed-badge {
  background: rgba(var(--color-secondary-rgb), 0.15) !important;
  color: var(--color-secondary) !important;
  border-color: rgba(var(--color-secondary-rgb), 0.3) !important;
}

/* ================================
   MOBILE RESPONSIVE
   ================================ */

/* Large Tablets */
@media (max-width: 991px) {
    /* Migration Section */
    .migration-section .col-lg-6:first-child > div {
        height: 450px !important;
        border-radius: 0 !important;
    }
    
    .migration-section [style*="linear-gradient(90deg"] {
        background: linear-gradient(0deg, var(--color-primary-darker) 0%, rgba(2, 10, 22, 0.95) 40%, transparent 100%) !important;
    }
    
    .migration-content {
        padding: 60px 30px !important;
        max-width: 100% !important;
    }
    
    h2 {
        font-size: 36px !important;
    }
    
    /* WordPress Modern Section */
    .wp-modern-img {
        min-height: 400px;
        margin-bottom: var(--space-2xl);
    }
    
    /* Business CTAs */
    .biz-cta-modern {
        padding: 15px 20px !important;
        font-size: 16px !important;
        min-height: 65px;
    }
    
    [style*="padding: 70px 35px 45px;"] {
        padding: 75px 20px 35px !important;
    }
    
    [style*="padding: 60px 35px 45px;"] {
        padding: 65px 20px 35px !important;
    }
}

/* Stats & Separators (scoped to performance section only) */
@media (max-width: 768px) {
  .performance-section [style*="width: 1px; height: 40px; background: linear-gradient(180deg, transparent, var(--color-secondary), transparent);"] {
    width: 80px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent) !important;
    margin: 10px auto !important;
  }

  .performance-section [style*="display: flex; align-items: center; gap: 20px; flex-wrap: wrap;"] {
    justify-content: center !important;
    width: 100% !important;
  }

  .performance-section [style*="display: flex; align-items: center; gap: 20px; flex-wrap: wrap;"] > div {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Tablets */
@media (max-width: 768px) {
    /* Headings */
    h2 {
        font-size: 32px !important;
    }
    
    /* Migration Section */
    .migration-section .col-lg-6:first-child > div {
        height: 300px !important;
    }
    
  a[target="_blank"]:not(.social-icon) {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 30px !important;
  }
    
    /* Cards & Containers */
    .use-case-card-modern {
        padding: 25px !important;
    }
    
    .use-case-card-modern > div {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .closing-statement-modern {
        padding: 30px !important;
    }
    
    .closing-statement-modern > div {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .stack-card {
        border-radius: 30px !important;
        padding: 20px !important;
    }
    
    .stack-card > div {
        gap: 10px !important;
    }
    
    .stack-item {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    .performance-card {
        padding: 30px !important;
    }
    
    .support-bar {
        border-radius: 30px !important;
        padding: 20px !important;
    }
    
    .support-bar > div {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    /* Feature Cards */
    .feature-card-modern {
        padding: 25px 20px !important;
    }
    
    .feature-card-modern h3 {
        font-size: 18px !important;
    }
    
    [style*="border-radius: 60px; padding: 20px 30px;"] {
        padding: 25px 20px !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    /* Backup Feature Row */
    [style*="border-radius: 60px; padding: 25px 35px;"] {
        padding: 20px 20px !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    
    /* Resource Grid */
    .resource-grid {
        grid-template-columns: 1fr !important;
    }
    
    .resource-gauge[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
    
    /* Tooltips */
    .tooltip {
        right: auto !important;
        left: 0 !important;
        width: 200px !important;
    }
    
    /* Dividers */
    .uh-divider--business .uh-divider-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .uh-divider--business .uh-divider-icon i {
        font-size: 22px !important;
    }
    
    .uh-divider--business .uh-divider-icon img {
        width: 26px !important;
        height: 26px !important;
    }
    
    .uh-divider--business p {
        font-size: 12px !important;
    }
    
    /* Columns */
    .col-md-6 {
        margin-bottom: 30px;
    }
    
    [style*="transform: scale(1.02)"] {
        transform: scale(1) !important;
    }
}

/* Small Tablets / Large Phones */
@media (max-width: 767px) {
    /* Badge overlap fix */
    [style*="position: absolute; top: -5px; left: 20px; right: 20px; display: flex;"] {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        top: -5px;
        left: 10px;
        right: 10px;
    }
    
    [style*="position: absolute; top: -5px; left: 20px; right: 20px; display: flex;"] > div {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 11px !important;
        padding: 6px 12px !important;
        white-space: normal !important;
    }
    
    /* Padding adjustments for badges */
    [style*="padding: 70px 35px 45px;"] {
        padding: 95px 20px 30px !important;
    }
    
    [style*="padding: 60px 35px 45px;"] {
        padding: 65px 20px 30px !important;
    }
    
    /* Equal buttons on mobile */
    .biz-cta-modern {
        min-height: 60px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* Headings */
    h2 {
        font-size: 28px !important;
    }
    
    .use-case-card-modern h3 {
        font-size: 20px !important;
    }
    
    /* Tags & Badges */
    .use-case-tag {
        padding: 3px 10px !important;
        font-size: 11px !important;
    }
    
    /* Migration Section */
    .migration-content {
        padding: 40px 20px !important;
    }
    
    [style*="padding: 8px 20px"] {
        font-size: 11px !important;
        padding: 6px 16px !important;
    }
    
    a[target="_blank"] {
        font-size: 15px !important;
        padding: 12px 24px !important;
    }
    
    /* Business CTAs */
    [style*="padding: 70px 35px 45px;"] {
        padding: 105px 15px 25px !important;
    }
    
    .biz-cta-modern span:first-child {
        font-size: 14px !important;
    }
    
    .biz-cta-modern span:last-child {
        width: 35px !important;
        height: 35px !important;
    }
    
    .btn-speed {
        padding: 14px 25px !important;
        font-size: 16px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Font sizes */
    [style*="font-size: 28px; font-weight: 900;"] {
        font-size: 24px !important;
    }
}