/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #111111;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(45deg, #ffffff, #e5e7eb, #ffffff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gentle-glow 4s ease infinite;
}

@keyframes gentle-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* Hero Section */
.hero {
    background: #0a0a0a;
    color: white;
    padding: 80px 0;
    min-height: 769px;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Progressive background loading - placeholder gradient */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.hero.bg-loaded::before {
    opacity: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bg-optimized.jpg') center/cover no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

/* Mobile optimized background */
@media (max-width: 768px) {
    .hero::after {
        background: url('bg-mobile.jpg') center/cover no-repeat;
    }
}

.hero.bg-loaded::after {
    opacity: 1;
}



.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Floating background effect */
.hero .container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(100, 149, 237, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(100, 149, 237, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    height: 100px;
    width: auto;
    filter: brightness(1.2) contrast(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    border: 3px solid #1a1a1a;
    border-radius: 12px;
    padding: 8px;
    background: rgba(26, 26, 26, 0.8);
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
    border-color: rgba(100, 149, 237, 0.5);
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.highlight {
    background: linear-gradient(45deg, #ffffff, #6495ED, #ffffff);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
    position: relative;
}

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

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.01em;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #6495ED, #ffffff, #6495ED);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Section Styling */
section {
    padding: 120px 0;
    position: relative;
}

/* Trail Lines Effect */
.trail-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(100, 149, 237, 0.2) 15%, 
        rgba(100, 149, 237, 0.5) 50%, 
        rgba(100, 149, 237, 0.3) 80%, 
        transparent 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* Trail dots for section connections */
.hero .container::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #6495ED;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 15px rgba(100, 149, 237, 0.5);
}

.why-submit .container::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #6495ED;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 15px rgba(100, 149, 237, 0.5);
}

.previous-features .container::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #6495ED;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 15px rgba(100, 149, 237, 0.5);
}

/* Add subtle background effects to alternating sections */
section:nth-child(even) {
    background: radial-gradient(circle at 90% 10%, rgba(100, 149, 237, 0.02) 0%, transparent 50%);
}

section:nth-child(odd) {
    background: radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Submit Section */
.why-submit {
    background: #0f0f0f;
    position: relative;
}

.why-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(100, 149, 237, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.why-submit .container {
    position: relative;
    z-index: 2;
}

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

.benefit-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(100, 149, 237, 0.1), transparent, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 149, 237, 0.4);
    box-shadow: 0 20px 25px -5px rgba(100, 149, 237, 0.2);
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.benefit-card p {
    color: #d1d5db;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Previous Features Section */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.profile-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 149, 237, 0.05), rgba(255, 255, 255, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.profile-card:hover {
    transform: translateY(-12px);
    border-color: rgba(100, 149, 237, 0.4);
    box-shadow: 0 20px 40px -5px rgba(100, 149, 237, 0.2);
}

.profile-card:hover::before {
    opacity: 1;
}

.profile-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: calc(1rem + 16px);
}

.profile-avatar {
    width: 60px;
    height: 60px;
    position: relative;
}

.avatar-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #000000;
    box-shadow: 0 0 0 2px rgba(100, 149, 237, 0.3);
    transition: all 0.3s ease;
}

.spinning-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.spinning-text svg {
    width: 100%;
    height: 100%;
    animation: spin 3s linear infinite;
}

.spinning-text text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 8px rgba(255, 105, 180, 0.8));
}

