/* Custom styles from GoogleWorkSpace.module.css, adapted for inline or direct use */
/* Hero Section */
.hero-section-wrapper {
    padding: 100px 0 120px 0;
    background-color: transparent;
}

.hero-section {
    max-width: 1600px;
    /* var(--content-max-width-wide) */
    margin: 0 auto;
    padding: 0 32px;
    /* var(--content-padding-x) */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 60px;
    min-height: 60vh;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.hero-apps-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    text-align: center;
}

.hero-apps-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 25px 35px;
    width: 100%;
}

.hero-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90px;
    cursor: pointer;
    transition: transform 0.25s ease-in-out, filter 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-app-item:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.08);
}

.hero-app-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.hero-app-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle at center, rgba(26, 115, 232, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
}

.hero-app-item:hover .hero-app-icon::after {
    opacity: 1;
}

.hero-app-icon svg,
.hero-app-icon img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.hero-app-item:hover .hero-app-icon svg,
.hero-app-item:hover .hero-app-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.hero-app-name {
    font-size: 0.9rem;
    color: #5f6368;
    /* var(--text-light) */
    font-weight: 500;
    line-height: 1.35;
}

/* Section Titles and Paragraphs */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #202124;
    /* var(--text-dark) */
    line-height: 1.25;
    text-align: center;
}

.intro-paragraph {
    font-size: 1.2rem;
    color: #5f6368;
    /* var(--text-light) */
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.75;
    text-align: center;
}

/* Pricing Card Specifics */
.pricing-card.recommended {
    border-color: #1a73e8;
    /* var(--primary-blue) */
    border-width: 2px;
    padding-top: 55px;
    transform: scale(1.04);
    box-shadow: 0 7px 14px 3px rgba(26, 115, 232, 0.18), 0 3px 7px 1px rgba(26, 115, 232, 0.12);
    /* var(--shadow-rec-1), var(--shadow-rec-2) */
    position: relative;
    /* Needed for ::before pseudo-element */
    z-index: 5;
}

.pricing-card.recommended:hover {
    box-shadow: 0 12px 24px 4px rgba(26, 115, 232, 0.22), 0 5px 10px 2px rgba(26, 115, 232, 0.18);
    /* var(--shadow-rec-hover-1), var(--shadow-rec-hover-2) */
    transform: translateY(-12px) scale(1.06);
    border-color: #1a73e8;
    /* var(--primary-blue) */
    z-index: 11;
}

.pricing-card.recommended::before {
    content: 'Most Popular';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a73e8;
    /* var(--primary-blue) */
    color: white;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.4);
    z-index: 12;
}

.pricing-card .current-price {
    font-size: 2.6rem;
    font-weight: 700;
    color: #202124;
    /* var(--text-dark) */
    line-height: 1;
}

.pricing-card .original-price {
    font-size: 1.15rem;
    font-weight: 400;
    color: #5f6368;
    /* var(--text-light) */
    text-decoration: line-through;
    line-height: 1;
}

.pricing-card .plan-term {
    font-size: 0.95rem;
    font-weight: 400;
    color: #5f6368;
    /* var(--text-light) */
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.pricing-card .features-list li {
    font-size: 1rem;
    color: #202124;
    /* var(--text-dark) */
    line-height: 1.65;
}

.pricing-card .feature-icon-inline {
    width: 20px;
    height: 20px;
    margin-right: 14px;
    color: #1a73e8;
    /* var(--primary-blue) */
    flex-shrink: 0;
    margin-top: 4px;
}

/* Call to Action Section */
.cta-section {
    padding: 100px 32px;
    /* var(--content-padding-x) */
    background: linear-gradient(to right, #1a73e8, #34a853);
    /* var(--primary-blue), var(--primary-green) */
    color: #ffffff;
    /* var(--text-on-dark) */
    margin: 60px auto;
    /* Added margin:auto for horizontal centering */
    border-radius: 16px;
    /* var(--border-radius-large) */
    text-align: center;
    max-width: 1600px;
    /* Constrain width for centering */
}

.cta-section .section-title {
    color: #ffffff;
    /* var(--text-on-dark) */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.cta-section .intro-paragraph {
    color: rgba(255, 255, 255, 0.9);
    /* var(--text-on-dark-secondary) */
    max-width: 700px;
    margin: 0 auto 45px auto;
}

.cta-section .cta-button {
    background-color: #ffffff;
    /* var(--background-light) */
    color: #1a73e8;
    /* var(--primary-blue) */
    box-shadow: 0 5px 12px -3px rgba(0, 0, 0, 0.3), 0 3px 7px -3px rgba(0, 0, 0, 0.25);
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
}

.cta-section .cta-button:hover {
    background-color: #f1f3f4;
    /* var(--hover-light) */
    color: #1765cc;
    /* var(--hover-blue) */
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.25), 0 6px 8px -5px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section-wrapper {
        padding: 80px 0 90px 0;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 50px;
        min-height: auto;
        max-width: 92%;
    }

    .hero-title {
        font-size: 3.5rem;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 40px auto;
        font-size: 1.3rem;
        text-align: center;
    }

    .hero-apps-include-container {
        margin-top: 50px;
        max-width: 100%;
        padding-left: 0;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .intro-paragraph {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .pricing-card {
        flex-basis: calc(50% - (40px / 2));
        max-width: calc(50% - (40px / 2));
        min-width: 270px;
    }

    .cta-section {
        padding: 80px 32px;
    }
}

@media (max-width: 767px) {
    .hero-section-wrapper {
        padding: 60px 0 70px 0;
    }

    .hero-section {
        gap: 40px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-apps-include-container {
        margin-top: 40px;
        padding-left: 0;
    }

    .hero-apps-row {
        gap: 20px 25px;
        padding: 0 10px;
        justify-content: center;
    }

    .hero-app-item {
        width: 75px;
    }

    .hero-app-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.6rem;
    }

    .hero-app-name {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .intro-paragraph {
        font-size: 1.05rem;
    }

    .cta-section {
        padding: 70px 20px;
    }

    /* Adjust pricing cards for smaller screens */
    #pricing-cards-container {
        grid-template-columns: 1fr;
        /* Stack cards on very small screens */
        justify-items: center;
        /* Center items in the grid */
    }

    .pricing-card {
        max-width: 350px;
        /* Constrain width to prevent overstretching on small screens */
        width: 100%;
        /* Allow it to take full width up to max-width */
    }
}

@media (max-width: 576px) {
    .hero-section-wrapper {
        padding: 50px 0 60px 0;
    }

    .hero-section {
        gap: 30px;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-apps-title {
        font-size: 1.2rem;
        margin-bottom: 1.8rem;
    }

    .hero-apps-row {
        gap: 15px 20px;
        justify-content: space-around;
        padding: 0 5px;
    }

    .hero-app-item {
        width: 70px;
    }

    .hero-app-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 0.5rem;
    }

    .hero-app-name {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .intro-paragraph {
        font-size: 1rem;
    }

    .cta-section {
        padding: 60px 16px;
    }

    .cta-section .section-title {
        font-size: 1.9rem;
    }

    .cta-section .intro-paragraph {
        font-size: 1rem;
    }
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
}


.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}