/* ===============================
   Intuitive Assistant — Unified Theme
   All styles consolidated from index.html
   =============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue-dark: #1e3a8a;
    --primary-blue-light: #3b82f6;
    --primary-blue-hover: #1d4ed8;
    --primary-red-hover: #6b5bff;
    --text-dark: #1f2937;
    --text-muted: #6b5bff;
    --text-gray: #6b7280;
    --text-white: #ffffff;
    --text-black: #000000;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ========== GLOBAL BUTTON THEME ========== */
.z-btn, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.z-btn::before, .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.z-btn:hover::before, .btn:hover::before {
    left: 100%;
}

.z-btn-white, .btn-primary {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-light));
    color: var(--text-white) !important;
    box-shadow: var(--shadow-lg);
    border: none;
}

.z-btn-white:hover, .btn-primary:hover {
    background: linear-gradient(135deg,  var(--primary-blue-dark),#6b5bff );
    color: var(--text-white) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.z-btn-transparent, .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white) !important;
    border: none;
    backdrop-filter: blur(10px);
}

.z-btn-transparent:hover, .btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-light));
    color: var(--text-white) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.z-btn-brand {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-light));
    color: var(--text-white) !important;
    box-shadow: var(--shadow-lg);
}

.z-btn-brand:hover {
    background: linear-gradient(135deg, var(--primary-blue-hover), var(--primary-blue-dark));
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    color: var(--text-white) !important;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    margin-top: 0;
    background: linear-gradient(270deg, var(--primary-blue-dark), var(--primary-blue-light), #1e40af, #3b82f6, var(--primary-red-hover), #af1e2c, #7c008f, var(--primary-blue-dark),var(--primary-blue-light));
    background-size: 800% 800%;
    animation: moveGradient 140s ease infinite;
}

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

.floating-card {
    position: absolute;
    width: 60px;
    height: 85px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: float-card 6s ease-in-out infinite;
    opacity: 0.6;
    transform-style: preserve-3d;
}

@keyframes float-card {
    0%, 100% { 
        transform: translateY(0) rotateX(-5deg) rotateY(-5deg) rotateZ(-5deg); 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: translateY(-40px) rotateX(5deg) rotateY(5deg) rotateZ(5deg); 
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }
}

.card-1 { top: 15%; left: 8%; animation-delay: 0s; }
.card-2 { top: 25%; right: 10%; animation-delay: 1s; }
.card-3 { bottom: 15%; left: 15%; animation-delay: 2s; }
.card-4 { bottom: 20%; right: 12%; animation-delay: 1.5s; }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
}

.hero h1 span {
    display: block;
    color: white;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 50px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 22px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (max-width:768px){
  .hero h1{ font-size:48px; }
  .hero-description{ font-size:16px; }
  .hero-buttons{ flex-direction:column; gap:15px; }
  .z-btn, .btn{ width:100%; }
}

/* FEATURES (remove negative margin) */
.features-section{ padding: var(--sp-100) 20px; background:#fff; position:relative; z-index:10; }
.features-container{ max-width:1200px; margin:0 auto; }
.features-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:30px; }


/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 120px 20px;
    background: var(--bg-white);
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    border: none;
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.6s ease-out backwards;
    box-shadow: var(--shadow-sm);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue-dark), var(--primary-blue-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    background: var(--bg-white);
    border-color: var(--primary-blue-light);
    box-shadow: var(--shadow-2xl);
    transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-blue-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(15deg) rotateX(15deg);
    color: var(--primary-blue-hover);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(59, 130, 246, 0.2));
    box-shadow: var(--shadow-lg);
}

.step-number {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-blue-dark);
    margin-bottom: 12px;
    opacity: 0.8;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 14px;
    color: var(--text-black);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ========== NETWORK SECTION ========== */
.globe-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.globe {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #bfdbfe 50%, #87001b 100%);
    box-shadow: inset -20px -20px 50px rgba(0,0,0,0.15), 0 25px 45px rgba(0,0,0,0.25);
    animation: rotateGlobe 18s linear infinite;
    background-size: 200% 200%;
    overflow: hidden;
    transform-style: preserve-3d;
}

@keyframes rotateGlobe {
    0% { 
        background-position: 0% 50%; 
        transform: rotateY(0deg) rotateX(0deg); 
    }
    25% { 
        background-position: 50% 100%; 
        transform: rotateY(90deg) rotateX(5deg); 
    }
    50% { 
        background-position: 100% 50%; 
        transform: rotateY(180deg) rotateX(0deg); 
    }
    75% { 
        background-position: 50% 0%; 
        transform: rotateY(270deg) rotateX(-5deg); 
    }
    100% { 
        background-position: 0% 50%; 
        transform: rotateY(360deg) rotateX(0deg); 
    }
}

.orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(30, 58, 138, 0.3);
    animation: orbitPulse 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.orbit-1 { transform: scale(1.05); animation-delay: 0s; }
.orbit-2 { transform: scale(1.2); animation-delay: 1s; }
.orbit-3 { transform: scale(1.35); animation-delay: 2s; }

