/* 
 * XYZ Agency - Premium Futuristic Style Sheet
 * Strict compliance with colors: #F5EFFF, #E5D9F2, #CDC1FF, #A294F9
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* Color Variables */
:root {
    --color-bg-base: #F5EFFF;
    --color-bg-light: #FBF9FF;
    --color-bg-lavender: #E5D9F2;
    --color-accent-soft: #CDC1FF;
    --color-accent-brand: #A294F9;

    /* Strict RGB representations for glassmorphism / transparency */
    --color-bg-base-rgb: 245, 239, 255;
    --color-bg-lavender-rgb: 229, 217, 242;
    --color-accent-soft-rgb: 205, 193, 255;
    --color-accent-brand-rgb: 162, 148, 249;

    /* High contrast text color for readability (lavender-based deep ink charcoal) */
    --color-text-main: #0F0A1E;
    --color-text-muted: #534C68;
    --color-text-white: #FFFFFF;

    /* Font Families */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Manrope', sans-serif;

    /* Shadows & Transitions */
    --shadow-premium: 0 12px 40px -10px rgba(162, 148, 249, 0.15);
    --shadow-glow: 0 8px 32px 0 rgba(162, 148, 249, 0.25);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background: radial-gradient(120% 120% at 50% 0%, var(--color-bg-light) 40%, var(--color-bg-lavender) 80%, var(--color-accent-soft) 100%);
    min-height: 100vh;
    position: relative;
}

/* Abstract Background Animated Blobs */
.bg-blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.55;
    mix-blend-mode: multiply;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.bg-blob-1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent-brand);
    top: -200px;
    right: -100px;
    animation-duration: 25s;
}

.bg-blob-2 {
    width: 500px;
    height: 500px;
    background: var(--color-accent-soft);
    top: 600px;
    left: -150px;
    animation-duration: 18s;
    animation-delay: 2s;
}

.bg-blob-3 {
    width: 700px;
    height: 700px;
    background: var(--color-bg-lavender);
    bottom: -100px;
    right: 10%;
    animation-duration: 30s;
    animation-delay: 5s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(60px, -50px) scale(1.1) rotate(120deg);
    }

    66% {
        transform: translate(-40px, 80px) scale(0.9) rotate(240deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

/* Typography Custom Rules */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 600;
}

p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Global Grid Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}

/* Glassmorphism Styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(205, 193, 255, 0.4);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(162, 148, 249, 0.5);
    box-shadow: var(--shadow-glow);
    transform: translateY(-6px);
}

.glass-panel-dark {
    background: rgba(15, 10, 30, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(162, 148, 249, 0.25);
    border-radius: 24px;
    color: var(--color-text-white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

/* Navigation Menu */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
}

.navbar-wrapper.scrolled {
    padding: 0.6rem 0;
}

.navbar-glass {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(205, 193, 255, 0.3);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(162, 148, 249, 0.05);
    transition: var(--transition-smooth);
}

.navbar-wrapper.scrolled .navbar-glass {
    background: rgba(245, 239, 255, 0.8);
    border-color: rgba(162, 148, 249, 0.25);
    box-shadow: var(--shadow-premium);
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.04em;
}

.nav-brand span {
    color: var(--color-accent-brand);
    position: relative;
}

.nav-brand span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent-brand);
    border-radius: 2px;
    opacity: 0.3;
}

/* Logo Image — Navbar & Footer */
.nav-logo-img {
    height: auto;
    width: 180px;
    display: block;
    object-fit: contain;
    transition: opacity 0.25s ease, transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(162, 148, 249, 0.18));
}

.nav-logo-img:hover {
    opacity: 0.85;
    transform: scale(1.04);
}

.footer-logo-img {
    height: auto;
    width: 220px;
    opacity: 0.92;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.98rem;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent-brand);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-brand);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Call to action & interactive buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-brand) 0%, var(--color-accent-soft) 100%);
    color: var(--color-text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent-soft) 0%, var(--color-accent-brand) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 12px 36px 0 rgba(162, 148, 249, 0.4);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--color-accent-soft);
    color: var(--color-text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--color-accent-brand);
    color: var(--color-accent-brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

.btn-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.btn-hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-fast);
}

