/* 
  LENS by Lis. - Design System
  Style: Elegant Glassmorphism & High-End Consultancy
*/

:root {
    /* Colors */
    --bg-deep: #07070b;
    --fg-main: #f4f4f8;
    --fg-muted: rgba(244, 244, 248, 0.75);
    --line-soft: rgba(255, 255, 255, 0.12);

    --violet-1: #7c3aed;
    --violet-2: #a855f7;
    --violet-3: #e9d5ff;
    --accent: #7c5cff;
    --pitaya: #ff4fa3;
    --pitaya-rgb: 255, 79, 163;
    --violet-1: #7c3aed;
    --violet-rgb: 124, 58, 237;
    --wine-deep: #410022;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(233, 213, 255, 0.18);
    --glass-blur: 20px;

    /* Layout */
    --max-width: 1200px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --section-gap: clamp(60px, 10vw, 120px);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--violet-2) transparent;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-deep);
    color: var(--fg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-visuals {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: #050505;
}

.bg-visuals::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(114, 20, 218, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(255, 28, 126, 0.2) 0%, transparent 50%);
    filter: blur(100px);
    z-index: -2;
}

/* Silk Waves */
.glow {
    position: absolute;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    filter: blur(150px);
    opacity: 0.6;
    z-index: -1;
    mix-blend-mode: screen;
}

.glow-1 {
    width: 80vw;
    height: 80vh;
    background: linear-gradient(135deg, #4a0404, #ff1c7e, #7214da);
    top: -20%;
    left: -10%;
    animation: silkWave 25s infinite alternate ease-in-out;
}

.glow-2 {
    width: 70vw;
    height: 70vh;
    background: linear-gradient(225deg, #7214da, #ff1c7e, #4a0404);
    bottom: -15%;
    right: -5%;
    animation: silkWave 20s infinite alternate-reverse ease-in-out;
    opacity: 0.3;
}

@keyframes silkWave {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }

    50% {
        transform: translate(5%, 5%) scale(1.1) rotate(5deg);
        border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    }

    100% {
        transform: translate(-2%, 8%) scale(1.05) rotate(-3deg);
        border-radius: 30% 70% 70% 30% / 50% 30% 70% 50%;
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-wrap: balance;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--violet-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 213, 255, 0.4);
    box-shadow: 0 12px 48px 0 rgba(168, 85, 247, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--violet-1), var(--violet-2));
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 79, 163, 0.3);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    min-height: auto;
    border-radius: 999px;
    text-transform: none;
}

/* Section Components */
.section {
    padding: var(--section-gap) 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section {
        padding: clamp(40px, 8vh, 60px) 20px;
    }
}

.container {
    width: 100%;
}

.kicker {
    color: var(--violet-3);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

/* Navigation */
/* Navigation Component */
.site-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--max-width);
    z-index: 1000;
    padding: 12px 24px;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    color: white;
    letter-spacing: -0.03em;
}

.brand-logo {
    height: 40px !important;
    width: auto !important;
    display: block !important;
    transition: height 0.3s ease;
}

@media (max-width: 480px) {
    .brand-logo {
        height: 32px !important;
    }
}

.brand-period {
    color: var(--pitaya);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--fg-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: white;
}

.nav-links a.nav-active {
    font-weight: 700;
}

.nav-links a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--violet-1), var(--pitaya));
}

.btn-nav-cta {
    background: transparent;
    border: 1px solid rgba(233, 213, 255, 0.3);
    color: white;
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
}

.btn-nav-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--violet-3);
}

/* Layout Utilities */
.center-wrap {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    /* Space for nav and footer */
    text-align: center;
    position: relative;
    z-index: 10;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Problems Section */
.problem-card {
    padding: 40px;
    text-align: center;
}

.problem-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.problem-card h3 {
    margin-bottom: 15px;
}

.problem-card p {
    color: var(--fg-muted);
    font-size: 0.95rem;
}

/* Features Section */
.features-container {
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

.feature-header h2 {
    font-size: 3rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-item b {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--violet-3);
}

.feature-item p {
    color: var(--fg-muted);
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .features-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        text-align: center;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
}

/* About Unified Adjustment */
.about-unified {
    padding-bottom: 0;
}

.image-wrapper {
    padding: 10px;
    height: 400px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.mini-card {
    margin-top: 20px;
    padding: 20px;
}

.who-cards {
    display: flex;
    gap: 20px;
}

.hero-v2 {
    position: relative;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7, 7, 11, 0.4), var(--bg-deep));
    z-index: -1;
}

.hero-text-box {
    max-width: 800px;
    padding: 60px;
    text-align: center;
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 20px;
}

h1 span {
    font-weight: 300;
    display: block;
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--fg-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Services Triad V2 */
.services-v2 {
    position: relative;
}

.services-container-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 500px;
}

.triad-v2 {
    position: relative;
    width: 400px;
    height: 400px;
}

.triad-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
}