@keyframes orbitPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.pulse-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-blue-dark);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(122, 0, 8, 0.8);
    animation: pulse 2s infinite ease-in-out;
    transform-style: preserve-3d;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.connection-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.connection-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.connection-step .icon {
    width: 46px;
    height: 46px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-blue-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.connection-step:hover .icon {
    background: var(--primary-blue-dark);
    color: var(--text-white);
    transform: rotateY(15deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.connection-step h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.connection-step:hover h4 {
    color: var(--primary-blue-dark);
}

.connection-step p {
    margin: 0;
    color: var(--text-black);
    font-size: 15px;
    line-height: 1.6;
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========== ENHANCED SECTIONS ========== */
.section__title h2 {
    color: var(--text-black);
    position: relative;
}

.section__title span {
    color: var(--primary-blue-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

/* ========== PRICING CARDS ========== */
.price__item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border: none;
}

.price__item:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-2xl);
}

.price__item.active:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg) scale(1.05);
}

/* Scoped readability + hover only for Spread Details (What's Included) */
.details__area .price__features ul li span { color: var(--text-black); }
/* default dot hidden to avoid persistent color */
.details__area .price__features ul li span::after { background: transparent; transition: background .2s ease, transform .2s ease; }
/* prevent template hover from forcing white bullets inside details area */
.details__area .price__item:hover .price__features ul li span,
.details__area .price__item.active .price__features ul li span { color: var(--text-black) !important; }
.details__area .price__item:hover .price__features ul li span::after,
.details__area .price__item.active .price__features ul li span::after { background: transparent !important; }
/* on list item hover, show the dot and accent text temporarily */
.details__area .price__features ul li:hover span { color: var(--primary-blue-dark); }
.details__area .price__features ul li:hover span::after { background: var(--primary-blue-light); transform: scale(1.2); }

/* Ensure ia-checks in details area are readable with a gentle hover */
.details__area .ia-checks li { color: var(--text-black); }
.details__area .ia-checks li i { color: var(--primary-blue-dark); }
.details__area .ia-checks li:hover i { color: var(--primary-blue-light); }

/* ========== TEAM CARDS ========== */
.team__item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: none;
    background: var(--bg-white);
    position: relative; /* ensure overlay positions to card */
}

.team__item:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: var(--shadow-2xl);
}

.team__thumb {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.team__thumb img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team__item:hover .team__thumb img {
    transform: scale(1.05);
}

.team__content {
    padding: 25px 20px;
    text-align: center;
    background: var(--bg-white);
}

.team__content h3 {
    margin-bottom: 8px;
}

.team__content h3 a {
    color: var(--text-black);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.team__content span {
    color: var(--primary-blue-dark);
    font-weight: 600;
    font-size: 14px;
}

/* Team overlay: show brief bio on hover */
.team__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-light));
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all .35s ease;
    z-index: 3; /* sit above thumb + content */
    pointer-events: none; /* prevent hover flicker */
}

.team__item:hover .team__overlay {
    opacity: 1;
    transform: translateY(0);
}

.team__overlay-content {
    max-width: 90%;
    text-align: left;
}

.team__overlay-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.team__overlay-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    margin: 0;
}

/* Subtle animated gradient shimmer on team name (hover) */
@keyframes ia-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.team__item:hover .team__content h3 a {
    background: linear-gradient(90deg, var(--primary-blue-dark), #6b5bff, var(--primary-blue-dark));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: ia-shimmer 1.8s linear infinite;
}

/* Optional: shimmer overlay gradient subtly on hover */
.team__item:hover .team__overlay {
    background: linear-gradient(135deg, var(--primary-blue-dark), #6b5bff, var(--primary-blue-dark));
    background-size: 200% 200%;
    animation: ia-shimmer 3s linear infinite;
}

/* ========== TESTIMONIALS ========== */
.ia-testimonial {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: none;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.ia-testimonial:hover {
    transform: translateY(-5px) rotateX(2deg);
    box-shadow: var(--shadow-xl);
}

.ia-testimonial p {
    color: var(--text-black);
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ia-testimonial .author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue-dark);
    font-weight: 600;
}

.ia-testimonial .author i {
    background: rgba(30, 58, 138, 0.1);
    padding: 8px;
    border-radius: 50%;
}

/* ========== FLOATING ANIMATIONS ========== */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 1;
    }
}

/* ========== FOOTER ENHANCEMENTS ========== */
.footer__area {
    background: var(--text-dark) !important;
    position: relative;
    overflow: hidden;
}

.footer__area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue-dark), transparent);
}

.footer__widget-title h4 {
    color: var(--bg-white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__links ul {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer__links a:hover {
    color: var(--primary-blue-light);
    transform: translateX(5px);
}

.footer__links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue-light);
    transition: width 0.3s ease;
}

.footer__links a:hover::before {
    width: 10px;
}

.footer__social a {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.footer__social a:hover {
    transform: translateY(-3px) rotateY(15deg);
    color: rgba(254, 254, 254, 0.8);
}

/* ========== ADDITIONAL 3D EFFECTS ========== */
.tarot-tile {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-white);
    border: 1px solid #eee;
    padding: 18px;
    text-align: center;
    cursor: pointer;
}

.tarot-tile:hover {
    transform: translateY(-8px) rotateX(10deg) rotateY(5deg);
    box-shadow: var(--shadow-xl);
}

.tarot-tile .img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.tarot-tile:hover .img {
    transform: scale(1.1);
}

.tarot-tile img {
    max-height: 100%;
}

.tarot-tile h5 {
    margin-top: 10px;
    color: var(--text-dark);
}

.tarot-tile .hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    opacity: 0.6;
}

