/* Features Hero Section */
.features-hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.5;
    z-index: 1;
}

.features-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.features-hero .hero-content {
    flex: 1;
    max-width: 600px;
}

.features-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    font-weight: 500;
}

.features-hero .hero-badge i {
    color: #ffd700;
}

.features-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    background: linear-gradient(to right, var(--white), #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-hero .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.features-hero .hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.features-hero .hero-visual {
    flex: 1;
    max-width: 500px;
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    width: 280px;
    animation: float 3s ease-in-out infinite;
}

.visual-card.calculator {
    top: 0;
    left: 0;
    z-index: 3;
    animation-delay: 0s;
}

.visual-card.analytics {
    top: 40%;
    right: 0;
    z-index: 2;
    animation-delay: 1s;
}

.visual-card.inventory {
    bottom: 0;
    left: 20%;
    z-index: 1;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.card-header i {
    color: var(--primary);
    font-size: 1.25rem;
}

.card-header span {
    font-weight: 600;
    color: var(--text-dark);
}

.card-preview {
    background: #f8fafc;
    border-radius: 12px;
    padding: var(--space-md);
}

.preview-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    text-align: right;
}

.preview-buttons {
    display: flex;
    gap: var(--space-xs);
}

.preview-buttons .btn {
    padding: var(--space-xs) var(--space-md);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.btn.sale {
    background: var(--success);
    color: var(--white);
}

.btn.expense {
    background: var(--danger);
    color: var(--white);
}

.chart-preview {
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: var(--space-xs);
    padding: var(--space-xs);
}

.chart-bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

.inventory-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.inventory-items .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs);
    background: var(--white);
    border-radius: 8px;
}

.item .name {
    font-weight: 500;
    color: var(--text-dark);
}

.item .stock {
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 6px;
    font-size: 0.875rem;
}

.stock.in-stock {
    background: #dcfce7;
    color: #059669;
}

.stock.low-stock {
    background: #fee2e2;
    color: #dc2626;
}

/* Features Grid Section */
.features-grid {
    padding: var(--space-xl) 0;
    background: var(--white);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: var(--space-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #f0f9ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-light);
    margin-bottom: var(--space-xs);
}

.feature-list li i {
    color: var(--success);
    font-size: 0.875rem;
}

/* Benefits Section */
.benefits-section {
    background: #f8fafc;
    padding: var(--space-xl) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.benefit-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: #f0f9ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.benefit-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.benefit-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--white);
    padding: var(--space-xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: var(--space-lg);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: var(--space-md);
}

.testimonial-content p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--space-xl) 0;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cta-feature i {
    color: #ffd700;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-hero .container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-xl);
    }
    
    .features-hero .hero-content {
        max-width: 100%;
    }
    
    .features-hero .hero-actions {
        justify-content: center;
    }
    
    .features-hero .hero-visual {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: 100px 0 60px;
    }
    
    .features-hero h1 {
        font-size: 2.5rem;
    }
    
    .features-hero .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .features-hero .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
    }
    
    .features-hero .hero-actions a {
        width: 100%;
        justify-content: center;
    }
    
    .visual-card {
        position: static;
        width: 100%;
        max-width: 400px;
        margin: var(--space-md) auto;
        animation: none;
    }
    
    .grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .cta-actions a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .features-hero h1 {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .card-preview {
        padding: var(--space-sm);
    }
    
    .preview-display {
        font-size: 1.25rem;
    }
} 