/* ELAV8 Brand Styles - Paradise Blue Lagoon Theme */

/* Import Gilroy Font (custom) */
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-SemiBold.woff2') format('woff2'),
         url('../fonts/Gilroy-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* CSS Variables for Brand Colors */
:root {
    /* Primary Brand Colors */
    --elav8-cyan: #0092D1;
    --elav8-turquoise: #00FFF7;
    --elav8-dark-blue: #0D1F2D;
    --elav8-white: #FFFFFF;
    --elav8-black: #191919;
    
    /* Paradise Blue Lagoon Theme */
    --lagoon-primary: #0092D1;
    --lagoon-secondary: #00FFF7;
    --lagoon-deep: #0D1F2D;
    --lagoon-charcoal: #2C3E50;
    --lagoon-silver: #BDC3C7;
    --lagoon-white: #FFFFFF;
    
    /* Shimmer Colors */
    --shimmer-light: rgba(0, 255, 247, 0.3);
    --shimmer-medium: rgba(0, 146, 209, 0.4);
    --shimmer-dark: rgba(13, 31, 45, 0.2);
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: 'Gilroy', 'Montserrat', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    background: var(--lagoon-deep);
    color: var(--lagoon-white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/01Elav8-pattern.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px) brightness(0.3);
    transform: scale(1.1);
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 146, 209, 0.1) 0%,
        rgba(0, 255, 247, 0.05) 25%,
        rgba(13, 31, 45, 0.2) 50%,
        rgba(0, 146, 209, 0.1) 75%,
        rgba(0, 255, 247, 0.05) 100%
    );
    backdrop-filter: blur(10px);
}

.shimmer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 255, 247, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Survey Container */
.survey-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    z-index: 1;
}

/* Header Styles */
.survey-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.survey-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--lagoon-secondary),
        var(--lagoon-primary),
        var(--lagoon-secondary),
        transparent
    );
    animation: shimmer-border 2s ease-in-out infinite;
}

@keyframes shimmer-border {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.logo-container {
    margin-bottom: var(--spacing-md);
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo:hover {
    transform: scale(1.05);
}

/* Logo glitch effect animations */
.logo {
    --glitch-noise: 0;
}

.logo.glitching {
    animation: logo-glitch-warp 0.2s ease-in-out;
}

.logo.glitching::before {
    animation: logo-glitch-scan-active 0.3s ease-in-out;
}

.logo.glitching::after {
    opacity: calc(var(--glitch-noise) * 1);
    animation: logo-glitch-noise-active 0.1s linear infinite;
}

.logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 247, 0.6),
        rgba(255, 0, 255, 0.4),
        rgba(0, 255, 247, 0.6),
        transparent
    );
    animation: logo-glitch-scan 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

.logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 20%,
        rgba(255, 0, 255, 0.3) 30%,
        rgba(0, 255, 247, 0.2) 50%,
        rgba(255, 0, 255, 0.3) 70%,
        transparent 80%
    );
    animation: logo-glitch-noise 0.1s linear infinite;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

@keyframes logo-glitch-warp {
    0% {
        transform: scale(1) skewX(0deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) hue-rotate(0deg) brightness(1) saturate(1);
    }
    10% {
        transform: scale(1.08) skewX(3deg);
        filter: drop-shadow(2px 4px 12px rgba(0, 255, 247, 0.8)) hue-rotate(90deg) contrast(1.4) brightness(1.2) saturate(1.5);
    }
    25% {
        transform: scale(0.95) skewX(-2deg);
        filter: drop-shadow(-2px 4px 12px rgba(255, 0, 255, 0.8)) hue-rotate(180deg) contrast(1.6) brightness(0.8) saturate(2);
    }
    50% {
        transform: scale(1.12) skewX(1deg);
        filter: drop-shadow(3px 6px 16px rgba(0, 255, 247, 1)) hue-rotate(270deg) contrast(2) brightness(1.5) saturate(2.5);
    }
    75% {
        transform: scale(0.92) skewX(-1deg);
        filter: drop-shadow(-1px 2px 8px rgba(255, 0, 255, 0.6)) hue-rotate(45deg) contrast(1.3) brightness(0.9) saturate(1.8);
    }
    90% {
        transform: scale(1.05) skewX(0.5deg);
        filter: drop-shadow(1px 4px 10px rgba(0, 255, 247, 0.4)) hue-rotate(315deg) contrast(1.1) brightness(1.1) saturate(1.2);
    }
    100% {
        transform: scale(1) skewX(0deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) hue-rotate(0deg) brightness(1) saturate(1);
    }
}

