body {
    overflow: auto;
    background: #000;
    min-height: 100vh;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.content-wrapper {
    position: relative;
    z-index: 10;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(-4px);
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.card-glow {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    backdrop-filter: blur(20px);
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

textarea.form-input {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: white;
    color: black;
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    border-radius: 2px;
    margin: 20px 0;
}

.fade-in {
    animation: fadeIn 0.7s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.d1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.d2 {
    animation-delay: 0.25s;
    opacity: 0;
}

.d3 {
    animation-delay: 0.4s;
    opacity: 0;
}

#successMsg {
    display: none;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    border-radius: 0.75rem;
    padding: 14px 18px;
    font-size: 14px;
    margin-top: 16px;
}

#themeToggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

#themeToggle:hover {
    transform: rotate(20deg);
}

body.light-mode {
    background: #e2e3e7 !important;
}

body.light-mode .grid-overlay {
    opacity: 0.4;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode p,
body.light-mode span,
body.light-mode li {
    color: #111 !important;
}

body.light-mode .section-label {
    color: #666 !important;
}

body.light-mode .text-gray-400,
body.light-mode .text-gray-500 {
    color: #555 !important;
}

body.light-mode .card-glow {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .form-input {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #111 !important;
}

body.light-mode .form-input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

body.light-mode .back-btn {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #111 !important;
}

body.light-mode .contact-info-item {
    color: #333 !important;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .submit-btn {
    background: #111 !important;
    color: white !important;
}

body.light-mode .submit-btn:hover {
    background: #333 !important;
}

body.light-mode .divider {
    background: linear-gradient(90deg, #333, #999);
}

body.light-mode #successMsg {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #166534;
}

body.light-mode [style*="position:fixed"] div[style*="border-radius:9999px"],
body.light-mode [style*="position:fixed"] div[style*="border-radius:50%"] {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #111 !important;
}

body.light-mode #themeToggle {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
    color: #111;
}
