/* 
  Hero Slider Styles
  ==================
  Premium full-viewport horizontal slider
  Uses Swiper.js for transitions
*/

/* ========================================
   CSS Variables for Slider
   ======================================== */
:root {
    --slider-height: 100vh;
    --slide-padding: 2rem;
    --slide-gap: 2rem;
    
    /* Gradient presets - grey & coffee tones */
    --gradient-1-start: #f5f3f0;
    --gradient-1-end: #e8e4df;
    --gradient-1-glow: rgba(111, 78, 55, 0.12);
    
    --gradient-2-start: #f7f5f2;
    --gradient-2-end: #ebe6e0;
    --gradient-2-glow: rgba(139, 115, 91, 0.12);
    
    --gradient-3-start: #f3f1ee;
    --gradient-3-end: #e5e0d8;
    --gradient-3-glow: rgba(93, 122, 93, 0.12);
    
    --gradient-4-start: #f8f5f1;
    --gradient-4-end: #ede7dd;
    --gradient-4-glow: rgba(166, 124, 82, 0.12);
    
    /* Animation timings */
    --slide-in-duration: 0.8s;
    --slide-in-delay-step: 0.1s;
    --float-duration: 6s;
}

/* ========================================
   Hero Slider Container
   ======================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: var(--slider-height);
    overflow: hidden;
}

.hero-slider--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-1-start), var(--gradient-1-end));
}

.empty-hero {
    text-align: center;
    padding: 2rem;
}

.empty-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-hero p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

/* ========================================
   Individual Slide
   ======================================== */
.property-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Background Layer */
.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide-bg-gradient {
    position: absolute;
    inset: 0;
    transition: opacity 0.5s ease;
}

/* Gradient presets */
.gradient-1 .slide-bg-gradient {
    background: linear-gradient(135deg, var(--gradient-1-start) 0%, var(--gradient-1-end) 100%);
}
.gradient-2 .slide-bg-gradient {
    background: linear-gradient(135deg, var(--gradient-2-start) 0%, var(--gradient-2-end) 100%);
}
.gradient-3 .slide-bg-gradient {
    background: linear-gradient(135deg, var(--gradient-3-start) 0%, var(--gradient-3-end) 100%);
}
.gradient-4 .slide-bg-gradient {
    background: linear-gradient(135deg, var(--gradient-4-start) 0%, var(--gradient-4-end) 100%);
}

/* Subtle animated glow blobs */
.slide-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: glowDrift var(--float-duration) ease-in-out infinite alternate;
}

.slide-bg-glow--1 {
    width: 40vw;
    height: 40vw;
    top: -10%;
    right: 10%;
}

.slide-bg-glow--2 {
    width: 30vw;
    height: 30vw;
    bottom: -5%;
    left: 20%;
    animation-delay: -3s;
}

.gradient-1 .slide-bg-glow { background: var(--gradient-1-glow); }
.gradient-2 .slide-bg-glow { background: var(--gradient-2-glow); }
.gradient-3 .slide-bg-glow { background: var(--gradient-3-glow); }
.gradient-4 .slide-bg-glow { background: var(--gradient-4-glow); }

@keyframes glowDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 10px) scale(1.05); }
}

/* ========================================
   Slide Content Container (2-column)
   ======================================== */
.slide-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--slide-gap);
    align-items: center;
    height: 100%;
    width: 100%;
    max-height: 100%;
    padding: 0.5rem 1rem;
    padding-top: calc(0.5rem + var(--header-height));
    overflow: hidden;
}

/* ========================================
   Left Column: Text Content
   ======================================== */
.slide-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Kicker - small uppercase label */
.slide-kicker {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Headline - big bold text */
.slide-headline {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text);
    margin: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.05s;
}

/* Price */
.slide-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.1s;
}

/* Subhead - paragraph text */
.slide-subhead {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin: 0;
    max-width: 450px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.15s;
}

/* Feature chips */
.slide-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.6s ease;
    transition-delay: 0.4s;
}

