/* ============================================
   SECURITY VPN - MAIN STYLES (Page-specific)
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 120px 50px;
    padding-top: calc(120px + 60px);
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 95, 199, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease-out;
}

.hero-left .gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    animation: slideInLeft 0.8s ease-out 0.1s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.hero-small {
    color: var(--text-muted);
    font-size: 0.95rem;
    animation: slideInLeft 0.8s ease-out 0.3s backwards;
}

.hero-right {
    display: flex;
    justify-content: center;
    animation: slideInRight 0.8s ease-out;
}

.hero-icon {
    font-size: 200px;
    color: var(--primary-blue);
    opacity: 0.8;
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-medium {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.nav-actions .user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 95, 199, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: rgba(91, 95, 199, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    padding: 10px 24px;
    font-size: 0.95rem;
    justify-content: center;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(91, 95, 199, 0.4);
    box-shadow: 0 20px 40px rgba(91, 95, 199, 0.15);
}

.feature-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    align-items: start;
}

.pricing-grid .pricing-popular {
    transform: scale(1.04);
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.features-list {
    list-style: none;
    margin: 30px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-list li {
    padding: 12px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list i {
    color: #10b981;
}

.pricing-popular {
    border-color: var(--primary-blue);
    box-shadow: 0 0 30px rgba(91, 95, 199, 0.2);
}

.pricing-card .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-list {
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(91, 95, 199, 0.1);
}

.faq-question h4 {
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(91, 95, 199, 0.05);
    color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('../../static/images/vpnv2.png');
    background-size: cover;
    background-position: center 30%;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 3, 8, 0.72);
    z-index: 0;
}

.cta-section .section-center {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ============================================
   AUTH SECTION
   ============================================ */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
    padding: 50px;
    padding-top: calc(60px + 40px);
}

