/* Zauwazalnie Theme Custom Styles */

body { 
    font-family: 'Space Grotesk', sans-serif; 
}

.neon-glow-blue { 
    box-shadow: 0 0 20px rgba(13, 166, 242, 0.4); 
}

.neon-glow-pink { 
    box-shadow: 0 0 20px rgba(255, 0, 122, 0.4); 
}

.bg-mesh {
    background-color: #101c22;
    background-image: 
        radial-gradient(at 0% 0%, rgba(13, 166, 242, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 0, 122, 0.1) 0px, transparent 50%);
}

.gradient-text {
    background: linear-gradient(135deg, #0da6f2 0%, #ff007a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation { 
    animation: float 6s ease-in-out infinite; 
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.pulse-glow { 
    animation: pulse-glow 4s ease-in-out infinite; 
}

.hero-scroll-indicator {
    text-decoration: none;
}

.hero-scroll-dot {
    animation: scroll-dot 1.8s ease-in-out infinite;
}

.hero-scroll-chevron {
    animation: scroll-chevron 1.8s ease-in-out infinite;
    font-size: 28px;
    line-height: 1;
}

@media (min-width: 1024px) and (max-height: 940px) {
    .front-hero .hero-title {
        font-size: clamp(3.35rem, 4.8vw, 4.65rem) !important;
        line-height: 1.04 !important;
        margin-bottom: 1rem !important;
    }

    .front-hero .hero-lead {
        font-size: 1.125rem !important;
        line-height: 1.55 !important;
        margin-bottom: 0.85rem !important;
    }

    .front-hero .hero-support {
        font-size: 1rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.5rem !important;
    }

    .front-hero .hero-benefits,
    .front-hero .hero-mini-insights {
        display: none !important;
    }

    .front-hero .hero-visual {
        max-width: 540px !important;
    }

    .front-hero .hero-visual-card {
        padding: 1.5rem !important;
    }

    .front-hero .hero-chart {
        height: 8rem !important;
    }

    .front-hero .hero-scroll-mouse {
        height: 2rem;
        width: 1.4rem;
    }

    .front-hero .hero-scroll-chevron {
        font-size: 24px;
    }
}

@media (min-width: 1024px) and (max-height: 780px) {
    .front-hero .hero-title {
        font-size: clamp(3rem, 4.2vw, 4rem) !important;
    }

    .front-hero .hero-lead {
        font-size: 1rem !important;
    }

    .front-hero .hero-visual {
        max-width: 480px !important;
    }
}

@keyframes scroll-dot {
    0%, 100% {
        opacity: 0.25;
        transform: translateY(0);
    }

    45% {
        opacity: 1;
        transform: translateY(12px);
    }
}

@keyframes scroll-chevron {
    0%, 100% {
        opacity: 0.35;
        transform: translateY(-2px);
    }

    45% {
        opacity: 1;
        transform: translateY(4px);
    }
}

@media (min-width: 1536px) {
    .hero-glow {
        width: 520px;
        height: 520px;
        filter: blur(130px);
    }
}

.modal-backdrop {
    background: rgba(16, 28, 34, 0.9);
    backdrop-filter: blur(8px);
}

.step-indicator { 
    transition: all 0.3s ease; 
}

.step-indicator.active { 
    background: #0da6f2; 
}

.option-card {
    transition: all 0.2s ease;
}

.option-card:hover {
    border-color: #0da6f2;
    background: rgba(13, 166, 242, 0.1);
}

.option-card.selected {
    border-color: #0da6f2;
    background: rgba(13, 166, 242, 0.15);
    box-shadow: 0 0 15px rgba(13, 166, 242, 0.2);
}

.portfolio-card {
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-content {
    filter: blur(4px);
    opacity: 0.3;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay {
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-rich-text > *:first-child,
.portfolio-content-body > *:first-child {
    margin-top: 0;
}

.portfolio-rich-text > *:last-child,
.portfolio-content-body > *:last-child {
    margin-bottom: 0;
}

.portfolio-rich-text p,
.portfolio-content-body p {
    margin: 0 0 1.25rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.portfolio-content-body h2,
.portfolio-content-body h3,
.portfolio-content-body h4 {
    margin: 2.5rem 0 1rem;
    color: #fff;
    line-height: 1.18;
}

.portfolio-content-body h2 {
    font-size: clamp(1.75rem, 2.2vw, 2.5rem);
}

.portfolio-content-body h3 {
    font-size: clamp(1.35rem, 1.7vw, 1.85rem);
}

.portfolio-content-body ul,
.portfolio-content-body ol {
    margin: 1rem 0 1.5rem;
    padding-left: 1.35rem;
    color: #cbd5e1;
}

.portfolio-content-body li {
    margin: 0.5rem 0;
    line-height: 1.75;
}

.portfolio-content-body li::marker {
    color: #0da6f2;
}

.portfolio-content-body strong {
    color: #fff;
    font-weight: 700;
}

.portfolio-content-body a {
    color: #0da6f2;
    text-decoration: none;
}

.portfolio-content-body a:hover {
    text-decoration: underline;
}

.portfolio-content-body blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid #0da6f2;
    border-radius: 0 12px 12px 0;
    background: rgba(13, 166, 242, 0.08);
    color: #cbd5e1;
}

.portfolio-content-body br {
    display: block;
    margin-bottom: 0.35rem;
    content: "";
}

@media (min-width: 1024px) and (max-height: 1000px) {
    .portfolio-single-main {
        padding-left: clamp(4.5rem, 7vw, 9rem) !important;
        padding-right: clamp(4.5rem, 7vw, 9rem) !important;
    }
}

@media (min-width: 1024px) and (max-height: 1100px) {
    .portfolio-single-container {
        max-width: min(1320px, calc(100vw - 12rem)) !important;
    }
}

@media (max-width: 1023px) {
    .front-hero {
        min-height: auto;
    }

    .front-hero .hero-visual {
        max-width: min(640px, 100%);
        margin-top: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .front-hero .hero-visual-card {
        border-radius: 1.25rem;
    }

    .front-hero .hero-chart {
        height: clamp(7.5rem, 28vw, 11rem);
    }

    .front-hero .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .front-hero .hero-visual-card {
        padding: 0.9rem !important;
    }

    .front-hero .hero-mini-insights {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1280px) {
    .portfolio-content-body {
        column-count: 2;
        column-gap: 4rem;
    }

    .portfolio-content-body > * {
        break-inside: avoid;
    }

    .portfolio-content-body h2,
    .portfolio-content-body h3,
    .portfolio-content-body h4 {
        break-after: avoid;
    }

    .portfolio-content-body figure,
    .portfolio-content-body img,
    .portfolio-content-body blockquote {
        column-span: all;
    }
}

.service-tab {
    transition: all 0.3s ease;
}

.service-tab.active {
    border-color: #0da6f2;
    background: rgba(13, 166, 242, 0.08);
}

.service-tab:hover:not(.active) {
    border-color: #223c49;
    background: rgba(22, 37, 45, 0.5);
}

/* WordPress specific styles */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {
    display: block;
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    display: block;
}

html.zauwazalnie-scroll-lock {
    overflow: hidden;
    height: 100%;
}

body.zauwazalnie-scroll-lock {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

#mobileMenu {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

#guideModal {
    z-index: 120 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

#guideModal > .relative {
    min-height: 100vh;
    min-height: 100dvh;
}

#modalContent {
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

#guideModal input,
#guideModal select,
#guideModal textarea {
    font-size: 16px !important;
}

@media (max-width: 640px) {
    #guideModal > .relative {
        align-items: flex-start;
        padding: 0.5rem !important;
        padding-top: max(0.5rem, env(safe-area-inset-top)) !important;
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom)) !important;
    }

    #modalContent {
        max-width: calc(100vw - 1rem) !important;
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
        border-radius: 1.25rem !important;
        padding: 1rem !important;
    }

    #modalContent > button[onclick="closeModal()"] {
        position: sticky !important;
        top: 0;
        z-index: 10;
        float: right;
        margin: -0.25rem -0.25rem 0.25rem auto;
        background: rgba(15, 31, 39, 0.96);
        border: 1px solid rgba(37, 67, 82, 0.9);
    }

    #modalContent .step-indicator {
        width: 1.75rem !important;
    }

    #modalContent #step1,
    #modalContent #step2 {
        gap: 0.85rem !important;
    }

    #modalContent #step1 > .text-center,
    #modalContent #step2 > .text-center {
        clear: both;
    }

    #modalContent h3 {
        font-size: 1.25rem !important;
        line-height: 1.2 !important;
    }

    #modalContent .text-4xl {
        font-size: 2rem !important;
        line-height: 1 !important;
        margin-bottom: 0.5rem !important;
    }

    #goalsContainer {
        gap: 0.5rem !important;
    }

    #goalsContainer .option-card {
        gap: 0.75rem !important;
        padding: 0.75rem !important;
        border-radius: 0.9rem !important;
    }

    #goalsContainer .option-card > div:first-of-type {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

    #modalContent button {
        min-height: 3rem;
    }

    #recommendations {
        padding: 0.85rem !important;
    }

    #phoneInput {
        padding-top: 0.9rem !important;
        padding-bottom: 0.9rem !important;
    }
}
