/* ============================================
   HOMEPAGE-SPECIFIC STYLES
   ============================================ */

/* HERO SECTION */
.hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f2f7f8 50%, #e3f0f3 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stats .stat {
    display: flex;
    flex-direction: column;
}

.hero-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

/* SECTIONS GENERIC */
.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

/* FEATURES SECTION */
.features {
    padding: 4rem 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(50, 128, 141, 0.08);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* QR TYPES SECTION */
.qr-types {
    padding: 4rem 0;
    background: var(--color-bg-secondary);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.type-category {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-md);
}

.type-category h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.type-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-category li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding: 0.15rem 0;
}

/* HOW IT WORKS SECTION */
.how-it-works {
    padding: 4rem 0;
    background: #ffffff;
}

.how-it-works .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.step {
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: left;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* PRICING SECTION */
.pricing {
    padding: 4rem 0 4.5rem;
    background: var(--color-bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.pricing-card--featured {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-xl);
}

.plan-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.plan-price .currency {
    font-size: 1rem;
    color: var(--color-text-light);
}

.plan-price .amount {
    font-size: 1.8rem;
    font-weight: 700;
}

.plan-price .period {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding: 0.25rem 0;
}

/* CTA SECTION */
.cta {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #32808d 0%, #266b76 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.cta p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

/* FOOTER OVERRIDES (HOMEPAGE CONTEXT) */
.footer {
    padding: 3rem 0 2rem;
    background: #0b1721;
    color: rgba(243, 244, 246, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #f9fafb;
}

.footer-column p,
.footer-column li {
    font-size: 0.85rem;
    color: rgba(243, 244, 246, 0.7);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column a {
    color: rgba(243, 244, 246, 0.8);
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(55, 65, 81, 0.8);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(209, 213, 219, 0.8);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 960px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pricing-card {
        padding: 1.75rem 1.5rem;
    }
}
