/*
Theme Name: Muggle Automation Theme
Theme URI: https://example.com/muggle-automation
Author: MuggleMike
Author URI: https://example.com
Description: A custom industrial western theme for Muggle Automation.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: muggle-automation-theme
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Industrial Western Palette - Friendly Update */
  --bg-color: #121212;         /* Soft Dark */
  --bg-secondary: #1E1E1E;     /* Medium Dark */
  --surface-color: #252525;    /* Lighter Dark */
  
  --primary-color: #D4AF37;    /* Classic Gold */
  --primary-dark: #AA8C2C;     /* Dark Gold */
  --accent-color: #558b2f;     /* Friendly Sage Green */
  --accent-glow: #7cb342;      /* Light Green Glow */
  
  --text-primary: #E0E0E0;     /* Soft White */
  --text-secondary: #B0B0B0;   /* Light Grey */
  --text-muted: #9E9E9E;       /* Muted Grey (WCAG AA) */
  
  --border-color: #333333;     /* Soft Border */
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.6);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.7);
  
  --font-heading: 'Roboto Slab', serif;
  --font-body: 'Open Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-color);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Focus States (Accessibility) */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
.product-card:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--primary-color);
  color: #000;
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* View Container System */
#main-view-container {
    position: relative;
    min-height: 100vh;
}

.view-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.view-section.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-out forwards;
}

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

/* Breadcrumb Navigation */
.breadcrumb-nav {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(10, 10, 12, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 0.5rem 1.1rem;
    animation: slideInLeft 0.5s ease-out;
    max-width: calc(100vw - 40px);
    overflow: hidden;
}

.breadcrumb-item {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.breadcrumb-item:hover {
    color: var(--text-primary);
}

.breadcrumb-sep {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
}

.breadcrumb-current {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.home-hero {
    background: radial-gradient(circle at center, #1a1c20 0%, #0a0a0c 100%);
}

.product-hero {
    min-height: 60vh;
    padding-top: 6rem;
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  z-index: 10;
  position: relative;
}


/* Brand Icon */
.hero-icon-brand {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 0 10px rgba(192, 160, 98, 0.3));
}

.hero-icon-brand img {
    height: 10rem;
    width: auto;
    display: block;
    margin: 0 auto;
    background: transparent;
}

.hero-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.8);
  border-bottom: 2px solid var(--primary-dark);
  display: inline-block;
  padding-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Brand Name (two-line stacked wordmark) */
.hero-brand-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Hero Tagline (main h1 on home) */
.hero-tagline {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    font-family: var(--font-heading);
}

/* Hero Bullets (brand-level feature list) */
.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    max-width: 700px;
}

.hero-bullets li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-bullets li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Featured Product Banner */
.featured-banner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(192, 160, 98, 0.06);
    border: 1px solid var(--primary-dark);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    margin: 0 auto 2rem;
    max-width: 660px;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
    text-align: left;
    position: relative;
}

.featured-banner:hover {
    border-color: var(--primary-color);
    background: rgba(192, 160, 98, 0.12);
    transform: translateY(-2px);
}

