* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Active nav link styles */
.nav-links a.active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

/* Header */
header {
    background: #2f5082;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
}

.cta-button {
    background: white;
    color: #2f5082;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 80, 130, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2f5082 0%, #1d3252 100%);
    color: white;
    padding: 8rem 0 4rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero .highlight {
    color: white;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.hero-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: white;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2f5082, #1d3252);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #000;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    background: white;
    border-color: #2f5082;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(47, 80, 130, 0.2);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #2f5082;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '✓';
    color: #2f5082;
    font-weight: bold;
}

.badge {
    background: #2f5082;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    position: absolute;
    top: -10px;
    right: 20px;
}

.pricing-card .cta-button {
    background: #2f5082;
    color: white;
}

/* Integration Section */
.integrations {
    padding: 5rem 0;
    /*     background: #f8f9fa; */
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.integration-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.integration-card:hover {
    transform: translateY(-5px);
}

.integration-card h3 {
    color: #000;
}

.integration-card p {
    color: #666;
}

/* Stats Section */
.stats {
    background: #2f5082;
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: white;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2f5082, #1d3252);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.cta-button-white {
    background: white;
    color: #2f5082;
    padding: 1rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
}

.cta-button-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #2f5082;
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

footer>.container>p {
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2f5082;
    box-shadow: 0 0 0 3px rgba(47, 80, 130, 0.1);
}

.submit-button {
    grid-column: 1 / -1;
    background: #2f5082;
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: #1d3252;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(47, 80, 130, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    color: #2f5082;
    margin-bottom: 1rem;
}

.info-box p {
    color: #666;
    margin-bottom: 0.5rem;
}

.info-box strong {
    color: #000;
}

.support {
    padding: 80px 0;
    background: #f8f9fa;
}

.support-hero {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.support-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.response-time {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.support-hero h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.support-hero p {
    color: #666;
    font-size: 18px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.support-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.support-card.premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.premium-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.support-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.support-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.support-card.premium h3 {
    color: white;
}

.support-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-card.premium p {
    color: rgba(255, 255, 255, 0.9);
}

.support-cta {
    font-weight: 600;
    color: #FF6B6B;
    font-size: 16px;
    cursor: pointer;
}

.support-card.premium .support-cta {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 5px;
    display: inline-block;
}

.support-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
}

.support-stats .stat {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.support-stats h4 {
    font-size: 36px;
    color: #FF6B6B;
    margin-bottom: 5px;
}

.support-stats p {
    color: #666;
    font-size: 14px;
}

.support-testimonial {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.support-testimonial blockquote {
    font-size: 20px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.support-testimonial cite {
    color: #999;
    font-size: 16px;
    font-style: normal;
}

.contact-form {
    display: flex;
    align-items: center;
}

/* Pricing Calculator */
.pricing-calculator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-module {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-module:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.base-module {
    border-color: #2f5082;
    background: linear-gradient(135deg, rgba(47, 80, 130, 0.05) 0%, rgba(47, 80, 130, 0.02) 100%);
}

.optional-module.active {
    border-color: #2f5082;
    background: rgba(47, 80, 130, 0.02);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
}

.module-info {
    flex: 1;
}

.module-info h3 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.count-badge {
    background: #2f5082;
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
}

.module-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.module-price {
    text-align: right;
    white-space: nowrap;
}

.price-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2f5082;
}

.price-period {
    font-size: 0.9rem;
    color: #666;
    margin-left: 0.3rem;
}

.module-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.base-tag {
    background: #2f5082;
    color: white;
}

.module-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: #2f5082;
}

input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #2f5082;
    background: white;
    color: #2f5082;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.qty-btn:hover:not(:disabled) {
    background: #2f5082;
    color: white;
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-input {
    width: 60px;
    height: 32px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.qty-input:focus {
    outline: none;
    border-color: #2f5082;
}

.qty-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Pricing Summary */
.pricing-summary {
    background: white;
    border: 3px solid #2f5082;
    border-radius: 15px;
    margin-top: 3rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(47, 80, 130, 0.15);
}

.summary-header {
    background: linear-gradient(135deg, #2f5082 0%, #1d3252 100%);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
}

.summary-header h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.summary-content {
    padding: 2rem;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.base-item {
    font-weight: 600;
}

.item-name {
    color: #333;
    font-size: 1rem;
}

.item-price {
    color: #2f5082;
    font-size: 1.1rem;
    font-weight: 600;
}

.item-quantity {
    color: #666;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #2f5082, transparent);
    margin: 1.5rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.total-label {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
}

.total-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2f5082;
}

.total-period {
    font-size: 1rem;
    color: #666;
    margin-left: 0.3rem;
}

.summary-cta {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
}

/* Premium Module Styles */
.premium-module {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.premium-module:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.premium-module.active {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.premium-badge {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #000;
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.module-features {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border-left: 3px solid #d4af37;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: #333;
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: '';
    display: none;
}

/* Premium Module Styles */
.premium-module {
    border-color: #e9ecef;
    background: #d4af3748;
}

.premium-module:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.premium-module.active {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.premium-badge {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #000;
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.module-features {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border-left: 3px solid #d4af37;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: #333;
    padding: 0.3rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.feature-list li i {
    color: #d4af37;
    margin-top: 0.2rem;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Icon styles for all sections */
.feature-icon i,
.integration-icon i,
.support-icon i,
.stat-icon i {
    font-size: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #2f5082;
    margin-right: 1rem;
}

i.fas.fa-external-link-alt {
    font-size: 11px;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}


/* Responsive per la lista features */
@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .module-header {
        flex-direction: column;
        gap: 1rem;
    }

    .module-price {
        text-align: left;
    }

    .module-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .quantity-controls {
        margin-left: 0;
    }

    .total-price {
        font-size: 2rem;
    }

    .summary-content {
        padding: 1.5rem;
    }
}


/* Responsive */
@media (max-width: 768px) {

    .cta-button {
        padding: 0.6rem 1rem;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-hero h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }
}