@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
  --bg-dark: #0f0f0f;
  --bg-light: #ffffff;
  --text-dark: #ffffff;
  --text-light: #000000;
  --accent: #00c2ff;
}

@media (prefers-color-scheme: light) {
  body {
    background: #ffffff url('background.jpg') no-repeat center center fixed;
    color: var(--text-light);
  }

  .container,
  .form-container {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-light);
  }

  .btn {
    background: linear-gradient(145deg, #e0e0e0, #f0f0f0);
    color: var(--text-light);
    border: 1px solid #ccc;
  }

  .btn:hover {
    box-shadow: 0 6px 18px rgba(0, 194, 255, 0.3), inset 0 0 0 2px var(--accent);
    background: #e0f7ff;
  }
}

* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: auto;
    animation: fadeIn 1s ease-in-out;
    color: var(--text-dark);
}

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

.glow-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #0099ff22 0%, transparent 70%);
    animation: pulse 8s infinite;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 60px;
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.06);
    text-align: center;
}


.logo {
    max-width: 160px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 6px #00ffff44);
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn {
    position: relative;
    display: inline-block;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(145deg, #222, #2a2a2a);
    border: 1px solid #333;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 0 0 0 var(--accent);
    backdrop-filter: blur(6px);
}

.btn:hover {
    box-shadow: 0 6px 18px rgba(0, 194, 255, 0.3), inset 0 0 0 2px var(--accent);
    transform: translateY(-2px);
    background: linear-gradient(145deg, #2a2a2a, #222);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.btn span {
    display: block;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

@media (min-width: 600px) {
    .buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.form-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.8s ease-out;
    color: #000;
}

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

form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #2E7D32;
}

form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 500;
    color: #333;
    transition: color 0.2s;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea,
form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

form input[type="text"]:focus,
form textarea:focus,
form select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.policy-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    font-size: 14px;
    color: #444;
}

.policy-box h3 {
    margin-top: 0;
    color: #2E7D32;
}

input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.4);
    vertical-align: middle;
}

label[for^="policy"] {
    display: inline-block;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #4CAF50, #388E3C);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

button[type="submit"]:hover {
    background: linear-gradient(to right, #43A047, #2E7D32);
}