.slide-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    color: var(--color-text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.slide-chip-icon {
    font-size: 0.75rem;
}

/* Feature Card (when no image) */
.slide-feature-card {
    width: 100%;
    max-height: min(320px, calc(100vh - var(--header-height) - 6rem));
    background: white;
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.slide-feature-header {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.slide-feature-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--color-primary);
    border-radius: 100px;
}

.slide-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.slide-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text);
}

.slide-feature-list li:last-child {
    border-bottom: none;
}

.slide-feature-list li svg {
    flex-shrink: 0;
    color: #10b981;
}

.slide-feature-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
}

.slide-spec {
    text-align: center;
}

.slide-spec-value {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.1rem;
}

.slide-spec-label {
    display: block;
    font-size: 0.6rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* CTA Button */
.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s ease;
    transition-delay: 0.2s;
}

.slide-cta:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    text-decoration: none;
}

.slide-cta svg {
    transition: transform 0.2s ease;
}

.slide-cta:hover svg {
    transform: translateX(4px);
}

/* CTA Group (details + contact buttons) */
.slide-cta-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.slide-cta-group .slide-cta {
    margin-top: 0;
}

.slide-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.2s ease, border-color 0.2s ease;
    transition-delay: 0.55s;
}

.slide-contact-btn:hover {
    background: white;
    border-color: var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
}

.slide-contact-btn svg {
    flex-shrink: 0;
}

.swiper-slide-active .slide-contact-btn {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Right Column: Visual Composition
   ======================================== */
.slide-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

/* Screenshot image */
.slide-screenshot {
    position: relative;
    width: 280px;
    max-height: 480px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.2),
        0 8px 24px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.3s;
}

.swiper-slide-active .slide-screenshot {
    opacity: 1;
    transform: translateX(0);
}

.slide-screenshot img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@media (max-width: 1024px) {
    .slide-screenshot {
        width: 220px;
        max-height: 380px;
    }
}

@media (max-width: 768px) {
    .slide-screenshot {
        display: none;
    }
}

/* Main image card */
.slide-image-main {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
    animation: floatMain var(--float-duration) ease-in-out infinite;
    animation-play-state: paused;
}

/* When showing actual image */
.slide-image-main:has(.slide-img) {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

/* When showing feature card (no image) */
.slide-image-main:has(.slide-feature-card) {
    max-height: 420px;
    overflow: visible;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-text-muted);
}

/* Floating accent tiles */
.slide-accent-tiles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.slide-accent-tile {
    position: absolute;
    width: 120px;
    height: 90px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-accent-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-accent-tile--1 {
    top: 10%;
    right: -5%;
    transform: translateY(30px) rotate(3deg);
    transition-delay: 0.4s;
    animation: floatAccent1 calc(var(--float-duration) * 1.2) ease-in-out infinite;
    animation-play-state: paused;
}

.slide-accent-tile--2 {
    bottom: 15%;
    left: -10%;
    transform: translateY(30px) rotate(-2deg);
    transition-delay: 0.5s;
    animation: floatAccent2 calc(var(--float-duration) * 1.4) ease-in-out infinite;
    animation-play-state: paused;
}

/* Float animations */
@keyframes floatMain {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatAccent1 {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes floatAccent2 {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(-4deg); }
}

/* ========================================
   Active Slide Animations
   ======================================== */
.swiper-slide-active .slide-kicker,
.swiper-slide-active .slide-headline,
.swiper-slide-active .slide-price,
.swiper-slide-active .slide-subhead,
.swiper-slide-active .slide-chips,
.swiper-slide-active .slide-cta {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .slide-image-main {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation-play-state: running;
}

.swiper-slide-active .slide-accent-tile {
    opacity: 1;
}

.swiper-slide-active .slide-accent-tile--1 {
    transform: translateY(0) rotate(3deg);
    animation-play-state: running;
}

.swiper-slide-active .slide-accent-tile--2 {
    transform: translateY(0) rotate(-2deg);
    animation-play-state: running;
}

/* ========================================
   Pagination
   ======================================== */
.hero-slider .swiper-pagination {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-slider .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 4px;
    background: var(--color-primary);
}

/* ========================================
   Navigation Arrows
   ======================================== */
.slider-nav {
    position: absolute;
    bottom: 1rem;
    right: var(--slide-padding);
    display: flex;
    gap: 0.35rem;
    z-index: 10;
}

.slider-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--color-text);
}

.slider-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.slider-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Edge Navigation Arrows */
.slider-edge-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.5);
    z-index: 20;
}