.triad-circle:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.triad-circle:nth-child(2) {
    bottom: 0;
    left: 0;
}

.triad-circle:nth-child(3) {
    bottom: 0;
    right: 0;
}

.triad-circle.active {
    background: var(--violet-1);
    border-color: var(--violet-3);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
    transform: scale(1.1) rotate(5deg);
}

.service-details-v2 {
    flex: 1;
    max-width: 500px;
    padding: 40px;
    min-height: 300px;
}

/* Founder V2 */
.founder-glass-container {
    padding: 60px;
}

.founder-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

.avatar-v2 {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.avatar-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wine-text {
    color: var(--pitaya);
}

/* Forms & Inputs */
.control,
.controlArea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: white;
    margin-bottom: 20px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.control:focus,
.controlArea:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--violet-2);
    outline: none;
}

.controlArea {
    min-height: 150px;
    resize: none;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-50 {
    margin-bottom: 50px;
}

.w-full {
    width: 100%;
}

/* Mobile Menu Specifics */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .site-nav {
        top: 10px;
        width: calc(100% - 20px);
        padding: 8px 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 20px;
        background: rgba(7, 7, 11, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        border: 1px solid var(--glass-border);
        animation: slideDown 0.3s ease-out;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Footer V2 */
.site-footer-v2 {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 20px;
    margin-top: var(--section-gap);
    border-top: 1px solid var(--line-soft);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* Side Social Bar */
/* Side Social Bar — Fixed Height & Visibility */
.side-social {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    /* Extremely high z-index */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 11px !important;
    background: rgba(7, 7, 11, 0.45) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: none !important;
    padding: 18px 9px !important;
    border-radius: 16px 0 0 16px !important;
    height: auto !important;
    min-height: 252px !important;
    width: 49px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobileized Sidebar: Compact & Semi-transparent */
@media (max-width: 768px) {
    .side-social {
        display: flex !important;
        /* Restore but make compact */
        width: 38px !important;
        min-height: auto !important;
        padding: 12px 6px !important;
        gap: 8px !important;
        background: rgba(7, 7, 11, 0.3) !important;
        /* More subtle */
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
        top: 55% !important;
        transform: translateY(-50%) scale(0.9) !important;
    }

    .side-label {
        display: none !important;
        /* Hide label on mobile */
    }

    .social-icon {
        width: 22px !important;
        height: 22px !important;
    }
}

.social-icon {
    width: 25px !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.social-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
}

.social-icon:hover {
    transform: translateY(-2px) scale(1.1) !important;
    filter: brightness(1.2) !important;
}

.side-label {
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    writing-mode: vertical-rl !important;
    transform: rotate(180deg) !important;
    margin-top: 15px !important;
    letter-spacing: 2px !important;
    opacity: 0.8 !important;
    display: block !important;
    visibility: visible !important;
}

/* Modal / Popup Component */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop[style*="opacity: 1"] {
    visibility: visible;
}

.modal {
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--fg-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: white;
}

/* Detailed & Minimalist Modal Refinements */
.modal.modal-xl {
    max-width: 850px;
    height: 90vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.98);
}

.modal-image-wrap {
    width: 100%;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--violet-2) transparent;
}

.modal-header-main {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 20px;
}

.modal-header-main h3 {
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
    color: white;
    margin: 0;
}

.modal-price-box {
    text-align: right;
}

.price-main {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pitaya);
}

.price-pay {
    font-size: 0.9rem;
    color: var(--fg-muted);
}

.modal-rich-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--fg-muted);
}

.modal-rich-text h1,
.modal-rich-text h2 {
    color: white;
    margin: 30px 0 15px;
}

.modal-rich-text p {
    margin-bottom: 1.5rem;
}

.modal-faq-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line-soft);
}

.modal-faq-section h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1rem;
    color: white;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--fg-muted);
}

