.reviews-section {
    position: relative;
    background: #000; 
    border-top: 1px solid rgba(255,255,255,0.05);
    height: 400vh; 
    overflow: hidden;
    perspective: 1500px;
}

.reviews-sticky-wrapper {
    position: sticky;
    top: 0; width: 100%; height: 100vh;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    z-index: 20;
}

.reviews-zoom-container {
    position: absolute; 
    z-index: 50; 
    width: 100%; 
    height: 100%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    text-align: center; 
    pointer-events: none; 
    transform-origin: center center;
}

.reviews-title-zoom {
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    letter-spacing: -0.04em;
    background: linear-gradient(to bottom, #fff 40%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chat-layout {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    z-index: 30;
    pointer-events: none; 
}

.chat-filter-header {
    position: absolute;
    bottom: 5vh;
    z-index: 60;
    display: flex;
    gap: 4px;
    background: rgba(20, 20, 20, 0.8);
    padding: 4px;
    border-radius: 100px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    opacity: 0;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.chat-filter-btn {
    background: transparent;
    color: #888;
    border: none;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-filter-btn:hover { color: #fff; }

.chat-filter-btn.active {
    background: #fff;
    color: #000;
    font-weight: 600;
}

.chat-column {
    width: 100%;
    max-width: 700px;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 15vh; 
    transform: translateY(30vh); 
}

.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    opacity: 0; 
    transform: translateY(30px);
    width: 100%;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.chat-row.faded {
    opacity: 0.1 !important; 
    filter: grayscale(100%) blur(1px);
    pointer-events: none;
    transition: all 0.4s ease;
}

.chat-row.right { flex-direction: row-reverse; }

.chat-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #222;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 600; color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }

.chat-bubble {
    padding: 1rem 1.2rem;
    max-width: 80%;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    overflow: hidden; 
}

.chat-bubble::before {
    content: "";
    position: absolute;
    width: 150px; height: 150px; 
    filter: blur(60px); 
    z-index: 0;
    pointer-events: none;
    opacity: 0.15; 
}
.chat-row:not(.right) .chat-bubble::before { top: -40px; left: -40px; }
.chat-row.right .chat-bubble::before { top: -40px; right: -40px; }
.chat-row[data-category="web"] .chat-bubble::before { background: var(--accent-purple); }
.chat-row[data-category="brand"] .chat-bubble::before { background: var(--accent-blue); }

.chat-bubble > * { position: relative; z-index: 2; }

.chat-row:not(.right) .chat-bubble {
    background: var(--chat-bubble-received);
    border-radius: 18px 18px 18px 4px;
    border: 1px solid rgba(255,255,255,0.05);
}
.chat-row.right .chat-bubble {
    background: var(--chat-bubble-sent);
    border-radius: 18px 18px 4px 18px;
    border: 1px solid rgba(255,255,255,0.1); 
}

.chat-name { font-size: 0.7rem; color: #666; margin-bottom: 4px; font-weight: 500; display: block; }
.chat-row.right .chat-name { text-align: right; }
.chat-text { font-size: 1rem; line-height: 1.4; color: #e5e5e5; font-weight: 400; }
.chat-meta { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 8px; }
.chat-stars { color: #a855f7; font-size: 0.7rem; letter-spacing: 1px; }

.chat-icon-box {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 6px;
}
.icon-web { color: #d8b4fe; background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.3); }
.icon-brand { color: #93c5fd; background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); }

.cta-final-wrapper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    z-index: 60; 
    pointer-events: none; 
    opacity: 0;
}
.cta-word-wrapper { display: flex; gap: 2rem; margin-bottom: 2rem; }
.cta-word {
    font-size: clamp(3rem, 10vw, 8rem); font-weight: 700; line-height: 1; color: #fff;
    letter-spacing: -0.04em; transform: translateY(50px); opacity: 0;
}
.cta-word.accent { color: #a855f7; }

.cta-stats-container {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    margin-bottom: 2rem; opacity: 0; transform: translateY(20px);
}
.cta-rating-pill {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 14px; border-radius: 100px; backdrop-filter: blur(5px);
}
.cta-score { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #fff; font-size: 0.9rem; }
.cta-star-icon { width: 14px; height: 14px; fill: #a855f7; }
.cta-reviews-text { color: #888; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 400; }

.cta-input-btn {
    width: 80vw; max-width: 500px;
    background: rgba(20, 20, 20, 0.8); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 100px;
    padding: 1.2rem 2rem; display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; transition: all 0.3s ease; pointer-events: auto; transform: translateY(30px); opacity: 0;
}
.cta-input-btn:hover { border-color: #a855f7; background: rgba(30, 30, 30, 0.9); box-shadow: 0 0 30px rgba(168, 85, 247, 0.15); }
.cta-placeholder { color: #666; font-family: 'Inter', sans-serif; font-size: 1.1rem; }
.cta-send-icon {
    width: 40px; height: 40px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #000;
    transition: transform 0.2s;
}
.cta-input-btn:hover .cta-send-icon { transform: scale(1.1); }

.glass-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(15px);
    touch-action: none;
}
.glass-modal-overlay.active { opacity: 1; pointer-events: auto; }

body.modal-open {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    left: 0;
}

.apple-modal {
    width: 1100px; 
    height: 580px; 
    max-height: 98vh;
    max-width: 95vw;
    position: relative;
    border-radius: 24px;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    background: rgba(20, 20, 20, 0.75);
    overflow: hidden;
    transform: scale(0.96) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-modal-overlay.active .apple-modal { transform: scale(1) translateY(0); }

.apple-glow-bg {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 60%);
    top: -30%; left: -20%; pointer-events: none; z-index: 0;
}

.apple-modal-content {
    position: relative; z-index: 10; display: flex; width: 100%; height: 100%;
}

.mac-close-btn {
    position: absolute; top: 20px; left: 24px;
    width: 28px; height: 28px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05); border-radius: 50%;
    color: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s; z-index: 50;
}
.mac-close-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

.apple-col-left {
    flex: 1.3;
    padding: 30px 40px 30px 40px; 
    display: flex; flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow-y: auto; 
    overscroll-behavior: contain; 
    touch-action: pan-y; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.apple-col-left::-webkit-scrollbar {
    display: none;
}

.header-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 20px; 
    padding-left: 20px; 
}

.apple-title {
    font-family: 'Inter', sans-serif; font-size: 1.6rem; 
    font-weight: 600; color: #fff;
    margin-bottom: 2px; letter-spacing: -0.5px;
}
.apple-subtitle { font-size: 0.85rem; color: #888; }

.apple-submit-btn-top {
    display: flex; align-items: center; gap: 8px;
    background: #fff; color: #000;
    padding: 8px 16px; border-radius: 100px;
    font-weight: 600; font-size: 0.85rem;
    cursor: pointer; border: none;
    transition: all 0.2s ease;
}
.apple-submit-btn-top:hover { background: #e5e5e5; transform: translateY(-1px); }
.apple-submit-btn-top svg { color: #000; }

.apple-form-stack { display: flex; flex-direction: column; gap: 14px; }
.apple-input-group label {
    display: block; font-size: 0.7rem; color: #666; font-weight: 600;
    text-transform: uppercase; margin-bottom: 6px; letter-spacing: 0.5px;
}

.apple-input {
    width: 100%; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
    padding: 10px 14px; color: #fff; font-size: 0.95rem; outline: none; transition: 0.3s;
}
.apple-input:focus { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }

.service-select-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px; padding: 12px;
    cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; gap: 10px;
    position: relative; overflow: hidden;
}
.service-card:hover { background: rgba(255,255,255,0.06); }
.service-card.active {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
}
.sc-icon-box {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sc-icon-box.web { background: rgba(168,85,247,0.2); color: #d8b4fe; }
.sc-icon-box.brand { background: rgba(59,130,246,0.2); color: #93c5fd; }

.sc-info { display: flex; flex-direction: column; }
.sc-title { font-size: 0.85rem; font-weight: 600; color: #fff; }
.sc-desc { font-size: 0.7rem; color: #888; }
.sc-check {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 6px; height: 6px; border-radius: 50%;
    background: #a855f7; opacity: 0; transition: 0.3s;
    box-shadow: 0 0 10px #a855f7;
}
.service-card.active .sc-check { opacity: 1; }

.apple-rating-grid { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    margin-top: 5px;
}
.apple-rating-card {
    width: 140px; height: 140px; 
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 26px;
    position: relative; cursor: pointer; overflow: hidden;
    transition: all 0.2s ease;
    display: block; 
    padding: 0;
}

.apple-rating-card[data-rating="1"]:hover, .apple-rating-card[data-rating="1"].active { border-color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); }
.apple-rating-card[data-rating="3"]:hover, .apple-rating-card[data-rating="3"].active { border-color: #eab308; box-shadow: 0 0 15px rgba(234, 179, 8, 0.2); }
.apple-rating-card[data-rating="5"]:hover, .apple-rating-card[data-rating="5"].active { border-color: #22c55e; box-shadow: 0 0 15px rgba(34, 197, 94, 0.2); }

.apple-rating-card img {
    width: 100%; height: 100%;
    object-fit: cover; 
    position: absolute; top: 0; left: 0;
    transition: 0.3s;
    filter: grayscale(100%) opacity(0.6); 
}
.apple-rating-card.active img, 
.apple-rating-card:hover img {
    filter: grayscale(0%) opacity(1); transform: scale(1.05);
}

.apple-rating-card::after {
    position: absolute;
    bottom: 10px; left: 0; right: 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    pointer-events: none;
}
.apple-rating-card[data-rating="1"]::after { content: 'Poor'; }
.apple-rating-card[data-rating="3"]::after { content: 'Good'; } 
.apple-rating-card[data-rating="5"]::after { content: 'Excellent'; }

.arc-check {
    position: absolute; top: 10px; right: 10px;
    width: 24px; height: 24px; background: #fff; color: #000;
    border-radius: 50%; font-size: 14px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.5); transition: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5; box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.apple-rating-card.active .arc-check { opacity: 1; transform: scale(1); }

.textarea-wrapper { position: relative; }
.apple-textarea {
    width: 100%; min-height: 80px; 
    resize: none;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 10px 14px; color: #fff; font-size: 0.95rem;
    outline: none; font-family: 'Inter', sans-serif;
}
.apple-textarea:focus { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.apple-counter {
    position: absolute; bottom: 10px; right: 10px;
    font-size: 0.65rem; color: #444; pointer-events: none;
}

.apple-col-right {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.2); position: relative;
}
.preview-label {
    position: absolute; top: 30px; font-size: 0.7rem; letter-spacing: 1px; color: #444; font-weight: 700;
}
.preview-card-glass {
    width: 320px; background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border-radius: 20px; padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    position: relative; overflow: hidden; transition: transform 0.3s;
}
.pc-blur-layer {
    position: absolute; top: -50px; right: -50px;
    width: 150px; height: 150px; background: rgba(168,85,247,0.3);
    filter: blur(60px); opacity: 0.6; pointer-events: none;
}
.pc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; position: relative; z-index: 2; }
.pc-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); }
.pc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pc-meta h3 { font-size: 0.95rem; color: #fff; font-weight: 600; margin: 0; }
.pc-badge {
    font-size: 0.7rem; color: #a855f7; background: rgba(168,85,247,0.1);
    padding: 2px 8px; border-radius: 4px; display: inline-block; margin-top: 2px;
}
.pc-body {
    font-size: 0.95rem; line-height: 1.5; color: #ccc; margin-bottom: 20px;
    position: relative; z-index: 2; min-height: 40px;
    overflow-wrap: break-word; word-break: break-word;
}
.pc-footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05); padding-top: 12px;
}
.pc-stars { color: #fbbf24; font-size: 0.9rem; letter-spacing: 2px; }
.pc-icon-box {
    width: 24px; height: 24px; border-radius: 6px; 
    background: rgba(255,255,255,0.05); color: #888;
    display: flex; align-items: center; justify-content: center;
}

#notification-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    top: auto;
    left: auto;
    transform: none;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.ios-notification {
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    min-width: 320px;
    pointer-events: auto;
    overflow: hidden;
    position: relative;
}

.ios-notification.error {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(40, 20, 20, 0.9);
}

.notif-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    object-fit: cover;
}

.notif-content {
    display: flex; flex-direction: column;
    gap: 2px;
    flex: 1;
}
.notif-title { font-size: 0.9rem; font-weight: 600; color: #fff; }
.notif-msg { font-size: 0.85rem; color: #ddd; }

.notif-check {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid #4ade80;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
    color: #4ade80;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.notif-error-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
    color: #ef4444;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .apple-modal {
        width: 100vw; height: 100vh;
        max-width: 100vw; max-height: 100vh;
        border-radius: 0; 
        flex-direction: column;
        transform: none !important;
        top: 0;
    }
    
    .glass-modal-overlay.active .apple-modal { transform: none; }
    
    .apple-col-left {
        flex: 1; width: 100%;
        padding: 60px 24px 30px 24px;
        border-right: none;
        overflow-y: scroll;
    }

    .apple-col-right { display: none; }
    
    .mac-close-btn { 
        top: 20px; left: 24px; 
        z-index: 100;
        background: rgba(255,255,255,0.1);
    }

    .header-row {
        padding-left: 40px;
        margin-bottom: 24px;
        align-items: center;
    }

    .apple-title { font-size: 1.4rem; }
    .apple-subtitle { font-size: 0.8rem; display: none; }

    .service-select-grid { gap: 10px; }
    .service-card { padding: 10px; }
    .sc-title { font-size: 0.8rem; }
    .sc-desc { font-size: 0.65rem; }

    .apple-rating-grid { justify-content: space-between; gap: 8px; }
    .apple-rating-card { 
        width: 32%;
        height: auto; aspect-ratio: 1/1; 
    }
    .apple-rating-card img { width: 100%; height: 100%; }
    
    .textarea-wrapper { margin-bottom: 60px; }

    #notification-container {
        bottom: 20px; right: 50%; transform: translateX(50%);
        width: 90%; min-width: auto;
    }
    .ios-notification { min-width: auto; width: 100%; }
}

@media (max-width: 400px) {
    .header-row { flex-direction: column; align-items: flex-start; gap: 12px; padding-left: 0; margin-top: 30px; }
    .apple-submit-btn-top { width: 100%; justify-content: center; padding: 12px; }
    .apple-rating-card { border-radius: 12px; }
}