.slider-edge-arrow.slider-arrow-prev {
    left: 0;
    border-radius: 0 8px 8px 0;
    padding-right: 4px;
}

.slider-edge-arrow.slider-arrow-next {
    right: 0;
    border-radius: 8px 0 0 8px;
    padding-left: 4px;
}

.slider-edge-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.slider-edge-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.slider-edge-arrow svg {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.slider-edge-arrow:hover svg {
    opacity: 1;
}

@media (max-width: 768px) {
    .slider-edge-arrow {
        width: 36px;
        height: 60px;
    }
    
    .slider-edge-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .slide-bg-glow,
    .slide-image-main,
    .slide-accent-tile--1,
    .slide-accent-tile--2 {
        animation: none !important;
    }
    
    .slide-kicker,
    .slide-headline,
    .slide-price,
    .slide-subhead,
    .slide-chips,
    .slide-cta,
    .slide-image-main,
    .slide-accent-tile {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ========================================
   Responsive: Tablet
   ======================================== */
@media (max-width: 1024px) {
    .slide-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .slide-image-main {
        max-width: 400px;
    }
    
    .slide-accent-tile {
        width: 100px;
        height: 75px;
    }
}

/* ========================================
   Responsive: Mobile
   ======================================== */
@media (max-width: 768px) {
    .slide-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 0.5rem;
        padding: 0.5rem;
        padding-top: calc(0.25rem + var(--header-height));
        padding-bottom: 3rem;
        align-content: start;
        overflow: hidden;
    }
    
    .slide-content {
        order: 1;
        flex-shrink: 0;
    }
    
    .slide-visual {
        order: 2;
        height: auto;
        min-height: 0;
        max-height: 100%;
        flex: 1;
        overflow: hidden;
    }
    
    .slide-headline {
        font-size: 1.25rem;
    }
    
    .slide-price {
        font-size: 0.9rem;
    }
    
    .slide-subhead {
        font-size: 0.75rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .slide-chips {
        gap: 0.25rem;
        margin-top: 0.25rem;
    }
    
    .slide-chip {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .slide-cta {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .slide-contact-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .slide-feature-card {
        max-height: calc(100vh - var(--header-height) - 16rem);
        padding: 0.5rem 0.75rem;
    }
    
    .slide-feature-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.55rem;
    }
    
    .slide-feature-header {
        margin-bottom: 0.25rem;
    }
    
    .slide-feature-list li {
        padding: 0.15rem 0;
        font-size: 0.65rem;
    }
    
    .slide-feature-list li svg {
        width: 12px;
        height: 12px;
    }
    
    .slide-feature-specs {
        padding-top: 0.25rem;
        gap: 0.25rem;
    }
    
    .slide-spec-value {
        font-size: 0.6rem;
    }
    
    .slide-spec-label {
        font-size: 0.5rem;
    }
    
    .slide-image-main {
        max-width: 100%;
        max-height: 100%;
    }
    
    .slide-accent-tiles {
        display: none;
    }
    
    .slider-nav {
        bottom: 0.5rem;
        right: 0.5rem;
    }
    
    .slider-arrow {
        width: 32px;
        height: 32px;
    }
    
    .hero-slider .swiper-pagination {
        bottom: 0.5rem;
        left: 0.5rem;
        transform: none;
    }
    
    .hero-slider .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
    
    .hero-slider .swiper-pagination-bullet-active {
        width: 18px;
    }
}

/* ========================================
   Header Integration
   ======================================== */
/* Transparent header over slider */
.has-slider .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Ensure content doesn't hide under fixed header on non-slider pages */
.has-slider .main-content {
    padding-top: 0;
}

/* ========================================
   Intro Slide (First Slide) - Light Theme
   ======================================== */
.gradient-intro .slide-bg-gradient {
    background: linear-gradient(135deg, #f7f5f2 0%, #ebe6e0 30%, #f3f1ee 70%, #ede7dd 100%);
}

.gradient-intro .slide-bg-glow--1 {
    background: radial-gradient(circle at 20% 50%, rgba(166, 124, 82, 0.08) 0%, transparent 40%);
}

.gradient-intro .slide-bg-glow--2 {
    background: radial-gradient(circle at 80% 50%, rgba(111, 78, 55, 0.06) 0%, transparent 40%);
}

.intro-slide .intro-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem 2rem 3.5rem;
    padding-top: calc(var(--header-height) + 1rem);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: stretch;
    gap: 1rem;
}

.intro-header {
    text-align: center;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.1s;
    flex-shrink: 0;
}

.swiper-slide-active .intro-header {
    opacity: 1;
    transform: translateY(0);
}

.intro-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #6f4e37, #8b7355);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 100px;
    margin-bottom: 0.4rem;
}

.intro-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #2d2926;
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.intro-message {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    color: #5c554d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Service Cards Grid - Scrollable */
.intro-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
    overflow-y: auto;
    padding-right: 0.5rem;
    padding-bottom: 1rem;
}

.intro-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    min-height: 240px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.swiper-slide-active .intro-card:nth-child(1) { transition-delay: 0.25s; }
.swiper-slide-active .intro-card:nth-child(2) { transition-delay: 0.35s; }
.swiper-slide-active .intro-card:nth-child(3) { transition-delay: 0.45s; }
.swiper-slide-active .intro-card:nth-child(4) { transition-delay: 0.55s; }

.swiper-slide-active .intro-card {
    opacity: 1;
    transform: translateY(0);
}

.intro-card:hover {
    transform: translateY(-6px) scale(1.02);
    text-decoration: none;
}

.intro-card, .intro-card:hover, .intro-card:focus {
    text-decoration: none;
}

/* Boccia Card - Blue/Accessibility Theme */
.intro-card--boccia {
    position: relative;
    background: linear-gradient(135deg, rgba(20,60,100,0.95) 0%, rgba(30,90,150,0.9) 100%);
    border: 1px solid rgba(100, 180, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(30, 144, 255, 0.15),
        0 2px 8px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
}
.intro-card--boccia:hover {
    border-color: rgba(100, 180, 255, 0.5);
    box-shadow: 
        0 12px 40px rgba(30, 144, 255, 0.25),
        0 4px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
}
.intro-card--boccia .intro-card-header { 
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.9) 0%, rgba(0, 191, 255, 0.85) 100%);
    color: white;
}
.intro-card--boccia .intro-card-title { color: #fff; }
.intro-card--boccia .intro-card-price { color: rgba(255,255,255,0.95); }
.intro-card--boccia .intro-card-desc { color: rgba(255,255,255,0.85); }
.intro-card--boccia .intro-card-link { 
    color: #00bfff;
    font-weight: 700;
}

/* Showcase badge (Not For Sale) */
.intro-card-price--showcase {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    font-style: italic;
}

/* Mystrix Card - Purple/Violet Creative */
.intro-card--mystrix {
    position: relative;
    background: linear-gradient(135deg, rgba(45,25,60,0.95) 0%, rgba(75,40,100,0.9) 100%);
    border: 1px solid rgba(147, 112, 219, 0.3);
    box-shadow: 
        0 8px 32px rgba(147, 112, 219, 0.15),
        0 2px 8px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
}
.intro-card--mystrix:hover {
    border-color: rgba(147, 112, 219, 0.5);
    box-shadow: 
        0 12px 40px rgba(147, 112, 219, 0.25),
        0 4px 12px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
}
.intro-card--mystrix .intro-card-header { 
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.9) 0%, rgba(186, 85, 211, 0.85) 100%);
    color: white;
}
.intro-card--mystrix .intro-card-title { color: #fff; }
.intro-card--mystrix .intro-card-price { color: rgba(255,255,255,0.95); }
.intro-card--mystrix .intro-card-desc { color: rgba(255,255,255,0.85); }
.intro-card--mystrix .intro-card-link { 
    color: #ba55d3;
    font-weight: 700;
}

/* Simul Card - Clean Tech Indigo */
.intro-card--simul {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.92) 100%);
    border: 1px solid rgba(99, 102, 241, 0.28);
    box-shadow:
        0 8px 32px rgba(99, 102, 241, 0.12),
        0 2px 8px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.08);
    overflow: hidden;
}