.auth-box {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    animation: slideInUp 0.6s ease-out;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.auth-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.auth-form {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(91, 95, 199, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(91, 95, 199, 0.15);
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check input {
    width: auto;
    cursor: pointer;
}

.form-help {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
}

.form-help a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-help a:hover {
    color: var(--primary-purple);
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 60px;
    color: #10b981;
    margin-bottom: 20px;
    animation: scaleIn 0.6s ease-out;
}

.success-message h3 {
    margin-bottom: 10px;
    color: #10b981;
}

/* ============================================
   CABINET SECTION
   ============================================ */

.cabinet-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 50px;
    padding-top: calc(60px + 30px);
    min-height: calc(100vh - 60px);
}

.cabinet-sidebar {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    background: rgba(91, 95, 199, 0.1);
    color: var(--text-main);
}

.sidebar-item.active {
    background: var(--primary-blue);
    color: white;
}

.cabinet-content {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    padding: 40px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

.tab-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tab-header p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.price-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

/* Subscription Hero */
.subscription-hero {
    background: linear-gradient(135deg, rgba(91, 95, 199, 0.15), rgba(124, 58, 237, 0.15));
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.subscription-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(91, 95, 199, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.subscription-status {
    margin-bottom: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.subscription-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.subscription-price {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.subscription-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.subscription-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(91, 95, 199, 0.05);
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.detail-icon {
    font-size: 1.8rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.detail-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.detail-value {
    font-weight: 600;
    color: var(--text-main);
}

.connection-box {
    background: rgba(91, 95, 199, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
}

.connection-box h3 {
    margin-bottom: 20px;
}

.subscription-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-item .value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Connection Actions */
.connection-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.action-btn {
    background: rgba(91, 95, 199, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 600;
}

.action-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.action-btn i {
    font-size: 1.8rem;
}

/* URL Box */
.url-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.url-box code {
    flex: 1;
    color: var(--primary-blue);
    font-family: 'Courier New', monospace;
    overflow: auto;
    font-size: 0.9rem;
    word-break: break-all;
}

.copy-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-purple);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease-out;
}

.modal-content.large {
    max-width: 700px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-body {
    padding: 25px;
}

.modal-description {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Instruction Steps */
.instruction-step {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
}

.step-content h4 {
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing Compare */
.pricing-compare {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.current-subscription {
    margin-bottom: 30px;
}

.current-subscription h3,
.upgrade-section h3 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.subscription-card {
    background: rgba(91, 95, 199, 0.08);
    border: 1px solid var(--primary-blue);
    border-radius: 12px;
    padding: 24px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.card-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.card-price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.card-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.card-features .feature i {
    color: #10b981;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.auto-renewal {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}

.pricing-card-small {
    background: rgba(91, 95, 199, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.pricing-card-small h4 {
    margin-bottom: 10px;
}

.price-small {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.price-info {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Other Actions */
.other-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.action-card {
    background: rgba(91, 95, 199, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: inherit;
}

.action-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(91, 95, 199, 0.2);
    transform: translateY(-4px);
}

.action-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.action-card h3 {
    margin-bottom: 10px;
}

.action-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Purchase History */
.purchase-history {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.purchase-history h3 {
    margin-bottom: 20px;
}

.history-table {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.history-row {
    display: grid;
    grid-template-columns: 120px 1fr 120px 120px;
    gap: 20px;
    padding: 15px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.history-row:last-child {
    border-bottom: none;
}

.history-row.header {
    background: rgba(91, 95, 199, 0.1);
    font-weight: 600;
}

.history-row .col {
    display: flex;
    align-items: center;
}

.history-row .date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   PRICING STYLES
   ============================================ */

.pricing-single {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pricing-single .pricing-card {
    max-width: 500px;
    width: 100%;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .section-center {
        padding: 0 40px;
    }

    .section {
        padding: 80px 40px;
    }

    .hero {
        padding: 100px 40px;
        padding-top: calc(100px + 60px);
    }

    .hero-wrapper {
        gap: 40px;
    }

    .hero-left h1 {
        font-size: 2.8rem;
    }

    .hero-icon {
        font-size: 150px;
    }

    .cabinet-container {
        padding: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-center {
        padding: 0 30px;
    }

    .section {
        padding: 60px 30px;
    }

    .hero {
        padding: 80px 30px;
        padding-top: calc(80px + 50px);
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-left h1 {
        font-size: 2.2rem;
    }

    .hero-right {
        order: -1;
    }

    .hero-icon {
        font-size: 120px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-medium {
        width: 100%;
    }

    .cabinet-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px;
        padding-top: calc(60px + 20px);
    }

    .cabinet-sidebar {
        position: static;
    }

    .sidebar-menu {
        flex-direction: row;
        gap: 6px;
    }

    .sidebar-item {
        flex: 1;
        justify-content: center;
        padding: 8px 6px;
        font-size: 0.8rem;
        gap: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .history-row.header {
        display: none;
    }

    .history-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 14px;
    }

    .history-row .col.description {
        grid-column: 1 / -1;
        font-weight: 600;
        color: var(--text-main);
    }

    .history-row .col.date {
        font-size: 0.85rem;
    }

    .history-row .col.status {
        text-align: right;
        justify-content: flex-end;
    }

    .tab-header h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .subscription-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .section-center {
        padding: 0 20px;
    }

    .section {
        padding: 40px 20px;
    }

    .hero {
        padding: 40px 20px;
        padding-top: calc(40px + 50px);
    }

    .hero-left h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .btn-small {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .btn-medium {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .cabinet-container {
        padding: 20px;
        padding-top: calc(60px + 15px);
    }

    .cabinet-content {
        padding: 20px;
    }

    .auth-box {
        padding: 20px;
    }

    .hero-icon {
        font-size: 100px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .pricing-card {
        padding: 25px 20px;
    }

    .price {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-section a {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .subscription-hero {
        padding: 25px 20px;
    }

    .subscription-hero h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .subscription-price {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .subscription-details {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .detail-item {
        padding: 12px;
    }

    .detail-icon {
        font-size: 1.5rem;
    }

    .tab-header h2 {
        font-size: 1.3rem;
    }
}