.modal-footer-sticky {
    padding: 20px 40px;
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-soft);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Modal Content Polish */
.modal-rich-text ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style: none;
}

.modal-rich-text li {
    position: relative;
    margin-bottom: 10px;
}

.modal-rich-text li::before {
    content: '•';
    position: absolute;
    left: -20px;
    color: var(--pitaya);
    font-weight: bold;
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Modal */
@media (max-width: 600px) {
    .modal-header-main {
        flex-direction: column;
        gap: 10px;
    }

    .modal-price-box {
        text-align: left;
    }

    .modal-footer-sticky {
        padding: 15px 20px;
        flex-direction: column;
    }
}

/* Service Picker Specialized Styles */
.picker-modal {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.015);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    padding: 0;
    overflow: hidden;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
}

.picker-wrap {
    display: flex;
    flex-direction: column;
}

.picker-hero {
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.picker-hero h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.picker-hero p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    max-width: 400px;
    margin: 0 auto;
    font-weight: 300;
}

.picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
}

.picker-card {
    padding: 35px 25px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.modal-backdrop[style*="opacity: 1"] .picker-card {
    animation: pickerSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-backdrop[style*="opacity: 1"] .picker-card:nth-child(1) {
    animation-delay: 0.05s;
}

.modal-backdrop[style*="opacity: 1"] .picker-card:nth-child(2) {
    animation-delay: 0.1s;
}

.modal-backdrop[style*="opacity: 1"] .picker-card:nth-child(3) {
    animation-delay: 0.15s;
}

@keyframes pickerSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.picker-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 79, 163, 0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.picker-card:hover {
    background: rgba(255, 255, 255, 0.02);
}

.picker-card:hover::after {
    opacity: 1;
}

.picker-icon {
    width: 32px;
    height: 32px;
    color: var(--violet-3);
    margin-bottom: 20px;
    transition: all 0.5s ease;
    z-index: 1;
}

.picker-card:hover .picker-icon {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    filter: drop-shadow(0 0 10px var(--pitaya));
}

.picker-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.picker-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    z-index: 1;
}

.picker-text p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 300;
    z-index: 1;
}

.picker-btn {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: lowercase;
    color: #fff;
    text-decoration: none;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    transition: all 0.3s ease;
    z-index: 1;
}

.picker-card:hover .picker-btn {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Redesign (Index) */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-trigger {
    display: block;
    text-decoration: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
    position: relative;
    outline: none;
}

.ht-l1 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    display: block;
    text-transform: lowercase;
    margin-bottom: 8px;
    letter-spacing: 0.15em;
}

.ht-l2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(28px, 5.5vw, 56px);
    font-weight: 600;
    line-height: 0.9;
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-transform: lowercase;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.ht-l3 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(42px, 8.5vw, 96px);
    font-weight: 800;
    line-height: 0.85;
    display: block;
    background: linear-gradient(135deg, #4a0404 0%, #ff4fa3 35%, #7214da 70%, #4a0404 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: lowercase;
    letter-spacing: -0.05em;
    filter: drop-shadow(0 0 20px rgba(255, 79, 163, 0.15));
    animation: textShimmer 12s ease infinite;
}

@keyframes textShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.ht-l4 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    display: block;
    color: rgba(255, 255, 255, 0.4);
    text-transform: lowercase;
    letter-spacing: -0.01em;
    margin-top: 5px;
}

.ht-l3 strong,
.ht-l4 strong {
    font-weight: inherit;
    color: inherit;
}

.ht-arrow {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    color: #7214da;
    /* Vibrant Lilac */
    margin-left: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.hero-trigger:hover .ht-arrow {
    transform: translateX(10px);
    color: #ff4fa3;
    /* Shift to Pitaya on hover */
}

/* --- Service Page Components --- */
.page-wrap {
    padding-top: 120px;
    padding-bottom: 120px;
    min-height: 100vh;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--pitaya);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.service-title {
    font-size: clamp(1rem, 2.2vw, 1.85rem);
    /* Slightly smaller to fit long titles on one line */
    font-weight: 800;
    line-height: 1.2;
    color: var(--fg-main);
    margin: 0 auto 15px;
    /* Center and match margin */
    letter-spacing: -0.03em;
    /* Slightly tighter for better fit */
    max-width: 950px;
}

.service-sub {
    font-size: 15px;
    /* Match .sobre-intro */
    line-height: 1.7;
    color: var(--fg-muted);
    max-width: 950px;
    margin: 0 auto 15px;
    /* Center and match margin */
    font-weight: 300;
}

/* Service Background Glows */
.bg-visuals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-visuals .glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.bg-visuals .glow-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--pitaya) 0%, transparent 70%);
}

