/* ========================================
   ECEMIKO — SPIDER-GWEN PREMIUM SITE
   ======================================== */

html {
    scroll-behavior: smooth;
}

:root {
    --pink: #E91E8C;
    --pink-light: #FF4DB6;
    --pink-dark: #b5156b;
    --purple: #9B59B6;
    --purple-light: #C39BD3;
    --purple-deep: #5b2d82;
    --white: #FFFFFF;
    --off-white: #F4F0FF;
    --bg-dark: #05020D;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(233, 30, 140, 0.2);
    --border-soft: rgba(255, 255, 255, 0.06);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.3);

    --font-display: 'Bebas Neue', sans-serif;
    --font-ui: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ RESET ============ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-ui);
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ============ NOISE OVERLAY ============ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.4;
}

/* ============ CUSTOM CURSOR ============ */
#cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s var(--ease-smooth), background 0.3s, width 0.2s, height 0.2s;
    mix-blend-mode: screen;
}

#cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(233, 30, 140, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.18s var(--ease-smooth), width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.3s, background 0.3s;
    backdrop-filter: blur(2px);
}

body.cursor-hover #cursor-ring {
    width: 56px;
    height: 56px;
    background: rgba(233, 30, 140, 0.08);
    border-color: var(--pink);
}

body.cursor-hover #cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--pink-light);
}

/* ============ NAV ============ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 3rem;
    height: 72px;
    display: flex;
    align-items: center;
    transition: background 0.4s var(--ease-smooth), backdrop-filter 0.4s;
}

#navbar.scrolled {
    background: rgba(5, 2, 13, 0.85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

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

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--pink);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--white);
}

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

.btn-nav {
    position: relative;
    padding: 0.65rem 1.8rem;
    border: 1px solid rgba(233, 30, 140, 0.4);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    cursor: pointer;
}

.btn-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(233, 30, 140, 0.3), 0 0 15px rgba(155, 89, 182, 0.2);
}

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

/* ============ HERO ============ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 5% 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(233, 30, 140, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(233, 30, 140, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(155, 89, 182, 0.12) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.8s var(--ease-out) 0.3s forwards;
}

.eyebrow-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--pink);
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink));
}

.eyebrow-line:last-child {
    background: linear-gradient(90deg, var(--pink), transparent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(6rem, 18vw, 16rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
    animation: fade-up 1s var(--ease-out) 0.5s forwards;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #fff 0%, var(--pink-light) 40%, var(--purple-light) 70%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-line::before {
    content: attr(data-text);
    position: absolute;
    background: none;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(233, 30, 140, 0.3);
    top: 6px;
    left: 6px;
    z-index: -1;
    filter: blur(8px);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.8s var(--ease-out) 0.7s forwards;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.8s var(--ease-out) 0.9s forwards;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #fff;
    overflow: hidden;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 60px rgba(233, 30, 140, 0.5), 0 0 80px rgba(155, 89, 182, 0.3);
}

.btn-primary .btn-arrow {
    transition: transform 0.3s var(--ease-spring);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--pink-light), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover .btn-glow {
    opacity: 0.4;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    animation: fade-up 0.8s var(--ease-out) 1.1s forwards;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 0.02em;
    color: var(--white);
}

.stat-plus {
    font-size: 1.2rem;
    color: var(--pink);
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-soft);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
    opacity: 0;
    animation: scroll-bounce 2s ease-in-out 1.5s infinite, fade-up 0.8s var(--ease-out) 1.5s forwards;
}

.scroll-hint-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--pink));
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.hero-float-card {
    position: absolute;
    top: 30%;
    right: 8%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(233, 30, 140, 0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(20px);
    animation: float-card 4s ease-in-out infinite, fade-up 0.8s var(--ease-out) 1.3s both;
    opacity: 0;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

.float-card-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.float-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.float-card-dot.active {
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse-dot 1.5s infinite;
}

.float-card-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #4ade80;
}

/* ================================================================
   SCROLL ANIMATION — INTEGRATED STORYTELLING
   ================================================================ */
#scroll-animation-section {
    /* Orta kararda bir scroll mesafesi (420vh).
       Mesafe uzadıkça animasyon karelerinin kaydırmaya oranı düşer, bu da animasyon hızını biraz yavaşlatır. */
    height: 420vh;
    position: relative;
    margin-top: -1px;
}


