/* AI Counselor Page Styles - 2026 Modern UI */

/* Dark Mode Base */
.dark-mode {
    background: #FEF7F8;
    color: #1A3A4A;
}

/* Glass Header */
.glass-header {
    background: rgba(254, 247, 248, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 129, 154, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Hero Counselor Section */
.hero-counselor {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-counselor::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(34, 129, 154, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

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

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 129, 154, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 129, 154, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 14px;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

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

/* Kinetic Heading */
.kinetic-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.heading-line-1 {
    display: block;
    font-size: 48px;
    color: #1A3A4A;
    transition: all 0.3s ease;
}

.heading-line-2 {
    display: block;
    font-size: 56px;
    background: linear-gradient(135deg, #22819A 0%, #90C2E7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: kinetic-bounce 2s ease-in-out infinite;
}

@keyframes kinetic-bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

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

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Features Checklist */
.features-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.feature-item .icon {
    font-size: 20px;
}

.feature-item .text {
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Button with Glassmorphism */
.glass-btn {
    padding: 16px 32px;
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

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

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

.glass-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.shimmer-effect {
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }

    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
}

/* AI Avatar Container */
.hero-visual {
    position: relative;
    z-index: 2;
}

.ai-avatar-container {
    position: relative;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.avatar-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.avatar-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    animation: float 3s ease-in-out infinite;
}

.avatar-info {
    text-align: center;
    margin-bottom: 24px;
}

.avatar-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.avatar-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22819A;
    border-radius: 50%;
}

.status-dot.pulse {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

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

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Chat Preview */
.chat-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    animation: slideInBubble 0.5s ease forwards;
}

.slide-in-1 {
    animation-delay: 1s;
}

.slide-in-2 {
    animation-delay: 1.5s;
}

@keyframes slideInBubble {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Profiling Section */
.profiling-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #0A0A0A 0%, #1A1A2E 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
}

/* Progress Bar */
.form-progress {
    margin-bottom: 48px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #90C2E7 0%, #06B6D4 100%);
    border-radius: 10px;
    width: 20%;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Question Slides */
.question-slide {
    display: none;
    animation: fadeInSlide 0.5s ease forwards;
}

.question-slide.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.question-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.question-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 40px;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.option-card.selected {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.option-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.option-text {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
}

.option-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.nav-btn {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-next {
    margin-left: auto;
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.btn-next:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Results Section */
.results-section {
    padding: 80px 0;
    background: #0A0A0A;
}

.results-header {
    text-align: center;
    margin-bottom: 60px;
}

.success-animation {
    display: inline-block;
    margin-bottom: 24px;
}

.checkmark {
    width: 80px;
    height: 80px;
    stroke-width: 2;
    stroke: #22819A;
    stroke-miterlimit: 10;
    animation: fillCheck 0.4s ease-in-out 0.4s forwards, scaleCheck 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke: #22819A;
    animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes strokeCircle {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes strokeCheck {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleCheck {

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

    50% {
        transform: scale(1.1);
    }
}

.results-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.results-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.recommendation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.5);
}

.rank-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #F87171 0%, #FB923C 100%);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.fit-score {
    text-align: center;
    margin-bottom: 24px;
}

.score-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    position: relative;
}

.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #90C2E7 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .heading-line-1 {
        font-size: 36px;
    }

    .heading-line-2 {
        font-size: 42px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 32px 24px;
    }
}

/* Pulse Button */
.pulse-btn {
    animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}