.featured-banner:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.featured-banner-badge {
    position: absolute;
    top: -11px;
    left: 1.25rem;
    background: var(--primary-color);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.featured-banner-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.featured-banner-body {
    flex: 1;
    min-width: 0;
}

.featured-banner-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-banner-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.featured-banner-cta {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.featured-banner:hover .featured-banner-cta {
    gap: 0.65rem;
}

/* Product Selection Grid */
.product-grid-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

@media (max-width: 768px) {
    .product-grid-selection {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: rgba(30, 32, 36, 0.8);
    border: 1px solid var(--border-color);
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--primary-dark);
    transition: width 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(192, 160, 98, 0.1);
}

.product-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.product-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn-text {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(169, 60, 60, 0.2);
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge.syn-badge {
    background: var(--bg-secondary);
    border: 1px solid var(--primary-dark);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    margin-top: 1.25rem;
    letter-spacing: 2px;
    animation: syn-pulse 2.5s ease-in-out infinite;
}

@keyframes syn-pulse {
    0%, 100% {
        border-color: var(--primary-dark);
        box-shadow: none;
    }
    50% {
        border-color: var(--primary-color);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
    }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #2968A3 100%);
    border: 2px solid rgba(74, 144, 226, 0.3);
    color: #ffffff;
    padding: 1.3rem 4rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(74, 144, 226, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: btnGlow 2s infinite;
    will-change: box-shadow;
}

@keyframes btnGlow {
    0%, 100% {
        box-shadow:
            0 4px 20px rgba(74, 144, 226, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow:
            0 4px 25px rgba(74, 144, 226, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-glow) 0%, #86b32a 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(85, 139, 47, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-pricing {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 100%;
    justify-content: center;
}

.btn-pricing:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

/* Background Decoration */
.hero-decoration {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.gear-icon {
    position: absolute;
    color: var(--bg-secondary);
    opacity: 0.3;
    font-size: 20rem;
    right: -5%;
    bottom: -10%;
    animation: spin 60s linear infinite;
    will-change: transform;
}

.gear-icon.small {
    font-size: 10rem;
    right: 15%;
    bottom: 30%;
    animation: spinReverse 40s linear infinite;
    will-change: transform;
}

@keyframes spin { from {transform: rotate(0deg);} to {transform: rotate(360deg);} }
@keyframes spinReverse { from {transform: rotate(360deg);} to {transform: rotate(0deg);} }

.blueprint-lines {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Content Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--primary-dark);
    display: inline-block;
    padding-bottom: 1rem;
}

/* Features & Pricing */
.block-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pricing Banner */
.pricing-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Bottom-left corner */
.pricing-banner::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 18px; height: 18px;
    border-bottom: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

/* Top-right corner */
.pricing-banner::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 18px; height: 18px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.pricing-banner-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-banner-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.pricing-banner-amount {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-banner-currency {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.pricing-banner-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.pricing-banner-meta li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pricing-banner-meta li i {
    color: var(--primary-color);
    font-size: 0.65rem;
}

.pricing-banner-center {
    text-align: center;
    flex-shrink: 0;
}

.pricing-banner-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.pricing-banner-right {
    flex-shrink: 0;
}

.pricing-banner-btn {
    white-space: nowrap;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Features Block */
.features-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Top-left corner */
.features-block::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 18px; height: 18px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

/* Bottom-right corner */
.features-block::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 18px; height: 18px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

/* Feature Pill Grid */
.feature-pill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-bottom: 2rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.feature-pill:hover {
    border-color: var(--primary-dark);
    color: var(--text-primary);
}

.feature-pill i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

.payment-methods-icons {
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 0.8rem; 
    margin-top: 0.5rem;
}

.payment-methods-icons img {
    height: 22px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-methods-icons img:hover {
    opacity: 1;
}


@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(192, 160, 98, 0.1);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.footer-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFD700 100%);
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.footer-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-link:hover i {
    animation: headset-bounce 1s infinite;
    color: #ffffff;
}

@keyframes headset-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.footer-link:hover::before {
    left: 100%;
}

/* Animated Gold Text */
.animated-gold {
    background: linear-gradient(90deg, 
        #8B7355 0%, 
        #C0A062 15%,
        #FFD700 30%, 
        #FFED4E 40%,
        #FFD700 50%, 
        #FFED4E 60%,
        #FFD700 70%, 
        #C0A062 85%,
        #8B7355 100%);
    background-size: 300% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: shimmer 3s linear infinite;
    will-change: background-position;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

/* Preview Grid */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Preview Items */
.preview-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 16/9;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 180px;
}

.preview-item:hover {
    transform: scale(1.02);
    border-color: #FFD700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.preview-overlay i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.preview-item:hover .preview-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.preview-item:hover .preview-overlay i {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1);
}

/* Preview Thumbnail Label */
.preview-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    pointer-events: none;
}

/* Lightbox Gallery Enhanced */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  border: 2px solid var(--primary-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Lightbox Close Button */
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 70px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 20;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Lightbox Caption */
.lightbox-caption {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.5px;
}

/* Lightbox Image Counter */
.lightbox-counter {
    margin-top: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 1px;
}

/* Lightbox Nav Arrows */
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 10px;
    position: absolute;
    z-index: 10;
}

.lightbox-next {
    right: 10px;
    position: absolute;
    z-index: 10;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(192, 160, 98, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.15);
}

.lightbox-prev:active, .lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Mobile lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        padding: 0 15px;
        max-width: 100%;
    }
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
    .lightbox-close {
        right: 5px;
        top: -35px;
    }
}

/* Mobile / Tablet Responsive */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 0.4rem 0.8rem;
        gap: 0.25rem;
    }
    .breadcrumb-item,
    .breadcrumb-current {
        font-size: 0.7rem;
    }
    .featured-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    .featured-banner-cta {
        align-self: flex-end;
    }
    .hero-bullets {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }
    .pricing-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .pricing-banner-right {
        width: 100%;
    }
    .pricing-banner-btn {
        width: 100%;
        justify-content: center;
    }
    .feature-pill-grid {
        grid-template-columns: 1fr;
    }
    .preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 3rem) !important;
    }
    /* Pause decorative videos on mobile to save bandwidth */
    video[autoplay] {
        display: none;
    }
}

@media (max-width: 480px) {
    .preview-grid {
        grid-template-columns: 1fr;
    }
    .btn-back {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        top: 10px;
        left: 10px;
    }
    .custom-services-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   BACKGROUND VIDEOS
   ===================================================== */

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.bg-video--dim {
    opacity: 0.25;
}

.bg-video--fixed {
    position: fixed;
    opacity: 0.4;
    z-index: -1;
}

/* =====================================================
   INTRO BLOCK (product hero tagline box)
   ===================================================== */

.intro-block {
    text-align: center;
    margin: 1rem auto;
    max-width: 600px;
    padding: 1rem 1.5rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    position: relative;
}

.intro-block::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 14px; height: 14px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

.intro-block::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 14px; height: 14px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.intro-block-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.intro-block-lead {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.intro-block-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* =====================================================
   SPLIT HERO CARD (product hero — option A)
   ===================================================== */

.split-hero-card {
    display: flex;
    align-items: stretch;
    max-width: 860px;
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    position: relative;
}

/* Top-left corner */
.split-hero-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 18px; height: 18px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

/* Bottom-right corner */
.split-hero-card::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 18px; height: 18px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.split-hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    min-width: 240px;
    background: var(--bg-color);
    text-align: center;
}

.split-hero-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 8px rgba(192, 160, 98, 0.4));
}

.split-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--primary-color);
    letter-spacing: 2px;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

.split-hero-underline {
    width: 48px;
    height: 2px;
    background: var(--primary-dark);
    margin: 0 auto 0.75rem;
}

.split-hero-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.split-hero-divider {
    width: 1px;
    background: var(--border-color);
    flex-shrink: 0;
}

.split-hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2.5rem;
    text-align: left;
    gap: 1rem;
}