#canvas-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

#scroll-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    /* Pikselli (düşük boyutlu ezgif) resimler devasa büyütüldüğünde (cover) çamurlaşır. 
       Bunu Premium bir "Sinematik/Yumuşak" dokuya (painted feel) çevirmek için
       donanımsal GPU CSS Blur filtresi kullanıyoruz. Pixel kareleri böylece gizlenir. */
    filter: blur(2.5px) brightness(0.95) saturate(1.1);
    transform: scale(1.03);
    /* Blur'un kenarlardaki transparanlık sızmalarını gizlemek için hafif zoom */
}

/* gradient fades that blend canvas into surrounding sections */
.canvas-fade {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 10;
}

.canvas-fade--top {
    top: 0;
    height: 220px;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, rgba(5, 2, 13, 0.7) 40%, transparent 100%);
}

.canvas-fade--bottom {
    bottom: 0;
    height: 240px;
    background: linear-gradient(to top, var(--bg-dark) 0%, rgba(5, 2, 13, 0.75) 40%, transparent 100%);
}

/* radial vignette */
.canvas-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(5, 2, 13, 0.55) 100%);
    z-index: 8;
    pointer-events: none;
}

/* ── vertical progress rail ── */
.scroll-progress-rail {
    position: absolute;
    right: 2.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    z-index: 30;
}

.scroll-progress-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--pink), var(--purple));
    border-radius: 99px;
    box-shadow: 0 0 8px rgba(233, 30, 140, 0.7);
}

.scroll-progress-dot {
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--pink);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--pink), 0 0 24px rgba(233, 30, 140, 0.4);
}

/* ── frame counter ── */
.frame-counter {
    position: absolute;
    bottom: 7rem;
    left: 3rem;
    z-index: 30;
    font-family: var(--font-display);
    display: flex;
    align-items: baseline;
    gap: 4px;
    opacity: 0.55;
    letter-spacing: 0.05em;
}

#frame-counter-num {
    font-size: 2.8rem;
    color: var(--white);
    line-height: 1;
}

.frame-counter-slash {
    font-size: 1rem;
    color: var(--pink);
}

.frame-counter-total {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ================================================================
   STORY PANELS
   ================================================================ */
.story-panel {
    position: absolute;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-panel--left {
    left: 5%;
    transform: translateY(-50%) translateX(-60px);
}

.story-panel--right {
    right: 5%;
    transform: translateY(-50%) translateX(60px);
    text-align: right;
}

.story-panel--center {
    left: 50%;
    bottom: 13%;
    top: auto;
    transform: translateX(-50%) translateY(30px);
    text-align: center;
    width: 100%;
    max-width: 440px;
    /* Reduced from 520px */
}

/* visible states */
.story-panel.visible {
    opacity: 1;
    pointer-events: auto;
}

.story-panel--left.visible {
    transform: translateY(-50%) translateX(0);
}

.story-panel--right.visible {
    transform: translateY(-50%) translateX(0);
}

.story-panel--center.visible {
    transform: translateX(-50%) translateY(0);
}

/* glass card */
.story-panel-inner {
    background: rgba(5, 2, 13, 0.52);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    border: 1px solid rgba(233, 30, 140, 0.22);
    border-radius: 24px;
    padding: 2.4rem 2.8rem;
    max-width: 360px;
    position: relative;
    overflow: hidden;
}

.story-panel--center .story-panel-inner {
    max-width: 100%;
    padding: 1.8rem 2.2rem;
    /* Tighter padding for center panel */
}

/* top accent */
.story-panel-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--purple), transparent);
}

.story-panel--right .story-panel-inner::before,
.story-panel--center .story-panel-inner::before {
    background: linear-gradient(90deg, transparent, var(--purple), var(--pink));
}

.story-chapter {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 1rem;
}

.story-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.7);
}

.story-panel--center .story-heading {
    font-size: clamp(2rem, 4vw, 3.4rem);
    /* Smaller header specifically for center panel */
}

.story-heading em {
    font-style: normal;
    background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-body {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.2rem;
}

.story-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.6rem;
    background: linear-gradient(135deg, var(--pink), var(--purple-deep));
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: #fff;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.35);
    margin-bottom: 1.2rem;
}

