/* webtrafik.php için özel CSS */

.webtrafik-hero {
    padding: 180px 0 120px;
    background: #3E1E68;
    background: radial-gradient(at 0% 0%, rgb(15, 1, 19) transparent 20%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 0% 50%, hsla(261, 84%, 58%, 1) 0, transparent 50%),
        radial-gradient(at 100% 50%, hsla(339, 100%, 70%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, rgb(65, 4, 80) 0, transparent 20%),
        radial-gradient(at 50% 100%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.gradient-text-white {
    background: linear-gradient(to right, #ffffff, #dcd0ff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 5s linear infinite;
}

@keyframes textShine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-title-v11 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-texture {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('../img/hero-tech-pattern.png') repeat;
    background-size: 512px auto;
    opacity: 0.15;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay;
    animation: heroTextureMove 90s linear infinite;
}

.character-container {
    position: relative;
    z-index: 4;
}

.char-a {
    max-width: 110%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
    /* Masa başındaki karakter için nefes alma ve hafif kafa/vücut sallama */
    animation: breathChar 6s ease-in-out infinite, tiltChar 10s ease-in-out infinite;
    transform-origin: bottom center;
}

.char-b {
    position: absolute;
    top: -60px;
    right: -30px;
    width: 200px;
    filter: drop-shadow(0 0 25px rgba(255, 172, 172, 0.6)) drop-shadow(0 0 50px rgba(228, 90, 146, 0.3));
    animation: fairyFloatMagic 4s ease-in-out infinite, wingPulse 2s ease-in-out infinite;
    z-index: 5;
}

@keyframes breathChar {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@keyframes tiltChar {

    0%,
    100% {
        rotate: 0deg;
    }

    33% {
        rotate: 1deg;
    }

    66% {
        rotate: -1deg;
    }
}

@keyframes wingPulse {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 25px rgba(255, 172, 172, 0.6));
    }

    50% {
        filter: brightness(1.3) drop-shadow(0 0 45px rgba(255, 172, 172, 0.9));
    }
}

@keyframes fairyFloatMagic {

    0%,
    100% {
        translate: 0 0;
        rotate: 0deg;
    }

    50% {
        translate: -15px -30px;
        rotate: -8deg;
    }
}

/* --- Problem & Solution Section (V6) --- */
.problem-solution-section {
    background: #fcfaff;
}

.section-decor-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(125, 9, 129, 0.349) 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(228, 90, 146, 0.03) 0%, transparent 60%),
        url('../img/hero-tech-pattern.png') repeat;
    background-size: auto, auto, 512px auto;
    opacity: 0.5;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* --- Portal Comparison (V9) --- */
.portal-comparison-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.split-portal-container {
    display: flex;
    height: 500px;
    position: relative;
    background: #000;
}

.portal-panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-panel:hover {
    flex: 1.5;
}

.portal-left {
    background: #0a0a0a;
}

.portal-right {
    background: #1a0f2e;
}

.portal-panel canvas,
.portal-panel #liquidContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.portal-content {
    position: relative;
    z-index: 3;
    padding: 3rem;
    max-width: 400px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: all 0.5s ease;
}

.portal-panel:hover .portal-content {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.portal-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-bad {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    box-shadow: 0 5px 15px rgba(255, 75, 43, 0.4);
}

.badge-good {
    background: linear-gradient(135deg, #12c2e9, #c471ed, #f64f59);
    box-shadow: 0 5px 15px rgba(196, 113, 237, 0.4);
}

.portal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.portal-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-list li i {
    font-size: 1.1rem;
}

.bad-list li i {
    color: #ff4b2b;
}

.good-list li i {
    color: #00f2fe;
}

/* Portal Divider */
.portal-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 4;
    transform: translateX(-50%);
    pointer-events: none;
}

.divider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #5D2F77;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(138, 75, 175, 0.5);
    animation: pulse-handle 2s infinite;
}

@keyframes pulse-handle {
    0% {
        box-shadow: 0 0 0 0 rgba(138, 75, 175, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(138, 75, 175, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(138, 75, 175, 0);
    }
}

.portal-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.problem-overlay {
    background: radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.4));
}

.solution-overlay {
    background: radial-gradient(circle at center, transparent, rgba(62, 30, 104, 0.3));
}

/* Mini Stats V2 */
.mini-stat-v2 {
    transition: all 0.3s ease;
}

.mini-stat-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-color-rgb), 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .split-portal-container {
        flex-direction: column;
        height: auto;
    }

    .portal-panel {
        height: 400px;
        flex: none !important;
    }

    .portal-divider {
        display: none;
    }
}

/* --- Roadmap / How it Works (V6) --- */
.how-it-works-section {
    background: #fcfaff;
    position: relative;
    border-top: 1px solid rgba(62, 30, 104, 0.05);
}

.roadmap-wrapper {
    position: relative;
}

.roadmap-line {
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, #3E1E68, #E45A92, #6f42c1);
    z-index: 1;
    opacity: 0.2;
}

.roadmap-card {
    position: relative;
    z-index: 2;
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.roadmap-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(62, 30, 104, 0.1);
    border-color: rgba(62, 30, 104, 0.1);
}

.step-blob {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    animation: blobMorph 8s linear infinite;
}

.step-blob.color-2 {
    background: #E45A92;
    animation-delay: -2s;
}

