/* Modern Solutions CSS */

:root {
    --primary-color: #10b981; /* Emerald 500 */
    --secondary-color: #0f172a; /* Slate 900 */
    --accent-color: #3b82f6; /* Blue 500 */
    --text-color: #334155; /* Slate 700 */
    --bg-light: #f8fafc; /* Slate 50 */
    --card-bg: #ffffff;
    --transition-speed: 0.3s;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    background-color: var(--bg-light);
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Feature Cards - Glassmorphism */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.modern-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all var(--transition-speed) ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(16, 185, 129, 0.3);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-speed) ease;
}

.modern-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.card-text {
    color: var(--text-color);
    line-height: 1.6;
    flex-grow: 1;
}

/* Gradients for Icons */
.bg-gradient-orange { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); color: #f97316; }
.bg-gradient-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #3b82f6; }
.bg-gradient-purple { background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%); color: #a855f7; }
.bg-gradient-green { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); color: #10b981; }


/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

/* Specific Features - Masonry/Grid */
.specific-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .specific-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .specific-features-grid {
        grid-template-columns: 1fr;
    }
    .modern-hero {
        padding: 4rem 0;
        text-align: center;
    }
    .hero-image-wrapper {
        margin-top: 3rem;
        transform: none;
    }
    .hero-image-wrapper:hover {
        transform: none;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Button Upgrades */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-modern-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid #cbd5e1;
    color: var(--secondary-color);
}

.btn-modern-outline:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