.story-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 16px 48px rgba(233, 30, 140, 0.5);
}

.story-line {
    height: 1px;
    background: linear-gradient(90deg, var(--pink), transparent);
    opacity: 0.35;
}

.story-panel--right .story-line,
.story-panel--center .story-line {
    background: linear-gradient(90deg, transparent, var(--pink), transparent);
}




/* ============ SECTION COMMONS ============ */
section {
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--pink);
    padding: 0.35rem 1rem;
    border: 1px solid rgba(233, 30, 140, 0.3);
    border-radius: 100px;
    margin-bottom: 1.2rem;
    background: rgba(233, 30, 140, 0.06);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ FAQ SECTION ============ */
#faq-section {
    padding: 8rem 5% 4rem;
    position: relative;
    z-index: 10;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
}

.faq-item:hover {
    border-color: rgba(233, 30, 140, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.faq-item.active {
    border-color: var(--pink);
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.05), rgba(155, 89, 182, 0.05));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--pink-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--pink);
    font-weight: 300;
    transition: transform 0.4s var(--ease-spring);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--pink-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============ FEATURES ============ */
#features {
    padding: 4rem 5% 8rem;
    overflow: hidden;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink), var(--purple), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-spring), border-color 0.3s, box-shadow 0.4s;
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--pink);
    box-shadow: 0 32px 80px rgba(233, 30, 140, 0.18), 0 0 40px rgba(233, 30, 140, 0.1);
}

.feature-card:hover h3 {
    transform: scale(1.03);
    color: var(--pink-light);
}

.feature-card--highlight {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.08), rgba(155, 89, 182, 0.08));
    border-color: rgba(233, 30, 140, 0.25);
}

/* Clickable card premium hint */
.feature-card--clickable {
    cursor: pointer;
}

.feature-card--clickable:hover {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.12), rgba(155, 89, 182, 0.12));
    border-color: var(--pink);
    box-shadow: 0 15px 45px rgba(233, 30, 140, 0.25);
}

.click-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--pink);
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
    opacity: 0.7;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.4);
}

.feature-card--clickable:hover .click-badge {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(90deg, var(--pink), var(--purple));
}


.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    color: var(--pink);
    margin-bottom: 1.5rem;
    transition: transform 0.3s var(--ease-spring);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-family: var(--font-ui);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.feature-card-line {
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .feature-card-line {
    opacity: 0.5;
}

/* ============ SHOWCASE STRIP ============ */
#showcase-strip {
    padding: 2.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: linear-gradient(90deg, rgba(233, 30, 140, 0.03), rgba(155, 89, 182, 0.03));
}

.strip-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: strip-scroll 20s linear infinite;
}

.strip-item {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.3s;
}

.strip-item:hover {
    color: var(--white);
}

.strip-dot {
    color: var(--pink);
    font-size: 0.6rem;
    opacity: 0.6;
}

@keyframes strip-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============ DOWNLOAD ============ */
#download {
    padding: 8rem 5%;
    overflow: hidden;
}

#download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--pink), transparent);
}

.download-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.06;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--pink);
    top: -100px;
    left: -100px;
    animation: blob-float 8s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    top: 50%;
    right: -100px;
    animation: blob-float 10s ease-in-out 2s infinite reverse;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--pink-light);
    bottom: 0;
    left: 40%;
    animation: blob-float 7s ease-in-out 1s infinite;
}

@keyframes blob-float {

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

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.download-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.download-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 1rem;
}

.download-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(233, 30, 140, 0.2);
    border-radius: 28px;
    padding: 2.5rem;
    backdrop-filter: blur(24px);
    text-align: left;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.4s;
}

.download-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.05), transparent, rgba(155, 89, 182, 0.05));
    pointer-events: none;
}

.download-card:hover {
    border-color: rgba(233, 30, 140, 0.4);
    box-shadow: 0 48px 100px rgba(233, 30, 140, 0.15);
}

