/* ============================================
   GC PIXEL - ENHANCED VISUAL EFFECTS
   ============================================ */

/* Custom Cursor */
.has-custom-cursor,
.has-custom-cursor * {
    cursor: none !important;
}

.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor input,
.has-custom-cursor textarea,
.has-custom-cursor select,
.has-custom-cursor [role="button"] {
    cursor: none !important;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    border-color: #fff;
    background: rgba(0, 245, 160, 0.1);
}

.custom-cursor.clicking {
    transform: translate(-50%, -50%) scale(0.8);
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

@media (max-width: 992px) {
    .custom-cursor, .cursor-dot {
        display: none !important;
    }
    
    .has-custom-cursor,
    .has-custom-cursor * {
        cursor: auto !important;
    }
}

/* 3D Canvas Container */
#hero-3d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.hero-content, .hero-visual {
    position: relative;
    z-index: 5;
}

/* Magnetic Button Effect */
.btn-magnetic {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   PRICE CALCULATOR
   ============================================ */

.calculator-section {
    background: linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.calculator-form {
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.calc-section {
    margin-bottom: 2rem;
}

.calc-section:last-child {
    margin-bottom: 0;
}

.calc-section h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calc-section h4 i {
    color: var(--color-primary);
}

.calc-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.calc-option {
    position: relative;
}

.calc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.calc-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--color-bg-darker);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.calc-option label i {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

.calc-option label span {
    font-size: 0.9rem;
    font-weight: 500;
}

.calc-option label .price {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.calc-option input:checked + label {
    border-color: var(--color-primary);
    background: rgba(0, 245, 160, 0.05);
}

.calc-option input:checked + label i {
    color: var(--color-primary);
}

.calc-option label:hover {
    border-color: var(--color-primary);
}

/* Addons as checkboxes */
.calc-addons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-addon {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.calc-addon:hover {
    border-color: var(--border-color-hover);
}

.calc-addon.selected {
    border-color: var(--color-primary);
    background: rgba(0, 245, 160, 0.05);
}

.calc-addon input {
    display: none;
}

.addon-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.calc-addon.selected .addon-check {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.addon-info {
    flex: 1;
}

.addon-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.addon-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.addon-price {
    font-weight: 600;
    color: var(--color-primary);
}

/* Calculator Result */
.calculator-result {
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: sticky;
    top: 120px;
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.result-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.result-price {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-price-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.result-breakdown {
    margin-bottom: 2rem;
}

.result-breakdown h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item span:first-child {
    color: var(--color-text-secondary);
}

.breakdown-item span:last-child {
    font-weight: 500;
}

.result-features {
    margin-bottom: 2rem;
}

.result-features h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.feature-list li i {
    color: var(--color-primary);
    font-size: 0.8rem;
}

.result-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-cta .btn {
    width: 100%;
    justify-content: center;
}

.result-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.result-guarantee i {
    color: var(--color-primary);
}

@media (max-width: 992px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .calculator-result {
        position: static;
    }
}

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

/* ============================================
   SOCIAL PROOF NOTIFICATIONS
   ============================================ */

.social-proof {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-xl);
    z-index: 9000;
    transform: translateX(-120%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 320px;
}

.social-proof.show {
    transform: translateX(0);
}

.social-proof-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 245, 160, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.social-proof-content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.social-proof-content span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.social-proof-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.social-proof-close:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .social-proof {
        left: 15px;
        right: 15px;
        max-width: none;
    }
}

/* ============================================
   GOOGLE REVIEWS WIDGET
   ============================================ */

.reviews-widget {
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.google-logo {
    height: 24px;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-rating .stars {
    color: #FACC15;
    font-size: 1.25rem;
}

.reviews-rating .score {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.reviews-count {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.review-snippet {
    font-style: italic;
    color: var(--color-text-secondary);
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.review-author {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ============================================
   BEFORE/AFTER SLIDER
   ============================================ */

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: ew-resize;
}

.before-after-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-slider .after-img {
    clip-path: inset(0 50% 0 0);
}

.before-after-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    transform: translateX(-50%);
    z-index: 10;
}

.before-after-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.before-after-handle::after {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    color: var(--color-bg-dark);
    z-index: 11;
}

.before-after-label {
    position: absolute;
    top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.before-label {
    left: 1rem;
}

.after-label {
    right: 1rem;
}

/* ============================================
   VIDEO TESTIMONIALS
   ============================================ */

.video-testimonial {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.video-testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.video-testimonial img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-testimonial:hover img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-dark);
    font-size: 2rem;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 245, 160, 0.4);
}

.video-testimonial:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

.video-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.video-info span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SMOOTH SCROLL INDICATOR
   ============================================ */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator i {
    font-size: 1.25rem;
    color: var(--color-primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   LOADING STATES & ANIMATIONS
   ============================================ */

.skeleton {
    background: linear-gradient(90deg, var(--color-bg-darker) 25%, var(--color-bg-card) 50%, var(--color-bg-darker) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.5, 0, 0, 1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PARALLAX ELEMENTS
   ============================================ */

.parallax-container {
    overflow: hidden;
}

[data-parallax] {
    will-change: transform;
}

/* ============================================
   GLOWING EFFECTS
   ============================================ */

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    filter: blur(40px);
    opacity: 0.3;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::after {
    opacity: 0.5;
}