.split-hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    font-weight: 700;
}

.split-hero-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

.split-hero-right .syn-badge {
    align-self: flex-start;
    margin: 0;
}

/* Mobile: stack vertically */
@media (max-width: 640px) {
    .split-hero-card {
        flex-direction: column;
    }
    .split-hero-divider {
        width: 100%;
        height: 1px;
    }
    .split-hero-right {
        text-align: center;
    }
    .split-hero-right .syn-badge {
        align-self: center;
    }
}

/* =====================================================
   PRICING CARD DETAILS
   ===================================================== */

.pricing-label {
    margin-bottom: 1rem;
}

.pricing-label-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.pricing-label-text i {
    margin-right: 10px;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-tag-currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
}

.price-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.payment-methods {
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.payment-methods-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-features-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-disclaimer {
    text-align: center;
    color: var(--text-muted);
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* =====================================================
   BLOCK HEADER MODIFIERS
   ===================================================== */

.block-header--centered {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* =====================================================
   HERO MODIFIERS
   ===================================================== */

.hero-icon--small {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.hero-title--compact {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.hero-subtitle--sm {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

/* =====================================================
   SERVICE PAGE HEADER INNER
   ===================================================== */

.service-page-header-inner {
    position: relative;
    z-index: 1;
}

/* =====================================================
   SECTION SPACING
   ===================================================== */

.section-preview,
.section-faq {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
    text-align: center;
    margin-top: 2rem;
}

.cta-button-wrap {
    margin-top: 3rem;
}

.btn-primary--lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* =====================================================
   CUSTOM SERVICES PAGE HEADER (compact, not full-height)
   ===================================================== */

.service-page-header {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 4rem 2rem 3rem;
    background: radial-gradient(circle at center, #1a1c20 0%, #0a0a0c 100%);
    border-bottom: 1px solid var(--border-color);
}


/* =====================================================
   FAQ ACCORDION
   ===================================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item.open {
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
    gap: 1rem;
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0 1.25rem;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 1.25rem 1rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* =====================================================
   CUSTOM SERVICES GRID
   ===================================================== */

.custom-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.service-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.service-card.popular {
    border-color: var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.service-tier {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.service-price {
    font-size: 1rem;
    color: var(--text-secondary);
}

.service-price span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-features {
    list-style: none;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    color: var(--accent-color);
    flex-shrink: 0;
}

.btn-secondary {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000;
}

/* =====================================================
   DEMO VIDEO PLACEHOLDER
   ===================================================== */

.section-demo {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.demo-video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.demo-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: none;
}

.demo-video-wrapper.playing .demo-video {
    display: block;
}

.demo-video-wrapper.playing .demo-video-overlay {
    display: none;
}

.demo-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s ease;
}

.demo-video-overlay:hover {
    background: rgba(255, 255, 255, 0.03);
}

.demo-video-overlay i {
    font-size: 4rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.demo-video-overlay:hover i {
    transform: scale(1.1);
}

.demo-video-overlay span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.section-testimonials {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.testimonial-card:hover {
    border-color: var(--primary-dark);
}

.testimonial-card img {
    width: 100%;
    display: block;
    background: #fff;
}

/* =====================================================
   LEGAL PAGES (TOS / REFUND)
   ===================================================== */

.legal-page {
    max-width: 800px;
    padding-top: 6rem;
}

.legal-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-dark);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.legal-section ul li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
}

.legal-section ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0.5rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}
