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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f8fa;
    color: #333;
    line-height: 1.6;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.logo i {
    font-size: 32px;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-header {
    margin-bottom: 30px;
}

.content-header h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.content-header p {
    color: #666;
    font-size: 18px;
}

/* Card */
.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.card h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.quick-link {
    display: block;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.quick-link i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.quick-link h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.quick-link p {
    font-size: 14px;
    opacity: 0.9;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 14px;
    color: #666;
}

/* Generator Styles */
.link-generator-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.generator-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.generator-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.generator-card h2 i {
    color: #00a859;
}

.generator-card > p {
    color: #666;
    margin-bottom: 25px;
}

.info-box {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    margin-bottom: 30px;
}

.info-box p {
    margin: 8px 0;
    color: #1565c0;
    font-size: 14px;
}

.info-box i {
    color: #0066cc;
    margin-right: 8px;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00a859;
    box-shadow: 0 0 0 3px rgba(0,168,89,0.1);
}

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

.form-group-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Payment Type Selector */
.payment-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.type-option {
    padding: 25px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.type-option:hover {
    border-color: #00a859;
    background: #f8f9fa;
}

.type-option.active {
    border-color: #00a859;
    background: #e8f5f0;
    box-shadow: 0 4px 12px rgba(0,168,89,0.2);
}

.type-option i {
    font-size: 36px;
    color: #00a859;
    margin-bottom: 12px;
}

.type-option h4 {
    font-size: 18px;
    color: #333;
    margin: 10px 0 5px 0;
}

.type-option p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Buttons */
.btn-generate {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00a859 0%, #00d66d 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,168,89,0.3);
}

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

/* Generated Link Section */
.generated-link-section {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid #00a859;
}

.generated-link-section.show {
    display: block;
    animation: slideDown 0.4s ease;
}

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

.generated-link-section h3 {
    color: #00a859;
    font-size: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-display {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.link-input {
    flex: 1;
    padding: 14px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    word-break: break-all;
}

.btn-copy {
    padding: 14px 28px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #0052a3;
}

.btn-copy.copied {
    background: #00a859;
}

.link-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #00a859;
}

.link-info p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.link-info strong {
    color: #333;
}

.btn-new {
    width: 100%;
    padding: 14px;
    background: white;
    color: #0066cc;
    border: 2px solid #0066cc;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-new:hover {
    background: #0066cc;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .form-group-inline,
    .payment-type-selector {
        grid-template-columns: 1fr;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .link-display {
        flex-direction: column;
    }

    .generator-card {
        padding: 25px;
    }
}
