/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

.highlight {
    color: #b8860b;
    font-weight: inherit;
}

/* Header */
header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: #b8860b;
}

.btn-login {
    background-color: #7ba4b7;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #6a93a6;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav li {
    margin: 0;
}

.mobile-nav a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #b8860b;
}

.mobile-login {
    margin-top: 40px;
}

.mobile-login .btn-login {
    font-size: 18px;
    padding: 15px 30px;
}

body.menu-open {
    overflow: hidden;
}

/* Media Queries */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .login-button {
        display: none;
    }
}
    
    header .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 30px;
    }
}

/* Hero Section */
#hero {
    padding: 80px 0 60px;
    text-align: center;
    background-color: #fff;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.btn-cta {
    background-color: #7ba4b7;
    color: white;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 50px;
    transition: background-color 0.3s;
}

.btn-cta:hover {
    background-color: #6a93a6;
}

.laptop-mockup {
    margin-top: 40px;
}

.laptop-mockup img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Tagline + Features Icons */
#tagline-features {
    padding: 80px 0 40px;
    text-align: center;
    background-color: #f8f9fa;
    position: relative;
}

#tagline-features h2 {
    font-size: 42px;
    font-weight: 600;
    color: #333;
    margin-bottom: 80px;
    line-height: 1.3;
}

.features-icons {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 80px;
    position: relative;
}

.feature-icon {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 30%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: rgba(230, 230, 230, 0.8);
    z-index: 1;
}

.feature-number {
    font-size: 180px;
    font-weight: 700;
    color: #5D4A1F;
    line-height: 1;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.feature-number img {
    display: none;
}

.icon-wrapper {
    display: none;
}

.icon-wrapper img {
    display: none;
}

.feature-icon h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 200px;
}

.tagline-bottom {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-top: 40px;
}

.tagline-bottom .highlight {
    color: #D4A574;
}

/* Platform Intro */
#platform-intro {
    padding: 80px 0;
    background-color: #fff;
}

#platform-intro h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.text-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.platform-demo {
    text-align: center;
    position: relative;
}

.demo-container {
    position: relative;
    display: inline-block;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(123, 164, 183, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
}

.nav-arrow.prev {
    left: -25px;
}

.nav-arrow.next {
    right: -25px;
}

.demo-screen img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.demo-caption {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-bottom: 30px;
}

.sigma-logo-large {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.sigma-logo-large img {
    width: 60px;
    height: 60px;
}

.btn-secondary {
    background-color: #7ba4b7;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-top: 20px;
}

/* Features Detailed */
#features-detailed {
    padding: 80px 0;
    background-color: #f8f9fa;
}

#features-detailed h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

.features-list {
    display: grid;
    gap: 40px;
}

.feature-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    align-items: center;
}

.feature-icon-large {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-large img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.feature-content ul {
    list-style: none;
    padding-left: 0;
}

.feature-content li {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.feature-content li:before {
    content: "✓";
    color: #7ba4b7;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Platform Advantages */
#platform-advantages {
    padding: 80px 0;
    background-color: #fff;
}

#platform-advantages h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-number {
    font-size: 48px;
    font-weight: 300;
    color: #b8860b;
    margin-bottom: 15px;
}

.advantage-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Pricing */
#pricing {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

#pricing h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 60px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background-color: #976D3E;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pricing-card:nth-child(2) {
    transform: translateY(-20px);
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.price-large {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1;
}

.price-unit {
    font-size: 14px;
    font-weight: 400;
}

.btn-pricing {
    background-color: #7ba4b7;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-pricing:hover {
    background-color: #6a93a6;
}

.enterprise-section {
    margin-top: 60px;
}

.enterprise-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.btn-enterprise {
    background-color: #7ba4b7;
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    line-height: 1.3;
}

/* Testimonials */
#testimonials {
    padding: 80px 0;
    background-color: #fff;
}

#testimonials h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.testimonial-card {
    background-color: #976D3E;
    border-radius: 15px;
    padding: 30px;
    color: white;
    position: relative;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #976D3E;
}

.stars {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    font-size: 16px;
}

.testimonials-nav {
    text-align: center;
}

.nav-btn {
    background-color: rgba(0,0,0,0.2);
    border: none;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    font-size: 16px;
}

/* FAQ */
#faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

#faq h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

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

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: white;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    color: #b8860b;
    font-weight: 300;
}

.faq-item.expanded .faq-question {
    background-color: #f0ead2;
}

.faq-answer {
    padding: 0 25px 25px;
    background-color: #f0ead2;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.faq-footer {
    text-align: center;
}

.faq-footer p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.btn-contact {
    background-color: #7ba4b7;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}

/* Chi Siamo */
#chi-siamo {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.btn-about {
    background-color: #7ba4b7;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-top: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: none;
    filter: drop-shadow(0 0 0 transparent);
    background: transparent;
    border: none;
}

/* Contattaci */
#contattaci {
    padding: 80px 0;
    background-color: #f5f5f0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-text h2 {
    font-size: 36px;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 30px;
}

.contact-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.contact-form {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.contact-form input:not([type="checkbox"]) {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #333;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
    color: #333;
    margin-bottom: 30px;
}

.contact-form input:focus {
    outline: none;
    border-bottom-color: #333;
}

.contact-form textarea {
    width: 100%;
    padding: 30px;
    border: none;
    border-radius: 20px;
    background-color: white;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    margin-bottom: 30px;
    resize: vertical;
    min-height: 120px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form textarea:focus {
    outline: none;
}

.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.privacy-consent input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

.privacy-consent label {
    font-size: 12px;
    line-height: 1.4;
    color: #666;
}

.privacy-consent a {
    color: #7ba4b7;
    text-decoration: underline;
}

.btn-submit {
    background-color: #7ba4b7;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #6a93a6;
}

/* Footer */
footer {
    background-color: #976D3E;
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    font-size: 12px;
    line-height: 1.6;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover {
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .features-icons {
        flex-direction: column;
        gap: 40px;
    }
    
    .text-columns {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}