.step-blob.color-3 {
    background: #6f42c1;
    animation-delay: -4s;
}

@keyframes blobMorph {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.step-number-v2 {
    font-size: 2rem;
    font-weight: 800;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid currentColor;
    border-radius: inherit;
    opacity: 0.5;
    animation: pulseRoadmap 2s ease-out infinite;
}

@keyframes pulseRoadmap {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* --- SEO Features Grid (V6) --- */
.seo-features {
    background: #f5f8ff;
    position: relative;
    border-top: 1px solid rgba(13, 110, 253, 0.05);
}

.bg-pattern-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#3E1E68 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.05;
}

.feature-box {
    background: white;
    padding: 35px;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.icon-wrap {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-box:hover .icon-wrap {
    transform: scale(1.1) rotate(10deg);
}

.style-1 .icon-wrap {
    background: rgba(13, 110, 253, 0.1);
}

.style-2 .icon-wrap {
    background: rgba(255, 193, 7, 0.1);
}

.style-3 .icon-wrap {
    background: rgba(13, 202, 240, 0.1);
}

.style-4 .icon-wrap {
    background: rgba(25, 135, 84, 0.1);
}

.feature-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.02));
    border-radius: 100% 0 0 0;
}

/* --- CTA Banner (Revamped V6) --- */
.cta-banner {
    background: #000;
    background: linear-gradient(135deg, #0d0617 0%, #1a0b2e 100%), url('../img/hero-tech-pattern.png');
    background-size: cover, 512px auto;
    background-blend-mode: normal, overlay;
    padding: 100px 40px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title-v11 {
    display: inline-block;
    font-weight: 800;
    background: linear-gradient(135deg, #3E1E68 0%, #E45A92 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title-v11::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #3E1E68, #E45A92);
    border-radius: 2px;
}

.banner-glow-1,
.banner-glow-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(228, 90, 146, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.banner-glow-1 {
    top: -100px;
    right: -50px;
}

.banner-glow-2 {
    bottom: -100px;
    left: -50px;
}

/* --- Campaign Settings & Traffic Map (New V12) --- */
.campaign-settings-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.traffic-map-container {
    background: #0f051d;
    border-radius: 40px;
    padding: 60px 40px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(62, 30, 104, 0.1);
    margin-bottom: 60px;
    overflow: hidden;
}

.traffic-flow-viz {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 300px;
}

.flow-node {
    text-align: center;
    position: relative;
    z-index: 3;
}

.node-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: #fff;
}

.flow-node:hover .node-icon {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: #E45A92;
    box-shadow: 0 0 30px rgba(228, 90, 146, 0.4);
}

.node-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

.flow-connector {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    margin: 0 20px;
}

.flow-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 4px;
    background: linear-gradient(to right, #E45A92, transparent);
    border-radius: 2px;
    transform: translateY(-50%);
    animation: flowPulse 2s linear infinite;
}

@keyframes flowPulse {
    0% {
        left: -10%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.setting-card {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.setting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(62, 30, 104, 0.08);
    border-color: rgba(62, 30, 104, 0.1);
}

.setting-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: rgba(62, 30, 104, 0.05);
    color: #3E1E68;
}

.setting-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a0b2e;
}

.setting-desc {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
}

.tag-item {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: #f0f2f5;
    border-radius: 6px;
    color: #495057;
    font-weight: 500;
}

@media (max-width: 768px) {
    .traffic-flow-viz {
        flex-direction: column;
        gap: 40px;
    }

    .flow-connector {
        width: 2px;
        height: 40px;
        margin: 10px 0;
    }

    .flow-connector::after {
        width: 4px;
        height: 20px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(to bottom, #E45A92, transparent);
        animation: flowPulseVertical 2s linear infinite;
    }
}

@keyframes flowPulseVertical {
    0% {
        top: -10%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}

/* Global Utilities */
.bg-soft-primary {
    background: rgba(var(--primary-color-rgb), 0.1);
}

.bg-soft-info {
    background: rgba(13, 202, 240, 0.1);
}

.bg-soft-success {
    background: rgba(25, 135, 84, 0.1);
}

.gradient-line {
    background: linear-gradient(to right, var(--primary-color), #E45A92);
}

.z-index-1 {
    z-index: 1;
}

@media (max-width: 991px) {
    .roadmap-line {
        display: none;
    }

    .comparison-container {
        position: relative;
        padding-left: 20px;
        z-index: 2;
        margin-bottom: 30px;
    }

    .comparison-container::before {
        display: none;
    }
}
/* --- Added Responsive Fixes V12 --- */
@media (max-width: 576px) {
    .hero-title-v11 {
        font-size: 2.2rem !important;
    }

    .webtrafik-hero {
        padding: 140px 0 80px !important;
    }

    .campaign-settings-section {
        padding: 60px 0 !important;
        background-color: #fcfaff !important;
    }

    .traffic-map-container {
        padding: 40px 20px !important;
        border-radius: 25px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .node-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }

    .section-title-v11 {
        font-size: 1.8rem !important;
    }

    .feature-box {
        padding: 25px !important;
    }

    .setting-card {
        padding: 20px !important;
    }
}

@media (max-width: 768px) {
    .split-portal-container {
        height: auto !important;
    }

    .portal-panel {
        height: 350px !important;
    }

    .portal-content {
        padding: 1.5rem !important;
    }
}