.feature-example:first-child .spinning-text text {
    fill: url(#highlight-gradient);
}

.feature-example:last-child .spinning-text text {
    fill: url(#highlight-gradient-2);
}

.profile-card:hover .spinning-text {
    opacity: 1;
}

.profile-card:hover .avatar-img {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.6);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



.profile-name-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.profile-info h4 {
    margin: 0;
}

.profile-info p {
    color: #d1d5db;
    font-size: 0.875rem;
    margin: 0;
}

.status-mobile {
    display: none !important;
}

.status-desktop {
    display: inline-block !important;
}

.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-mobile {
    margin-top: 0.5rem;
}

.status.open-to-work {
    background: linear-gradient(45deg, rgba(100, 149, 237, 0.2), rgba(255, 255, 255, 0.1));
    color: #6495ED;
    border: 1px solid rgba(100, 149, 237, 0.4);
}

.status.not-looking {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(100, 149, 237, 0.1));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}


.profile-portfolio img,
.portfolio-preview {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Portfolio Gallery */
.portfolio-gallery {
    position: relative;
}

.main-preview {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.portfolio-thumbnails {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.portfolio-thumb {
    flex: 1;
    height: 56px;
    object-fit: cover;
    border-radius: 0 0 6px 6px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.portfolio-thumb:hover {
    opacity: 1;
}

.profile-actions {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    white-space: nowrap;
    font-size: 0.875rem;
    position: relative;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #6495ED, #ffffff);
    background-size: 200% 200%;
    color: #000000;
    animation: gradient-shift 2s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(100, 149, 237, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #6495ED;
    border: 2px solid #6495ED;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #6495ED, #ffffff);
    color: #000000;
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, #ff69b4, #ffffff, #ff1493, #ff69b4);
    background-size: 300% 300%;
    color: #000000;
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    animation: gradient-shift 3s ease infinite;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.4);
}

.btn-submit:hover::before {
    opacity: 1;
}

/* Form Styling */
.submission-form {
    background: #0a0a0a;
    position: relative;
}

.submission-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(100, 149, 237, 0.04) 0%, transparent 70%);
    z-index: 1;
}

.submission-form .container {
    position: relative;
    z-index: 2;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.dimitrie-profile {
    flex-shrink: 0;
}

.profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #6495ED;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.1);
}

.form-subtitle {
    font-size: 1.125rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .form-intro {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-subtitle {
        text-align: center;
    }
}

.portfolio-form {
    max-width: 800px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.portfolio-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 149, 237, 0.03), rgba(255, 255, 255, 0.02), rgba(100, 149, 237, 0.02));
    z-index: 1;
}

.portfolio-form > * {
    position: relative;
    z-index: 2;
}

.form-section {
    margin-bottom: 3rem;
}

.form-section h3 {
    color: #ffffff;
    border-bottom: 2px solid rgba(100, 149, 237, 0.4);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #ffffff, #e5e7eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    background: #262626;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(100, 149, 237, 0.7);
    box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.15);
    background: #2a2a2a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* File Input Styling */
.file-input {
    display: none;
}

.file-input-helper {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #262626;
}

.file-input-helper:hover {
    border-color: rgba(100, 149, 237, 0.6);
    background-color: #2a2a2a;
}

.file-input-helper span {
    display: block;
    font-weight: 500;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.file-input-helper small {
    color: #d1d5db;
    font-size: 0.875rem;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
    color: #e5e7eb;
    font-size: 0.95rem;
    width: 100%;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    background-color: #1a1a1a;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.checkbox-label:hover .checkmark {
    border-color: rgba(100, 149, 237, 0.6);
    background-color: #262626;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #6495ED;
    border-color: #6495ED;
    box-shadow: 0 0 0 2px rgba(100, 149, 237, 0.2);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* FAQ Section */
.faq {
    background: #0a0a0a url('faq_bg.jpg') center/cover no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.faq::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.faq::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(100, 149, 237, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(100, 149, 237, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 2;
}

.faq .container {
    position: relative;
    z-index: 3;
}

.faq-title {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-spinning-container {
    position: relative;
    display: inline-block;
}

.faq h2 {
    color: white;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 3;
}

.faq-spinning-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.faq-spinning-text svg {
    width: 100%;
    height: 100%;
    animation: spin 6s linear infinite;
}

.faq-spinning-text text {
    fill: url(#faq-highlight-gradient);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    filter: drop-shadow(0 0 10px rgba(100, 149, 237, 0.6));
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(100, 149, 237, 0.4);
    transform: translateY(-2px);
}

.faq-item h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #d1d5db;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #ffffff;
    color: #000000;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer p {
    opacity: 0.8;
    color: #333333;
    margin: 0.5rem 0;
}

footer a {
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #000000;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 100px 0;
    }
    
    .trail-line {
        opacity: 0.3;
        width: 2px;
    }
    
    .hero .container::after,
    .why-submit .container::after,
    .previous-features .container::after {
        width: 6px;
        height: 6px;
        bottom: -60px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .portfolio-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .profile-name-row {
        justify-content: flex-start;
    }
    
    .status-mobile {
        display: inline-block !important;
        margin-top: 0.5rem;
    }
    
    .status-desktop {
        display: none !important;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
    
    .benefits-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
        margin-top: 1px;
    }
    
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .trail-line {
        opacity: 0.2;
        width: 1px;
    }
    
    .hero .container::after,
    .why-submit .container::after,
    .previous-features .container::after {
        width: 5px;
        height: 5px;
        bottom: -50px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .portfolio-form {
        padding: 1.5rem;
    }
}

/* Loading and Success States */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-success {
    background-color: #dcfce7;
    border: 2px solid #22c55e;
    color: #166534;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    font-weight: 500;
}

.form-error {
    background-color: #fef2f2;
    border: 2px solid #ef4444;
    color: #dc2626;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    font-weight: 500;
}

.form-info {
    background-color: #eff6ff;
    border: 2px solid #6495ED;
    color: #1e40af;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.profile-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Form validation styles - only show validation after user interaction */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #ef4444;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #6495ED;
} 