/* Page 2 Styles */

/* Hero Section */
.page2-hero-section {
    width: 100%;
}

.page2-hero-desktop {
    display: block;
    height: 424px;
    margin-top: 79px;
    position: relative;
    background-image: url('assets/Page2/Hero/hero.svg');
    background-size: cover;
    background-position: center;
}

@media (max-width: 1279px) {
    .page2-hero-desktop {
        display: none;
    }
}

.page2-hero-mobile {
    display: none;
}

@media (max-width: 1279px) {
    .page2-hero-mobile {
        display: block;
        width: 100%;
        min-height: 400px;
        margin-top: 79px;
        position: relative;
        background-image: url('assets/Page2/Hero/hero.svg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.page2-hero-container {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    position: relative;
    margin: 0 auto;
}

.page2-hero-content {
    position: absolute;
    width: 595px;
    height: 253px;
    top: 96px;
    left: 107px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page2-hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 60px;
    color: #000;
    margin: 0;
}

.page2-hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #525252;
    margin: 0;
}

.page2-hero-mobile-content {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 16px;
}

.page2-hero-mobile-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: clamp(1.875rem, 6vw, 3rem);
    color: #000;
    text-align: center;
    width: 100%;
    margin: 0 0 16px 0;
}

.page2-hero-mobile-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    line-height: clamp(1.375rem, 3.5vw, 1.5rem);
    color: #525252;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0;
}

/* Plans Section */
.plans-section {
    width: 100%;
    background: white;
    padding: 32px 16px;
    font-family: 'Roboto', sans-serif;
}

.plans-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.plans-heading {
    text-align: center;
    margin-bottom: 48px;
    font-weight: 700;
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    line-height: clamp(2rem, 6vw, 3rem);
    color: #000;
}

.plans-grid {
    max-width: 1792px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-bottom: 1px solid #D1D5DB;
}

@media (max-width: 1023px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

.plan-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid #D1D5DB;
    padding-bottom: 48px;
}

@media (min-width: 1024px) {
    .plan-card {
        border-right: 1px solid #D1D5DB;
        border-bottom: none;
    }
    
    .plan-card:last-child {
        border-right: none;
    }
}

.plan-premium {
    border-right: none;
}

.plan-title {
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: clamp(1.5rem, 4vw, 1.75rem);
    color: #000;
    margin: 0 0 24px 0;
    min-height: clamp(2.5rem, 5vw, 3.5rem);
}

.plan-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #525252;
    font-size: clamp(0.875rem, 2.5vw, 0.875rem);
    line-height: clamp(1.375rem, 3.5vw, 1.5rem);
}

.plan-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan-section-label {
    font-weight: 700;
    font-size: 14px;
    color: #000;
    margin: 0 0 4px 0;
}

.plan-section-text {
    margin: 0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.plan-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E6F0FA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005DE9;
    font-weight: 700;
    margin-top: 2px;
}

.plan-button {
    width: 100%;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    font-size: clamp(0.875rem, 2.5vw, 0.875rem);
    margin-top: 24px;
    background: #0072C6;
    color: white;
    border: none;
    cursor: pointer;
}

.plan-button:hover {
    background: #005ea3;
}

.plan-button-premium {
    background: #0072C6;
}

/* Matrix Section */
.matrix-section {
    width: 100%;
    background: white;
    padding: 32px 16px;
    font-family: 'Roboto', sans-serif;
}

.matrix-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 16px;
}

.matrix-heading {
    font-weight: 300;
    text-align: center;
    margin-bottom: 48px;
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    line-height: clamp(2rem, 6vw, 3rem);
    color: #111827;
}

.matrix-table-wrapper {
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px;
}

.matrix-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.matrix-th {
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    background: #F3F4F6;
    color: #111827;
}

.matrix-th:first-child {
    border-top-left-radius: 8px;
}

.matrix-th:last-child {
    border-top-right-radius: 8px;
}

.matrix-th:nth-child(2),
.matrix-th:nth-child(3),
.matrix-th:nth-child(4),
.matrix-th:nth-child(5) {
    text-align: center;
}

.matrix-td {
    padding: 16px 24px;
    font-weight: 500;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    color: #111827;
    border-bottom: 1px solid #E5E7EB;
}

.matrix-td:hover {
    background: rgba(249, 250, 251, 0.5);
}

.matrix-center {
    text-align: center;
}

.matrix-check {
    display: inline-block;
    width: 28px;
    height: 28px;
}

