/* Enhanced Gradient Styles & Effects */

/* Live Estimate Display */
.live-estimate-display {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.live-estimate-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

.live-estimate-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

#estimate-range {
    transition: all 0.3s ease;
}

#estimate-range.updating {
    animation: pulse 0.5s ease;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Quick Form Animations */
.question-slide-in {
    animation: slideInDown 0.4s ease-out;
}

.question-slide-out {
    animation: slideOutUp 0.3s ease-in;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Quick Answer Buttons */
.quick-answer-btn {
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.quick-answer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.quick-answer-btn:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Progress indicator for quick form */
.quick-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #3FC7D3 0%, #2a9ca8 100%);
    transition: width 0.3s ease;
    z-index: 1001;
}


.question-container {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.question-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid #3FC7D3;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3FC7D3 0%, #2a9ca8 100%);
    border-radius: 20px;
    padding: 2px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.question-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-shadow: none;
}

.answer-grid {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.answer-btn {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #3FC7D3;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.answer-btn:hover {
    background: linear-gradient(135deg, #3FC7D3 0%, #2a9ca8 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(63, 199, 211, 0.3);
    border-color: transparent;
}

.answer-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.answer-btn.selected {
    background: linear-gradient(135deg, #3FC7D3 0%, #2a9ca8 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(63, 199, 211, 0.4);
}

.answer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.answer-btn:hover::before {
    left: 100%;
}

/* Two column grid for answers */
.answer-grid.two-column {
    grid-template-columns: 1fr 1fr;
}

/* Three column grid for answers */
.answer-grid.three-column {
    grid-template-columns: repeat(3, 1fr);
}

/* Four column grid for answers */
.answer-grid.four-column {
    grid-template-columns: repeat(4, 1fr);
}

/* Full width button for custom options */
.answer-btn.full-width { 
    grid-column: 1 / -1; 
}

/* Deep Clean Included Button Styling */
.answer-btn.deep-clean-included {
    border: 2px solid #3FC7D3;
    background: linear-gradient(135deg, #1a2a2a 0%, #0a1a1a 100%);
    position: relative;
}

.answer-btn.deep-clean-included::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 199, 211, 0.1) 0%, rgba(42, 156, 168, 0.1) 100%);
    border-radius: 13px;
    z-index: 1;
}

.answer-btn .button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.answer-btn .button-label {
    font-size: 16px;
    font-weight: 600;
}

.deep-clean-banner {
    background: linear-gradient(135deg, #3FC7D3 0%, #2a9ca8 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(63, 199, 211, 0.3);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(63, 199, 211, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(63, 199, 211, 0.5);
    }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #3FC7D3 0%, #2a9ca8 50%, #3FC7D3 100%);
    background-size: 200% 100%;
    animation: progressShimmer 3s ease-in-out infinite;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(63, 199, 211, 0.6), 0 0 40px rgba(42, 156, 168, 0.4);
    transition: width 0.1s ease-out;
}

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

/* Service Type Selection - Side by Side Layout */
#serviceTypeSelection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    padding: 40px 20px;
    margin-top: 20px;
    text-align: center;
    background: transparent;  /* Changed from #0a0a0a to transparent */
}

/* When service type selection is hidden, ensure it takes no space */
#serviceTypeSelection[style*="display: none"],
#serviceTypeSelection[style*="display:none"] {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Base styles for quick form container */
#quickFormContainer {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 20px 80px;  /* Added more bottom padding to match top spacing */
    scroll-margin-top: 80px;
}

/* Clean spacing when quick form is active */
body.quick-form-active {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

html.quick-form-active {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Target the main content area */
.quick-form-active main,
.quick-form-active .main-content,
.quick-form-active .content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Estimate container spacing when form is active */
.quick-form-active .estimate-container {
    /* Mobile: symmetrical padding top and bottom */
    padding: 20px 16px 20px !important;  /* top: 20px, sides: 16px, bottom: 20px to match top */
    margin-top: 0 !important;
    position: relative;
    top: 0 !important;
    min-height: auto !important;  /* Override the min-height to prevent excessive space */
}

/* Desktop: properly override the large default padding */
@media (min-width: 768px) {
    .quick-form-active .estimate-container {
        padding: 80px 20px 80px !important;  /* Symmetrical top and bottom padding */
    }
}

/* Large desktop: properly override the large default padding */
@media (min-width: 1024px) {
    .quick-form-active .estimate-container {
        padding: 90px 20px 90px !important;  /* Symmetrical top and bottom padding */
    }
}

/* Quick form container spacing when active */
.quick-form-active #quickFormContainer {
    margin-top: 0 !important;
    padding: 20px 20px 80px !important;  /* Symmetrical visual spacing */
    position: relative;
    top: 0 !important;
}

/* Remove any spacing from the question container */
.quick-form-active .question-container {
    margin-top: 0 !important;
    padding-top: 20px !important;
    min-height: auto !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

#serviceTypeSelection h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-subtitle {
    color: #ccc;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    opacity: 0.9;
}

#serviceTypeSelection .service-cards-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

/* Desktop: Side by side layout */
@media (min-width: 768px) {
    #serviceTypeSelection .service-cards-container {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
    
    #serviceTypeSelection .service-card {
        flex: 1;
        max-width: 350px;
        min-width: 300px;
    }
}

