/* MetrikMind - Landing Page Styles */

/* Font Import - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    overflow-x: hidden;
    background: #0f0f0f;
    color: white;
    line-height: 1.6;
}

/* Force Inter on all elements */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Header con logo centrato */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    text-align: center;
}

.logo {
    width: 120px;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.3s forwards;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 4rem 4rem;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
    opacity: 0.3;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.98) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.5s forwards;
}

.highlight {
    background: linear-gradient(135deg, #3498db 0%, #1eb5e7 50%, #00bcd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #8f9ba8;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.8s forwards;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #00bcd4 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 1.1s forwards;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Sezioni principali */
.section {
    padding: 80px 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
}

.section h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #3498db;
}

.section p {
    font-size: 1.2rem;
    color: #8f9ba8;
    margin-bottom: 2rem;
    text-align: center;
}

/* Card Icons */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(0, 188, 212, 0.1) 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    width: 28px;
    height: 28px;
    color: #3498db;
}

/* Problems Section */
.problems {
    background: rgba(255, 255, 255, 0.02);
    margin: 0;
    max-width: 100%;
}

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

.problem-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 152, 219, 0.3);
}

.problem-card h4 {
    color: #3498db;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.problem-card p {
    color: #8f9ba8;
    text-align: left;
    font-size: 1rem;
}

/* Solution Section */
.solution-content {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(0, 188, 212, 0.1) 100%);
    border-radius: 30px;
    margin-top: 3rem;
}

.solution-text {
    font-size: 1.3rem;
    color: white !important;
    margin-bottom: 2rem;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 152, 219, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.service-card h4 {
    color: #3498db;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #8f9ba8;
    font-size: 1rem;
}

/* Results Section */
.results {
    background: rgba(255, 255, 255, 0.02);
    margin: 0;
    max-width: 100%;
}

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

.result-item {
    text-align: center;
    padding: 2rem;
}

.result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(0, 188, 212, 0.1) 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.result-icon i {
    width: 24px;
    height: 24px;
    color: #3498db;
}

.result-number {
    font-size: 3rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.result-label {
    color: #8f9ba8;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials-content {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    margin-top: 3rem;
}

.testimonials-text {
    font-size: 1.3rem;
    color: white !important;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-intro {
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 30px;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #8f9ba8;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group select option {
    background: #1a1a1a;
    color: white;
}

.contact-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #3498db;
    font-size: 0.9rem;
}

.benefit-item i {
    width: 20px;
    height: 20px;
    color: #3498db;
}

.benefit-item span {
    text-align: center;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Floating Element */
.floating-element {
    position: fixed;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.3;
    z-index: 1;
}

.floating-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 50%;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .logo {
        width: 100px;
    }
    
    .hero {
        padding: 80px 2rem 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 60px 2rem;
    }
    
    .section h2 {
        font-size: 2.5rem;
    }
    
    .floating-element {
        display: none;
    }
    
    .problems-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-benefits {
        grid-template-columns: 1fr;
    }
}