.matrix-check::before {
    content: '✓';
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #34C759;
    color: white;
    text-align: center;
    line-height: 28px;
    font-weight: 700;
}

.matrix-dash {
    color: #9CA3AF;
    font-size: 24px;
}

.matrix-help {
    margin-left: 8px;
    color: #FFFFFF;
    cursor: help;
    font-size: 12px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #9CA3AF;
    font-weight: 600;
    vertical-align: middle;
}

.matrix-help:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 12px 16px;
    background: #F3F4F6;
    color: #111827;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: normal;
    width: 300px;
    z-index: 1000;
    font-weight: 400;
    text-align: left;
    pointer-events: none;
}

.matrix-help:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: #F3F4F6;
    z-index: 1001;
    pointer-events: none;
}

/* Add-Ons Section */
.addons-section {
    width: 100%;
    background: white;
    padding: 63px 20px;
}

.addons-desktop {
    display: block;
    height: 526px;
}

@media (max-width: 1279px) {
    .addons-desktop {
        display: none;
    }
}

.addons-mobile {
    display: none;
}

@media (max-width: 1279px) {
    .addons-mobile {
        display: block;
        padding: 48px 16px;
    }
}

.addons-container {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.addons-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 115%;
    text-align: center;
    color: #4285F4;
    margin: 63px auto 40px auto;
    width: fit-content;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(3, 419px);
    gap: 24px;
    justify-content: center;
    padding: 0 20px;
}

.addon-card {
    width: 419px;
    height: 151px;
    padding: 59px 108px;
    background: #FAFAFA;
    border-radius: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    box-sizing: border-box;
}

.addon-title-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 115%;
    color: #000000;
    margin: 0;
    width: 340px;
    height: 73px;
}

.addon-subtitle-text {
    font-family: 'Roboto', sans-serif;
    width: 340px;
    height: 40px;
    font-size: 20px;
    font-weight: 400;
    line-height: 115%;
    color: #525252;
    margin: 0;
}

.addons-mobile-container {
    max-width: 1536px;
    margin: 0 auto;
}

.addons-mobile-title {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 115%;
    color: #4285F4;
    font-weight: 500;
}

.addons-mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .addons-mobile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .addons-mobile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.addon-mobile-card {
    background: #FAFAFA;
    border-radius: 13px;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    min-height: 151px;
}

.addon-mobile-title-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 115%;
    color: #000000;
    margin: 0 0 8px 0;
}

.addon-mobile-subtitle-text {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    line-height: 115%;
    color: #525252;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    width: 100%;
    background: rgba(211, 233, 255, 0.46);
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.faq-desktop {
    display: block;
    position: relative;
    width: 100%;
    min-height: 543px;
}

@media (max-width: 1279px) {
    .faq-desktop {
        display: none;
    }
}

.faq-mobile {
    display: none;
}

@media (max-width: 1279px) {
    .faq-mobile {
        display: block;
        padding: 48px 16px;
    }
}

.faq-container {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    position: relative;
    margin: 0 auto;
}

.faq-heading {
    position: absolute;
    top: 225px;
    left: 106px;
    width: 184px;
    height: 37px;
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 32px;
    line-height: 37px;
    color: #000000;
    display: flex;
    align-items: center;
}

.faq-items {
    position: absolute;
    top: 76px;
    left: 505px;
    width: 857px;
    display: flex;
    flex-direction: column;
}

.faq-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.faq-q {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    max-width: 780px;
}

.faq-answer {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #6B7280;
}

.faq-divider {
    margin-top: 24px;
    height: 1px;
    background-color: #E5E7EB;
}

.faq-mobile-container {
    max-width: 1024px;
    margin: 0 auto;
}

.faq-mobile-heading {
    margin-bottom: 32px;
    font-weight: 600;
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: clamp(2rem, 6vw, 2.5rem);
    color: #000000;
}

.faq-mobile-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-mobile-item {
    display: flex;
    flex-direction: column;
}

.faq-mobile-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.faq-mobile-q {
    flex: 1;
    font-size: clamp(1rem, 3vw, 1.125rem);
    line-height: clamp(1.5rem, 4vw, 1.75rem);
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.faq-mobile-answer {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    line-height: clamp(1.375rem, 3.5vw, 1.6rem);
    color: #6B7280;
    margin: 0;
}

.faq-mobile-divider {
    margin-top: 24px;
    height: 1px;
    background-color: #E5E7EB;
}