@keyframes logo-glitch-scan {
    0%, 90% {
        left: -100%;
        opacity: 0;
    }
    95% {
        left: 100%;
        opacity: 1;
    }
}

@keyframes logo-glitch-scan-active {
    0% {
        left: -100%;
        opacity: 0;
        transform: scaleX(1);
    }
    20% {
        left: -50%;
        opacity: 0.8;
        transform: scaleX(1.5);
    }
    50% {
        left: 0%;
        opacity: 1;
        transform: scaleX(2);
    }
    80% {
        left: 50%;
        opacity: 0.8;
        transform: scaleX(1.5);
    }
    100% {
        left: 100%;
        opacity: 0;
        transform: scaleX(1);
    }
}

@keyframes logo-glitch-noise {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    50% {
        transform: translateX(1px);
        opacity: 0.1;
    }
    100% {
        transform: translateX(-1px);
        opacity: 0;
    }
}

@keyframes logo-glitch-noise-active {
    0% {
        transform: translateX(0) scaleY(1);
        opacity: 0;
    }
    10% {
        transform: translateX(3px) scaleY(1.1);
        opacity: 0.3;
    }
    20% {
        transform: translateX(-2px) scaleY(0.9);
        opacity: 0.5;
    }
    30% {
        transform: translateX(4px) scaleY(1.2);
        opacity: 0.4;
    }
    40% {
        transform: translateX(-3px) scaleY(0.8);
        opacity: 0.6;
    }
    50% {
        transform: translateX(2px) scaleY(1.1);
        opacity: 0.3;
    }
    60% {
        transform: translateX(-4px) scaleY(0.9);
        opacity: 0.5;
    }
    70% {
        transform: translateX(1px) scaleY(1.05);
        opacity: 0.2;
    }
    80% {
        transform: translateX(-1px) scaleY(0.95);
        opacity: 0.4;
    }
    90% {
        transform: translateX(2px) scaleY(1.02);
        opacity: 0.1;
    }
    100% {
        transform: translateX(0) scaleY(1);
        opacity: 0;
    }
}

.brand-messaging {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--lagoon-white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.animated-tagline {
    font-size: 2.2rem;
    color: var(--lagoon-secondary);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 247, 0.5);
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    display: inline-block;
    min-height: 2.5rem;
}

.animated-tagline::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 247, 0.4),
        transparent
    );
    animation: glitch-scan 3s ease-in-out infinite;
    z-index: 1;
}

.animated-tagline::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 0, 255, 0.1) 50%,
        transparent 70%
    );
    animation: glitch-noise 0.1s linear infinite;
    opacity: 0;
    z-index: 2;
}

@keyframes glitch-scan {
    0%, 90% {
        left: -100%;
        opacity: 0;
    }
    95% {
        left: 100%;
        opacity: 1;
    }
}

@keyframes glitch-noise {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    50% {
        transform: translateX(2px);
        opacity: 0.1;
    }
    100% {
        transform: translateX(-2px);
        opacity: 0;
    }
}

.animated-tagline.glitching {
    animation: glitch-warp 0.2s ease-in-out;
}

@keyframes glitch-warp {
    0% {
        transform: scale(1) skewX(0deg);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: scale(1.05) skewX(2deg);
        filter: hue-rotate(45deg) contrast(1.2);
    }
    50% {
        transform: scale(1.1) skewX(-2deg);
        filter: hue-rotate(90deg) contrast(1.5);
    }
    75% {
        transform: scale(0.95) skewX(1deg);
        filter: hue-rotate(135deg) contrast(1.3);
    }
    100% {
        transform: scale(1) skewX(0deg);
        filter: hue-rotate(0deg);
    }
}

.website-link-container {
    margin-top: var(--spacing-md);
    text-align: center;
    width: 100%;
}