/* Mobile responsive menu */
@media (max-width: 768px) {
    .btn-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(245, 239, 255, 0.95);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(162, 148, 249, 0.1);
        border-left: 1px solid var(--color-accent-soft);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-btn-hide {
        display: none;
    }
}

/* Section Layouts */
section {
    padding: 8rem 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-brand);
    background: rgba(162, 148, 249, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(162, 148, 249, 0.2);
}

.section-title-wrap {
    margin-bottom: 4rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Scroll Reveal Engine States */
.reveal {
    opacity: 1;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Specifics */
.hero-sec {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-muted);
    font-weight: 400;
    max-width: 550px;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
}

.hero-image-glass {
    position: relative;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.hero-image-glass img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}

/* Decorative grid design dot matrices */
.dot-matrix {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--color-accent-soft) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.6;
    z-index: -1;
}

.dot-matrix-1 {
    top: -30px;
    left: -30px;
}

.dot-matrix-2 {
    bottom: -30px;
    right: -30px;
}

/* Feature & Service Card Architectures */
.service-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(162, 148, 249, 0.1);
    border: 1px solid rgba(162, 148, 249, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-accent-brand);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon {
    background: var(--color-accent-brand);
    color: var(--color-text-white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-brand);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card-link i {
    transition: var(--transition-fast);
}

.service-card:hover .service-card-link i {
    transform: translateX(5px);
}

/* Stats Dashboard Components */
.stats-wrap {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.stats-number {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-accent-brand);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-accent-brand) 30%, var(--color-accent-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.stats-desc {
    font-size: 0.88rem;
}

/* Stepped design processes */
.process-timeline {
    position: relative;
    padding-left: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(180deg, var(--color-accent-brand) 0%, var(--color-bg-lavender) 100%);
    border-radius: 4px;
}

.process-step {
    position: relative;
    margin-bottom: 3.5rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step-node {
    position: absolute;
    left: -48px;
    top: 5px;
    width: 32px;
    height: 32px;
    background: var(--color-bg-base);
    border: 3px solid var(--color-accent-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-brand);
    box-shadow: 0 0 15px rgba(162, 148, 249, 0.2);
    z-index: 2;
}

.process-step-node-active {
    background: var(--color-accent-brand);
    color: var(--color-text-white);
}

.process-step-content {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(205, 193, 255, 0.3);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.process-step-content h3 {
    margin-bottom: 0.8rem;
}

/* Accordion FAQs elements */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(205, 193, 255, 0.4);
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--color-accent-brand);
    box-shadow: var(--shadow-premium);
}

.faq-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    user-select: none;
}

.faq-header i {
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--color-accent-brand);
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq-content-inner {
    padding: 0 2rem 1.8rem 2rem;
    font-size: 0.98rem;
    color: var(--color-text-muted);
}

/* Testimonial sliders/carousel elements */
.testimonial-card {
    padding: 3rem;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-accent-soft);
    opacity: 0.4;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    color: #FBBF24;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-accent-soft);
    background-size: cover;
    background-position: center;
    border: 2px solid var(--color-accent-brand);
}

.author-name {
    font-weight: 700;
    font-size: 1rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Call To Action Glass Cards */
.cta-banner {
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
}

/* Footer layout */
.footer-wrap {
    background: rgba(15, 10, 30, 0.05);
    border-top: 1px solid var(--color-accent-soft);
    padding: 6rem 0 3rem 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--color-text-main);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--color-accent-brand);
    transform: translateX(4px);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--color-accent-soft);
    border-radius: 30px;
    padding: 4px;
}

.newsletter-input {
    border: none;
    background: transparent;
    padding: 0.7rem 1.2rem;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-btn {
    background: var(--color-accent-brand);
    border: none;
    color: var(--color-text-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--color-accent-brand) 0%, var(--color-accent-soft) 100%);
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(205, 193, 255, 0.3);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.social-circle:hover {
    background: var(--color-accent-brand);
    color: var(--color-text-white);
    border-color: var(--color-accent-brand);
    transform: translateY(-3px);
}

/* Contact Hub & Form Layouts */
.contact-form-glass {
    padding: 3.5rem 3rem;
}

.input-float {
    position: relative;
    margin-bottom: 2.2rem;
}

.input-float input,
.input-float textarea {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border-radius: 16px;
    border: 1px solid rgba(205, 193, 255, 0.5);
    background: rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--color-text-main);
    outline: none;
    transition: var(--transition-fast);
}

