/* Features Page Specific Styles */

.features-hero {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.features-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.features-hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #FFD700;
}

.stat p {
    font-size: 1.1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Features Overview */
.features-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.overview-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.overview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.overview-icon i {
    font-size: 2rem;
    color: white;
}

.overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.overview-card p {
    color: #666;
    line-height: 1.6;
}

/* Detailed Features */
.detailed-features {
    padding: 80px 0;
    background: white;
}

.detailed-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #2c3e50;
}

.feature-section {
    margin-bottom: 5rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-large i {
    font-size: 2rem;
    color: white;
}

.feature-title h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.feature-title p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.feature-content {
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.feature-details h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.feature-details h4:first-child {
    margin-top: 0;
}

.feature-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
}

.feature-details li:before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.feature-details strong {
    color: #2c3e50;
}

/* Role Cards */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.role-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.role-card h5 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.role-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Weather Parameters */
.weather-params {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.param-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.param-card i {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.param-card h5 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.param-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Quick Actions Demo */
.quick-actions-demo {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.action-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.action-btn:hover {
    background: #45a049;
}

/* Feature Images/Demos */
.feature-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.mock-phone {
    width: 250px;
    height: 450px;
    background: #2c3e50;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-demo h5 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.input-demo {
    margin-bottom: 2rem;
}

.input-demo input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.otp-btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.language-selector-demo {
    display: flex;
    gap: 0.5rem;
}

.language-selector-demo button {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 0.8rem;
}

/* Dashboard Preview */
.dashboard-preview {
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.preview-header {
    background: #4CAF50;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.preview-header h5 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.location {
    font-size: 0.9rem;
    opacity: 0.9;
}

.preview-cards {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.preview-card i {
    font-size: 1.5rem;
}

.preview-card.weather i {
    color: #f39c12;
}

.preview-card.crops i {
    color: #27ae60;
}

.preview-card.alerts i {
    color: #e74c3c;
}

.preview-card span {
    font-weight: 600;
    color: #2c3e50;
}

.preview-card small {
    color: #666;
    font-size: 0.8rem;
}

/* Weather Widget */
.weather-widget {
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.current-weather {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2rem;
    text-align: center;
}

.weather-icon i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.weather-temp {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.weather-desc {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.weather-location {
    font-size: 0.9rem;
    opacity: 0.9;
}

.weather-details {
    padding: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.weather-forecast {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
}

.forecast-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.forecast-day i {
    color: #3498db;
}

/* Features CTA */
.features-cta {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Active nav item */
.nav-menu .active {
    color: #4CAF50 !important;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 2.5rem;
    }
    
    .features-hero p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .roles-grid {
        grid-template-columns: 1fr;
    }
    
    .weather-params {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions-demo {
        justify-content: center;
    }
    
    .mock-phone,
    .dashboard-preview,
    .weather-widget {
        width: 100%;
        max-width: 280px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .weather-params {
        grid-template-columns: 1fr;
    }
    
    .feature-section {
        margin: 0 -1rem 3rem;
        border-radius: 0;
    }
    
    .feature-header,
    .feature-content {
        padding: 2rem 1rem;
    }
    
    .features-hero {
        padding: 100px 0 60px;
    }
    
    .features-overview,
    .detailed-features {
        padding: 60px 0;
    }
}
