/* MonthlySpecs Home Page Styles */

:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f472b6;
    --bg-gradient: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: var(--bg-gradient);
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -2rem;
    margin-bottom: 0;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 99px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn-primary-hero {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.btn-primary-hero:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
    background: #f8fafc;
}

.btn-secondary-hero {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    border-color: white;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: #f8fafc;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    animation: reveal 1s ease-out;
}

.section-title {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

.feature-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.12);
    border-color: var(--primary-light);
    background: white;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.05));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: #0f172a;
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.2), transparent 40%),
                radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.2), transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 1rem;
    }
    .section-header {
        margin-bottom: 3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .cta-section {
        padding: 6rem 1rem;
    }
    .cta-title {
        font-size: 2.2rem;
    }
}
