
/* Global Styles */
:root {
  --primary-green: #009B77;
  --primary-blue: #0047AB;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #F5F5F5;
  --background-color: #f0f2f5;
  --card-background: #FFFFFF;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--background-color); color: var(--text-color-dark); line-height: 1.6; }
#root { display: flex; flex-direction: column; min-height: 100vh; }
header { padding: 1.5rem 1rem; text-align: center; }
.header-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}
header h1 { font-size: 2.5rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 0.25rem; }
header h1 span { display: block; font-size: 1.5rem; font-weight: 600; color: var(--primary-green); }
main { flex-grow: 1; display: flex; flex-direction: column; align-items: center; padding: 1rem 2rem 3rem; width: 100%; max-width: 800px; margin: 0 auto; gap: 2rem; }
.card { background-color: var(--card-background); border-radius: var(--border-radius); box-shadow: var(--box-shadow); padding: 2rem; width: 100%; }
.about-card p { font-size: 1rem; text-align: justify; margin-bottom: 1rem; }
.about-card p:last-child { margin-bottom: 0; }
h2 { font-size: 1.75rem; margin-bottom: 1.5rem; text-align: center; color: var(--primary-blue); }
h3 { font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--primary-blue); border-left: 4px solid var(--primary-green); padding-left: 0.75rem; }
.form-intro { font-size: 0.95rem; color: #555; margin-bottom: 2rem; line-height: 1.5; }
.strong-blue { color: var(--primary-blue); font-weight: 700; }
.strong-green { color: var(--primary-green); font-weight: 700; }
.form-group { margin-bottom: 1.5rem; }
.hidden { display: none; }
label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-color-dark); }
input[type="text"], select { width: 100%; padding: 0.75rem 1rem; font-size: 1rem; font-family: 'Montserrat', sans-serif; border-radius: var(--border-radius); border: 1px solid #ccc; transition: border-color 0.3s, box-shadow 0.3s; background-color: var(--secondary-color); }
select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230047AB%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right 1rem center; background-size: .65em auto; }
input[type="text"]:focus, select:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.2); }
button#generate-btn { background: linear-gradient(90deg, var(--primary-green), var(--primary-blue)); color: var(--text-color-light); border: none; padding: 0.8rem 1.5rem; width: 100%; font-size: 1.1rem; font-weight: 700; border-radius: var(--border-radius); cursor: pointer; transition: transform 0.2s ease, box-shadow 0.3s ease; margin-top: 1rem; }
button#generate-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); }
button#generate-btn:disabled { background: #cccccc; cursor: not-allowed; }
#result-card { position: relative; min-height: 100px; display: flex; align-items: center; justify-content: center; text-align: center; }
#result-content { font-size: 1.1rem; font-weight: 600; color: var(--primary-blue); }
.loader { border: 4px solid #f3f3f3; border-radius: 50%; border-top: 4px solid var(--primary-blue); border-left: 4px solid var(--primary-green); width: 40px; height: 40px; animation: spin 1s linear infinite; display: none; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
a#whatsapp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; background-color: #25D366; color: white; padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-size: 1.2rem; font-weight: 700; box-shadow: var(--box-shadow); transition: transform 0.2s ease, box-shadow 0.3s ease; }
a#whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
a#whatsapp-btn svg { width: 28px; height: 28px; }
#facebook-fab { position: fixed; bottom: 20px; right: 20px; z-index: 1000; display: flex; align-items: center; gap: 0.75rem; background-color: var(--primary-blue); color: white; padding: 0.8rem 1.2rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); transition: transform 0.2s ease, box-shadow 0.3s ease; animation: pulse 2.5s infinite; }
#facebook-fab svg { width: 24px; height: 24px; }
#facebook-fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); animation-play-state: paused; }
@keyframes pulse { 0% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(0, 71, 171, 0.7); } 70% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(0, 71, 171, 0); } 100% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(0, 71, 171, 0); } }
footer { text-align: center; padding: 1.5rem; margin-top: auto; font-size: 0.9rem; color: #777; }
@media (max-width: 768px) { header h1 { font-size: 2rem; } header h1 span { font-size: 1.25rem; } main { padding: 1rem; } .card { padding: 1.5rem; } h2 { font-size: 1.5rem; } #facebook-fab span { display: none; } #facebook-fab { padding: 1rem; border-radius: 50%; gap: 0; } #facebook-fab svg { width: 28px; height: 28px; } }
