/* Variables */
:root {
    --klein-blue: #002FA7;
    --klein-blue-light: #1a4bb8;
    --klein-blue-dark: #001d6b;
    --klein-blue-ultra-light: #4d7bc8;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --accent-gold: #ffd700;
    --accent-silver: #e8e8e8;
    --accent-coral: #ff6b6b;
    --shadow-light: rgba(0, 47, 167, 0.1);
    --shadow-medium: rgba(0, 47, 167, 0.2);
    --shadow-heavy: rgba(0, 47, 167, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--klein-blue) 0%, var(--klein-blue-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--klein-blue-light) 0%, var(--klein-blue-ultra-light) 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--klein-blue);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Interactive Roadmap Section */
.roadmap-section {
    background: var(--gradient-primary);
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.roadmap-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    height: 600px;
}

.roadmap-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.road-path {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 3;
    fill: none;
    transition: all 0.3s ease;
}

.road-path.active {
    stroke: var(--accent-gold);
    stroke-width: 4;
    filter: drop-shadow(0 0 10px var(--accent-gold));
}

.portfolio-module {
    position: absolute;
    width: 180px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 47, 167, 0.3);
    color: var(--white);
    text-decoration: none;
}

.portfolio-module:hover {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
    border-color: var(--white);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    color: var(--klein-blue-dark);
    text-decoration: none;
}

.module-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.portfolio-module:hover .module-icon {
    background: rgba(0, 47, 167, 0.2);
}

.module-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin: 0;
}

/* Module Positions */
.module-business { top: 50px; left: 100px; }
.module-games { top: 200px; left: 300px; }
.module-photography { top: 350px; left: 150px; }
.module-technical { top: 150px; left: 600px; }
.module-creative { top: 300px; left: 800px; }
.module-future { top: 50px; left: 1000px; }

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    animation: pulse 3s infinite;
    color: var(--klein-blue-dark);
    font-size: 2rem;
    font-weight: bold;
}

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

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

.roadmap-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: roadmapFloat 8s infinite linear;
    opacity: 0.7;
}

@keyframes roadmapFloat {
    0% { transform: translateY(100%) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-100%) rotate(360deg); opacity: 0; }
}

.roadmap-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

.roadmap-title h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roadmap-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Empty Module Styling */
.module-empty {
    opacity: 0.6;
    cursor: default;
}

.module-empty:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 47, 167, 0.3);
    color: var(--white);
}

.module-empty .module-icon {
    background: rgba(255, 255, 255, 0.1);
}

/* Questionnaire Section */
.questionnaire-section {
    background: var(--gradient-secondary);
    padding: 4rem 0;
}

.questionnaire-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 47, 167, 0.3);
}

.questionnaire-title {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.questionnaire-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 2rem;
}

.questionnaire-form .form-label {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.questionnaire-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: var(--white);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.questionnaire-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
    color: var(--white);
}

.questionnaire-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.questionnaire-form .form-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.questionnaire-form .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
    border: none;
    color: var(--klein-blue-dark);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.questionnaire-form .btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e, var(--accent-gold));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    color: var(--klein-blue-dark);
}

.questionnaire-form .btn-primary:disabled {
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .roadmap-container { height: 500px; }
    .portfolio-module { width: 150px; height: 100px; }
    .module-business { top: 40px; left: 50px; }
    .module-games { top: 160px; left: 200px; }
    .module-photography { top: 280px; left: 80px; }
    .module-technical { top: 120px; left: 400px; }
    .module-creative { top: 240px; left: 550px; }
    .module-future { top: 40px; left: 700px; }
}

@media (max-width: 768px) {
    .roadmap-container { height: 800px; }
    .portfolio-module { width: 140px; height: 90px; }
    .module-business { top: 50px; left: 20px; }
    .module-games { top: 180px; left: 180px; }
    .module-photography { top: 310px; left: 50px; }
    .module-technical { top: 440px; left: 200px; }
    .module-creative { top: 570px; left: 80px; }
    .module-future { top: 700px; left: 150px; }
    
    .questionnaire-card {
        padding: 1.5rem;
    }
    
    .questionnaire-title {
        font-size: 1.5rem;
    }
}