.elevate-link {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.elevate-link:hover::before {
    left: 100%;
}

.elevate-link:hover {
    color: var(--lagoon-secondary);
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0, 255, 247, 0.3);
}

/* Connection Status Indicator */
.connection-status {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 10;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.status-text {
    color: var(--lagoon-white);
    font-family: var(--font-primary);
    letter-spacing: 0.05em;
}

.status-indicator.online .status-dot {
    background: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.status-indicator.offline .status-dot {
    background: #ff6b6b;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.4);
    animation: pulse-dot-offline 1s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes pulse-dot-offline {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Mobile responsive for connection status */
@media (max-width: 768px) {
    .connection-status {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }
    
    .status-indicator {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .status-dot {
        width: 6px;
        height: 6px;
    }
}

/* Fun Gift Banner */
.gift-banner {
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff4757, #ff6b7a, #ff8a80);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: banner-glow 3s ease-in-out infinite;
}

@keyframes banner-glow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(255, 71, 87, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 71, 87, 0.5);
        transform: scale(1.02);
    }
}

.gift-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: banner-shimmer 2s ease-in-out infinite;
}

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

.banner-content {
    position: relative;
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    z-index: 2;
}

.banner-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.banner-message {
    color: rgba(255, 255, 255, 0.9);
}

.banner-highlight {
    background: linear-gradient(45deg, #fff, #ffeb3b, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: none;
    animation: highlight-shine 2s ease-in-out infinite;
}

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

.wink-emoji {
    font-size: 1.4rem;
    animation: wink 4s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wink-emoji:hover {
    transform: scale(1.2);
}

@keyframes wink {
    0%, 90%, 100% {
        transform: scale(1) rotate(0deg);
    }
    92% {
        transform: scale(1.1) rotate(-5deg);
    }
    94% {
        transform: scale(0.8) rotate(5deg);
    }
    96% {
        transform: scale(1.1) rotate(-3deg);
    }
    98% {
        transform: scale(1) rotate(0deg);
    }
}

.sparkle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sparkle {
    position: absolute;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    animation: sparkle-float 3s ease-in-out infinite;
}

.sparkle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 30%;
    right: 15%;
    animation-delay: 0.5s;
}

.sparkle-3 {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.sparkle-4 {
    top: 70%;
    right: 25%;
    animation-delay: 1.5s;
}

.sparkle-5 {
    top: 15%;
    left: 50%;
    animation-delay: 2s;
}

.sparkle-6 {
    top: 80%;
    right: 10%;
    animation-delay: 2.5s;
}

@keyframes sparkle-float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translateY(-10px) scale(1) rotate(180deg);
    }
    20% {
        opacity: 0.8;
        transform: translateY(-20px) scale(1.2) rotate(360deg);
    }
    30% {
        opacity: 0.6;
        transform: translateY(-30px) scale(1) rotate(540deg);
    }
    40% {
        opacity: 0.4;
        transform: translateY(-40px) scale(0.8) rotate(720deg);
    }
    50% {
        opacity: 0.2;
        transform: translateY(-50px) scale(0.6) rotate(900deg);
    }
    60% {
        opacity: 0;
        transform: translateY(-60px) scale(0.4) rotate(1080deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0) rotate(1440deg);
    }
}

/* Mobile responsive for banner */
@media (max-width: 768px) {
    .banner-text {
        font-size: 1rem;
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .banner-highlight {
        font-size: 1.2rem;
    }
    
    .banner-icon {
        font-size: 1.3rem;
    }
    
    .wink-emoji {
        font-size: 1.2rem;
    }
    
    .sparkle {
        font-size: 1rem;
    }
}

/* Progress Bar */
.progress-container {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        var(--lagoon-primary),
        var(--lagoon-secondary),
        var(--lagoon-primary)
    );
    opacity: 0.3;
    animation: progress-shimmer 4s ease-in-out infinite;
}

@keyframes progress-shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(
        90deg,
        var(--lagoon-primary),
        var(--lagoon-secondary)
    );
    border-radius: var(--radius-sm);
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: progress-flow 3s ease-in-out infinite;
}

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

.progress-text {
    color: var(--lagoon-white);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Survey Form */
.survey-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.survey-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--lagoon-secondary),
        var(--lagoon-primary),
        var(--lagoon-secondary),
        transparent
    );
}

