/* ===== Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.header h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.header p {
    opacity: 0.9;
}

/* ===== Form ===== */
.main-content {
    padding: 30px 20px;
}

.form-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-section h2 {
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.btn-generate {
    margin-top: 15px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.btn-generate:hover {
    opacity: 0.9;
}

/* ===== Output ===== */
.output-section {
    margin-top: 30px;
    background: white;
    padding: 25px;
    border-radius: 10px;
}

.output-section.hidden {
    display: none;
}

.output-section h2 {
    margin-bottom: 15px;
}

.code-block {
    background: #1e293b;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #334155;
    padding: 8px 12px;
    color: #94a3b8;
}

.btn-copy {
    background: #6366f1;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.code-block pre {
    padding: 12px;
    overflow-x: auto;
    max-height: 300px;
}

.code-block code {
    color: #e2e8f0;
    font-family: Consolas, monospace;
    font-size: 0.85rem;
    white-space: pre-wrap;
}

/* ===== Preview ===== */
.preview-frame {
    width: 100%;
    height: 600px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

/* ===== Footer ===== */
/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 20px;
    background: #1e293b;
    color: #94a3b8;
    margin-top: 30px;
}

/* ===== Home Page Specifics ===== */
.section-title {
    text-align: center;
    font-size: 1.5rem;
    color: #1e293b;
    margin: 40px 0 20px;
    font-weight: 700;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #6366f1;
    background: #e0e7ff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.card h3 {
    margin-bottom: 10px;
    color: #1e293b;
}

.card p {
    color: #64748b;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

.social-btn i {
    font-size: 1.4rem;
}

.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.telegram {
    background: linear-gradient(135deg, #0088cc, #005f8f);
}

.disclaimer-box {
    background: #fff1f2;
    border-left: 5px solid #f43f5e;
    padding: 25px;
    border-radius: 8px;
    color: #881337;
    font-size: 0.95rem;
    line-height: 1.7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
}