.download-card-left {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.download-icon-wrap {
    position: relative;
    flex-shrink: 0;
}

.dl-icon {
    width: 80px;
    height: 80px;
}

.download-icon-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(233, 30, 140, 0.4);
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {

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

    50% {
        transform: scale(1.12);
        opacity: 0.2;
    }
}

.download-app-name {
    font-family: var(--font-ui);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.download-meta-row {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
}

.download-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.download-meta-item svg {
    width: 14px;
    height: 14px;
}

.download-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    padding: 0.2rem 0.7rem;
    background: rgba(233, 30, 140, 0.12);
    border: 1px solid rgba(233, 30, 140, 0.25);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pink-light);
    letter-spacing: 0.05em;
}

/* Download Button */
.btn-download {
    position: relative;
    display: block;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--pink), var(--purple-deep));
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.4s;
    box-shadow: 0 8px 32px rgba(233, 30, 140, 0.3);
}

.btn-download:hover {
    transform: scale(1.04) translateY(-3px);
    box-shadow: 0 24px 60px rgba(233, 30, 140, 0.5), 0 0 80px rgba(155, 89, 182, 0.3);
}

.btn-download-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 2.2rem;
    position: relative;
    z-index: 1;
}

.btn-download-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-download-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.btn-dl-main {
    display: block;
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 3px;
}

.btn-dl-sub {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.btn-download-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s var(--ease-out);
}

.btn-download:hover .btn-download-shine {
    left: 150%;
}

/* Requirements */
.download-requirements {
    text-align: left;
}

.download-requirements h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    text-align: center;
}

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

.req-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    transition: border-color 0.3s;
}

.req-item:hover {
    border-color: rgba(233, 30, 140, 0.2);
}

.req-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.req-value {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

/* ============ FOOTER ============ */
#footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--border-soft);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--pink);
}

/* ============ ANIMATIONS ============ */
@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .download-card {
        flex-direction: column;
        align-items: stretch;
    }

    .download-card-left {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    #navbar {
        padding: 0 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .stat-divider {
        display: none;
    }

    /* STORY PANELS MOBILE REWRITE */
    .story-panel {
        left: 5% !important;
        right: 5% !important;
        width: 90% !important;
        max-width: none !important;
        top: auto !important;
        bottom: 8% !important;
        /* Bir tık yukarı aldım */
        transform: translateY(20px) scale(0.95) !important;
    }

    /* 3. Panel (Merkez) Mobilde Diğerleriyle Aynı Kuralı Takip Etmeli */
    .story-panel--center {
        transform: translateY(20px) scale(0.95) !important;
    }

    .story-panel.visible {
        transform: translateY(0) scale(1) !important;
    }

    .story-panel--center.visible {
        transform: translateY(0) scale(1) !important;
        left: 5% !important;
        /* X-50% yerine sabit kenar payı */
    }

    .story-panel-inner {
        padding: 1.2rem 1.4rem !important;
        text-align: center !important;
        max-width: 100% !important;
        margin: 0 auto;
        width: 100% !important;
    }

    .story-heading {
        font-size: 1.6rem !important;
        margin-bottom: 0.3rem !important;
        white-space: normal !important;
        /* Taşmayı önleyen en kritik ayar */
    }

    .story-body {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .frame-counter {
        position: absolute !important;
        top: 100px !important;
        right: 15px !important;
        bottom: auto !important;
        z-index: 1000 !important;
        transform: scale(0.6) !important;
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(4px);
        padding: 6px 10px;
        border-radius: 10px;
        pointer-events: none;
    }

    .btn-download-inner {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* ============ LIGHTBOX MODAL ============ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 2, 13, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-spring);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 200;
    cursor: pointer;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.3s;
    z-index: 20;
}

.modal-close:hover {
    opacity: 1;
    color: var(--pink-light);
}

.modal-body {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-grow: 1;
}

.image-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 70vh;
}

#modal-img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-caption {
    margin-top: 1rem;
    font-family: var(--font-display);
    color: var(--pink-light);
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.nav-btn {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: var(--pink);
    border-color: var(--pink);
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.4);
    transform: scale(1.1);
}

.modal-thumbnails {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding-bottom: 0.5rem;
}