.input-float textarea {
    min-height: 150px;
    resize: vertical;
}

.input-float input:focus,
.input-float textarea:focus {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--color-accent-brand);
    box-shadow: 0 0 0 4px rgba(162, 148, 249, 0.15);
}

.input-float label {
    position: absolute;
    left: 1.4rem;
    top: 1.1rem;
    font-size: 0.98rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-float input:focus~label,
.input-float input:not(:placeholder-shown)~label,
.input-float textarea:focus~label,
.input-float textarea:not(:placeholder-shown)~label {
    top: -12px;
    left: 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-accent-brand);
    background: var(--color-bg-base);
    padding: 0 0.4rem;
    border-radius: 4px;
}

.contact-info-card {
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(162, 148, 249, 0.1);
    border: 1px solid rgba(162, 148, 249, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-accent-brand);
    flex-shrink: 0;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--color-accent-brand);
    color: var(--color-text-white);
}

/* Details subpage layouts (service features matrices) */
.inner-hero {
    padding: 10rem 0 5rem 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(229, 217, 242, 0.4) 0%, transparent 100%);
    border-bottom: 1px solid rgba(205, 193, 255, 0.2);
}

.feature-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent-brand);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(162, 148, 249, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}

/* Service Detail Process Flow Node grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem 1.5rem;
}

.process-grid-card {
    padding: 3rem 2rem 2.5rem 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.process-grid-step {
    position: relative; /* Positioned inside the box */
    margin: 0 auto 1.5rem auto; /* Centered with spacing below */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent-brand);
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
}

.process-grid-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.15rem; /* Sized down to fit beautifully on all screens */
    font-weight: 600;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
}

.process-grid-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1; /* Stretches the paragraph to make all box sizes exactly uniform */
}

/* Policy Content Layout */
.policy-page {
    padding-top: 10rem;
    padding-bottom: 8rem;
}

.policy-card {
    padding: 4rem 3.5rem;
}

@media (max-width: 768px) {
    .policy-card {
        padding: 2.5rem 1.5rem;
    }
}

.policy-card h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    border-bottom: 2px solid rgba(205, 193, 255, 0.3);
    padding-bottom: 0.5rem;
}

.policy-card p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    text-align: left;
}

.policy-card ul {
    margin-left: 2rem;
    margin-bottom: 1.8rem;
    list-style-type: square;
    color: var(--color-text-muted);
}

.policy-card ul li {
    margin-bottom: 0.6rem;
    font-size: 1.02rem;
}

.trust-callout {
    background: rgba(162, 148, 249, 0.05);
    border-left: 4px solid var(--color-accent-brand);
    border-radius: 0 16px 16px 0;
    padding: 2rem;
    margin: 2.5rem 0;
}

.trust-callout h4 {
    margin-bottom: 0.5rem;
    color: var(--color-accent-brand);
    font-size: 1.15rem;
}

/* Dynamic Interactive Dials & Rings (Speech AI and Performance) */
.voice-waves {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 120px;
    margin-top: 2rem;
}

.voice-wave-bar {
    width: 6px;
    height: 10px;
    background: linear-gradient(180deg, var(--color-accent-brand) 0%, var(--color-accent-soft) 100%);
    border-radius: 4px;
    animation: bounceWave 1.2s infinite alternate ease-in-out;
}

.voice-wave-bar:nth-child(2) {
    height: 40px;
    animation-delay: 0.2s;
}

.voice-wave-bar:nth-child(3) {
    height: 80px;
    animation-delay: 0.4s;
}

.voice-wave-bar:nth-child(4) {
    height: 100px;
    animation-delay: 0.6s;
}

.voice-wave-bar:nth-child(5) {
    height: 50px;
    animation-delay: 0.8s;
}

.voice-wave-bar:nth-child(6) {
    height: 20px;
    animation-delay: 1.0s;
}

@keyframes bounceWave {
    0% {
        transform: scaleY(0.2);
    }

    100% {
        transform: scaleY(1);
    }
}

/* Map placeholder */
.futuristic-map {
    height: 350px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-accent-soft);
    background: linear-gradient(135deg, var(--color-bg-lavender) 0%, var(--color-bg-base) 100%);
}

