/* Landing Page Styles */

.hero {
    background: linear-gradient(135deg, #23a5da 0%, #1a8ab8 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary,
.cta-final .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero .btn-secondary:hover,
.cta-final .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* TCO Section */
.tco-section {
    padding: 4rem 0;
    background-color: white;
}

.tco-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.tco-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.tco-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.tco-table thead {
    background-color: var(--primary-color);
    color: white;
}

.tco-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.tco-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.tco-table tbody tr:last-child td {
    border-bottom: none;
}

.tco-table tbody tr:hover {
    background-color: var(--light-bg);
}

.tco-table .savings {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    white-space: nowrap;
}

.tco-result {
    background: linear-gradient(135deg, #23a5da 0%, #1a8ab8 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(35, 165, 218, 0.3);
}

.tco-result p {
    margin: 0;
    font-size: 1.2rem;
}

.tco-result strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .tco-table th,
    .tco-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .tco-table th {
        font-size: 0.85rem;
    }
    
    .tco-result p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .tco-section h2 {
        font-size: 1.8rem;
    }
    
    .tco-table {
        font-size: 0.85rem;
    }
    
    .tco-table th,
    .tco-table td {
        padding: 0.5rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 1rem;
}

.example {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 4px;
    font-style: italic;
    color: var(--text-light);
}

.example.code {
    font-family: 'Courier New', monospace;
    font-style: normal;
    background-color: var(--code-bg);
    color: #23a5da;
    overflow-x: auto;
}

/* Roadmap Section */
.roadmap {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.roadmap h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.roadmap-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.roadmap-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Final CTA Section */
.cta-final {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #1a8ab8 0%, #23a5da 100%);
    color: white;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