.thumb-item {
    width: 80px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.4;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumb-item:hover,
.thumb-item.active {
    opacity: 1;
    border-color: var(--pink);
}

@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 4rem 1rem 2rem;
        background: rgba(5, 2, 13, 1);
        justify-content: center;
    }

    .modal-body {
        position: relative;
        flex-direction: column;
        justify-content: center;
        gap: 0;
    }

    .modal-img-container {
        width: 100% !important;
        margin: 0;
    }

    .modal-img-container img {
        max-height: 55vh !important;
        object-fit: contain;
        transition: transform 0.4s var(--ease-out);
        cursor: zoom-in;
    }

    .modal-img-container img.zoomed {
        transform: scale(1.5);
        cursor: zoom-out;
        z-index: 50;
    }

    /* Yakınlaştığında butonları arkada tutalım */
    .modal-img-container img.zoomed~.nav-btn {
        opacity: 0.2;
    }

    /* Ok tuşlarını resmin üzerine alalım ki yer kazanalım */
    .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        z-index: 10;
        background: rgba(0, 0, 0, 0.4);
    }

    #prev-btn {
        left: -10px;
    }

    #next-btn {
        right: -10px;
    }

    .modal-thumbnails {
        margin-top: 1.5rem;
        flex-wrap: wrap;
        /* Mobilde alta kayabilsinler */
        gap: 0.5rem;
        max-height: 15vh;
        overflow-y: auto;
    }

    .thumb-item {
        width: 50px;
        height: 32px;
    }

    .image-caption {
        font-size: 0.7rem;
        letter-spacing: 0.1rem;
        margin-top: 1rem;
    }
}

/* ============ CONTACT MODAL SPECIFIC ============ */
.contact-content {
    max-width: 500px !important;
    padding: 3.5rem 3rem 3rem !important;
    background: rgba(15, 12, 25, 0.95) !important;
    backdrop-filter: blur(25px) !important;
}

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

.contact-header h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05rem;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--pink);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(233, 30, 140, 0.2);
}

/* ============ DOWNLOAD BTN LOADING STATE ============ */
.btn-download.loading {
    pointer-events: none;
    opacity: 0.8;
    transform: scale(0.96);
}

.btn-download.loading .btn-download-icon svg {
    animation: btn-spin 1s linear infinite;
}

@keyframes btn-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* LIVE BADGE REMOVAL (Extra Safety) */
.hero-float-card {
    display: none !important;
}

/* ============ AUTH MODAL & ACCESS CONTROL ============ */
.auth-required {
    display: none !important;
}

body.authenticated .auth-required {
    display: block !important;
}

/* Hero butonu için özel durum (inline-flex kullanıyor olabilir) */
body.authenticated a.btn-primary.auth-required {
    display: inline-flex !important;
}

.auth-content {
    max-width: 450px !important;
    padding: 3rem !important;
    text-align: center;
    background: rgba(15, 12, 25, 0.98) !important;
    backdrop-filter: blur(30px) !important;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(233, 30, 140, 0.1);
    border: 1px solid rgba(233, 30, 140, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--pink);
}

.auth-icon-box svg {
    width: 32px;
    height: 32px;
}

.auth-header h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.settings-view,
#photo-upload-step,
#photo-crop-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}


#auth-code-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 0.3rem;
    transition: all 0.3s;
}

#auth-code-input:focus {
    outline: none;
    border-color: var(--pink);
    background: rgba(233, 30, 140, 0.05);
    box-shadow: 0 0 15px rgba(233, 30, 140, 0.2);
}

.auth-error-msg {
    color: #ff4757;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
}

.auth-error-msg.visible {
    display: block;
}