.map-matrix {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--color-accent-soft) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.map-glow-pin {
    position: absolute;
    top: 45%;
    left: 60%;
    width: 20px;
    height: 20px;
    background: var(--color-accent-brand);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(162, 148, 249, 0.3), 0 0 0 20px rgba(162, 148, 249, 0.15);
    animation: pulsePin 2s infinite ease-out;
}

@keyframes pulsePin {
    0% {
        box-shadow: 0 0 0 0px rgba(162, 148, 249, 0.4), 0 0 0 10px rgba(162, 148, 249, 0.2);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(162, 148, 249, 0), 0 0 0 30px rgba(162, 148, 249, 0);
    }
}

.map-label {
    position: absolute;
    top: calc(45% - 50px);
    left: calc(60% - 60px);
    background: rgba(15, 10, 30, 0.85);
    color: var(--color-text-white);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    border: 1px solid var(--color-accent-brand);
    white-space: nowrap;
}

/* ==========================================================================
   XYZ Symmetrical Premium Services Deck Section & Cards styling
   ========================================================================== */
.services-deck {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 2rem;
    justify-content: center;
    /* Center the last row cards beautifully! */
    margin-bottom: 5rem;
}

.services-deck .service-card-wrapper {
    flex: 0 1 calc(33.333% - 1.35rem);
    min-width: 280px;
    max-width: 400px;
    display: flex;
}

.service-card-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(var(--service-accent-rgba), 0.35);
    border-radius: 24px;
    box-shadow: 0 12px 40px -10px rgba(var(--service-accent-rgba), 0.12);
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card hover glow and shift */
.service-card-premium:hover {
    border-color: rgba(var(--service-accent-rgba), 0.8);
    box-shadow: 0 20px 48px -10px rgba(var(--service-accent-rgba), 0.35),
        0 0 24px 0 rgba(var(--service-accent-rgba), 0.15);
    transform: translateY(-8px);
}

/* Glassmorphic border light leak */
.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--service-accent-rgba), 0.08), transparent 40%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card-premium:hover::before {
    opacity: 1;
}

/* Dynamic Accent Icons */
.service-card-premium .service-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(var(--service-accent-rgba), 0.1);
    border: 1px solid rgba(var(--service-accent-rgba), 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--service-accent);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card-premium:hover .service-icon-wrap {
    background: var(--service-accent);
    color: var(--color-text-white);
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 8px 24px rgba(var(--service-accent-rgba), 0.4);
}

/* Futuristic Monospace Protocol Indicator */
.service-card-premium .protocol-label {
    position: absolute;
    top: 2.2rem;
    right: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(var(--service-accent-rgba), 0.75);
    letter-spacing: 0.15em;
    user-select: none;
    z-index: 1;
}

.service-card-premium:hover .protocol-label {
    color: var(--service-accent);
    text-shadow: 0 0 8px rgba(var(--service-accent-rgba), 0.4);
}

/* Typography elements */
.service-card-premium h2,
.service-card-premium h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    letter-spacing: -0.010em;
    z-index: 1;
}

/* High-tech tags section */
.service-card-premium .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.service-card-premium .tech-tags span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    background: rgba(var(--service-accent-rgba), 0.08);
    border: 1px solid rgba(var(--service-accent-rgba), 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.service-card-premium:hover .tech-tags span {
    color: var(--service-accent);
    background: rgba(var(--service-accent-rgba), 0.12);
    border-color: rgba(var(--service-accent-rgba), 0.3);
}

.service-card-premium p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
    z-index: 1;
}

.service-card-premium .service-card-link {
    margin-top: auto;
    z-index: 1;
}

