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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
}

nav {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #667eea;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #667eea;
}

nav a.active::after {
    width: 100%;
}

/* Loading animation styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
    color: #2c3e50;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-text {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

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

/* Theme switcher styles */
.theme-divider {
    color: #667eea;
    margin: 0 1rem;
    font-weight: bold;
}

.theme-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-label {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
}

.theme-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.theme-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #764ba2;
}

.theme-current {
    color: #764ba2;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    background: rgba(118, 75, 162, 0.1);
    border-radius: 4px;
}

.hero {
    padding: 120px 2rem 80px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero .tagline {
    font-size: 1.3rem;
    color: #5a6c7d;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero .elevator-pitch {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #34495e;
    background: rgba(255,255,255,0.7);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

section {
	padding: 80px 2rem;
	display: none;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
	min-height: calc(100vh);
}

section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

section:nth-child(even) {
    background: #f8f9fa;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 300;
    color: #2c3e50;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid #667eea;
}

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

.feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

section.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 2rem;
}

section.cta h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-button {
	display: inline-block;
	background: white;
	color: #667eea;
	padding: 1rem 2rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 800px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form {
    color: #2c3e50;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 1rem;
}

.form-header h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 300;
}

.form-header p {
    color: #5a6c7d;
    font-size: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-input,
.form-select,
.form-textarea {
    background: white;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    color: #2c3e50;
    font-size: 1rem;
    padding: 0.75rem;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.form-input::placeholder,
.form-textarea::placeholder {
    color: #a0a9b8;
}

.form-select {
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.consent-label {
    position: relative;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #2c3e50;
    padding-left: 30px;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #e0e6ed;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.consent-label:hover .checkmark {
    border-color: #667eea;
}

.form-checkbox:checked ~ .checkmark {
    background-color: #667eea;
    border-color: #667eea;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox:checked ~ .checkmark:after {
    display: block;
}

.field-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    min-height: 20px;
}

.field-info {
    color: #667eea;
    font-size: 0.85rem;
    text-align: right;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.submit-button,
.reset-button {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.reset-button {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.reset-button:hover {
    background: #667eea;
    color: white;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.form-status.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        margin: 2rem 1rem 0;
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-button,
    .reset-button {
        width: 100%;
        max-width: 250px;
    }
}