/* ===== APPLE MINIMALIST DESIGN ===== */
:root {
    --bg: #fbfbfd;
    --bg-alt: #f5f5f7;
    --surface: #ffffff;
    --text: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --border: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    --font-display: 'Space Grotesk', -apple-system, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

html::-webkit-scrollbar-thumb {
    background: #c1c1c3;
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
    background: #a1a1a3;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    caret-color: transparent;
}

*,
::before,
::after {
    cursor: inherit;
}

p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
li,
.blog-card-excerpt {
    user-select: none;
    -webkit-user-select: none;
    cursor: default !important;
}

a,
button,
[role="button"],
.filter-btn,
.nav-cta,
.nav-link,
.roi-slider,
.theme-toggle,
.whatsapp-btn,
.back-to-top {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

input,
textarea,
[contenteditable="true"] {
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
    caret-color: auto;
}


a {
    text-decoration: none;
    color: inherit;
    transition: color .3s var(--ease);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    display: none;
}

.loader-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text);
    letter-spacing: 3px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    z-index: 9999;
    width: 0;
    transition: width .1s linear;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all .4s var(--ease);
    background: rgba(251, 251, 253, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    z-index: 1001;
}

.logo-y {
    color: var(--accent);
    font-size: 1.6rem;
}

.logo-text {
    color: var(--text);
}

.logo-tm {
    font-size: .6rem;
    color: var(--text-secondary);
    margin-left: 2px;
    vertical-align: super;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: color .3s var(--ease);
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-cta {
    padding: 9px 20px;
    background: var(--accent);
    border-radius: 980px;
    font-weight: 500;
    font-size: .88rem;
    color: #fff;
    transition: all .3s var(--ease);
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: none;
    box-shadow: none;
}

.nav-cta::before {
    display: none;
}

.nav-cta span,
.nav-cta i {
    position: relative;
    z-index: 1;
}

/* Mobile */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: all .3s var(--ease);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(251, 251, 253, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .5s var(--ease);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px 0;
    transition: color .3s var(--ease);
}

.mobile-link:hover {
    color: var(--text);
}

.mobile-menu-footer {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-footer a {
    color: var(--text-secondary);
    font-size: .85rem;
}

@media(max-width:968px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 24px 100px;
    background: var(--bg);
    overflow: hidden;
}

.hero::before,
.hero::after {
    display: none;
}

.hero-bg-particles,
.hero-gradient-orb {
    display: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(0, 113, 227, 0.06);
    border: none;
    border-radius: 980px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 20px;
    backdrop-filter: none;
    animation: fadeIn .8s ease .2s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -2px;
    animation: fadeIn .8s ease .4s both;
}

.hero-title-line {
    display: block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.65;
    font-weight: 400;
    animation: fadeIn .8s ease .6s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeIn .8s ease .8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 980px;
    font-weight: 500;
    font-size: .95rem;
    transition: all .3s var(--ease);
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: none;
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.06);
    border: none;
    transform: none;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeIn .8s ease 1s both;
}

.hero-stat {
    text-align: center;
}

.stat-number,
.stat-plus {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
}

.stat-number {
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
}

.stat-plus {
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: .82rem;
    color: var(--text-secondary);
    margin-top: 2px;
    font-weight: 400;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

@media(max-width:768px) {
    .hero-stats {
        gap: 24px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat {
        flex: 1 1 120px;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    animation: gentleBounce 3s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 1.5px solid var(--text-secondary);
    border-radius: 12px;
    margin: 0 auto 6px;
    position: relative;
    opacity: .5;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes gentleBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

.hero-scroll-indicator span {
    font-size: .7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MARQUEE ===== */
.marquee-section {
    padding: 16px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marquee 35s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    padding: 0 32px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== SECTIONS COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(0, 113, 227, 0.06);
    border: none;
    border-radius: 980px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.service-card::after {
    display: none;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon-wrapper {
    margin-bottom: 20px;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    transition: all .3s var(--ease);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #fff;
}

.service-icon-glow {
    display: none;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.service-desc {
    font-size: .9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.service-features span {
    font-size: .82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-features i {
    color: var(--accent);
    font-size: .65rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--accent);
}

.service-link i {
    transition: transform .3s var(--ease);
    font-size: .75rem;
}

.service-link:hover i {
    transform: translateX(3px);
}

@media(max-width:968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TECHNOLOGIES ===== */
.technologies {
    padding: 80px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.technologies::before {
    display: none;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 980px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all .3s var(--ease);
}

.tech-badge i {
    font-size: 1.1rem;
}

.tech-badge:hover {
    border-color: var(--border-hover);
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.tech-badge:hover i {
    color: var(--accent);
}

/* ===== PROJECTS ===== */
.projects {
    padding: 100px 0;
    background: var(--bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all .4s var(--ease);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .6s var(--ease);
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-visit-btn {
    padding: 10px 24px;
    background: var(--surface);
    border-radius: 980px;
    color: var(--text);
    font-weight: 500;
    font-size: .88rem;
    transform: translateY(10px);
    transition: all .3s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-card:hover .project-visit-btn {
    transform: translateY(0);
}

.project-info {
    padding: 20px 24px;
}

.project-category {
    font-size: .75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 6px 0;
    color: var(--text);
}

.project-desc {
    font-size: .85rem;
    color: var(--text-secondary);
}

/* ===== PROCESS ===== */
.process {
    padding: 100px 0;
    background: var(--bg-alt);
}

.process-timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.process-number {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: all .3s var(--ease);
}

.process-step:hover .process-number {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.process-content {
    flex: 1;
    padding-top: 6px;
}

.process-content .process-icon {
    display: none;
}

.process-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.process-content p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== STATS ===== */
.stats-section {
    padding: 72px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-section::before {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all .3s var(--ease);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.stat-count {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
    background: none;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-title {
    display: block;
    font-size: .82rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

@media(max-width:768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-alt);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all .3s var(--ease);
}

.testimonial-card::before {
    display: none;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #FF9500;
    font-size: .85rem;
    margin-bottom: 14px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: normal;
    border: none;
    padding: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .82rem;
    color: var(--text);
}

.testimonial-name {
    font-weight: 600;
    font-size: .88rem;
    color: var(--text);
}

.testimonial-role {
    font-size: .75rem;
    color: var(--text-secondary);
}

@media(max-width:968px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

/* ===== WHY US ===== */
.why-us {
    padding: 100px 0;
    background: var(--bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all .3s var(--ease);
    text-align: center;
}

.why-card::before {
    display: none;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    margin: 0 auto 18px;
    transition: all .3s var(--ease);
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: #fff;
    transform: none;
    box-shadow: none;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.why-card p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media(max-width:768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRICING ===== */
.pricing {
    padding: 100px 0;
    background: var(--bg-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    transition: all .3s var(--ease);
    position: relative;
}

.pricing-card::before {
    display: none;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular:hover {
    transform: translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    background: var(--accent);
    border-radius: 980px;
    font-size: .75rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.pricing-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-period {
    font-size: .82rem;
    color: var(--text-secondary);
}

.pricing-features {
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: .88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    font-size: .7rem;
}

.pricing-features li .fa-check {
    color: var(--accent);
}

.pricing-features li .fa-times {
    color: #c1c1c3;
}

.pricing-features li.disabled {
    opacity: .4;
}

.pricing-btn {
    display: block;
    text-align: center;
    padding: 13px 28px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 980px;
    font-weight: 500;
    color: var(--text);
    transition: all .3s var(--ease);
    font-family: var(--font);
    font-size: .9rem;
}

.pricing-btn:hover {
    background: var(--border-hover);
    transform: none;
}

.pricing-btn-primary {
    background: var(--accent);
    border: none;
    color: #fff;
}

.pricing-btn-primary::before {
    display: none;
}

.pricing-btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: none;
    transform: none;
}

.pricing-btn-primary span {
    position: relative;
    z-index: 1;
}

@media(max-width:968px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 640px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    transition: all .3s var(--ease);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: .95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--font);
}

.faq-question i {
    color: var(--text-secondary);
    transition: transform .3s var(--ease);
    font-size: .7rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

.cta-section::before {
    display: none;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -1px;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s var(--ease);
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: all .3s var(--ease);
}

.contact-card:hover .contact-card-icon {
    background: var(--accent);
    color: #fff;
}

.contact-card-content h4 {
    font-size: .78rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-card-content a,
.contact-card-content span {
    font-size: .9rem;
    color: var(--text);
}

.contact-card-content a:hover {
    color: var(--accent);
}

.contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: var(--text-secondary);
    transition: all .3s var(--ease);
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-form-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: .9rem;
    transition: all .3s var(--ease);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 13px;
    background: var(--accent);
    border: none;
    border-radius: 980px;
    color: #fff;
    font-family: var(--font);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .3s var(--ease);
}

.form-submit::before {
    display: none;
}

.form-submit:hover {
    background: var(--accent-hover);
    transform: none;
    box-shadow: none;
}

.form-submit span,
.form-submit i {
    position: relative;
    z-index: 1;
}

@media(max-width:768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    padding: 64px 0 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: var(--text-secondary);
    transition: all .3s var(--ease);
}

.footer-socials a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group li a,
.footer-links-group li span {
    font-size: .85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links-group li a:hover {
    color: var(--accent);
}

.footer-contact-list i {
    font-size: .75rem;
    color: var(--accent);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: .8rem;
    color: var(--text-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: .8rem;
    color: var(--text-secondary);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

@media(max-width:768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== WHATSAPP ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    z-index: 998;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: all .3s var(--ease);
    transform: scale(0);
}

.whatsapp-btn:hover {
    transform: scale(1.08) !important;
}

.whatsapp-tooltip {
    position: absolute;
    right: 64px;
    background: #333;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all .3s var(--ease);
    pointer-events: none;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: .9rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s var(--ease);
    box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp animation */
@keyframes pulse-wp {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
    }
}

.whatsapp-btn {
    animation: pulse-wp 2s infinite;
}

/* ===== DARK MODE & THEME TOGGLE ===== */
[data-theme="dark"] {
    --bg: #000000;
    --bg-alt: #161617;
    --surface: #1d1d1f;
    --text: #f5f5f7;
    --text-secondary: #86868b;
    --border: rgba(255, 255, 255, 0.1);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s var(--ease);
    margin-right: 15px;
}

.theme-toggle:hover {
    background: var(--bg-alt);
    border-color: var(--accent);
}

.icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: block;
}

/* ===== TYPING & LIVE COUNTER ===== */
.typing-cursor {
    animation: blink 1s infinite;
    color: var(--accent);
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 0.85rem;
    margin: 20px 0;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #34C759;
    border-radius: 50%;
    position: relative;
}

.live-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: #34C759;
    border-radius: 50%;
    animation: pulse-live 2s infinite;
    opacity: 0.4;
}

@keyframes pulse-live {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* ===== CLIENT LOGOS ===== */
.client-logos {
    padding: 40px 0;
    background: var(--bg);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.client-logos-title {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.logos-track {
    display: flex;
    width: calc(250px * 12);
    animation: scroll 30s linear infinite;
}

.logos-slide {
    display: flex;
    align-items: center;
    gap: 60px;
}

.client-logo-item {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.client-logo-item:hover {
    opacity: 1;
    color: var(--accent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 6));
    }
}

/* ===== PROJECT FILTERS ===== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 980px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    color: var(--text-secondary);
}

.filter-btn.active {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.project-card.hidden {
    display: none;
}

/* ===== ROI CALCULATOR ===== */
.roi-calculator {
    padding: 100px 0;
    background: var(--bg-alt);
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media(max-width:968px) {
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.roi-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.roi-input-group {
    margin-bottom: 25px;
}

.roi-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.roi-slider {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.roi-val {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 5px;
    display: block;
}

.roi-result {
    text-align: center;
    padding: 30px;
    background: rgba(0, 113, 227, 0.05);
    border-radius: 20px;
    border: 1px dashed var(--accent);
}

.roi-result-val {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.roi-result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
    display: block;
}

/* ===== KVKK BANNER ===== */
.kvkk-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 450px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    transform: translateY(100px);
    transition: all 0.5s var(--ease);
}

.kvkk-banner.visible {
    display: block;
    transform: translateY(0);
}

.kvkk-title {
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.kvkk-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    display: block;
}

.kvkk-btns {
    display: flex;
    gap: 10px;
}

.kvkk-btn {
    flex: 1;
    padding: 10px;
    border-radius: 980px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.kvkk-btn-accept {
    background: var(--text);
    color: var(--bg);
    border: none;
}

.kvkk-btn-settings {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    padding: 80px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.newsletter-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.newsletter-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 980px;
    padding: 5px 5px 5px 18px;
    transition: all .3s var(--ease);
}

.newsletter-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.newsletter-icon {
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-right: 10px;
}

.newsletter-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: .95rem;
    color: var(--text);
    padding: 10px 4px;
}

.newsletter-input::placeholder {
    color: #c1c1c3;
}

.newsletter-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 980px;
    padding: 12px 28px;
    font-family: var(--font);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-btn:hover {
    background: var(--accent-hover);
}

.newsletter-note {
    font-size: .78rem;
    color: var(--text-secondary);
    margin-top: 14px;
}

@media(max-width:480px) {
    .newsletter-input-wrapper {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 12px;
        gap: 10px;
    }

    .newsletter-icon {
        display: none;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* ===== MOBILE STICKY CTA BAR ===== */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    gap: 8px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 12px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s var(--ease);
}

.mobile-cta-call {
    background: var(--bg-alt);
    color: var(--text);
}

.mobile-cta-quote {
    background: var(--accent);
    color: #fff;
}

.mobile-cta-whatsapp {
    background: #25D366;
    color: #fff;
}

.mobile-cta-call:active {
    transform: scale(.96);
}

.mobile-cta-quote:active {
    transform: scale(.96);
}

.mobile-cta-whatsapp:active {
    transform: scale(.96);
}

@media(max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
    }

    .whatsapp-btn {
        bottom: 80px;
    }

    .back-to-top.visible {
        bottom: 80px;
    }

    .kvkk-banner {
        bottom: 70px;
    }

    body {
        padding-bottom: 70px;
    }
}

/* Dark Theme Mobile CTA */
[data-theme="dark"] .mobile-cta-bar {
    background: rgba(28, 28, 30, 0.95);
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .mobile-cta-call {
    background: rgba(255, 255, 255, 0.08);
    color: #f5f5f7;
}

/* ===== TOAST NOTIFICATION ===== */
.toast-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateX(calc(100% + 30px));
    opacity: 0;
    transition: all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 360px;
}

.toast-notification.visible {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.3rem;
    color: #34C759;
    flex-shrink: 0;
}

.toast-notification.error .toast-icon {
    color: #ff3b30;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
}

.toast-message {
    font-size: .82rem;
    color: var(--text-secondary);
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    transition: color .2s;
}

.toast-close:hover {
    color: var(--text);
}

@media(max-width: 480px) {
    .toast-notification {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

/* ===== SKELETON / SHIMMER LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-alt) 25%, rgba(0, 0, 0, 0.04) 50%, var(--bg-alt) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.project-image img {
    transition: opacity .4s ease;
}

.project-image img[loading="lazy"] {
    background: linear-gradient(90deg, var(--bg-alt) 25%, rgba(0, 0, 0, 0.03) 50%, var(--bg-alt) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: 200px;
}

.project-image img.loaded {
    animation: none;
    background: none;
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg);
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* ===== LIVE COUNTER BADGE ===== */
.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(52, 199, 89, 0.06);
    border-radius: 980px;
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #34C759;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(.8);
    }
}

.live-counter strong {
    color: var(--text);
    font-weight: 600;
}

/* ===== SKIP TO CONTENT (A11y) ===== */
.skip-to-content {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-weight: 600;
    font-size: .9rem;
    transition: top .3s ease;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

/* ===== WHATSAPP CHAT WIDGET ===== */
.wa-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.wa-chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    transition: all .3s var(--ease);
    position: relative;
    animation: waPulse 2s ease-in-out infinite;
}

.wa-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.15), 0 0 0 12px rgba(37, 211, 102, 0.08);
    }
}

.wa-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ff3b30;
    color: #fff;
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.wa-chat-box {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 340px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wa-chat-box.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.wa-chat-header {
    background: #075E54;
    color: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-chat-avatar {
    width: 40px;
    height: 40px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.wa-chat-header-info {
    flex: 1;
}

.wa-chat-name {
    font-weight: 600;
    font-size: .95rem;
    display: block;
}

.wa-chat-status {
    font-size: .78rem;
    opacity: .85;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wa-online-dot {
    width: 7px;
    height: 7px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
}

.wa-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
}

.wa-chat-close:hover {
    opacity: 1;
}

.wa-chat-body {
    padding: 20px 16px;
    background: #ECE5DD;
}

[data-theme="dark"] .wa-chat-body {
    background: #0b1419;
}

.wa-chat-bubble {
    background: #fff;
    border-radius: 0 12px 12px 12px;
    padding: 12px 14px;
    font-size: .88rem;
    color: #1d1d1f;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
    position: relative;
    animation: bubbleIn .4s ease .3s both;
}

[data-theme="dark"] .wa-chat-bubble {
    background: #1f2c34;
    color: #e9edef;
}

.wa-chat-bubble p {
    margin: 0 0 6px;
    line-height: 1.5;
}

.wa-chat-bubble p:last-of-type {
    margin-bottom: 0;
}

.wa-chat-time {
    font-size: .7rem;
    color: #999;
    float: right;
    margin-top: 4px;
}

@keyframes bubbleIn {
    from {
        transform: translateY(10px) scale(.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.wa-chat-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .92rem;
    transition: background .2s;
}

.wa-chat-send:hover {
    background: #20bd5a;
}

@media(max-width: 768px) {
    .wa-chat-widget {
        bottom: 80px;
        right: 16px;
    }

    .wa-chat-box {
        width: calc(100vw - 32px);
        right: -8px;
    }
}

/* ===== EXIT-INTENT POPUP ===== */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.exit-popup-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.exit-popup {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.exit-popup-overlay.visible .exit-popup {
    transform: scale(1) translateY(0);
}

.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color .2s;
}

.exit-popup-close:hover {
    color: var(--text);
}

.exit-popup-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.exit-popup h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -.5px;
}

.exit-popup p {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.exit-popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 980px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: all .3s var(--ease);
}

.exit-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.35);
}

.exit-popup-dismiss {
    display: block;
    margin-top: 16px;
    font-size: .82rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color .2s;
}

.exit-popup-dismiss:hover {
    color: var(--text);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10003;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.lightbox-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform .3s ease;
}

.lightbox-overlay.visible .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}



/* ===== MICRO-INTERACTIONS ===== */

/* 3D Tilt Effect on Cards */
.project-card {
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    transform-style: preserve-3d;
}

.project-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Link hover underline animation */
.blog-post-content a:not(.btn):not(.exit-popup-btn) {
    text-decoration: none;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 1.5px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size .3s ease;
    padding-bottom: 2px;
}

.blog-post-content a:not(.btn):not(.exit-popup-btn):hover {
    background-size: 100% 1.5px;
}

/* Magnetic button effect class */
.magnetic-btn {
    transition: transform .2s ease;
}

/* Stats counter animation */
.stat-count {
    transition: transform .2s ease;
}

.stat-card:hover .stat-count {
    transform: scale(1.1);
}

/* Nav link hover underline */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width .3s ease, left .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Parallax sections */
.parallax-bg {
    transition: transform .1s linear;
    will-change: transform;
}

/* Blog share buttons */
.blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 32px 0;
}

.blog-share-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
}

.blog-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--text-secondary);
    transition: all .3s ease;
    font-size: .9rem;
}

.blog-share a:hover {
    transform: translateY(-3px);
}

.blog-share a.share-twitter:hover {
    background: #1DA1F2;
    color: #fff;
}

.blog-share a.share-linkedin:hover {
    background: #0A66C2;
    color: #fff;
}

.blog-share a.share-whatsapp:hover {
    background: #25D366;
    color: #fff;
}

.blog-share a.share-copy:hover {
    background: var(--accent);
    color: #fff;
}

/* Reading progress bar for blog */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #5856D6);
    z-index: 10000;
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

/* Dark mode circle transition */
.theme-transition-circle {
    position: fixed;
    border-radius: 50%;
    z-index: 99997;
    pointer-events: none;
    transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0);
}

.theme-transition-circle.expanding {
    transform: scale(1);
}

/* High contrast mode support */
@media(prefers-contrast: high) {
    :root {
        --border: #333;
    }

    .nav-link::after {
        height: 3px;
    }
}

/* ===== AI SEO ANALYSIS ===== */
.seo-analysis {
    padding: 100px 0;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.seo-analysis-container {
    max-width: 800px;
    margin: 0 auto;
}

.analysis-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}

.analysis-input-group {
    display: flex;
    gap: 12px;
}

.input-with-icon {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
}

.input-with-icon input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-alt);
    font-family: var(--font);
    font-size: 1rem;
    transition: all .3s var(--ease);
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* Loading State */
.analysis-loading {
    text-align: center;
    padding: 20px 0;
}

.ai-processing-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.ai-core {
    position: relative;
    width: 60px;
    height: 60px;
}

.ai-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: ringPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.ai-ring:nth-child(2) {
    animation-delay: 0.5s;
}

.ai-ring:nth-child(3) {
    animation-delay: 1s;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.ai-scanner {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    top: 50%;
    left: 0;
    z-index: 2;
    animation: scannerMove 2s ease-in-out infinite;
}

@keyframes scannerMove {

    0%,
    100% {
        transform: translateY(-40px);
        opacity: 0;
    }

    50% {
        transform: translateY(40px);
        opacity: 1;
    }
}

.loading-status {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.analysis-progress-wrapper {
    height: 6px;
    background: var(--bg-alt);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.analysis-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0;
    transition: width 0.4s ease;
}

.analysis-logs {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: left;
    height: 80px;
    overflow: hidden;
    background: var(--bg-alt);
    padding: 10px;
    border-radius: var(--radius);
}

.log-entry {
    margin-bottom: 4px;
    animation: logFadeIn 0.3s ease forwards;
}

@keyframes logFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Results State */
.result-header {
    text-align: center;
    margin-bottom: 32px;
}

.score-circle {
    width: 120px;
    margin: 0 auto;
    position: relative;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: var(--bg-alt);
    stroke-width: 2.8;
}

.circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.8;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s var(--ease);
}

.percentage {
    fill: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.55rem;
    text-anchor: middle;
}

.score-circle span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.result-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.detail-value {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.result-footer {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    text-align: center;
}

.footer-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--text);
    font-size: 0.95rem;
}

.footer-msg i {
    color: #ff9500;
}

.report-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.report-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-alt);
}

@media (max-width: 600px) {

    .analysis-input-group,
    .report-form {
        flex-direction: column;
    }

    .result-details {
        grid-template-columns: 1fr;
    }
}

/* ===== SOCIAL PROOF NOTIFICATION ===== */
.social-proof {
    position: fixed;
    bottom: 80px;
    left: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    transform: translateX(-120%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 320px;
}

.social-proof.visible {
    transform: translateX(0);
}

.sp-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.sp-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-text {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

.sp-time {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.sp-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    margin-left: 4px;
    line-height: 1;
}

@media (max-width: 768px) {
    .social-proof {
        bottom: 100px;
        left: 12px;
        right: 12px;
        max-width: none;
    }
}

/* ===== SEO & RANK FINDER PAGE ENHANCEMENTS ===== */
.tool-tabs {
    display: flex;
    gap: 8px;
    background: var(--bg-alt);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font);
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

.tab-btn.active {
    background: var(--surface);
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.rank-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rank-main-result {
    text-align: center;
    padding: 40px;
    background: var(--bg-alt);
    border-radius: 24px;
    margin: 24px 0;
    border: 1px dashed var(--border);
}

.rank-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.rank-number {
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--accent);
    line-height: 1;
}

.rank-sub-label {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-top: 12px;
    opacity: 0.7;
}

.rank-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.stat-item i {
    width: 32px;
    height: 32px;
    background: var(--bg-alt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.stat-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stat-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text);
}

@media (max-width: 600px) {

    .rank-input-grid,
    .rank-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== SHARED HERO SECTION (Blog, SEO, etc) ===== */
.blog-hero {
    padding: 180px 24px 80px;
    text-align: center;
    background: var(--bg-alt);
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero-content {
    max-width: 800px;
}

.blog-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text);
    margin: 16px 0 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 140px 20px 60px;
    }
}

/* ===== NEW AI TOOLS STYLES ===== */
#question-area h4 {
    margin-bottom: 24px;
    font-size: 1.2rem;
    color: var(--text);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option-btn {
    padding: 16px 20px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s var(--ease);
    width: 100%;
}

.quiz-option-btn:hover {
    background: var(--surface);
    border-color: var(--accent);
    transform: translateX(4px);
}

.quiz-progress-wrapper {
    height: 6px;
    background: var(--bg-alt);
    border-radius: 3px;
    margin-bottom: 32px;
    overflow: hidden;
}

.quiz-progress {
    height: 100%;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.ready-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s var(--ease);
}

.check-item:hover {
    background: var(--border);
}

.check-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.ready-score-display {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.social-ideas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.social-idea-card {
    padding: 20px;
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
}

.social-idea-card h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text);
}

.social-idea-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tool-intro {
    text-align: center;
    margin-bottom: 32px;
}

.tool-intro i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.tool-intro h3 {
    margin-bottom: 8px;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.result-stats {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.quiz-result-card {
    text-align: center;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}

.quiz-result-card h3 {
    font-size: 1.8rem;
    margin: 12px 0;
    color: var(--accent);
}

@media (max-width: 600px) {
    .tool-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 12px;
    }

    .tab-btn {
        flex-shrink: 0;
    }
}

/* ===== ENHANCED AI TOOLS STYLES ===== */
.social-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.social-idea-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-idea-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.idea-badge {
    background: var(--bg-alt);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
}

.idea-content h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
}

.idea-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.idea-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.ready-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.check-item {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 16px 20px;
    transition: all 0.2s var(--ease);
}

.check-item.checked {
    border-color: var(--accent);
    background: var(--bg-alt);
}

.ready-score-container {
    padding: 40px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    margin-top: 32px;
}

.ready-progress-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
}

.ready-feedback-list {
    text-align: left;
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.feedback-item {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    padding: 12px;
    background: var(--surface);
    border-radius: var(--radius);
    border-left: 4px solid #ff3b30;
}

.feedback-item.positive {
    border-left-color: #34c759;
}

.check-item,
.check-item *,
.ready-check {
    cursor: pointer !important;
}

.check-item {
    user-select: none;
    -webkit-user-select: none;
}

/* ===== ADDITIONAL AI TOOLS STYLES ===== */
.versus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.versus-input-card {
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    text-align: center;
}

.versus-input-card h4 {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.versus-results {
    margin-top: 32px;
}

.comparison-bar-wrapper {
    margin-bottom: 24px;
}

.comparison-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.comparison-bar {
    height: 12px;
    background: var(--bg-alt);
    border-radius: 6px;
    display: flex;
    overflow: hidden;
}

.bar-my {
    background: var(--accent);
    height: 100%;
    transition: width 1s var(--ease);
}

.bar-competitor {
    background: #ff3b30;
    height: 100%;
    transition: width 1s var(--ease);
}

.loss-highlight {
    background: rgba(255, 59, 48, 0.05);
    border: 1px dashed #ff3b30;
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 24px;
}

.loss-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff3b30;
    font-family: var(--font-display);
    margin: 12px 0;
}

.wizard-step {
    animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== TYPING ANIMATION ===== */
.typing-cursor {
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    color: var(--accent);
    font-weight: 300;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ===== AI HUB / TOOLS GRID ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.tool-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.tool-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text);
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tool-card .btn-tool {
    margin-top: auto;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: rgba(0, 113, 227, 0.08);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ===== PROFESSIONAL GAUGES & UI ENHANCEMENTS ===== */
.gauge-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.gauge-svg {
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 12;
}

.gauge-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    /* 2 * PI * 90 */
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 1.5s var(--ease);
}

.gauge-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--text);
}

/* Tooltip / Info Icon */
.info-icon {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 6px;
    cursor: help;
    position: relative;
}

.info-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 100;
    margin-bottom: 8px;
}

/* Quick Switcher Sidebar */
.tool-switcher {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.switcher-item {
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease);
}

.switcher-item:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

@media(max-width: 1024px) {
    .tool-switcher {
        display: none;
    }
}

/* ===== SOCIAL PROOF NOTIFICATION ===== */
.social-proof {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(-120%);
    transition: all 0.6s var(--ease);
    z-index: 1000;
}

.social-proof.visible {
    transform: translateX(0);
}

.sp-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.sp-content {
    display: flex;
    flex-direction: column;
}

.sp-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.sp-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.sp-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    margin-left: 10px;
    padding: 0 5px;
}

@media (max-width: 768px) {
    .social-proof {
        bottom: 85px;
        /* Above mobile menu */
        left: 15px;
        right: 15px;
        width: calc(100% - 30px);
    }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== EXIT INTENT POPUP ===== */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.exit-popup-overlay.visible {
    display: flex;
    opacity: 1;
}

.exit-popup {
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s var(--ease);
}

.exit-popup-overlay.visible .exit-popup {
    transform: scale(1);
}

.exit-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.exit-popup-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.exit-popup h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.exit-popup p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.exit-popup-btn {
    display: block;
    background: var(--accent);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.exit-popup-dismiss {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    text-decoration: underline;
}

/* ===== TOAST NOTIFICATION ===== */
.toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: transform 0.4s var(--ease);
    z-index: 10001;
}

.toast-notification.visible {
    transform: translateX(0);
}

.toast-notification.error .toast-icon {
    color: #ff3b30;
}

.toast-icon {
    color: #34c759;
    font-size: 1.2rem;
}

.toast-title {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
}