@media (max-width: 1024px) {
    .services-deck .service-card-wrapper {
        flex: 0 1 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .services-deck .service-card-wrapper {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   CONTACT PAGE — Full Premium Redesign
   ========================================================================== */

/* ── Contact Hero ─────────────────────────────────────────────────────────── */
.contact-hero {
    padding: 11rem 0 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(229, 217, 242, 0.5) 0%, transparent 100%);
    border-bottom: 1px solid rgba(205, 193, 255, 0.2);
}

.contact-hero-inner {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    margin: 1rem 0 1.5rem 0;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
}

.contact-hero-accent {
    background: linear-gradient(135deg, var(--color-accent-brand) 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.contact-hero-sub {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

.contact-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(162, 148, 249, 0.3);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-main);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(162, 148, 249, 0.08);
    transition: var(--transition-smooth);
}

.trust-pill i {
    color: var(--color-accent-brand);
    font-size: 1rem;
}

.trust-pill:hover {
    background: rgba(162, 148, 249, 0.12);
    border-color: var(--color-accent-brand);
    transform: translateY(-2px);
}

.contact-hero-deco-1,
.contact-hero-deco-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.contact-hero-deco-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(162, 148, 249, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.contact-hero-deco-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(205, 193, 255, 0.15) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
}

/* ── Main Contact Layout ──────────────────────────────────────────────────── */
.contact-main-section {
    padding: 7rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ── Info Cards Column (Left) ─────────────────────────────────────────────── */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-col-header {
    margin-bottom: 0.5rem;
}

.contact-col-title {
    font-size: 1.9rem;
    margin-bottom: 0.6rem;
}

.contact-col-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 1.8rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(205, 193, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 8px 30px -8px rgba(162, 148, 249, 0.1);
    transition: var(--transition-smooth);
    cursor: default;
}

.contact-card:hover {
    border-color: rgba(162, 148, 249, 0.6);
    box-shadow: 0 16px 40px -10px rgba(162, 148, 249, 0.2);
    transform: translateY(-4px);
}

.contact-card-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(var(--card-color-rgb), 0.1);
    border: 1px solid rgba(var(--card-color-rgb), 0.25);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--card-color);
    transition: var(--transition-smooth);
}

.contact-card:hover .contact-card-icon-wrap {
    background: var(--card-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--card-color-rgb), 0.4);
    transform: scale(1.08) rotate(4deg);
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent-brand);
    margin: 0;
}

.contact-card-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-decoration: none;
    transition: var(--transition-fast);
    word-break: break-word;
}

a.contact-card-value:hover {
    color: var(--color-accent-brand);
}

.contact-card-note {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}

.contact-guarantee-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.8rem 2rem;
    background: linear-gradient(135deg, rgba(162, 148, 249, 0.08) 0%, rgba(205, 193, 255, 0.12) 100%);
    border: 1px solid rgba(162, 148, 249, 0.3);
    border-left: 4px solid var(--color-accent-brand);
    border-radius: 20px;
    margin-top: 0.5rem;
}

.guarantee-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--color-accent-brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 6px 16px rgba(162, 148, 249, 0.4);
}

.guarantee-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 0.4rem 0;
}

.guarantee-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Form Card (Right) ────────────────────────────────────────────────────── */
.contact-right {
    position: sticky;
    top: 110px;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
    border: 1px solid rgba(205, 193, 255, 0.45);
    border-radius: 28px;
    padding: 2.8rem 3rem;
    box-shadow: 0 20px 60px -15px rgba(162, 148, 249, 0.18);
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .contact-right {
        position: static;
    }
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.form-header-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-accent-brand) 0%, #c4b5fd 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(162, 148, 249, 0.4);
}

.form-card-title {
    font-size: 1.5rem;
    margin: 0 0 0.25rem 0;
    font-weight: 700;
}

.form-card-sub {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

.form-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--color-accent-soft) 0%, transparent 100%);
    margin-bottom: 2rem;
    opacity: 0.5;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

@media (max-width: 580px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.field-group {
    margin-bottom: 1.5rem;
}

.field-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
}

.field-required {
    color: var(--color-accent-brand);
    font-size: 0.9em;
}

.field-optional {
    color: var(--color-text-muted);
    font-size: 0.82em;
    font-weight: 400;
}

.field-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon {
    position: absolute;
    left: 1.1rem;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.field-input-wrap input,
.field-input-wrap textarea {
    width: 100%;
    padding: 0.9rem 1.1rem 0.9rem 3rem;
    border: 1.5px solid rgba(205, 193, 255, 0.5);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.4);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    outline: none;
    transition: all 0.25s ease;
    -webkit-appearance: none;
}

.field-input-wrap textarea {
    min-height: 130px;
    resize: vertical;
    align-self: stretch;
    padding-top: 1rem;
    line-height: 1.6;
}

.field-textarea-wrap {
    align-items: flex-start;
}

.field-input-wrap input::placeholder,
.field-input-wrap textarea::placeholder {
    color: rgba(83, 76, 104, 0.5);
    font-size: 0.93rem;
}

