/**
 * BlindCalc Home Page Styles
 */

/* Remove sidebar and make full width */
body.page .site-content,
body.page .entry-content,
body.page #primary,
body.page .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page #secondary,
body.page .sidebar,
body.page aside {
    display: none !important;
}

body.page .site-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.blindcalc-home {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::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" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
    text-align: center;
}

.hero-logo img {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    border-radius: 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin: 0 0 20px 0;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 20px 0;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 20px;
    margin: 0 0 40px 0;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta {
    margin: 50px 0;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 18px 40px;
    margin: 10px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    animation: fadeInUp 1s ease 1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.section-header p {
    font-size: 20px;
    color: #666;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-card.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-card.highlight h3,
.feature-card.highlight p,
.feature-card.highlight li {
    color: white;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.feature-card.highlight li::before {
    color: white;
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
}

.step-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.step-arrow {
    font-size: 32px;
    color: #667eea;
    font-weight: bold;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.benefit-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* Pricing Preview Section */
.pricing-preview-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.pricing-preview-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto 50px;
}

@media (max-width: 1200px) {
    .pricing-preview-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-preview-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-preview-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.pricing-preview-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-preview-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.pricing-preview-card .price {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.pricing-preview-card .price span {
    font-size: 18px;
    color: #999;
}

.pricing-preview-card .quota {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.pricing-preview-card .description {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.btn-preview {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #667eea;
    color: #667eea;
    transition: all 0.3s ease;
}

.btn-preview:hover {
    background: #667eea;
    color: white;
}

.btn-preview.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-preview.primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    transform: scale(1.05);
}

.pricing-cta {
    text-align: center;
    margin-top: 50px;
}

.pricing-cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

.btn-view-all {
    display: inline-block;
    padding: 14px 40px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #667eea;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Final CTA Section */
.final-cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.final-cta-content p {
    font-size: 22px;
    margin: 0 0 40px 0;
    opacity: 0.95;
}

.btn-final-cta {
    display: inline-block;
    padding: 20px 50px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-final-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cta-note {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Demo Section */
.demo-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f0f4ff 0%, #ffffff 100%);
    border-top: 3px solid #667eea;
}

.demo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.demo-screenshots {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.screenshot-item {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.screenshot-caption {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

.screenshot-benefit {
    text-align: center;
    margin-top: 10px;
    color: #28a745;
    font-weight: 700;
    font-size: 15px;
}

.demo-cta {
    text-align: center;
    margin-top: 50px;
}

.demo-cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

.btn-demo {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 18px;
    }

    .features-grid,
    .benefits-grid,
    .pricing-preview-cards {
        grid-template-columns: 1fr;
    }

    .btn-primary,
    .btn-secondary {
        display: block;
        margin: 10px auto;
    }

    .pricing-preview-card.featured {
        transform: scale(1);
    }

    .pricing-preview-card.featured:hover {
        transform: translateY(-8px);
    }

    .final-cta-content h2 {
        font-size: 36px;
    }

    .final-cta-content p {
        font-size: 18px;
    }

    .demo-screenshots {
        flex-direction: column;
    }

    .screenshot-item {
        max-width: 100%;
    }
}
