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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 40px;
    margin: -50px auto 40px;
    max-width: 500px;
    position: relative;
    z-index: 10;
}

.form-section h2 {
    color: #1e3c72;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #1e3c72;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.checkbox-group a {
    color: #1e3c72;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
}

.sms-disclosure {
    background: #f8f9fa;
    border-left: 4px solid #1e3c72;
    padding: 15px;
    margin: 20px 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.sms-disclosure strong {
    color: #333;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-card h3 {
    color: #1e3c72;
    margin: 15px 0 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

.how-it-works {
    padding: 40px 0 60px;
    text-align: center;
}

.how-it-works h2 {
    color: #1e3c72;
    margin-bottom: 40px;
    font-size: 2rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 15px;
}

.step h3 {
    color: #1e3c72;
    margin-bottom: 10px;
}

.step p {
    color: #666;
    font-size: 0.95rem;
}

.footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer a {
    color: #a0d2db;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    margin: 0 15px;
}

.privacy-page, .terms-page {
    background: white;
    max-width: 800px;
    margin: 40px auto;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.privacy-page h1, .terms-page h1 {
    color: #1e3c72;
    margin-bottom: 30px;
    border-bottom: 2px solid #1e3c72;
    padding-bottom: 15px;
}

.privacy-page h2, .terms-page h2 {
    color: #2a5298;
    margin: 25px 0 15px;
}

.privacy-page p, .terms-page p, .privacy-page ul, .terms-page ul {
    color: #555;
    margin-bottom: 15px;
}

.privacy-page ul, .terms-page ul {
    margin-left: 25px;
}

.success-message {
    text-align: center;
    padding: 40px;
}

.success-message h2 {
    color: #27ae60;
    margin-bottom: 15px;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .form-section {
        padding: 25px;
        margin: -30px 15px 30px;
    }
    .privacy-page, .terms-page {
        margin: 20px;
        padding: 25px;
    }
}