.bg-visuals .glow-2 {
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--vibrant-lilac) 0%, transparent 70%);
}

/* Tab Toggles */
.section-toggle,
.biz-toggle {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border-radius: 100px;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.toggle-btn,
.biz-btn {
    padding: 6px 18px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--fg-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.toggle-btn.active,
.biz-btn.active {
    background: #fff;
    color: #000;
}

.toggle-btn:hover:not(.active),
.biz-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Subsection & Panel Visibility */
.subsection,
.biz-panel {
    display: none;
    animation: slideUpFade 0.5s ease-out forwards;
}

.subsection.active-sub,
.biz-panel.active-biz {
    display: block;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Cards Grid */
/* Product Cards Grid Enhancement */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 0 auto 4rem;
    max-width: 1100px;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 5px;
        margin-bottom: 2rem;
    }
}

#parceiros-grid.cards-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0;
}

/* Split Layout for Partners */
.partners-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.partners-content {
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 48px;
    position: sticky;
    top: 120px;
    overflow: hidden;
}

.hero-title-wrap {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.partners-content-title {
    color: var(--pitaya);
    font-size: 1.4rem;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.partners-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.partners-content p {
    color: var(--fg-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.9;
    position: relative;
    text-align: justify;
}

.activation-formats {
    font-weight: 600;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fg-main) !important;
    opacity: 0.8;
}

.partner-actions {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 992px) {
    .partners-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .partners-content {
        text-align: center;
    }

    .partner-actions {
        justify-content: center;
    }

    #parceiros-grid.cards-grid {
        margin: 0 auto;
    }
}

/* Sidebar Layout for Business Panels */
.biz-panel-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1050px;
    /* Space for 3 cards (750px) + sidebar (200px) + gaps */
    margin: 0 auto;
}

.biz-panel-inner .cards-grid {
    flex: 1;
    margin: 0;
    max-width: 820px;
    /* Force 3 cards max (250px * 3 + gaps) */
}

@media (max-width: 992px) {
    .biz-panel-inner {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .biz-panel-inner .cards-grid {
        max-width: 100%;
        width: 100%;
    }
}

/* Specific Sidebar for Analytics/Cultura if wrapped */
.biz-panel-inner .strategic-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 150px;
    padding-top: 20px;
    margin-top: 0;
    /* Reset general margin */
}

.biz-panel-inner .strategic-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    padding: 6px 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: none;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    /* More subtle glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    /* Faster, smoother */
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 79, 163, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 79, 163, 0.1);
}