.intro-card--simul:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow:
        0 12px 40px rgba(99, 102, 241, 0.22),
        0 4px 12px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

.intro-card--simul .intro-card-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.92) 0%, rgba(56, 189, 248, 0.75) 100%);
    color: white;
}

.intro-card--simul .intro-card-title { color: #fff; }
.intro-card--simul .intro-card-price { color: rgba(255,255,255,0.95); }
.intro-card--simul .intro-card-desc { color: rgba(255,255,255,0.86); }
.intro-card--simul .intro-card-link {
    color: #93c5fd;
    font-weight: 700;
}

.intro-card--simul.intro-card--with-image .intro-card-image {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.92) 100%);
    border-left-color: rgba(99, 102, 241, 0.18);
}

/* FlowPass Card - Coffee Dark with Side Image */
.intro-card--flowpass {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(247,243,240,0.9) 100%);
    border: 1px solid rgba(111, 78, 55, 0.2);
    box-shadow: 
        0 4px 20px rgba(111, 78, 55, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    overflow: hidden;
}
.intro-card--flowpass:hover {
    border-color: rgba(111, 78, 55, 0.4);
    box-shadow: 
        0 12px 40px rgba(111, 78, 55, 0.2),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--flowpass .intro-card-header { 
    background: linear-gradient(135deg, rgba(90, 61, 43, 0.9) 0%, rgba(111, 78, 55, 0.85) 100%);
    color: white;
}
.intro-card--flowpass .intro-card-title { color: #fff; }
.intro-card--flowpass .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--flowpass .intro-card-link { 
    color: #5a3d2b;
    font-weight: 700;
}

/* Card with side image layout */
.intro-card--with-image {
    flex-direction: row;
    padding: 0;
    overflow: hidden;
}
.intro-card--with-image .intro-card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    min-width: 0;
}
.intro-card--with-image .intro-card-header {
    margin: -1rem -1rem 0.75rem -1rem;
    padding: 0.6rem 1rem;
    border-radius: 15px 0 0 0;
}
.intro-card--with-image .intro-card-desc {
    flex: 1;
    margin-bottom: 0.5rem;
}
.intro-card--with-image .intro-card-link {
    border-top: none;
    padding-top: 0;
}
.intro-card--with-image .intro-card-image {
    width: 35%;
    max-width: 280px;
    min-width: 120px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f7f3f0 0%, #ebe5df 100%);
    display: block;
    overflow: hidden;
    border-left: 1px solid rgba(111, 78, 55, 0.1);
}
.intro-card--with-image .intro-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.intro-card--with-image:hover .intro-card-image img {
    opacity: 1;
    transform: scale(1.03);
}

/* Beava Card - Warm Grey */
.intro-card--beava {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,243,246,0.9) 100%);
    border: 1px solid rgba(107, 91, 115, 0.2);
    box-shadow: 
        0 4px 20px rgba(107, 91, 115, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    overflow: hidden;
}
.intro-card--beava:hover {
    border-color: rgba(107, 91, 115, 0.4);
    box-shadow: 
        0 12px 40px rgba(107, 91, 115, 0.2),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--beava .intro-card-header { 
    background: linear-gradient(135deg, rgba(82, 66, 88, 0.9) 0%, rgba(107, 91, 115, 0.85) 100%);
}
.intro-card--beava .intro-card-title { color: #fff; }
.intro-card--beava .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--beava .intro-card-link { 
    color: #524258;
    font-weight: 700;
}
.intro-card--beava.intro-card--with-image .intro-card-image {
    background: linear-gradient(135deg, #f5f3f6 0%, #ebe8ed 100%);
    border-left-color: rgba(107, 91, 115, 0.1);
}

/* EthicalScanner Card - Sage */
.intro-card--ethical {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(243,246,243,0.9) 100%);
    border: 1px solid rgba(93, 122, 93, 0.2);
    box-shadow: 
        0 4px 20px rgba(93, 122, 93, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    overflow: hidden;
}
.intro-card--ethical:hover {
    border-color: rgba(93, 122, 93, 0.4);
    box-shadow: 
        0 12px 40px rgba(93, 122, 93, 0.2),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--ethical .intro-card-header { 
    background: linear-gradient(135deg, rgba(74, 97, 74, 0.9) 0%, rgba(93, 122, 93, 0.85) 100%);
}
.intro-card--ethical .intro-card-title { color: #fff; }
.intro-card--ethical .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--ethical .intro-card-link { 
    color: #4a614a;
    font-weight: 700;
}
.intro-card--ethical.intro-card--with-image .intro-card-image {
    background: linear-gradient(135deg, #f3f6f3 0%, #e8ede8 100%);
    border-left-color: rgba(93, 122, 93, 0.1);
}

/* DamSmart Card - Tan */
.intro-card--damsmart {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(250,246,241,0.9) 100%);
    border: 1px solid rgba(166, 124, 82, 0.2);
    box-shadow: 
        0 4px 20px rgba(166, 124, 82, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    overflow: hidden;
}
.intro-card--damsmart:hover {
    border-color: rgba(166, 124, 82, 0.4);
    box-shadow: 
        0 12px 40px rgba(166, 124, 82, 0.2),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--damsmart .intro-card-header { 
    background: linear-gradient(135deg, rgba(122, 90, 58, 0.9) 0%, rgba(166, 124, 82, 0.85) 100%);
}
.intro-card--damsmart .intro-card-title { color: #fff; }
.intro-card--damsmart .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--damsmart .intro-card-link { 
    color: #7a5a3a;
    font-weight: 700;
}
.intro-card--damsmart.intro-card--with-image .intro-card-image {
    background: linear-gradient(135deg, #faf6f1 0%, #f0e9e0 100%);
    border-left-color: rgba(166, 124, 82, 0.1);
}

/* Travel Platform Card - Blue/Gold */
.intro-card--travel {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(241,248,255,0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 4px 20px rgba(59, 130, 246, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
}
.intro-card--travel:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 12px 40px rgba(59, 130, 246, 0.2),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--travel .intro-card-header { 
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
}
.intro-card--travel .intro-card-title { color: #fff; }
.intro-card--travel .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--travel .intro-card-link { 
    color: #1e3a5f;
    font-weight: 700;
}
.intro-card--travel .intro-card-image {
    background: linear-gradient(135deg, #f1f8ff 0%, #e0efff 100%);
    border-left-color: rgba(59, 130, 246, 0.15);
}

.intro-card--loom {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(241,246,255,0.9) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow:
        0 4px 20px rgba(37, 99, 235, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    overflow: hidden;
}
.intro-card--loom:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow:
        0 12px 40px rgba(37, 99, 235, 0.2),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--loom .intro-card-header {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}
.intro-card--loom .intro-card-title { color: #fff; }
.intro-card--loom .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--loom .intro-card-link {
    color: #1e40af;
    font-weight: 700;
}
.intro-card--loom.intro-card--with-image .intro-card-image {
    background: linear-gradient(135deg, #f1f6ff 0%, #e3eeff 100%);
    border-left-color: rgba(37, 99, 235, 0.1);
}

/* Accounting Platform Card - Green */
.intro-card--accounting {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,244,242,0.9) 100%);
    border: 1px solid rgba(45, 106, 79, 0.2);
    box-shadow: 
        0 4px 20px rgba(45, 106, 79, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
}
.intro-card--accounting:hover {
    border-color: rgba(45, 106, 79, 0.4);
    box-shadow: 
        0 12px 40px rgba(45, 106, 79, 0.2),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--accounting .intro-card-header { 
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
}
.intro-card--accounting .intro-card-title { color: #fff; }
.intro-card--accounting .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--accounting .intro-card-link { 
    color: #1b4332;
    font-weight: 700;
}

.intro-card--accounting.intro-card--with-image .intro-card-image {
    background: linear-gradient(135deg, #f0f4f2 0%, #e8f0eb 100%);
    border-left-color: rgba(45, 106, 79, 0.1);
}

/* Social Network Card - Purple */
.intro-card--social {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,247,252,0.9) 100%);
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 
        0 4px 20px rgba(124, 58, 237, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
}
.intro-card--social:hover {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 
        0 12px 40px rgba(124, 58, 237, 0.2),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--social .intro-card-header { 
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
}
.intro-card--social .intro-card-title { color: #fff; }
.intro-card--social .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--social .intro-card-link { 
    color: #5b21b6;
    font-weight: 700;
}

/* CO2 Service Card - Ocean Teal */
.intro-card--co2 {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,249,255,0.9) 100%);
    border: 1px solid rgba(8, 145, 178, 0.2);
    box-shadow: 
        0 4px 20px rgba(8, 145, 178, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    overflow: hidden;
}
.intro-card--co2:hover {
    border-color: rgba(8, 145, 178, 0.4);
    box-shadow: 
        0 12px 40px rgba(8, 145, 178, 0.2),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--co2 .intro-card-header { 
    background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
}
.intro-card--co2 .intro-card-title { color: #fff; }
.intro-card--co2 .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--co2 .intro-card-link { 
    color: #0c4a6e;
    font-weight: 700;
}
.intro-card--co2.intro-card--with-image .intro-card-image {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left-color: rgba(8, 145, 178, 0.1);
}

/* Coming Soon Card - Grey/Blue */
.intro-card--coming {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(249,250,251,0.9) 100%);
    border: 1px solid rgba(107, 114, 128, 0.2);
    box-shadow: 
        0 4px 20px rgba(107, 114, 128, 0.12),
        0 1px 3px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
}
.intro-card--coming:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 12px 40px rgba(59, 130, 246, 0.15),
        0 4px 12px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.intro-card--coming .intro-card-header { 
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
}
.intro-card--coming .intro-card-title { color: #fff; }
.intro-card--coming .intro-card-price { color: rgba(255,255,255,0.9); }
.intro-card--coming .intro-card-link { 
    color: #3b82f6;
    font-weight: 700;
}

/* Card Content */
.intro-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    margin: -1.5rem -1.5rem 1.25rem -1.5rem;
    border-radius: 15px 15px 0 0;
}

.intro-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}

.intro-card-price {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
}

.intro-card-desc {
    font-size: 0.9rem;
    color: #4a453f;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.intro-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: auto;
    transition: gap 0.3s ease, color 0.3s ease;
}

.intro-card:hover .intro-card-link {
    gap: 0.65rem;
}

/* Intro Slide Responsive */
@media (max-width: 768px) {
    .intro-slide .intro-container {
        padding: 0.5rem;
        padding-top: calc(var(--header-height) + 0.25rem);
        padding-bottom: 3rem;
        overflow: hidden;
    }
    
    .intro-header {
        margin-bottom: 0.35rem;
        flex-shrink: 0;
    }
    
    .intro-title {
        font-size: 1.1rem;
    }
    
    .intro-message {
        font-size: 0.65rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .intro-services {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0.5rem;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
    
    .intro-card {
        padding: 0.4rem;
        overflow: hidden;
    }
    
    .intro-card-icon {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }
    
    .intro-card-icon span,
    .intro-card-icon div {
        padding: 0.3rem;
    }
    
    .intro-card-title {
        font-size: 0.7rem;
    }
    
    .intro-card-price {
        font-size: 0.55rem;
        margin-bottom: 0.15rem;
    }
    
    .intro-card-desc {
        font-size: 0.55rem;
        line-height: 1.25;
        margin-bottom: 0.15rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .intro-card-link {
        font-size: 0.55rem;
    }
}
