/* System font stack for optimal performance and native feel */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding: 0 1rem;
    flex: 1;
}

.card {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    padding: 2rem;
    text-align: center;
}

.brand-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.facebook-brand {
    background-color: #1877f2;
}

.instagram-brand {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.default-brand {
    background-color: #6b7280;
}

h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 1.5rem 0;
}

.technical-info {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.technical-info p {
    margin-bottom: 0.25rem;
}

code {
    font-family: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', 'Source Code Pro', monospace;
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.content-section {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: left;
}

.facebook-content {
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
}

.instagram-content {
    background: linear-gradient(to right, #faf5ff, #fdf2f8);
    border: 1px solid #e9d5ff;
}

.default-content {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

.content-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.facebook-content h3 {
    color: #1e40af;
}

.instagram-content h3 {
    color: #7c2d12;
}

.content-section p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.facebook-content p {
    color: #1e40af;
}

.instagram-content p {
    color: #7c2d12;
}

.feature-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.facebook-content .feature-badge {
    color: #2563eb;
}

.instagram-content .feature-badge {
    color: #9333ea;
}

/* Responsive design */
@media (max-width: 480px) {
    .card {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .brand-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .brand-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Workshop Header Styles */
.workshop-header-simple {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0;
}

.workshop-badge {
    display: block;
    width: 100%;
    background-color: #EF3D73;
    color: white;
    padding: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(239, 61, 115, 0.3);
}

.workshop-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1f2937;
}

.workshop-title .highlight {
    color: #EF3D73;
}

.workshop-subtitle {
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
    color: #6b7280;
}

@media (min-width: 768px) {
    .workshop-title {
        font-size: 1.5rem;
    }
    
    .workshop-subtitle {
        font-size: 0.875rem;
    }
    
    .workshop-badge {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Footer styles */
.footer {
    background-color: #000000;
    color: #d1d5db;
    padding: 1rem;
    margin-top: auto;
    font-size: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex: 0 0 auto;
}

.footer-right a {
    color: #d1d5db;
    text-decoration: underline;
    text-decoration-color: #6b7280;
}

.footer-right a:hover {
    color: #f9fafb;
    text-decoration-color: #d1d5db;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-left, .footer-right {
        flex: none;
        width: 100%;
    }
}

/* Smooth transitions */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Form styles */
.form-section {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.form-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.form-group {
    margin-bottom: 0.1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #1f2937;
    background-color: #ffffff;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-group input:invalid {
    border-color: #d1d5db;
}

.form-group input:invalid:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

button[type="submit"], button[type="button"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

button[type="submit"]:hover, button[type="button"]:hover {
    background-color: #128C7E;
    transform: translateY(-1px);
}

button[type="submit"]:active, button[type="button"]:active {
    transform: translateY(0);
}

button[type="submit"]:focus, button[type="button"]:focus {
    outline: 2px solid #25D366;
    outline-offset: 2px;
}

/* Error message styles */
.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

.form-group input.error {
    border-color: #e5e7eb;
    box-shadow: none;
}

/* Required field indicator */
label::after {
    content: '';
}

/* Submit button disabled state */
button[type="submit"]:disabled, button[type="button"]:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Phone input container styles */
.phone-input-container {
    display: flex;
    gap: 0;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.phone-input-container:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.phone-input-container select {
    padding: 8px 12px;
    border: none;
    background-color: #f9fafb;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    width: 100px;
    outline: none;
}

.phone-input-container select:focus {
    background-color: #f3f4f6;
}

.phone-input-container input[type="tel"] {
    flex: 1;
    padding: 12px;
    border: none;
    background-color: white;
    font-size: 0.875rem;
    color: #374151;
    outline: none;
}

.phone-input-container input[type="tel"]:focus {
    background-color: #fefefe;
}

/* Error state for phone container */
.phone-input-container.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Workshop Benefits Carousel */
.workshop-benefits {
    margin-top: 3rem;
    padding: 2rem 1rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mockup-image-container {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.mockup-image {
    max-width: 97.5%;
    height: auto;
}

@media (min-width: 768px) {
    .mockup-image {
        max-width: 585px;
    }
}

.benefits-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.highlight-green {
    color: #059669;
    font-weight: 800;
}

.benefits-carousel {
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: #ffffff;
    border: 2px solid #e91e63;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #e91e63;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background-color: #e91e63;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: -20px;
}

.carousel-btn-next {
    right: -20px;
}

@media (max-width: 640px) {
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-btn-prev {
        left: -18px;
    }
    
    .carousel-btn-next {
        right: -18px;
    }
}

.carousel-container {
    overflow: hidden;
    border-radius: 0.75rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.benefit-slide {
    min-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-left: 3px solid #e91e63;
    box-sizing: border-box;
}

.benefit-icon {
    flex-shrink: 0;
    padding: 0.25rem;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(233, 30, 99, 0.15);
}

.benefit-icon svg {
    display: block;
    width: 40px;
    height: 40px;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.benefit-content p {
    font-size: 0.75rem;
    color: #4b5563;
    line-height: 1.3;
}

.benefit-content strong {
    color: #1f2937;
    font-weight: 600;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #e91e63;
}

@media (min-width: 768px) {
    .benefits-title {
        font-size: 1.4rem;
    }
    
    .benefit-content h3 {
        font-size: 0.9rem;
    }
    
    .container {
        max-width: 42rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 48rem;
    }
}