.card-media {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.partner-media {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 24px auto 8px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 79, 163, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.partner-media img {
    object-fit: cover;
}

.product-card:hover .card-media img {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    /* More compact */
    flex: 1;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    /* Standardize with executive feel */
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.card-desc {
    font-size: 14px;
    /* Exact match with sobre.html card content */
    color: var(--fg-muted);
    line-height: 1.6;
}

.card-footer {
    padding: 0 24px 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.pay {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--pitaya);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.card-actions {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
}

.card-actions .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 10px;
}

@media (max-width: 480px) {
    .card-actions {
        flex-direction: column;
    }
}

/* General Strategic Actions (Centered at bottom) */
.strategic-actions:not(.sidebar-actions),
.partner-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .site-footer-v2 {
        padding: 40px 20px;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* Grid capacity overrides */
[data-panel="cultura"] .cards-grid {
    max-width: 820px;
    /* Force 3 cards max (250px * 3 + gaps) */
}

/* Product Modal Refinement */
#productModal .modal,
.picker-modal {
    max-width: 500px;
    padding: 30px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px);
}

.picker-modal {
    max-width: 700px;
    /* Wider for the 3-column grid on desktop */
}

@media (max-width: 768px) {

    #productModal .modal,
    .picker-modal {
        max-height: 85vh;
        /* Prevent cutting off on mobile */
        overflow-y: auto;
        /* Enable scrolling if content overflows */
    }
}

@media (max-width: 480px) {

    #productModal .modal,
    .picker-modal {
        padding: 30px 20px;
        width: 90%;
    }
}

#pmTitle {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

#pmDesc {
    color: var(--fg-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .hero-text-box {
        padding: 40px 20px;
    }

    .grid-2,
    .founder-grid {
        grid-template-columns: 1fr;
    }

    .services-container-v2 {
        flex-direction: column;
    }

    .triad-v2 {
        width: 300px;
        height: 300px;
    }

    .triad-circle {
        width: 120px;
        height: 120px;
        font-size: 0.9rem;
    }

    .nav-links {
        display: none;
    }

    .section-toggle,
    .biz-toggle {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
        padding: 4px;
    }

    .toggle-btn,
    .biz-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .service-title {
        font-size: 1.55rem;
        margin-bottom: 10px;
    }

    .service-sub {
        font-size: 13.5px;
        line-height: 1.6;
    }

    .kicker {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .biz-panel-inner {
        flex-direction: column;
        gap: 24px;
    }

    .strategic-actions {
        width: 100%;
        min-width: unset;
        padding-top: 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .strategic-actions .btn {
        width: 100%;
        margin-top: 8px;
    }

    /* Product Card Mobile Optimization */
    .product-card {
        border-radius: 16px;
    }

    .card-body {
        padding: 15px;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .card-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .card-footer {
        padding: 0 15px 15px;
    }

    .price {
        font-size: 1.3rem;
    }

    .card-media {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 600px) {
    .btn-sm {
        min-width: 160px;
    }
}

/* Responsive Utilities */
.hide-on-mobile {
    display: block !important;
}

.hide-on-desktop {
    display: none !important;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    .hide-on-desktop {
        display: block !important;
    }
}

/* ─── DEFINITIVE MOBILE REFINEMENTS (Service Page) ─── */
@media (max-width: 600px) {

    /* Force Title and Subtitle scaling down */
    body .service-title {
        font-size: 1.3rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
        letter-spacing: -0.01em !important;
    }

    body .service-sub {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.6) !important;
        margin-bottom: 24px !important;
    }

    body .kicker {
        font-size: 9.5px !important;
        margin-bottom: 6px !important;
        letter-spacing: 0.1em !important;
    }

    /* Force Product Cards Compactness */
    body .product-card {
        margin-bottom: 20px !important;
        border-radius: 14px !important;
    }

    body .card-body {
        padding: 14px !important;
    }

    body .card-title {
        font-size: 14.5px !important;
        margin-bottom: 4px !important;
    }

    body .card-desc {
        font-size: 12px !important;
        line-height: 1.45 !important;
        opacity: 0.8;
    }

    body .price {
        font-size: 1.2rem !important;
    }

    body .card-actions {
        padding: 0 14px 14px !important;
        gap: 8px !important;
    }

    body .card-actions .btn {
        padding: 7px 10px !important;
        font-size: 0.7rem !important;
    }

    /* Container Spacing */
    body .page-wrap {
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }

    body .container {
        padding: 0 16px !important;
    }

    /* Refined Suggestion box: Non-sticky with better padding */
    body .partners-content {
        padding: 24px 15px !important;
        margin: 0 10px !important;
        border-radius: 20px !important;
        position: relative !important;
        /* Remove sticky effect on mobile */
        top: 0 !important;
        width: auto !important;
    }

    body .partners-content-title {
        font-size: 1.15rem !important;
        margin-bottom: 16px !important;
    }

    body .partners-content p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    /* Parceiros Grid to Carousel (Service Page) */
    #parceiros-grid.cards-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px !important;
        padding: 10px 16px 20px !important;
        margin: 0 -16px 2rem !important;
        /* Bleed to edges */
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    #parceiros-grid.cards-grid::-webkit-scrollbar {
        display: none !important;
    }

    #parceiros-grid.cards-grid .product-card {
        flex: 0 0 85% !important;
        scroll-snap-align: center !important;
        margin-bottom: 0 !important;
    }

    body .partner-actions .btn {
        padding: 8px 20px !important;
        font-size: 0.75rem !important;
    }
}

/* --- End of Consolidated Styles --- */

@media (max-width: 768px) {

    /* Set global text justification for multi-line body text on mobile (no hifenização) */
    p,
    .product-desc,
    .sobre-intro,
    .founder-bio,
    .mission-card p,
    .valor-text span,
    .imp-text span,
    .partners-content p {
        text-align: justify !important;
        text-justify: inter-word !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        -moz-hyphens: none !important;
    }
}