* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .header-container {
        padding: 16px 20px;
    }
}

.logo {
    max-height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo {
        max-height: 40px;
    }
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    background: #f2f4f8;
}

.hero-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #0774e7 0%, #115297 100%);
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

@media (max-width: 768px) {
    .container-custom {
        padding: 0 16px;
    }

    .hero-section {
        padding: 40px 0;
    }
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.text-tag {
    padding: 8px 16px;
    font-weight: 700;
    font-size: 16px;
    line-height: 12px;
    width: fit-content;
    border-radius: 6px;
    color: #fff;
    border: 1px solid #fff;
    margin: 0 auto;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.title {
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    color: #fff;
}

@media (max-width: 768px) {
    .title {
        font-size: 24px;
        line-height: 32px;
    }
}

.description {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #fff;
}

@media (max-width: 768px) {
    .description {
        font-size: 16px;
        line-height: 24px;
    }
}

.selection-instruction {
    text-align: center;
    margin-top: 16px;
}

.selection-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #fff;
    margin-bottom: 8px;
}

.selection-subtitle {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .selection-title {
        font-size: 20px;
        line-height: 28px;
    }

    .selection-subtitle {
        font-size: 14px;
        line-height: 20px;
    }
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 20px;
}

@media (max-width: 950px) {
    .plans-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.plan-card {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
                radial-gradient(135.33% 135.33% at 5.71% -44.13%, #fff 0%, rgba(255, 255, 255, 0.27) 100%);
    backdrop-filter: blur(52.62976px);
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.plan-card.featured {
    border: 2px solid #00aeef;
    box-shadow: 0 4px 17px 0 rgba(180, 244, 253, 0.698);
}

.plan-card.selected {
    border: 3px solid #0774e7;
    box-shadow: 0 8px 32px rgba(7, 116, 231, 0.4);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(239.8deg, #0774e7 5.18%, #153c9b 111.83%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
}

.plan-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.plan-badge {
    width: fit-content;
    margin: 0 auto;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
}

.plan-badge.standard {
    background: #eff1f3;
    color: #2f363e;
}

.plan-badge.premium {
    background: linear-gradient(239.8deg, #0774e7 5.18%, #153c9b 111.83%);
    color: #fff;
}

.plan-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #2f363e;
}

@media (max-width: 768px) {
    .plan-title {
        font-size: 20px;
        line-height: 28px;
    }
}

.plan-subtitle {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #5c6a7b;
}

.plan-pricing {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    gap: 16px;
    border: 1px solid #eff1f3;
}

.price-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.price-value {
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    background: linear-gradient(239.8deg, #0774e7 5.18%, #153c9b 111.83%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .price-value {
        font-size: 24px;
        line-height: 32px;
    }
}

.price-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #2f363e;
    text-align: center;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #2f363e;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #0774e7;
    flex-shrink: 0;
}

.check-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    color: #0774e7;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
}

.check-icon.hidden {
    display: none;
}

.plan-button {
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    border-radius: 1000px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.plan-button.primary {
    color: #fff;
    background: #0774e7;
}

.plan-button.primary:hover {
    background: #0d5fc0;
}

.plan-button.secondary {
    color: #fff;
    background: linear-gradient(239.8deg, #0774e7 5.18%, #153c9b 111.83%);
}

.plan-button.secondary:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.comparison-table {
    margin-top: 40px;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
}

@media (max-width: 768px) {
    .comparison-table {
        padding: 24px 16px;
        border-radius: 16px;
    }
}

.comparison-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #2f363e;
    text-align: center;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .comparison-title {
        font-size: 20px;
        line-height: 28px;
    }
}

.table-wrapper {
    overflow-x: auto;
}

.comparison-grid {
    width: 100%;
    border-collapse: collapse;
}

.table-header {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #2f363e;
    padding: 16px;
    text-align: left;
    border-bottom: 2px solid #eff1f3;
}

@media (max-width: 768px) {
    .table-header {
        font-size: 14px;
        padding: 12px 8px;
    }
}

.table-header.featured-col {
    background: linear-gradient(239.8deg, rgba(7, 116, 231, 0.1) 5.18%, rgba(21, 60, 155, 0.1) 111.83%);
}

.table-cell {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #2f363e;
    padding: 16px;
    border-bottom: 1px solid #eff1f3;
}

@media (max-width: 768px) {
    .table-cell {
        font-size: 12px;
        padding: 12px 8px;
    }
}

.table-cell.featured-col {
    background: linear-gradient(239.8deg, rgba(7, 116, 231, 0.05) 5.18%, rgba(21, 60, 155, 0.05) 111.83%);
    font-weight: 700;
    color: #0774e7;
}

.comparison-grid tbody tr:last-child .table-cell {
    border-bottom: none;
}

.terms-section {
    margin-top: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
}

.terms-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #2f363e;
    margin-bottom: 12px;
}

.terms-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #5c6a7b;
}

@media (max-width: 768px) {
    .terms-title {
        font-size: 18px;
        line-height: 24px;
    }

    .terms-text {
        font-size: 14px;
        line-height: 20px;
    }
}

.info-section {
    margin-top: 24px;
    text-align: center;
}

.info-text {
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    font-style: italic;
    color: #fff;
}

@media (max-width: 768px) {
    .info-text {
        font-size: 10px;
        line-height: 14px;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 24px;
        border-radius: 16px;
    }
}

.modal-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    color: #2f363e;
    margin-bottom: 16px;
}

.modal-description {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #5c6a7b;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .modal-title {
        font-size: 24px;
        line-height: 32px;
    }

    .modal-description {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 24px;
    }
}

.terms-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.term-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 16px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

.term-item:hover {
    background: #e9ecef;
}

.term-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #0774e7;
}

.term-item span {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #2f363e;
    flex: 1;
}

.modal-buttons {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-buttons {
        flex-direction: row;
    }
}

.confirm-button {
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    border-radius: 1000px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: #fff;
    background: linear-gradient(239.8deg, #0774e7 5.18%, #153c9b 111.83%);
    transition: all 0.3s ease;
    flex: 1;
}

.confirm-button:hover:not(:disabled) {
    opacity: 0.9;
    transform: scale(1.02);
}

.confirm-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cancel-button {
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    border-radius: 1000px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    color: #5c6a7b;
    border: 2px solid #5c6a7b;
    transition: all 0.3s ease;
    flex: 1;
}

.cancel-button:hover {
    background: #f8f9fa;
    border-color: #2f363e;
    color: #2f363e;
}

.hidden {
    display: none;
}

/* Login Modal Styles */
.login-modal-content {
    padding: 0;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.login-background {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(239.8deg, #0774e7 5.18%, #153c9b 111.83%);
}

@media (max-width: 768px) {
    .login-background {
        height: 300px;
    }
}

.login-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-footer {
    padding: 32px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

@media (max-width: 768px) {
    .login-footer {
        padding: 24px;
        gap: 20px;
    }
}

.login-message {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #2f363e;
    text-align: center;
}

@media (max-width: 768px) {
    .login-message {
        font-size: 16px;
        line-height: 24px;
    }
}

.login-buttons {
    display: flex;
    gap: 16px;
    width: 100%;
    flex-direction: column;
}

@media (min-width: 600px) {
    .login-buttons {
        flex-direction: row;
    }
}

.login-button {
    padding: 0 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    border-radius: 1000px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    color: #fff;
    background: linear-gradient(239.8deg, #0774e7 5.18%, #153c9b 111.83%);
    transition: all 0.3s ease;
    flex: 1;
}

.login-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 116, 231, 0.4);
}

.login-icon {
    width: 20px;
    height: 20px;
}