.auth-skip {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.auth-skip:hover {
    color: var(--white);
}

@media (max-width: 600px) {
    .auth-content {
        padding: 2.5rem 1.5rem !important;
        margin: 1rem;
    }
}

/* ============ PREMIUM COMPREHENSIVE AUTH STYLES ============ */
#login-modal .modal-content,
#auth-modal .modal-content {
    background: rgba(13, 13, 18, 0.85) !important;
    backdrop-filter: blur(25px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 32px !important;
    padding: 3.5rem 2.5rem !important;
    max-width: 500px !important;
    /* Genişletildi */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

.auth-header h2 {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem !important;
}

.auth-header p {
    color: var(--text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 2.5rem !important;
}

.btn-google {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: white !important;
    color: #1f1f1f !important;
    border: none !important;
    border-radius: 16px !important;
    height: 56px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    padding: 0 2rem !important;
}

.btn-google svg {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

.btn-google:hover {
    transform: translateY(-2px) !important;
    background: #f8f8f8 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.auth-divider {
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0.5rem 0 !important;
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
}

.auth-divider::before,
.auth-divider::after {
    content: '' !important;
    flex: 1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.auth-divider span {
    padding: 0 15px !important;
}

.auth-toggle-group {
    display: flex !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 16px !important;
    padding: 6px !important;
    margin-bottom: 2rem !important;
    gap: 6px !important;
}

.auth-tab {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    padding: 12px 0 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.auth-tab.active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.auth-tab:hover:not(.active) {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.auth-input-group {
    gap: 1.2rem !important;
}

.auth-input-group input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    height: 60px !important;
    padding: 0 1.5rem !important;
    color: white !important;
    font-size: 1rem !important;
    transition: all 0.3s !important;
}

.auth-input-group input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--pink) !important;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1) !important;
}

#email-login-btn {
    height: 60px !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    background: linear-gradient(135deg, var(--pink) 0%, #d4145a 100%) !important;
    margin-top: 0.5rem !important;
}

/* ============ BULLETPROOF ACCOUNT PILL (FORCED ROW) ============ */
#user-profile.account-premium-pill {
    /* NUCLEAR-GRADE FORCED HORIZONTAL LAYOUT */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    padding: 3px 18px 3px 3px !important;
    border-radius: 100px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    transition: all 0.4s var(--ease-out) !important;
    height: 48px !important;
    min-width: 160px !important;
    width: fit-content !important;
    max-width: 320px !important;
    box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    margin-right: 0.5rem !important;
    overflow: visible !important;
    /* Allow dropdown to be seen */
}

#user-profile.account-premium-pill:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px rgba(233, 30, 140, 0.25) !important;
}

.pill-avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    padding: 2px !important;
    background: linear-gradient(135deg, var(--pink), var(--purple)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

#user-photo {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background: #000 !important;
    display: block !important;
}

#user-name {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    padding: 0 2px !important;
    letter-spacing: 0.02em !important;
    flex: 1 !important;
    display: block !important;
}

.pill-chevron {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    transition: transform 0.4s var(--ease-spring) !important;
    flex-shrink: 0 !important;
}

#user-profile.dropdown-active {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--pink) !important;
}

#user-profile.dropdown-active .pill-chevron {
    transform: rotate(180deg) !important;
    color: var(--pink) !important;
}

.nav-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ============ PREMIUM DROPDOWN & SETTINGS MODAL STYLES ============ */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: rgba(18, 18, 23, 0.9);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1000;
}

#user-profile.dropdown-active .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-header {
    padding: 12px 16px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 6px 10px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s;
    text-decoration: none !important;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateX(4px);
}

.dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}

.logout-item {
    color: #ff4757 !important;
}

.logout-item:hover {
    background: rgba(255, 71, 87, 0.1) !important;
}

/* Settings Modal Specifics */
.settings-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink) 0%, #d4145a 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 700;
    height: 54px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

/* Fix for overlapping modals */
.modal.active {
    z-index: 10000;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.4s ease-in-out;
    border-color: #ff4757 !important;
}

/* ============ PREMIUM FILE UPLOAD UI ============ */
.file-upload-wrapper {
    width: 100%;
    margin-bottom: 0.5rem;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    color: var(--text-secondary);
}

.file-upload-label:hover {
    background: rgba(233, 30, 140, 0.05);
    border-color: var(--pink);
    color: white;
}

.file-upload-label i {
    font-size: 2rem;
    color: var(--pink);
}

.file-upload-label span {
    font-size: 0.9rem;
    font-weight: 500;
}

.upload-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    transition: width 0.3s;
}

/* ============ CROPPER PREMIUM UI ============ */
.cropper-wrapper {
    width: 100%;
    max-height: 350px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#cropper-image {
    max-width: 100%;
}

.cropper-controls {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 15px;
    margin-top: 10px;
}

#confirm-crop-btn {
    height: 50px !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

#cancel-crop-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border-radius: 12px !important;
    height: 50px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

#cancel-crop-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

#photo-crop-step {
    animation: fadeIn 0.4s ease;
}

/* Cropperjs custom overrides */
.cropper-view-box,
.cropper-face {
    border-radius: 0;
    /* Standard profile but we can make it circular in mask */
}