/* Section Styles */
.survey-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.survey-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--lagoon-white);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    padding-bottom: var(--spacing-sm);
    padding-top: var(--spacing-md);
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--lagoon-primary),
        var(--lagoon-secondary)
    );
    border-radius: 1px;
}


/* Form Groups */
.form-group {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.form-group label {
    display: block;
    color: var(--lagoon-white);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

/* Input Styles */
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--lagoon-white);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--lagoon-secondary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 255, 247, 0.2);
}

/* Select dropdown styling */
select {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--lagoon-white) !important;
}

select option {
    background: var(--lagoon-deep) !important;
    color: var(--lagoon-white) !important;
    padding: 0.5rem;
}

select option:hover {
    background: var(--lagoon-primary) !important;
    color: var(--lagoon-white) !important;
}

select option:checked {
    background: var(--lagoon-secondary) !important;
    color: var(--lagoon-deep) !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Checkbox and Radio Styles */
.checkbox-group,
.radio-group {
    display: grid;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkbox-label:hover,
.radio-label:hover {
    background: rgba(0, 255, 247, 0.1);
    border-color: var(--lagoon-secondary);
    transform: translateX(5px);
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    display: none;
}

.checkmark,
.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: var(--spacing-sm);
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.radio-mark {
    border-radius: 50%;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark,
.radio-label input[type="radio"]:checked + .radio-mark {
    background: linear-gradient(135deg, var(--lagoon-primary), var(--lagoon-secondary));
    border-color: var(--lagoon-secondary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.radio-label input[type="radio"]:checked + .radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Ranking Group */
.ranking-group {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-item label {
    margin-bottom: 0;
    font-weight: 500;
}

.ranking-item select {
    width: 120px;
    margin: 0;
}

/* Voice Button */
.voice-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--lagoon-primary), var(--lagoon-secondary));
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.voice-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 255, 247, 0.3);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    gap: var(--spacing-md);
    position: relative;
}


.nav-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-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;
}

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

.prev-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--lagoon-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prev-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

.next-btn,
.submit-btn {
    background: linear-gradient(135deg, var(--lagoon-primary), var(--lagoon-secondary));
    color: var(--lagoon-white);
    border: 1px solid var(--lagoon-secondary);
}

.next-btn:hover,
.submit-btn:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(0, 255, 247, 0.3);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.nav-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Reset button specific styling - smaller size */
.reset-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: 2px solid rgba(255, 107, 107, 0.3);
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.reset-btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff7979);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Voice Modal */
.voice-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.voice-modal-content {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    min-width: 350px;
    max-width: 400px;
    box-shadow: var(--glass-shadow);
    animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
    from {
        transform: translateY(-50%) translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

.voice-question-context {
    background: rgba(0, 255, 247, 0.1);
    border: 1px solid var(--lagoon-secondary);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    text-align: left;
    font-size: 0.9rem;
    color: var(--lagoon-white);
}

.voice-question-context strong {
    color: var(--lagoon-secondary);
    display: block;
    margin-bottom: 0.25rem;
}

.voice-modal h3 {
    color: var(--lagoon-white);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
}

.voice-status {
    color: var(--lagoon-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.voice-permission-note {
    background: rgba(0, 255, 247, 0.1);
    border: 1px solid rgba(0, 255, 247, 0.3);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}

.voice-controls {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.voice-control-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--lagoon-primary), var(--lagoon-secondary));
    color: var(--lagoon-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    font-weight: 500;
}

.voice-control-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 255, 247, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .survey-container {
        padding: var(--spacing-sm);
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .survey-form {
        padding: var(--spacing-lg);
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .nav-btn {
        width: 100%;
    }
    
    .reset-btn {
        order: 1;
    }
    
    .prev-btn {
        order: 2;
    }
    
    .next-btn,
    .submit-btn {
        order: 3;
    }
    
    .ranking-item {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .ranking-item select {
        width: 100%;
    }
    
    .voice-modal-content {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-50%);
    }
    
    .elevate-link {
        font-size: 0.8rem;
    }
    
    .animated-tagline {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }
    
    .website-link-container {
        margin-top: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
