/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Greeting */
.greeting {
    text-align: center;
    margin-bottom: 30px;
}

.greeting h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.greeting .subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* SMS Preview */
.sms-preview {
    margin-bottom: 30px;
}

.sms-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    text-align: center;
}

.sms-bubble {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px 20px;
    position: relative;
}

.sms-bubble::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(45deg) translateY(-50%);
}

.sms-bubble p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: pre-line;
}

/* CTA Primary */
.cta-primary {
    text-align: center;
    margin-bottom: 20px;
}

.cta-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Separator */
.separator {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.separator span {
    padding: 0 15px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Form */
.contact-form {
    margin-bottom: 30px;
}

.contact-form h2 {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Calendly Section */
.calendly-section {
    text-align: center;
    margin-bottom: 30px;
}

.calendly-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    margin-top: auto;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

/* Error Section */
.error-section {
    text-align: center;
    padding: 40px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.error-section h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.error-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.error-code {
    font-family: monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 30px !important;
}

.error-cta {
    margin-top: 20px;
}

.error-cta p {
    margin-bottom: 15px;
}

/* Thank You Section */
.thank-you-section {
    text-align: center;
    padding: 40px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.thank-you-section h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.thank-you-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.thank-you-cta {
    margin-top: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

.social-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.social-link:hover {
    text-decoration: underline;
}

/* Home Section */
.home-section {
    text-align: center;
    padding: 40px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.home-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.home-cta {
    margin-top: 30px;
}

.home-cta p {
    margin-bottom: 15px;
}

/* Loading State */
.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.toast.success {
    border-left: 4px solid #25D366;
}

.toast.error {
    border-left: 4px solid #ff4757;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 380px) {
    .container {
        padding: 15px;
    }

    .greeting h1 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}