.field-input-wrap input:focus,
.field-input-wrap textarea:focus {
    border-color: var(--color-accent-brand);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(162, 148, 249, 0.15);
}

.field-input-wrap:focus-within .field-icon {
    color: var(--color-accent-brand);
}

.field-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.field-select-wrap select {
    width: 100%;
    padding: 0.9rem 3rem 0.9rem 3rem;
    border: 1.5px solid rgba(205, 193, 255, 0.5);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.4);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    outline: none;
    transition: all 0.25s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.field-select-wrap select:focus {
    border-color: var(--color-accent-brand);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 4px rgba(162, 148, 249, 0.15);
}

.select-arrow {
    position: absolute;
    right: 1.1rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    pointer-events: none;
    z-index: 2;
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}

.form-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
}

.form-privacy-note i {
    font-size: 0.9rem;
    color: var(--color-accent-brand);
}

/* ── Studio Map Section ───────────────────────────────────────────────────── */
.contact-map-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(229, 217, 242, 0.3) 50%, transparent 100%);
}

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

.contact-map-header h2 {
    margin-bottom: 0.8rem;
}

.contact-map-header p {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.contact-map-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.studio-map-visual {
    position: relative;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(162, 148, 249, 0.3);
    background: linear-gradient(135deg, rgba(245, 239, 255, 0.9) 0%, rgba(229, 217, 242, 0.7) 100%);
    box-shadow: 0 20px 60px -15px rgba(162, 148, 249, 0.2);
}

.studio-map-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(162, 148, 249, 0.35) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    opacity: 0.6;
}

.studio-ring {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(162, 148, 249, 0.25);
    animation: ringExpand 3s infinite ease-out;
}

.studio-ring-1 {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.studio-ring-2 {
    width: 150px;
    height: 150px;
    animation-delay: 0.8s;
    border-color: rgba(162, 148, 249, 0.15);
}

.studio-ring-3 {
    width: 240px;
    height: 240px;
    animation-delay: 1.6s;
    border-color: rgba(162, 148, 249, 0.08);
}

@keyframes ringExpand {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.85);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.studio-pin {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.pin-dot {
    width: 18px;
    height: 18px;
    background: var(--color-accent-brand);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(162, 148, 249, 0.5);
    position: relative;
    z-index: 2;
}

.pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(162, 148, 249, 0.3);
    animation: pinPulse 1.8s infinite ease-out;
    z-index: 1;
}

@keyframes pinPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.studio-map-label {
    position: absolute;
    top: calc(50% - 75px);
    left: calc(55% + 20px);
    background: rgba(15, 10, 30, 0.88);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.82rem;
    border: 1px solid rgba(162, 148, 249, 0.5);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    z-index: 4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.studio-map-label i {
    color: var(--color-accent-brand);
    font-size: 1rem;
}

.studio-map-label strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.studio-map-label span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.map-corner {
    position: absolute;
    font-size: 1.1rem;
    color: rgba(162, 148, 249, 0.4);
    padding: 0.5rem;
}

.map-corner-tl {
    top: 12px;
    left: 12px;
}

.map-corner-tr {
    top: 12px;
    right: 12px;
}

.map-corner-bl {
    bottom: 12px;
    left: 12px;
}

.map-corner-br {
    bottom: 12px;
    right: 12px;
}

.studio-info-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.8rem;
    padding: 1.4rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(205, 193, 255, 0.4);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

.studio-info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.studio-info-item i {
    color: var(--color-accent-brand);
    font-size: 1rem;
}

.studio-info-item a {
    color: var(--color-text-muted);
    font-weight: 600;
    transition: color 0.2s;
}

.studio-info-item a:hover {
    color: var(--color-accent-brand);
}

.studio-info-divider {
    width: 1px;
    height: 24px;
    background: rgba(205, 193, 255, 0.5);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .studio-info-strip {
        flex-direction: column;
        gap: 1rem;
    }

    .studio-info-divider {
        display: none;
    }

    .studio-map-label {
        display: none;
    }

    .studio-pin {
        left: 50%;
    }

    .studio-ring {
        left: 50%;
    }
}

/* ── Contact CTA Section ──────────────────────────────────────────────────── */
.contact-cta-section {
    padding: 4rem 0 10rem 0;
}

.contact-cta-card {
    position: relative;
    padding: 5rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(229, 217, 242, 0.4) 100%);
    border: 1px solid rgba(205, 193, 255, 0.45);
    border-radius: 28px;
    backdrop-filter: blur(16px);
    overflow: hidden;
    box-shadow: 0 20px 60px -20px rgba(162, 148, 249, 0.15);
}

.cta-card-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(162, 148, 249, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.contact-cta-content h2 {
    margin-bottom: 1rem;
}

.contact-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-muted);
}

