/* LINK - CRM Agentic AI - Styles */

:root {
    --link-primary: #f5b800;
    --link-primary-light: #ffc933;
    --link-primary-dark: #d49d00;
    --link-accent: #ffc933;
    --link-gradient: linear-gradient(135deg, #f5b800 0%, #d49d00 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fc;
    color: #5a5c69;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: var(--link-gradient);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    color: white;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand i {
    font-size: 2rem;
}

/* Hero Section */
.link-hero {
    background: var(--link-gradient);
    color: white;
    padding: 5rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.link-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.link-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.link-hero .row {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.link-hero .col-lg-7 {
    flex: 1;
}

.link-badge {
    background: var(--link-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.link-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.link-hero .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.2);
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.link-btn {
    background: var(--link-gradient);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
}

.link-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--link-primary);
}

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

/* Section */
section {
    padding: 4rem 0;
}

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

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 3rem;
}

/* Cards Grid */
.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    transition: all 0.3s ease;
}

.link-card {
    border-left: 4px solid var(--link-primary);
    height: 100%;
}

.link-card:hover {
    border-left-color: var(--link-accent);
    transform: translateX(5px);
}

.card-body {
    padding: 2rem;
}

.link-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(142, 68, 173, 0.1);
    color: var(--link-primary);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.text-muted {
    color: #6c757d;
}

/* Icons Grid */
.row-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.link-icon {
    width: 70px;
    height: 70px;
    background: var(--link-gradient);
    color: white;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
}

/* Background Sections */
.bg-link-light {
    background-color: rgba(142, 68, 173, 0.05);
    border-radius: 1rem;
    padding: 3rem;
}

/* Vantaggi Section */
.vantaggi-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.vantaggi-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vantaggio-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.link-checkmark {
    color: var(--link-accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.vantaggio-item h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.alert {
    background-color: rgba(142, 68, 173, 0.1);
    border-left: 4px solid var(--link-primary);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

/* Pricing Card */
.pricing-card {
    max-width: 800px;
    margin: 0 auto;
}

.link-price-old {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: #999;
}

.link-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--link-primary);
    line-height: 1;
    margin: 1rem 0;
}

.bg-light {
    background-color: #f8f9fc;
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.bg-light ul {
    list-style: none;
    text-align: left;
}

.bg-light li {
    margin-bottom: 0.75rem;
}

.fa-check {
    color: #28a745;
    margin-right: 0.5rem;
}

/* CTA Section */
.cta-card {
    background: var(--link-gradient);
    color: white;
    padding: 4rem 2rem;
    border-radius: 1rem;
    text-align: center;
}

.ecosystem-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ecosystem-icon {
    text-align: center;
}

.ecosystem-icon i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.ecosystem-icon p {
    margin: 0;
    font-size: 0.875rem;
}

/* Footer */
.footer-gradient {
    background: var(--link-gradient);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.footer-brand i {
    font-size: 2.5rem;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0.5rem 0;
    opacity: 0.95;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-link i {
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .link-hero h1 {
        font-size: 2rem;
    }

    .link-hero .lead {
        font-size: 1rem;
    }

    .vantaggi-section {
        grid-template-columns: 1fr;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .link-hero .row {
        display: block;
    }

    h2 {
        font-size: 1.75rem;
    }

    .ecosystem-icons {
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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