.spread-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
    padding: 30px 20px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border: none;
}

.spread-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.spread-icon {
    transition: transform 0.4s ease;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.spread-card:hover .spread-icon {
    transform: scale(1.1) rotateY(15deg);
}

.spread-svg {
    width: 120px;
    height: 80px;
}

.spread-svg .c {
    fill: var(--bg-white);
    stroke: var(--primary-blue-dark);
    stroke-width: 2;
}

/* External SVG image presentation for spreads */
.spread-svg-img{
    width: 24px; /* ~80% smaller than original 120px */
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform .28s ease;
}
.spread-card:hover .spread-svg-img{ transform: scale(1.05); }

@media (max-width: 991.98px){
    .spread-svg-img{ width: 20px; }
}
@media (max-width: 575.98px){
    .spread-svg-img{ width: 18px; }
}

.spread-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.spread-desc {
    font-size: 15px;
    color: var(--text-black);
    line-height: 1.6;
    margin-bottom: 20px;
}

.spread-link {
    color: var(--primary-blue-dark);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.spread-link:hover {
    color: var(--primary-blue-hover);
    transform: translateX(5px);
}

/* ========== ABOUT SECTION ========== */
.ia-about {
    padding: 100px 0;
    background: linear-gradient(180deg, #0e0a1f 0%, #171233 55%, #1b1640 100%);
    color: #fff;
}

.ia-about .ia-eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.ia-about h2 {
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.ia-about .ia-muted {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

.ia-checks {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.ia-checks li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.ia-checks i {
    color: #9aa0ff;
    margin-right: 10px;
}

.ia-figure {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.ia-figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 5 / 7;
    object-fit: cover;
}

.ia-arcane {
    position: absolute;
    left: -18px;
    top: 30%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(212, 20, 90, 0.95), rgba(0, 0, 255, 0.90));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.ia-arcane--b {
    left: auto;
    right: -18px;
    bottom: 18%;
    top: auto;
    background: linear-gradient(135deg, rgba(0, 0, 255, 0.95), rgba(212, 20, 90, 0.90));
}

/* ========== PAGE BANNERS ========== */
.page__title-area {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.page__title-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, var(--primary-blue-dark), var(--primary-blue-light), #1e40af, #3b82f6, var(--primary-red-hover), #af1e2c, #7c008f, var(--primary-blue-dark), var(--primary-blue-light));
    background-size: 800% 800%;
    animation: moveGradient 140s ease infinite;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

.page__title-area .container {
    position: relative;
    z-index: 2;
}

.page__title-content h2 {
    color: white;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page__title-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

/* Center-align banner text and breadcrumbs */
.page__title-content{
    text-align: center;
}
.page__title-content .breadcrumb{
    justify-content: center;
    background: transparent;
    margin-bottom: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .feature-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .price__item.active {
        transform: scale(1.02);
    }
}

@media (max-width: 992px) {
    .globe-container {
        margin-bottom: 40px;
        width: 280px;
        height: 280px;
    }

    .cta__area h1 {
        font-size: 36px !important;
    }

    .ia-about h2 {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn, .z-btn {
        width: 100%;
    }

    .features-section {
        padding: 80px 20px;
        margin-top: -50px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .feature-card:nth-child(3) {
        max-width: 100%;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-description {
        font-size: 13px;
    }

    .globe-container {
        width: 240px;
        height: 240px;
    }

    .price__item {
        margin-bottom: 20px;
    }

    .price__item.active {
        transform: scale(1);
    }

    .cta__area {
        padding: 100px 0 !important;
    }

    .cta__area h1 {
        font-size: 28px !important;
    }

    .team__item {
        margin-bottom: 20px;
    }

    .page__title-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-description {
        font-size: 14px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .price__inner {
        padding: 30px 20px !important;
    }

    .price__tag h1 {
        font-size: 36px !important;
    }

    .cta__area h1 {
        font-size: 24px !important;
    }

    .page__title-content h2 {
        font-size: 28px;
    }
}

/* ========== UTILITIES ========== */
.grey-bg {
    background: var(--bg-light);
}

.white-bg {
    background: var(--bg-white);
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.pt-100 {
    padding-top: 100px;
}

.pb-80 {
    padding-bottom: 80px;
}

.pb-90 {
    padding-bottom: 90px;
}

.pt-110 {
    padding-top: 110px;
}

.pt-115 {
    padding-top: 115px;
}

.pb-75 {
    padding-bottom: 75px;
}

.text-center {
    text-align: center;
}

.ia-subtle {
    color: var(--text-black);
    opacity: 0.8;
}

/* Globe section polish */
.ia-network .section__title p{ max-width:800px; margin:10px auto 0; }
.globe-container{ position:relative; width:320px; max-width:100%; height:auto; margin:0 auto; }
.globe{ width:100%; aspect-ratio:1/1; border-radius:50%; overflow:hidden;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #e8e5ff 40%, #cfcaff 62%, #b7afff 78%, #a79bff 100%);
  box-shadow: inset -24px -30px 60px rgba(0,0,0,.15), 0 24px 48px rgba(0,0,0,.18);
}
.orbit{ position:absolute; inset:0; border-radius:50%; border:1px dashed rgba(255,255,255,.25); pointer-events:none; }
.orbit-1{ transform: scale(1.05); }
.orbit-2{ transform: scale(1.18); }
.orbit-3{ transform: scale(1.32); }
.pulse-dot{ position:absolute; width:12px; height:12px; border-radius:50%;
  background: var(--ia-violet); box-shadow: 0 0 0 8px rgba(107,91,255,.20), 0 0 18px rgba(107,91,255,.5);
  animation: ia-pulse 2.2s ease-in-out infinite;
}
@keyframes ia-pulse{ 0%,100%{ transform:scale(1); opacity:.95; } 50%{ transform:scale(1.35); opacity:.6; } }

.connection-steps{ display:flex; flex-direction:column; gap:22px; }
.connection-step{ display:flex; gap:14px; align-items:flex-start; }
.connection-step .icon{ width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background: rgba(107,91,255,.12); color: var(--ia-violet); font-size:20px; flex:0 0 46px; }
.connection-step h4{ margin:0 0 4px; font-size:18px; color:var(--ia-ink); }
.connection-step p{ margin:0; color:var(--ia-muted); line-height:1.6; }

/* Testimonials – consistent look + owl nav */
.ia-testimonials .owl-carousel .ia-testimonial{
  background:#fff; border:1px solid #eee; border-radius:16px; padding:24px; box-shadow: var(--ia-elev-1);
}
.ia-testimonials .ia-testimonial p{ color:var(--ia-ink); font-size:16px; line-height:1.7; }
.ia-testimonials .author{ display:flex; align-items:center; gap:10px; margin-top:12px; color:var(--ia-muted); }
.ia-t-nav{ position:absolute; inset:0; pointer-events:none; display:flex; justify-content:space-between; align-items:center; }
.ia-t-prev, .ia-t-next{
  pointer-events:auto; width:44px; height:44px; border-radius:50%; border:none; 
  background:#fff; box-shadow: var(--ia-elev-1); display:flex; align-items:center; justify-content:center;
  transition:transform .2s ease;
}
.ia-t-prev:hover, .ia-t-next:hover{ transform: translateY(-2px); }


/* ===== IA Theme: corporate x tarot ===== */
:root{
  --ia-ink:#1f1841; --ia-muted:#6b6a78;
  --ia-violet:#6f64c9; --ia-violet-2:#8a7cf1;
  --ia-rose:#e18bc3; --ia-rose-2:#ff7ea5;
  --ia-blue:#0066ff; --ia-bg:#ffffff;
}

/* Global typography polish */
.section__title h2{letter-spacing:.2px}
.section__title p{color:var(--ia-muted)}

/* Hover micro-interactions */
.lift{transition:transform .22s ease, box-shadow .22s ease}
.lift:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,0,0,.12)}

/* Line buttons */
.ia-btn-line{position:relative;font-weight:700}
.ia-btn-line:after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:linear-gradient(90deg,var(--ia-blue),var(--ia-violet));opacity:.65;transition:opacity .2s}
.ia-btn-line:hover:after{opacity:1}

/* Red scroll accent (thin, elegant) */
#ia-scrollline{position:fixed;left:0;top:0;width:3px;height:0;background:linear-gradient(180deg,#ff5a7a,#ff8aa3);
z-index:9999;border-radius:0 0 3px 3px;box-shadow:0 2px 10px rgba(255,90,122,.35)}

/* Glass cards */
.ia-glass{background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.08));
border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(6px);}

/* Chips */
.ia-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1px solid #eee;background:#fff}
.ia-chip .dot{width:8px;height:8px;border-radius:50%}
.ia-chip .dot.violet{background:var(--ia-violet)}
.ia-chip .dot.rose{background:var(--ia-rose)}
.ia-chip .dot.blue{background:var(--ia-blue)}

/* Tarot card tile (for Insights & promos) */
.tarot-tile{position:relative;border-radius:14px;border:1px solid #eee;padding:18px;text-align:center;cursor:pointer;overflow:hidden}
.tarot-tile .img{height:160px;display:flex;align-items:center;justify-content:center}
.tarot-tile img{max-height:100%;transition:transform .25s ease}
.tarot-tile:hover img{transform:translateY(-4px)}
.tarot-tile h5{margin-top:10px}
.tarot-tile .hint{position:absolute;right:10px;bottom:10px;opacity:.6}

/* Deck animation (Get Started, right column) */
.deck-anim{position:relative;height:240px;perspective:1000px}
.deck-anim .card{position:absolute;left:50%;top:50%;width:140px;height:200px;transform:translate(-50%,-50%) rotate(0deg);
border-radius:10px;border:1px solid #eee;background:#fff;background-size:cover;box-shadow:0 12px 30px rgba(0,0,0,.12);animation:fan 7s ease-in-out infinite}
.deck-anim .card:nth-child(1){animation-delay:0s}
.deck-anim .card:nth-child(2){animation-delay:.3s}
.deck-anim .card:nth-child(3){animation-delay:.6s}
@keyframes fan{
  0%,100%{transform:translate(-50%,-50%) rotate(0deg)}
  25%{transform:translate(calc(-50% - 40px),-50%) rotate(-12deg)}
  50%{transform:translate(-50%,-50%) rotate(0deg)}
  75%{transform:translate(calc(-50% + 40px),-50%) rotate(12deg)}
}

/* Testimonials carousel polish */
.ia-testimonial{background:#fff;border:1px solid #eee;border-radius:16px;padding:22px}
.ia-testimonial .author{display:flex;align-items:center;gap:10px;margin-top:12px;font-weight:600;opacity:.85}
.ia-t-nav button{width:44px;height:44px;border-radius:12px;border:1px solid #eee;background:#fff}

:root{
  --ia-ink:#1f1841; --ia-muted:#6b6a78;
  --ia-blue:#0066ff; --ia-violet:#6f64c9; --ia-violet-2:#8a7cf1;
  --ia-rose:#e18bc3; --ia-rose-2:#ff7ea5;
}
.section__title h2{letter-spacing:.2px}
.section__title p{color:var(--ia-muted)}
#ia-scrollline{position:fixed;left:0;top:0;width:3px;height:0;background:linear-gradient(180deg,#ff5a7a,#ff8aa3);
z-index:9999;border-radius:0 0 3px 3px;box-shadow:0 2px 10px rgba(255,90,122,.35)}
.lift{transition:transform .22s ease, box-shadow .22s ease}
.lift:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,0,0,.12)}
.tilt{will-change:transform}
.ia-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;border:1px solid #eee;background:#fff}
.ia-chip .dot{width:8px;height:8px;border-radius:50%}
.ia-chip .dot.violet{background:var(--ia-violet)} .ia-chip .dot.rose{background:var(--ia-rose)} .ia-chip .dot.blue{background:var(--ia-blue)}
.ia-glass{background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(6px)}
.tarot-tile{position:relative;border-radius:14px;border:1px solid #eee;padding:18px;text-align:center;cursor:pointer;overflow:hidden;background:#fff}
.tarot-tile .img{height:160px;display:flex;align-items:center;justify-content:center}
.tarot-tile img{max-height:100%;transition:transform .25s ease}
.tarot-tile:hover img{transform:translateY(-4px)}
.tarot-tile h5{margin-top:10px}
.tarot-tile .hint{position:absolute;right:10px;bottom:10px;opacity:.6}
.deck-anim{position:relative;height:240px;perspective:1000px}
.deck-anim .card{position:absolute;left:50%;top:50%;width:140px;height:200px;transform:translate(-50%,-50%) rotate(0deg);
border-radius:10px;border:1px solid #eee;background:#fff;background-size:cover;background-position:center;
box-shadow:0 12px 30px rgba(0,0,0,.12);animation:fan 7s ease-in-out infinite}
.deck-anim .card:nth-child(2){animation-delay:.3s} .deck-anim .card:nth-child(3){animation-delay:.6s}
@keyframes fan{
  0%,100%{transform:translate(-50%,-50%) rotate(0deg)}
  25%{transform:translate(calc(-50% - 40px),-50%) rotate(-12deg)}
  50%{transform:translate(-50%,-50%) rotate(0deg)}
  75%{transform:translate(calc(-50% + 40px),-50%) rotate(12deg)}
}
.ia-testimonial{background:#fff;border:1px solid #eee;border-radius:16px;padding:22px}
.ia-testimonial .author{display:flex;align-items:center;gap:10px;margin-top:12px;font-weight:600;opacity:.85}
.ia-t-nav{position:absolute;top:-62px;right:0;display:flex;gap:10px}
.ia-t-nav button{width:44px;height:44px;border-radius:12px;border:1px solid #eee;background:#fff}

/* === Brand gradient (logo) === */
:root{
  --ia-brand-red:#D4145A;
  --ia-brand-blue:#0000FF;
}

/* CTA overlays (choose one per CTA section) */
.cta__area.cta--whitefade[data-background]::before{
  /* from transparent to white – no purple wash */
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 85%);
}

.cta__area.cta--brand[data-background]::before{
  /* red→blue brand gradient wash */
  background: linear-gradient(135deg, rgba(212,20,90,.82), rgba(0,0,255,.70));
}

/* === IA BUTTONS (clean + subtle) === */
.z-btn, .z-btn-brand, .z-btn-outline{
  --fade-bg: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 100%);
  --stroke: linear-gradient(90deg, var(--brand-rose), var(--brand-blue));
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none; color: #131022;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease;
  isolation: isolate;
}

.z-btn-brand{
  background: transparent;
  border: 2px solid transparent;
  /* gradient stroke */
  background-image: var(--fade-bg), var(--stroke);
  background-origin: border-box;
  background-clip: padding-box, border-box; /* inner fade, outer stroke */
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
}
.z-btn-brand:hover{ transform: translateY(-2px); }

.z-btn-outline{
  border: 2px solid rgba(255,255,255,.55);
  color: #fff;
  background: linear-gradient(to bottom, rgba(255,255,255,.05), rgba(255,255,255,.12));
  backdrop-filter: blur(6px);
}
.z-btn-outline:hover{
  border-color: rgba(255,255,255,.9);
  background: linear-gradient(to bottom, rgba(255,255,255,.12), rgba(255,255,255,.24));
}

/* White CTA on dark images */
.cta--whitefade{
  position: relative; color:#fff; background: none;
}
.cta--whitefade::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(255,255,255,.0), rgba(255,255,255,.10));
  pointer-events:none;
}
.cta__btn{ display:flex; gap:14px; justify-content:center; margin-top:22px; }


/* === About block polish === */
.ia-about{ padding:100px 0; background:linear-gradient(180deg,#0e0a1f 0%, #171233 55%, #1b1640 100%); color:#fff; }
.ia-about .ia-eyebrow{
  display:inline-block; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  opacity:.75; margin-bottom:10px;
}
.ia-about h2{ font-size:64px; line-height:1.05; letter-spacing:-.01em; margin-bottom:16px; }
@media (max-width:992px){ .ia-about h2{ font-size:44px; } }

.ia-about .ia-muted{ color:rgba(255,255,255,.82); font-size:18px; line-height:1.8; }

.ia-checks{ list-style:none; padding:0; margin:20px 0 0; }
.ia-checks li{ margin-bottom:10px; color:rgba(255,255,255,.9); }
.ia-checks i{ color:#9aa0ff; margin-right:10px; }

/* Figure */
.ia-figure{
  position:relative; border-radius:18px; overflow:hidden; box-shadow:0 24px 60px rgba(0,0,0,.35);
  background: radial-gradient(120% 120% at 0% 0%, rgba(255,255,255,.08), rgba(255,255,255,0));
}
.ia-figure img{ width:100%; height:auto; display:block; aspect-ratio: 5 / 7; object-fit:cover; }

/* Tarot icons around the image */
.ia-arcane{
  position:absolute; left:-18px; top:30%; width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; background: linear-gradient(135deg, rgba(212,20,90,.95), rgba(0,0,255,.90));
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.ia-arcane--b{ left:auto; right:-18px; bottom:18%; top:auto; background: linear-gradient(135deg, rgba(0,0,255,.95), rgba(212,20,90,.90)); }

/* Buttons spacing */
.ia-about .mt-20 .z-btn{ margin-right:12px; margin-top:8px; }

/* On very light themes (if you reuse about on white) */
body.light .ia-about{ background:#fff; color:#1f1841; }
body.light .ia-about .ia-muted{ color:#5b5a67; }

/* === IA GLOBAL SPACING & TYPO === */
:root{
  --pad-1: 32px;
  --pad-2: 56px;
  --pad-3: 96px;
  --pad-4: 140px;
  --brand-rose: #D4145A;
  --brand-blue: #0000FF;
  --ink-900:#1b1634; --ink-600:#5e5b71; --ink-300:#9a98a7;
  --surface:#ffffff;
}

.section-pad{ padding: var(--pad-3) 0; }
.section-pad-lg{ padding: var(--pad-4) 0; }
.section-pad-sm{ padding: var(--pad-2) 0; }

.section__title h2{
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

#hero .hero-content h1{
  font-size: clamp(40px, 6vw, 72px);
}

/* kill accidental negative margins from imported blocks */
[class*="pt-"], [class*="pb-"]{scroll-margin-top: 90px;}

/* ===== IA Spreads (services) ===== */
.ia-spreads .section__title p{ margin-top:8px; }

.spread-card{
  position: relative;
  border-radius: 18px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.92), rgba(255,255,255,.86));
  border: 1px solid #eee;
  padding: 26px 22px 22px;
  height: 100%;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  box-shadow: 0 10px 26px rgba(11, 9, 33, .05);
}
.spread-card::before{
  /* subtle brand line at the top, D4145A -> 0000FF */
  content:"";
  position:absolute; inset:0 0 auto 0; height:3px; border-radius:18px 18px 0 0;
  background: linear-gradient(90deg, #D4145A, #0000FF);
  opacity:.18; transition:opacity .28s ease;
}
.spread-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(11, 9, 33, .10);
  border-color: rgba(212,20,90,.18);
}
.spread-card:hover::before{ opacity:.34; }

.spread-icon{
  display:flex; align-items:center; justify-content:center;
  height:110px; margin-bottom:14px;
}
.spread-svg{ width: 120px; height: 86px; overflow: visible; }

.spread-svg .c{
  fill: url(#cardFill);
  stroke: url(#cardStroke);
  stroke-width: .8;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.06));
  transition: transform .28s ease;
}

/* define fills/strokes with CSS paint via currentColor trick */
.spread-icon{
  --card-light: #f6f4ff;
  --card-mid:   #ecebff;
  --stroke-a:   #D4145A;
  --stroke-b:   #0000FF;
}

/* build the gradients in each SVG using a small CSS-injected <defs> */
.spread-svg::before{ content:""; }

/* Titles & text */
.spread-title{
  font-size: 18px; font-weight: 700; color: #1f1841; margin: 4px 0 6px;
}
.spread-desc{
  margin: 0 0 8px; color: #5e5b71; font-size: 14.5px; line-height: 1.6;
}
.spread-link{
  --stroke: linear-gradient(90deg, #D4145A, #0000FF);
  display: inline-flex; gap:8px; align-items:center;
  font-weight:600; font-size:14px; text-decoration:none; color:#2b2a35;
  position:relative;
}
.spread-link::after{
  content:"";
  height:2px; width:100%; position:absolute; left:0; bottom:-3px;
  background: var(--stroke); transform-origin: left; transform: scaleX(0);
  transition: transform .28s ease;
}
.spread-link:hover::after{ transform: scaleX(1); }

/* Micro motion: cards rise slightly on hover for depth */
.spread-card:hover .spread-svg .c:nth-child(odd){ transform: translateY(-2px); }
.spread-card:hover .spread-svg .c:nth-child(even){ transform: translateY(-1px); }

/* Responsive tweaks */
@media (max-width: 991.98px){
  .spread-icon{ height: 100px; }
}
@media (max-width: 575.98px){
  .spread-title{ font-size: 17px; }
  .spread-desc{ font-size: 14px; }
}

/* Inline SVG defs (inject once per page) */
.ia-spreads:after{
  /* This hidden SVG defines reusable gradients for card faces & strokes */
  content: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='0' height='0' style='position:absolute'>\
    <defs>\
      <linearGradient id='cardFill' x1='0' x2='0' y1='0' y2='1'>\
        <stop offset='0%'  stop-color='%23f6f4ff'/>\
        <stop offset='100%' stop-color='%23ecebff'/>\
      </linearGradient>\
      <linearGradient id='cardStroke' x1='0' x2='1' y1='0' y2='0'>\
        <stop offset='0%'  stop-color='%23D4145A'/>\
        <stop offset='100%' stop-color='%230000FF'/>\
      </linearGradient>\
    </defs>\
  </svg>");
  position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;
}

/* ========== FAQ SECTION ========== */
.faq__area {
    position: relative;
}

.faq__item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.faq__item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.faq__title {
    margin: 0;
}

.faq__btn {
    width: 100%;
    padding: 24px 28px;
    background: white;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.faq__btn:hover {
    color: var(--primary-blue-light);
}

.faq__btn i.far.fa-question-circle {
    color: var(--primary-blue-light);
    font-size: 22px;
    flex-shrink: 0;
}

.faq__icon {
    margin-left: auto;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-light));
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.faq__btn:not(.collapsed) .faq__icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--primary-red-hover), #af1e2c);
}

.faq__body {
    padding: 0 28px 24px 66px;
    color: var(--text-black);
    font-size: 16px;
    line-height: 1.8;
}

.faq__body p {
    margin: 0;
}

@media (max-width: 768px) {
    .faq__btn {
        padding: 20px;
        font-size: 16px;
        gap: 12px;
    }
    
    .faq__btn i.far.fa-question-circle {
        font-size: 18px;
    }
    
    .faq__icon {
        width: 28px;
        height: 28px;
    }
    
    .faq__body {
        padding: 0 20px 20px 50px;
        font-size: 15px;
    }
}

/* ========== TAROT CARDS (INSIGHTS PAGE) ========== */
.tarot-card {
    background: transparent;
    border-radius: 16px;
    cursor: pointer;
    height: 300px;
    width: 200px;
    margin: 0 auto 40px;
    perspective: 1000px;
    position: relative;
}

.tarot-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.tarot-card:hover .tarot-card-inner {
    transform: rotateY(180deg);
}

.tarot-card-front, .tarot-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tarot-card-back {
    background: transparent;
}

.tarot-card-front {
    transform: rotateY(180deg);
    background: transparent;
}

.tarot-card__image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tarot-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.tarot-card-name {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-black);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modal Styles */
.tarot-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.tarot-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: var(--shadow-2xl);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.tarot-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.tarot-modal-close:hover {
    color: var(--primary-blue-dark);
}

.tarot-modal-card {
    text-align: center;
    margin-bottom: 20px;
}

.tarot-modal-card img {
    width: 150px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.tarot-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-black);
    margin: 15px 0 10px;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tarot-modal-meaning {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    text-align: left;
}

.tarot-modal-keywords {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.tarot-modal-keywords h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tarot-modal-keywords p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.major-arcana-grid,
.suit-grid {
    margin-top: 30px;
}

/* Modal close button styling (legible by default) */
#ia-card-close {
    background: rgba(255,255,255,0.9);
    color: #111 !important;
    border: 1px solid #e5e7eb;
}
#ia-card-close:hover {
    background: #ffffff;
    color: var(--primary-blue-dark) !important;
}

@media (max-width: 768px) {
    .tarot-card {
        height: 250px;
        width: 170px;
        margin: 0 auto 35px;
    }
    
    .tarot-card-name {
        font-size: 14px;
        bottom: -30px;
    }
    
    .tarot-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .tarot-modal-card img {
        width: 120px;
    }
    
    .tarot-modal-title {
        font-size: 20px;
    }
}

/* ========== FOOTER FIXES - GLOBAL ========== */
/* Remove underline from footer links */
.footer__links a {
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--primary-blue-dark);
}

/* Ensure animated underline sits below the text and uses brand blue */
/* Replace clipping ::before underline with proper text underline on hover */
/* Cover both base and nested selectors to override inline page CSS */
.footer__links a,
.footer__links-2 a,
.footer__links ul li a,
.footer__links-2 ul li a {
    display: inline-block;
    text-decoration: none !important;
}

.footer__links a::before,
.footer__links-2 a::before,
.footer__links ul li a::before,
.footer__links-2 ul li a::before {
    content: none !important;
}

.footer__links a:hover,
.footer__links-2 a:hover,
.footer__links ul li a:hover,
.footer__links-2 ul li a:hover {
    color: var(--primary-blue-dark) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--primary-blue-dark) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px !important; /* sits below descenders */
}

/* Fix social icons visibility - no boxes, just icons */
.footer__social ul li {
    display: inline-block;
    margin-right: 15px;
}

.footer__social a,
.footer__social-2 a,
.theme-social a,
.footer__social ul li a,
.footer__social-2 ul li a,
.theme-social ul li a {
    position: relative;
    display: inline-block;
    background-color: transparent !important;
    border: none !important;
    transition: all 0.3s ease;
}

.footer__social a i,
.footer__social-2 a i,
.theme-social a i,
.footer__social ul li a i,
.footer__social-2 ul li a i,
.theme-social ul li a i {
    color: #ffffff !important; /* white icon by default */
    font-size: 18px !important;
    line-height: 1 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.footer__social a:hover i,
.footer__social-2 a:hover i,
.theme-social a:hover i,
.footer__social ul li a:hover i,
.footer__social-2 ul li a:hover i,
.theme-social ul li a:hover i {
    color: var(--primary-blue-dark) !important; /* blue icon on hover */
    transform: scale(1.1) !important; /* slight scale on hover */
}

/* Make social icons clearly visible and on-brand, including on dark footers */
.black-bg .footer__social a,
.black-bg .footer__social-2 a,
.black-bg .theme-social a,
.black-bg .footer__social ul li a,
.black-bg .footer__social-2 ul li a,
.black-bg .theme-social ul li a {
    background-color: transparent !important;
    border: none !important;
}

.black-bg .footer__social a i,
.black-bg .footer__social-2 a i,
.black-bg .theme-social a i,
.black-bg .footer__social ul li a i,
.black-bg .footer__social-2 ul li a i,
.black-bg .theme-social ul li a i {
    color: #ffffff !important; /* white icon by default on dark bg */
    font-size: 18px !important;
}

.black-bg .footer__social a:hover i,
.black-bg .footer__social-2 a:hover i,
.black-bg .theme-social a:hover i,
.black-bg .footer__social ul li a:hover i,
.black-bg .footer__social-2 ul li a:hover i,
.black-bg .theme-social ul li a:hover i {
    color: var(--primary-blue-light) !important; /* blue icon on hover on dark bg */
    transform: scale(1.1) !important;
}

/* Better footer logo styling */
.footer__widget-title .logo {
    margin-bottom: 20px;
}

.footer__widget-title .logo img {
    max-height: 120px !important;
    height: auto;
    width: auto;
    display: block;
}

.footer__widget-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
}

/* Sidebar menu button color - blue not pink */
.sidebar-toggle-btn .line {
    background-color: var(--primary-blue-dark) !important;
}

.sidebar-toggle-btn:hover .line {
    background-color: var(--primary-blue-light) !important;
}

/* Fix Get Started button visibility - always show on desktop */
.header__btn {
    display: block !important;
}

@media (max-width: 991px) {
    .header__btn {
        display: none !important;
    }
}

/* ========== HEADER BUTTON COLOR FIXES (sticky + hover) ========== */
/* Keep the CTA blue when header becomes sticky, and ensure it doesn't vanish on hover */
.header__bottom.sticky .header__btn a,
.header__bottom.sticky .header__btn .z-btn,
.header__bottom.sticky .header__btn .z-btn-white {
    background-color: var(--primary-blue-dark) !important;
    border-color: var(--primary-blue-dark) !important;
    color: #ffffff !important;
}

.header__bottom.sticky .header__btn a:hover,
.header__bottom.sticky .header__btn .z-btn:hover,
.header__bottom.sticky .header__btn .z-btn-white:hover,
.header__bottom.sticky .header__btn a:focus {
    background-color: var(--primary-blue-light) !important;
    border-color: var(--primary-blue-light) !important;
    color: #ffffff !important;
}

/* Safety: prevent hover disappearance in non-sticky state as well */
.header__btn a:hover,
.header__btn .z-btn:hover,
.header__btn .z-btn-white:hover,
.header__btn a:focus {
    background-color: var(--primary-blue-light) !important;
    border-color: var(--primary-blue-light) !important;
    color: #ffffff !important;
}