.cropper-line,
.cropper-point {
    background-color: var(--pink) !important;
}

.cropper-view-box {
    outline-color: var(--pink) !important;
}

/* ============ AUTH UI HELPER (HIGH SPECIFICITY OVERRIDE) ============ */
#user-profile.hidden-auth,
#nav-auth-trigger.hidden-auth,
#nav-download-btn.hidden-auth {
    display: none !important;
}

/* ============ PRICING SECTION ============ */
#pricing {
    position: relative;
    padding: 150px 5% 80px;
    z-index: 2;
    overflow: hidden;
}

.pricing-bg-blobs {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 950px;
    margin: 3rem auto 0;
    align-items: stretch;
}

.pricing-card {
    background: rgba(10, 5, 8, 0.4);
    backdrop-filter: blur(20px) saturate(150%);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Animated Gradient Border Layer */
.pricing-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.8), rgba(155, 89, 182, 0.3), rgba(233, 30, 140, 0.8));
    animation: rotateGradient 6s linear infinite;
    background-size: 200% 200%;
    z-index: -1;
    transition: all 0.5s ease;
    opacity: 0.8;
    box-shadow: 0 0 15px rgba(233, 30, 140, 0.15);
}

/* Base Card Fill Layer */
.pricing-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 27px;
    background: linear-gradient(180deg, rgba(20, 10, 15, 0.8) 0%, rgba(10, 5, 8, 0.95) 100%);
    z-index: -1;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(233, 30, 140, 0.15);
}

.pricing-card:hover::before {
    background: linear-gradient(135deg, rgba(233, 30, 140, 1), rgba(155, 89, 182, 0.6), rgba(233, 30, 140, 1));
    opacity: 1;
    box-shadow: 0 0 30px rgba(233, 30, 140, 0.4);
}

.pricing-card-premium {
    z-index: 2;
}

.pricing-card-premium::before {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 140, 0, 0.3), rgba(255, 215, 0, 0.8));
    animation: rotateGradient 6s linear infinite;
    background-size: 200% 200%;
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.pricing-card-premium::after {
    background: linear-gradient(180deg, rgba(25, 10, 5, 0.8) 0%, rgba(15, 5, 5, 0.95) 100%);
}

.pricing-card-premium:hover {
    transform: translateY(-12px);
}

.pricing-card-premium:hover::before {
    background: linear-gradient(135deg, rgba(255, 215, 0, 1), rgba(255, 140, 0, 0.6), rgba(255, 215, 0, 1));
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}

@keyframes rotateGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.package-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.package-icon {
    font-size: 1.5rem;
    color: var(--pink);
}

.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: normal;
    text-transform: none;
    margin-bottom: 0;
}

.package-badge-inline {
    position: relative;
    background: linear-gradient(135deg, #FF0055, #E91E8C, #9B59B6, #ff8c00);
    background-size: 300% 300%;
    animation: gradientFlow 4s ease infinite;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(233, 30, 140, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.package-badge-inline::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    animation: gleam 3s infinite 1s;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gleam {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.package-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    z-index: 2;
}

.package-price-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.pricing-card:hover .package-price-box {
    border-color: rgba(233, 30, 140, 0.3);
    background: rgba(233, 30, 140, 0.05);
}

.pricing-card-premium:hover .package-price-box {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.package-price-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-display);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-ui);
}

.package-price-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
    font-weight: 500;
}

.pricing-features {
    position: relative;
    z-index: 2;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.4rem;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.pricing-features li:hover {
    color: var(--white);
}

.pricing-features i {
    color: #10b981;
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(233, 30, 140, 0.4);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    margin-top: auto;
}

.btn-pricing:hover {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(233, 30, 140, 0.4);
    transform: translateY(-4px);
    color: var(--white);
}

.btn-pricing-premium {
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    border: none;
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-pricing-premium:hover {
    background: linear-gradient(135deg, #ffd700, #fff);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
    color: #000;
}

@media (max-width: 900px) {
    .pricing-container {
        flex-direction: column;
        gap: 3.5rem;
        align-items: center;
    }

    .pricing-card-premium {
        transform: translateY(0);
    }

    .pricing-card-premium:hover {
        transform: translateY(-10px);
    }
}