/* Modern 2025 CSS Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 193, 7, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(108, 117, 125, 0.01) 0%, transparent 50%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    display: block;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

p {
    margin: 0 0 1rem 0;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-highlight {
    background: linear-gradient(135deg, #ffc107 0%, #ffeb3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffc107 0%, #ffeb3b 100%);
    color: #1a1a1a;
    padding: 18px 32px;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6);
    color: #1a1a1a;
    background: linear-gradient(135deg, #ffeb3b 0%, #fff176 100%);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-icon {
    flex-shrink: 0;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
}

/* Offers Section */
.offers-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    background-image: 
        linear-gradient(45deg, rgba(108, 117, 125, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(108, 117, 125, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(108, 117, 125, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(108, 117, 125, 0.02) 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.offer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffc107, #ffeb3b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #ffc107;
}

.offer-card:hover::before {
    transform: scaleX(1);
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.brand-dot.enel { background-color: #00a651; }
.brand-dot.a2a { background-color: #0066cc; }
.brand-dot.eni { background-color: #ffcc00; }
.brand-dot.acea { background-color: #00a0e6; }
.brand-dot.volty { background-color: #ff6600; }
.brand-dot.hera { background-color: #0066cc; }

.brand-name {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.3;
}

.offer-price {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: #059669;
    font-weight: 500;
}

.offer-price strong {
    font-weight: 700;
}

.offer-note {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.info-button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #1a1a1a;
    color: #ffc107;
    border: 1px solid #ffc107;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-button:hover {
    background: #ffc107;
    color: #1a1a1a;
    transform: translateY(-1px);
}

.info-icon {
    flex-shrink: 0;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 3rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffc107 0%, #ffeb3b 100%);
    border-radius: 12px;
    color: #1a1a1a;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.service-content p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    padding: 32px 24px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ffc107 0%, #ffeb3b 100%);
    color: #1a1a1a;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-content p {
    font-size: 1.125rem;
    color: #374151;
    margin: 0;
    font-weight: 500;
}

.step-content a {
    color: #ffc107;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    padding: 24px 28px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffc107;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    border-bottom: 1px solid #e2e8f0;
}

.faq-content {
    padding: 0 28px 24px;
}

.faq-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #94a3b8;
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.footer-company {
    margin-bottom: 24px;
}

.footer-brand {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-brand strong {
    color: #ffffff;
}

.footer-privacy {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 100px 0 80px;
        min-height: 80vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .faq-item summary {
        padding: 20px 24px;
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 0 24px 20px;
    }
    
    .footer {
        padding: 40px 0 30px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 120px 0 100px;
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
        margin-bottom: 3rem;
    }
    
    .cta-button {
        padding: 20px 32px;
        font-size: 1.125rem;
    }
    
    .offer-card {
        padding: 20px;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .step-item {
        padding: 24px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.cta-button:focus,
.info-button:focus,
.faq-item summary:focus {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-section {
        background: white;
        padding: 40px 0;
    }
    
    .cta-button {
        background: #3b82f6;
        color: white;
    }
    
    .offer-card,
    .service-item,
    .step-item,
    .faq-item {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}
