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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0F0F12 0%, #11141D 100%);
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.main-content {
    text-align: center;
}

.progress-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 200px;
}

.progress-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: #2A2A38;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: #e2e8f0;
    font-weight: 500;
}

.logo-section {
    margin-bottom: 30px;
}

.diamond-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.diamond-shape {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    box-shadow: 0 4px 8px rgba(168, 85, 247, 0.3);
}

.diamond-n {
    color: white;
    font-size: 24px;
    font-weight: bold;
    transform: rotate(-45deg);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-heading {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: #a855f7;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Survey Sections */
.survey-section {
    background: #16161D;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid #292F41;
}

.survey-section.hidden {
    display: none;
}

/* Setup Card */
.setup-card h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #16161D;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #292F41;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #2A2A38;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* Optional Section */
.optional-section {
    margin: 30px 0;
    padding: 25px;
    background: #1E1E28;
    border-radius: 12px;
    border: 1px solid #2A2A38;
}

.optional-section h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.optional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* File Upload */
.file-upload-container {
    position: relative;
}

.file-upload-box {
    border: 2px dashed #2A2A38;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #16161D;
}

.file-upload-box:hover {
    border-color: #667eea;
    background: #2A2A38;
}

.file-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.file-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.file-label {
    font-weight: 600;
    color: #fff;
}

.file-subtext {
    font-size: 0.85rem;
    color: #a0aec0;
}

/* URL Input */
.url-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.url-icon {
    position: absolute;
    left: 12px;
    font-size: 1.2rem;
    z-index: 1;
}

.url-input-container input {
    padding-left: 40px;
}

/* Benefits Section */
.benefits-section {
    margin-top: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #16161D;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid #2A2A38;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-icon.psychological {
    color: #10b981;
}

.benefit-icon.competitive {
    color: #ec4899;
}

.benefit-icon.team {
    color: #3b82f6;
}

.benefit-card h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Button Arrow */
.btn-arrow {
    margin-left: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

/* Progress Header */
.progress-header {
    margin-bottom: 30px;
}

.progress-info h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #2d3748;
}

.progress-info p {
    color: #718096;
    font-size: 0.95rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, #0F0F12 0%, #11141D 100%);
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Survey Header */
.survey-header {
    background: #1E1E28;
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.diamond-logo-small {
    display: flex;
    align-items: center;
    gap: 10px;
}

.diamond-shape-small {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.diamond-n-small {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    transform: rotate(-45deg);
}

.brand-name-display {
    font-size: 1.2rem;
    font-weight: 600;
}

.assessing-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.progress-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 200px;
}

.progress-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.progress-text {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Questions Container */
.questions-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.question-item {
    background: #16161D;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #2A2A38;
    transition: all 0.2s ease;
}

.question-item.answered {
    border-left-color: #3DFFD0;
    background: #1E1E28;
}

.question-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.question-statement {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.question-slider-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #a0aec0;
    font-weight: 500;
}

.question-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(135deg, #667BE5 0%, #764DA4 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 10px 0;
}

.question-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(90deg, #9663F8, #FF63C0);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
}

.question-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.question-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.question-slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 500;
    margin-bottom: 10px;
}

.question-slider-scale span:not(:first-child):not(:last-child) {
    display: none;
}

.question-slider-value {
    text-align: center;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

/* Survey Actions */
.survey-actions {
    text-align: center;
    padding: 20px 0;
}

/* Question Card (legacy - keeping for compatibility) */
.question-card {
    text-align: center;
}

.question-header {
    margin-bottom: 40px;
}

.question-header h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.4;
}

.question-instruction {
    color: #718096;
    font-size: 0.95rem;
    font-style: italic;
}

/* Slider Container */
.slider-container {
    margin: 40px 0;
    padding: 0 20px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 15px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: #a0aec0;
    font-weight: 500;
}

.slider-value {
    text-align: center;
    margin-top: 10px;
}

.slider-value span {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 60px;
}

/* Question Actions */
.question-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 15px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

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

.btn-primary {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
    background: #1E1E28;
    color: #FFF;
    border: 2px solid #1E1E28;
}

.btn-secondary:hover:not(:disabled) {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.btn-success {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(168, 85, 247, 0.3);
}

/* Complete Card */
.complete-card {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #3DFFD0;
    margin-bottom: 20px;
    font-weight: bold;
}

.complete-card h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.complete-card p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.completion-details {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.completion-details p {
    margin-bottom: 10px;
    color: #4a5568;
}

.completion-details p:last-child {
    margin-bottom: 0;
}

.completion-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
}

.loading-spinner.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Error Message */
.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fed7d7;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    padding: 15px;
    max-width: 400px;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.error-message.hidden {
    display: none;
}

.error-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.error-icon {
    color: #e53e3e;
    font-weight: bold;
    font-size: 1.2rem;
}

.error-content p {
    color: #c53030;
    margin: 0;
    flex: 1;
}

.error-content .btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    min-width: auto;
}

/* Intro Page Styles */
.intro-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.diamond-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.diamond-shape {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(168, 85, 247, 0.3);
}

.diamond-n {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    transform: rotate(-45deg);
}

.diamond-logo h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    margin: 0;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-card {
    background: #16161D;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    border: 1px solid #2A2A38;
}

.intro-card h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.explanation-section {
    margin-bottom: 40px;
}

.explanation-section h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.explanation-section p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dimension-item {
    background: #1E1E28;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.dimension-item h4 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.dimension-item p {
    color: #a0aec0;
    font-size: 0.95rem;
    margin: 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 8px 0;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.start-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
    min-width: 250px;
}

.time-estimate {
    color: #a0aec0;
    font-size: 0.95rem;
    margin-top: 15px;
    font-style: italic;
}

/* Framing Question Page Styles */
.framing-header {
    margin-bottom: 40px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.framing-content {
    max-width: 1000px;
    margin: 0 auto;
}

.framing-title {
    text-align: center;
    margin-bottom: 40px;
}

.framing-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.framing-title p {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.framing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.framing-card {
    background: #0F1115;
    border: 2px solid #2A2A38;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.framing-card:hover {
    border-color: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.2);
}

.framing-card.selected {
    border-color: #a855f7;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(59, 130, 246, 0.1));
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.radio-container {
    flex-shrink: 0;
    margin-top: 2px;
}

.radio-container input[type="radio"] {
    display: none;
}

.radio-container label {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.framing-card.selected .radio-container label {
    border-color: #a855f7;
    background: #a855f7;
}

.framing-card.selected .radio-container label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.card-content h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    padding-right: 80px;
}

.card-content p {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.inactive-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(168, 85, 247, 0.3);
    z-index: 10;
}

.framing-card {
    position: relative;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #2A2A38;
}

.navigation-buttons .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.navigation-buttons .btn-icon {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .survey-section {
        padding: 25px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .question-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .completion-actions {
        flex-direction: column;
    }

    .error-message {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .diamond-logo {
        flex-direction: column;
        gap: 10px;
    }

    .diamond-logo h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .slider-container {
        padding: 0 10px;
    }

    .question-header h3 {
        font-size: 1.2rem;
    }
}


/* Contact Us Button Styles */
.contact-section {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

/* Contact Popup Styles */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.contact-popup.hidden {
    display: none;
}

.contact-popup-content {
    background: #16161D;
    border-radius: 16px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    border: 1px solid #292F41;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.contact-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #292F41;
}

.contact-popup-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-popup-close {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.contact-popup-close:hover {
    background: #2A2A38;
    color: #fff;
}

.contact-popup-body {
    padding: 24px;
    text-align: center;
}

.contact-popup-body p {
    margin: 0 0 15px 0;
    color: #e2e8f0;
    font-size: 1rem;
}

.contact-email {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #667eea !important;
    margin: 0 !important;
}

/* Contact Form Styles */
#contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 14px;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #2A2A38;
    border-radius: 8px;
    background: #1E1E28;
    color: #e2e8f0;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
}

.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.form-group textarea::placeholder {
    color: #a0aec0;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.form-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 80px;
}

/* Contact button hover - purple gradient */
#back-to-contact-btn:hover,
#contact-send-mailto:hover,
#contact-send-direct:hover {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(168, 85, 247, 0.4);
}

/* Cancel button specific hover - darker gray */
#contact-cancel:hover {
    background: #2A2A38;
    border-color: #404040;
    transform: translateY(-2px);
}

.contact-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.contact-status.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.contact-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.contact-status.loading {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.contact-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    font-size: 14px;
}

.contact-info p {
    margin: 8px 0;
    color: #e2e8f0;
}

.contact-info strong {
    color: #667eea;
}

.contact-info span {
    color: #a0aec0;
}