.cta-btn-group {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .contact-cta-card {
        padding: 3.5rem 1.8rem;
    }

    .contact-map-section {
        padding: 5rem 0;
    }
}

/* ==========================================================================
   ABOUT PAGE — Studio Visual Card (Who We Are section)
   ========================================================================== */
.about-visual-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(205, 193, 255, 0.4);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px -15px rgba(162, 148, 249, 0.2);
    transition: var(--transition-smooth);
}

.about-visual-card:hover {
    box-shadow: 0 28px 72px -15px rgba(162, 148, 249, 0.3);
    transform: translateY(-6px);
    border-color: rgba(162, 148, 249, 0.5);
}

/* Image Wrapper */
.about-visual-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.about-visual-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-visual-card:hover .about-visual-img {
    transform: scale(1.04);
}

/* Floating Badge */
.about-visual-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(162, 148, 249, 0.35);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text-main);
    box-shadow: 0 4px 16px rgba(162, 148, 249, 0.15);
}

.about-visual-badge i {
    color: var(--color-accent-brand);
    font-size: 1rem;
}

/* Bottom stat chips strip */
.about-visual-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1.5rem 2rem;
    gap: 1rem;
}

.about-stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
}

.about-stat-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent-brand);
    background: linear-gradient(135deg, var(--color-accent-brand) 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.about-stat-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(205, 193, 255, 0.5);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .about-visual-img {
        height: 220px;
    }

    .about-visual-stats {
        padding: 1.2rem 1.5rem;
    }

    .about-stat-num {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   HOMEPAGE — Testimonials Slider / Carousel
   ========================================================================== */
.testimonial-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0.5rem;
}

.testimonial-slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 calc((100% - 4rem) / 3);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.testimonial-slide .testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Controls style */
.slider-controls-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3.5rem;
    position: relative;
    z-index: 5;
}

.slider-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--color-accent-soft);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-text-main);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(162, 148, 249, 0.08);
    transition: var(--transition-smooth);
}

.slider-control-btn:hover {
    background: var(--color-accent-brand);
    color: var(--color-text-white);
    border-color: var(--color-accent-brand);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.slider-control-btn:active {
    transform: translateY(0);
}

.slider-dots-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.slider-dot.active {
    width: 24px;
    border-radius: 50px;
    background: var(--color-accent-brand);
    box-shadow: 0 0 10px rgba(162, 148, 249, 0.4);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }

    .slider-controls-wrap {
        margin-top: 2.5rem;
        gap: 1.5rem;
    }
}

/* About Page 2x2 Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0; /* Gap is 0 so cells touch perfectly to form a solid cross */
}

.about-stats-item {
    position: relative;
    box-sizing: border-box;
}

/* Desktop padding and border rules for a perfect cross */
.about-stats-item:nth-child(1) {
    border-right: 1px solid rgba(205, 193, 255, 0.3);
    padding: 0 3rem 3rem 0;
}

.about-stats-item:nth-child(2) {
    padding: 0 0 3rem 3rem;
}

.about-stats-item:nth-child(3) {
    border-right: 1px solid rgba(205, 193, 255, 0.3);
    border-top: 1px solid rgba(205, 193, 255, 0.3);
    padding: 3rem 3rem 0 0;
}

.about-stats-item:nth-child(4) {
    border-top: 1px solid rgba(205, 193, 255, 0.3);
    padding: 3rem 0 0 3rem;
}

/* Mobile responsive stacked rules */
@media (max-width: 640px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .about-stats-item {
        border-right: none !important;
        border-top: none !important;
        padding: 0 0 2rem 0 !important;
        border-bottom: 1px solid rgba(205, 193, 255, 0.2);
    }
    
    .about-stats-item:not(:first-child) {
        padding-top: 2rem !important;
    }
    
    .about-stats-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
}