/* Mobile: Stacked layout */
@media (max-width: 767px) {
    #serviceTypeSelection .service-cards-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    #serviceTypeSelection .service-card {
        width: 100%;
        max-width: none;
    }
}

/* Service Card Effects with Electric Border Pulse */
.service-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    background: transparent;
    animation: cardEntrance 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(90deg, transparent 0%, #3FC7D3 20%, #2a9ca8 50%, #3FC7D3 80%, transparent 100%);
    background-size: 200% 200%;
    border-radius: 23px;
    animation: racingPulse 3s linear infinite;
    z-index: -1;
    opacity: 0.8;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(63, 199, 211, 0.4);
}

.service-card:hover::before {
    opacity: 1;
    animation-duration: 1.5s;
}

.service-card h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.service-card p {
    color: #ccc;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.service-card .highlight {
    color: #3FC7D3;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

@keyframes racingPulse {
    0% { 
        background-position: -200% 0;
        opacity: 0.6;
    }
    50% { 
        background-position: 0% 0;
        opacity: 1;
    }
    100% { 
        background-position: 200% 0;
        opacity: 0.6;
    }
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Question counter */
.question-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(63, 199, 211, 0.1);
    color: #3FC7D3;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .question-card {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .question-title {
        font-size: 24px;
    }
    
    .answer-btn {
        padding: 15px 10px;
        font-size: 14px;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .answer-grid.three-column {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .answer-grid.four-column {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .answer-grid.two-column {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .question-card {
        padding: 20px 15px;
    }
    
    .question-title {
        font-size: 20px;
    }
    
    .answer-btn {
        padding: 12px 8px;
        font-size: 13px;
        min-height: 45px;
    }
    
    .answer-grid.three-column {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .answer-grid.four-column {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}


/* Why Choose Section Responsive */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 30px 15px !important;
    }
    
    .why-choose-section h2 {
        font-size: 28px !important;
        margin-bottom: 12px !important;
    }
    
    .why-choose-section p {
        font-size: 14px !important;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
    }
    
    .benefit-card {
        padding: 12px !important;
        min-height: 90px !important;
    }

    .benefit-card.image-card {
        display: none !important;
    }

    .benefit-icon {
        width: auto !important;
        height: auto !important;
        margin: 0 auto 6px !important;
    }

    .benefit-icon img {
        width: 60px !important;
        height: auto !important;
    }

    .benefit-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .benefit-card h3 {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }

    .benefit-card p {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 480px) {
    .why-choose-section h2 {
        font-size: 22px !important;
    }
    
    .why-choose-section p {
        font-size: 12px !important;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .benefit-card {
        padding: 15px !important;
        min-height: 80px !important;
    }

    .benefit-card.image-card {
        display: none !important;
    }

    .benefit-icon {
        width: auto !important;
        height: auto !important;
        margin: 0 auto 8px !important;
    }

    .benefit-icon img {
        width: 70px !important;
        height: auto !important;
    }

    .benefit-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .benefit-card h3 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    .benefit-card p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
}

/* Gradient Text for Prominent Headers */
.hero-title,
.section-title {
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title {
    display: block;
    text-align: center;
}

/* Animated Gradient Shift */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glowing Title Effect */
.hero-title::after, .section-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, #3FC7D3 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(10px);
    opacity: 0.5;
}

/* Enhanced Neon Glow */
.neon-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #3FC7D3, #ffffff, #3FC7D3, #ffffff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonPulse 4s ease infinite;
    text-shadow:
        0 0 20px rgba(63, 199, 211, 0.5),
        0 0 40px rgba(63, 199, 211, 0.3),
        0 0 60px rgba(63, 199, 211, 0.2);
}

@keyframes neonPulse {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
}

/* Holographic Effect */
.holographic-text {
    background: linear-gradient(
        45deg,
        #3FC7D3 0%,
        #ffffff 25%,
        #3FC7D3 50%,
        #ffffff 75%,
        #3FC7D3 100%
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holographic 8s linear infinite;
}

@keyframes holographic {
    0% { background-position: 0% 0%; }
    100% { background-position: 400% 0%; }
}

/* Enhanced Button Gradients */
.btn-primary {
    background: linear-gradient(135deg, #3FC7D3 0%, #36b0bb 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffffff 0%, #3FC7D3 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btn-primary:hover::after {
    opacity: 0.3;
}

/* Animated Border Gradient */
.gradient-border {
    position: relative;
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg, #3FC7D3, #ffffff, #3FC7D3);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Card Hover Effects */
.service-card, .benefit-card, .stat-card {
    position: relative;
    background: var(--dark-card);
    overflow: hidden;
}

.service-card::before, .benefit-card::before, .stat-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3FC7D3, transparent, #ffffff, transparent, #3FC7D3);
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity 0.3s;
    animation: gradientRotate 3s linear infinite;
    border-radius: inherit;
    z-index: -1;
}

.service-card:hover::before, .benefit-card:hover::before, .stat-card:hover::before {
    opacity: 1;
}

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

/* Sparkle Effect */
.sparkle {
    position: relative;
}

.sparkle::before, .sparkle::after {
    content: '✨';
    position: absolute;
    font-size: 1.5rem;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle::before {
    top: -10px;
    left: -10px;
    animation-delay: 0s;
}

.sparkle::after {
    bottom: -10px;
    right: -10px;
    animation-delay: 1.5s;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Aurora Background Effect */
.aurora-bg {
    position: relative;
    overflow: hidden;
}

.aurora-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center,
        rgba(63, 199, 211, 0.3) 0%,
        transparent 40%),
        radial-gradient(ellipse at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%);
    animation: aurora 15s ease-in-out infinite;
}

@keyframes aurora {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: rotate(90deg) scale(1.2);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: rotate(270deg) scale(0.8);
        opacity: 0.3;
    }
}

/* Liquid Gradient Animation */
.liquid-gradient {
    background: linear-gradient(-45deg,
        #0a0a0a,
        #1a1a1a,
        #3FC7D3,
        #36b0bb,
        #1a1a1a,
        #0a0a0a
    );
    background-size: 400% 400%;
    animation: liquidFlow 15s ease infinite;
}

@keyframes liquidFlow {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

/* Prism Effect for Headers */
.prism-text {
    position: relative;
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 5rem);
    text-transform: uppercase;
    background: linear-gradient(90deg,
        #3FC7D3 0%,
        #ffffff 20%,
        #3FC7D3 40%,
        #ffffff 60%,
        #3FC7D3 80%,
        #ffffff 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: prismShift 2s linear infinite;
}

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

/* Glass Morphism with Gradient */
.glass-card {
    background: rgba(63, 199, 211, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(63, 199, 211, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        #3FC7D3,
        #ffffff,
        #3FC7D3,
        transparent
    );
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Iridescent Hover Effect */
.iridescent {
    position: relative;
    transition: all 0.3s;
}

.iridescent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        rgba(63, 199, 211, 0.2),
        rgba(255, 255, 255, 0.2),
        rgba(63, 199, 211, 0.2)
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.iridescent:hover::after {
    opacity: 1;
    animation: iridescence 1s ease infinite;
}

@keyframes iridescence {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Cyberpunk Grid Background */
.cyber-grid {
    position: relative;
    background-image:
        linear-gradient(rgba(63, 199, 211, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(63, 199, 211, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 10s linear infinite;
}

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

/* Enhanced Loading States */
.skeleton-gradient {
    background: linear-gradient(90deg,
        var(--dark-card) 25%,
        rgba(63, 199, 211, 0.1) 50%,
        var(--dark-card) 75%
    );
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
}

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

/* Ambient Light Effect */
.ambient-light {
    position: relative;
}

.ambient-light::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle,
        rgba(63, 199, 211, 0.4) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    animation: ambientPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

/* Hero Video Styles */
.hero-video {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(63, 199, 211, 0.3) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.hero-video.playing .video-overlay {
    opacity: 0;
}

.hero-video:hover .video-overlay {
    opacity: 1;
}


.video-overlay p {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video.playing .video-controls {
    opacity: 1;
}

.hero-video:hover .video-controls {
    opacity: 1;
}

.video-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #3FC7D3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #3FC7D3;
    font-size: 1.2rem;
}

.video-btn:hover {
    background: rgba(63, 199, 211, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(63, 199, 211, 0.6);
}

.video-btn:active {
    transform: scale(0.95);
}

.pause-icon {
    font-size: 1rem;
    letter-spacing: -3px;
}

/* Responsive Video Adjustments */
@media (max-width: 768px) {
    .hero-video {
        max-width: 322px;
        height: 516px;
    }
}

@media (max-width: 480px) {
    .hero-video {
        max-width: 259px;
        height: 430px;
    }
    
    
    .video-overlay p {
        font-size: 1rem;
    }
}

/* Estimate Benefits Section */
#estimateBenefits .benefits-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

#estimateBenefits .benefit-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #3FC7D3;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    min-width: 200px;
    flex: 1;
    max-width: 250px;
    transition: all 0.3s ease;
}

#estimateBenefits .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(63, 199, 211, 0.3);
}

#estimateBenefits .benefit-icon-large {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #3FC7D3 0%, #2a9ca8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile responsiveness for estimate benefits */
@media (max-width: 768px) {
    #estimateBenefits .benefits-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    #estimateBenefits .benefit-item {
        min-width: 280px;
        max-width: 320px;
        padding: 25px 20px;
    }
    
    #estimateBenefits h2 {
        font-size: 36px !important;
    }
    
    #estimateBenefits p {
        font-size: 18px !important;
    }
}
