* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #2a2a2a;
    --bg-darker: #1f1f1f;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #e8e8e8;
    --border-color: #3a3a3a;
    --success-color: #4caf50;
    --error-color: #f44336;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 50%, rgba(232, 232, 232, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(232, 232, 232, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 40% 20%, rgba(232, 232, 232, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

html {
    position: relative;
}

/* Header */
header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text-light);
}

/* Main Container */
main {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 2rem;
    padding: 2rem;
}

/* Section Cards */
.section-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(31, 31, 31, 0.8) 0%, rgba(42, 42, 42, 0.8) 100%);
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 12px rgba(232, 232, 232, 0.03);
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.section-card:hover::before {
    left: 100%;
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.card-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
}

.card-button {
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.card-button:hover {
    background: var(--text-light);
    transform: translateX(4px);
}

.card-button:active {
    transform: translateX(2px);
}

/* Accent Circle */
.accent-circle {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(232, 232, 232, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Footer */
footer {
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(42, 42, 42, 0.95);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(20px);
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--text-light);
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: var(--success-color);
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: var(--error-color);
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .section-card {
        padding: 2rem;
    }

    .card-title {
        font-size: 2rem;
    }

    nav a {
        margin-left: 1rem;
    }

    header {
        padding: 1.5rem;
    }

    footer {
        padding: 1rem 1.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .card-title {
        font-size: 1.5rem;
    }

    .card-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.75rem;
    }

    .modal-content {
        max-width: 95%;
    }
}
