:root {
    --bg-primary: #f8f9ff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-element: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent: #6366f1;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --radius: 16px;
    --shadow: 0 8px 30px rgba(99,102,241,0.12), 0 4px 8px rgba(0,0,0,0.05);
    --shadow-hover: 0 14px 40px rgba(94, 97, 255, 0.18), 0 6px 12px rgba(0,0,0,0.08);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --hover-transform: translateY(-4px);
}

:root[data-theme="dark"] {
    --bg-primary: #0a0a1b;
    --bg-secondary: #13131f;
    --bg-tertiary: #1e1e2d;
    --bg-element: #13131f;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent: #818cf8;
    --accent-gradient: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    --shadow: 0 8px 30px rgba(99,102,241,0.15), 0 4px 8px rgba(0,0,0,0.2);
    --shadow-hover: 0 14px 40px rgba(99,102,241,0.25), 0 6px 12px rgba(0,0,0,0.3);
}

.reviews-carousel-enh {
    background:var(--glass);
    border-radius:12px;
    padding:18px;
    backdrop-filter:blur(6px);
    box-shadow:0 6px 30px rgba(2,6,23,0.6);
    margin-top:18px
}

.header-enh {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:12px
}

.controls-enh {
    display:flex;
    gap:8px;
    align-items:center;
}

.btn-enh {
    background:transparent;
    border:1px solid rgba(255,255,255,0.06);
    padding:8px 10px;
    border-radius:8px;
    color:var(--muted);
    cursor:pointer;
}

.track-wrap-enh {
    overflow:hidden;
    border-radius:10px
}

.reviews-track-enh {
    display:flex;
    gap:10px;
    transition:transform .45s cubic-bezier(.2,.9,.3,1)
}

.review-enh {
    min-width:300px;
    max-width:320px;
    background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));
    padding:14px;
    border-radius:10px;
    display:flex;
    flex-direction:column;
    gap:10px;
    border:1px solid rgba(255,255,255,0.02)
}

.meta-enh {
    display:flex;
    align-items:center;
    gap:10px
}

.avatar-enh {
    width:44px;
    height:44px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--accent),#60a5fa);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    color:#07203a
}

.user-enh {
    font-weight:600
}

.extra-enh {
    font-size:12px;
    color:var(--muted)
}

.stars {
    color:#ffd166;
    font-size:13px
}

.text-enh {
    font-size:14px;
    line-height:1.35;
    color:#e8f0ff
}

.small-note {
    font-size:12px;
    color:var(--muted)
}

.footer-enh {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:auto
}

.tag {
    font-size:12px;
    padding:6px 8px;
    border-radius:8px;
    background:rgba(255,255,255,0.02);
    color:var(--muted)
}

@media (max-width:720px) {
    .review-enh {
        min-width:82%;
        max-width:82%
    }
}

body {
    margin: 0;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    background: var(--bg-primary);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIj48L3JlY3Q+CjxjaXJjbGUgeD0iMSIgeT0iMSIgcj0iMSIgc3Ryb2tlPSIjZjFmNWY5IiBzdHJva2Utd2lkdGg9IjAuNSIgZmlsbD0ibm9uZSI+PC9jaXJjbGU+Cjwvc3ZnPg==');
    background-repeat: repeat;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.6;
    transition: background 0.2s, color 0.2s;
}

:root[data-theme="dark"] body {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMGYxNzJhIj48L3JlY3Q+CjxjaXJjbGUgeD0iMSIgeT0iMSIgcj0iMSIgc3Ryb2tlPSIjMWU2M2VhIiBzdHJva2Utd2lkdGg9IjAuNSIgZmlsbD0ibm9uZSI+PC9jaXJjbGU+Cjwvc3ZnPg==');
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

header {
    background: rgba(var(--bg-secondary), 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99,102,241,0.1);
    padding: 22px 0 18px 0;
    box-shadow: var(--shadow);
    border-bottom: 2px solid var(--accent);
    position: relative;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 2.3rem;
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(34,139,230,0.08);
}

.logo {
    text-decoration: none;
    display: block;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.2s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

[data-theme="dark"] .logo-light {
    display: none;
}

@media (max-width: 700px) {
    .logo img {
        height: 64px;
    }
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

nav .nav-links {
    display: flex;
    gap: 18px;
}

nav .nav-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    min-width: auto;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

nav a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
}

nav a:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

nav a:hover,
nav a.active {
    color: var(--text-secondary);
    transform: var(--hover-transform);
    box-shadow: var(--shadow-hover);
    position: relative;
}

nav a.active:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--accent);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
    z-index: 1002;
}

.menu-toggle:hover {
    transform: scale(1.1);
    color: var(--accent);
}

.hero {
    background: linear-gradient(120deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
    padding: 90px 0 60px 0;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero h2 {
    font-size: 2.7rem;
    margin-bottom: 22px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 1.18rem;
    margin-bottom: 36px;
    color: var(--text-primary);
    opacity: 0.92;
}

.cta-group {
    padding-top: 24px;
}

.cta-btn {
    background: var(--accent-gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    isolation: isolate;
    transition: all 0.2s;
}

.cta-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    z-index: 1;
}

.cta-btn:hover:before {
    left: 200%;
}

.cta-btn:hover {
    transform: var(--hover-transform);
    box-shadow: var(--shadow-hover);
}

.cta-btn:active {
    transform: scale(0.95);
}

.discount-badge{
    color: #ffffff;
}

.discount-badge {
    background-color: #ff0000;
    border-radius: 3px;
    margin-left: 5px;
    font-size: 14px;
    padding: 0 5px 2px 5px;
}

.features {
    background: var(--bg-tertiary);
    padding: 64px 0 56px 0;
    border-top: var(--border-subtle);
}

.features h3 {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 44px;
    color: var(--accent);
    font-weight: 700;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    padding: 0 12px;
    box-sizing: border-box;
}

.feature, .option {
    width: 400px;
    background: var(--bg-element);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid rgba(99,102,241,0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.feature:before, .option:before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.feature:hover:before, .option:hover:before {
    opacity: 0.05;
}

.feature:hover, .option:hover {
    transform: var(--hover-transform);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}

.feature span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 14px;
}

.feature h4 {
    margin: 12px 0 10px 0;
    color: var(--accent);
    font-size: 1.13rem;
}

.about {
    background: var(--bg-tertiary);
    padding: 64px 0;
    color: var(--text-secondary);
    border-radius: var(--radius);
}

.about h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 26px;
    color: var(--accent);
    font-weight: 700;
}

.about p {
    text-align: center;
    font-size: 1.13rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about ul {
    max-width: 650px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.about ul li {
    background: var(--bg-element);
    margin: 12px 0;
    padding: 14px 22px;
    border-radius: 12px;
    border: 1px solid var(--accent);
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: var(--shadow);
    font-size: 1.01rem;
    transition: var(--transition);
}

.about ul li:hover {
    transform: var(--hover-transform);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
    background-color: var(--bg-color);
}

.server-location {
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
}

.server-map {
    max-width: 80%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    transition: var(--transition);
}

.server-map:hover {
    transform: scale(1.02);
    filter: saturate(1.8);
    box-shadow: var(--shadow-hover);
}

.server-location-caption {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    margin-bottom: 15px;
}

.languages {
    background: var(--bg-element);
    padding: 60px 0;
    border-top: var(--border-subtle);
}

.languages h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--accent);
    font-weight: 700;
}

.languages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.languages-list span {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 10px 26px;
    border-radius: 22px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(34,139,230,0.07);
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.languages-list span:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: var(--hover-transform);
    box-shadow: var(--shadow-hover);
}

.hosting {
    background: var(--bg-tertiary);
    padding: 60px 0;
    border-top: var(--border-subtle);
}

.hosting h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--accent);
    font-weight: 700;
}

.hosting-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.hosting-options .option {
    display: block;
    justify-content: center;
    align-items: center;
}

.option {
    padding: 20px 32px 24px 32px;
    border-radius: var(--radius);
    background: var(--bg-element);
    border: 1px solid rgba(99,102,241,0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px); 
    box-shadow: var(--shadow); 
    text-align: left;
}

.option img {
    display: block;
    max-width: 280px;
    margin: 0 auto 10px auto;
}

.option h4 {
    margin: 12px 0;
    color: var(--accent);
    font-size: 1.5rem;
}

.option p {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 15px;
}

.option ul {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
    margin: 0 auto;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.option li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.option li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.option:nth-of-type(3) h4 {
    margin-top: 0;
}

.reviews {
    background: var(--bg-element);
    padding: 60px 0;
    border-top: var(--border-subtle);
}

.reviews h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--accent);
    font-weight: 700;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    perspective: 1000px;
}

.reviews-track {
    display: flex;
    animation: scroll 30s linear infinite;
    transition: var(--transition);
    will-change: transform, animation-play-state;
    transform: translateZ(0);
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-3560px); }
}

.review {
    flex: 0 0 320px;
    margin: 0 18px;
    background: var(--bg-tertiary);
    border: 1px solid #3b83f665;
    border-radius: var(--radius);
    padding: 28px 22px;
    width: 320px;
    box-shadow: var(--shadow);
    font-style: italic;
    color: var(--text-primary);
    transition: var(--transition);
}

.review:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.tariff-cards-container-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tariff-cards-container-wrapper:hover .carousel-btn {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.tariff-cards-container {
    display: flex;
    gap: 20px;
    margin: 28px 0;
    padding: 25px;
    scroll-behavior: smooth;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tariff-cards-container::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    transform: translateY(0);
    background: transparent;
    color: transparent;
    border: none;
    width: 90px;
    height: calc(100% - 100px);
    cursor: pointer;
    box-shadow: none;
    z-index: 10;
    transition: opacity 0.2s ease 2s, visibility 0s linear 2s,
                transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
}

.carousel-btn:active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.carousel-btn:active {
    transform: none;
}

.left-btn {
    border-left: 2px solid #00000000;
    border-radius: 20px 0 0 20px;
    left: 0;
}

.right-btn {
    border-right: 2px solid #00000000;
    border-radius: 0 20px 20px 0;
    right: 0;
}

.carousel-btn:hover {
    background: rgba(126, 126, 126, 0.3);
    color: #fff;
    transform: none;
    box-shadow: none;
}

.tariff-card {
    flex: 0 0 auto;
    width: 320px;
    scroll-snap-align: start;
    background: var(--bg-element);
    border-radius: var(--radius);
    padding: 30px;
    border: 2px solid var(--accent);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.tariff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #0084ff;
}

.tariff-card.tariff-card-discounted {
    border-color: #e74c3c;
    box-shadow: 0 8px 30px rgba(231,76,60,0.12), 0 4px 8px rgba(0,0,0,0.05);
}

.tariff-price {
    white-space: nowrap;
}

.tariff-discount-badge {
    position: absolute;
    top: 36px;
    left: -30px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 5px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(-45deg);
    transform-origin: 0% 0%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
    border-bottom-right-radius: 8px;
    border-top-left-radius: var(--radius);
}

.tariff-card.tariff-card-discounted:hover {
    border-color: #ff1900;
    box-shadow: 0 14px 40px #ff19003f;
}

.tariff-card h4 {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
    width: 100%;
    position: relative;
}

.tariff-card h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--accent-gradient);
}

.tariff-specs {
    margin-bottom: 25px;
    width: 100%;
}

.tariff-specs p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1.05rem;
}

.tariff-specs p:last-child {
    border-bottom: none;
}

.tariff-specs p span:first-child {
    font-weight: 500;
    color: var(--text-secondary);
}

.tariff-specs p span:last-child {
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
}

.tariff-specs p span:last-child img {
    vertical-align: middle;
    margin-right: 5px;
}

.tariff-specs p span:last-child img:last-child {
    margin-right: 0;
}

.tariff-price {
    margin-top: auto;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    width: 100%;
}

.tariff-price .price-original {
    text-decoration: line-through;
    color: var(--text-secondary);
    opacity: 0.7;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.tariff-price .price-discounted {
    color: #e74c3c;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.tariff-price .price-current {
    color: var(--accent);
}

.tariff-card .buy-btn {
    margin-top: 15px;
    width: 80%;
    padding: 12px 20px;
    font-size: 1.1rem;
}

.pricing-table {
    display: none;
}

.resource-configurator {
    display: block;
    margin-top: 0;
    padding: 24px;
    justify-content: center;
    align-items: start;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 820px;
    background: var(--bg-element);
    border-radius: var(--radius);
    border: 1px solid var(--accent);
    box-shadow: var(--shadow);
}

.configurator-chat-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    margin-top: 24px;
}

@media (max-width: 1000px) {
    .configurator-chat-container {
        grid-template-columns: 1fr;
    }

    .ai-chat {
        height: 400px;
        min-height: 400px;
    }
}

@media (max-width: 900px) {
    .resource-configurator {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        padding: 16px;
    }
    
    .feature, .option {
        width: 100%;
        margin: 0 12px;
        padding: 24px 16px;
    }
    
    .features-list {
        padding: 0;
        gap: 24px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--accent);
        opacity: 0;
        transform: translateY(-10px);
    }

    nav.active {
        opacity: 1;
        transform: translateY(0);
    }

    nav .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
        margin-bottom: 20px;
    }

    nav a {
        width: 90%;
        text-align: center;
    }

    nav .nav-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 10px;
    }
}

.configurator-panel {
    background: transparent;
    padding: 0;
    border-radius: var(--radius);
    box-shadow: none;
}

.slider-group {
    margin-bottom: 22px;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

#minecraft-options .slider-group label,
#discord-options .slider-group label,
#web-options .slider-group label {
    align-items: center;
}

#minecraft-options output,
#discord-options output,
#web-options output {
    min-width: 36px;
    text-align: right;
    color: var(--accent);
    font-weight: 600;
    margin-left: 12px;
    font-size: 1.08em;
}

.styled-slider {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    outline: none;
    margin: 10px 0;
    transition: background 0.2s;
    appearance: none;
    position: relative;
}

.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    border: 3px solid var(--bg-element);
    box-shadow: 0 2px 8px rgba(34,139,230,0.25);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    top: -8px;
}

.styled-slider:focus::-webkit-slider-thumb {
    background: var(--accent);
}

.styled-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    border: 3px solid var(--bg-element);
    box-shadow: 0 2px 8px rgba(34,139,230,0.25);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    top: -8px;
}

.styled-slider::-ms-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    border: 3px solid var(--bg-element);
    box-shadow: 0 2px 8px rgba(34,139,230,0.25);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    top: -8px;
}

.styled-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    border: 1px solid var(--accent);
}

.styled-slider:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent);
}

.styled-slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    border: 1px solid var(--accent);
}

.styled-slider::-ms-tooltip {
    display: none;
}

.product-select-group {
    margin-bottom: 26px;
}

.product-select {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.product-btn {
    background: var(--accent-gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.product-btn:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.product-btn.active,
.product-btn:focus {
    background: var(--accent-gradient);
    color: #fff;
    border-color: var(--accent);
}

.product-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: var(--hover-transform);
    box-shadow: var(--shadow-hover);
}

.product-btn:hover:before {
    transform: translateX(100%);
}

.product-btn:active {
    transform: scale(0.95);
}

.web-type-toggle {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.web-type-btn {
    background: var(--accent-gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.web-type-btn:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.web-type-btn.active,
.web-type-btn:focus {
    background: var(--accent-gradient);
    color: #fff;
    border-color: var(--accent);
}

.web-type-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: var(--hover-transform);
    box-shadow: var(--shadow-hover);
}

.web-type-btn:hover:before {
    transform: translateX(100%);
}

.web-type-btn:active {
    transform: scale(0.95);
}

.duration-selector {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.duration-btn {
    background: var(--bg-element);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid var(--accent);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.duration-btn.active,
.duration-btn:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: var(--hover-transform);
    box-shadow: var(--shadow-hover);
}

.duration-btn:active {
    transform: scale(0.95);
}

.price-estimate {
    margin-top: 22px;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    border: 2px solid var(--accent);
    text-align: center;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1em;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-estimate div {
    padding: 8px;
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    background: var(--bg-element);
    border: 1px solid var(--accent);
}

.price-estimate #resource-tariff {
    margin-top: 10px;
    font-weight: bold;
    color: var(--accent);
}

footer {
    background: var(--bg-secondary);
    text-align: center;
    padding: 34px 0 22px 0;
    color: var(--text-secondary);
    font-size: 1.01rem;
    border-top: 2px solid var(--accent);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    box-shadow: 0 -2px 8px rgba(34,139,230,0.04);
}

footer a {
    color: var(--accent);
    text-decoration: underline;
    margin: 0 8px;
    transition: color 0.2s;
}

footer a:hover {
    text-decoration: none;
    color: var(--text-primary);
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
    height: 40px;
}

.theme-toggle:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: var(--hover-transform);
    box-shadow: var(--shadow-hover);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
}

.dropbtn {
    background: var(--bg-element);
    color: var(--text-primary);
    border: 2px solid var(--accent);
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    width: 75px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 8px;
}

.dropbtn:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-element);
    box-shadow: var(--shadow);
    z-index: 10;
    border-radius: var(--radius);
    border: 1px solid var(--accent);
    top: 100%;
    left: 0;
    margin-top: 8px;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: var(--radius);
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent);
    transform: none;
    box-shadow: none;
}

.dropdown-content a.active {
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 600;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.dropdown.show .dropdown-content {
    display: block;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--accent);
        opacity: 0;
        transform: translateY(-10px);
    }

    nav.active {
        opacity: 1;
        transform: translateY(0);
    }

    nav .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
        margin-bottom: 20px;
    }

    nav a {
        width: 90%;
        text-align: center;
    }

    nav .nav-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 10px;
    }
}

@media (max-width: 700px) {
    .hero h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .pricing-table {
        font-size: 0.9rem;
        display: none;
    }

    .pricing-table th, 
    .pricing-table td {
        padding: 8px 4px;
    }

    .product-select {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .product-btn {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .web-type-toggle {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .web-type-btn {
        width: 100%;
        min-width: auto;
    }

    .duration-selector {
        flex-direction: column;
        gap: 10px;
    }
    .duration-btn {
        width: 100%;
    }

    .features-list .feature,
    .hosting-options .option,
    .reviews-list .review {
        width: 100%;
        padding: 18px 12px;
        margin: 0;
    }

    .review {
        width: 280px;
        margin: 0 10px;
    }

    .languages-list span {
        font-size: 0.9rem;
        padding: 8px 16px;
        margin: 4px;
    }

    .tariff-cards-container {
        gap: 20px;
    }

    .tariff-card {
        flex: 0 0 calc(100% - 20px);
        padding: 20px;
    }

    .tariff-card h4 {
        font-size: 1.6rem;
    }

    .tariff-specs p {
        font-size: 1rem;
    }

    .tariff-price {
        font-size: 1.2rem;
    }

    .tariff-card .buy-btn {
        width: 90%;
        font-size: 1rem;
    }

    .carousel-btn {
        width: 60px;
    }
}

@media (max-width: 500px) {
    header h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    .hero {
        padding: 40px 0 30px 0;
    }

    .features,
    .about,
    .languages,
    .hosting,
    .reviews {
        width: 100%;
        box-sizing: border-box;
        padding: 30px 0;
    }

    .option, .feature, .review {
        padding: 20px 12px;
        font-size: 0.98rem;
        margin: 0;
        width: 100%;
    }

    .features-list {
        gap: 16px;
    }

    .feature h4 {
        font-size: 1.1rem;
    }

    .feature p {
        font-size: 0.95rem;
    }

    .pricing-table {
        width: 100%;
        margin: 0;
        font-size: 0.85rem;
        display: none;
    }

    .pricing-table th, .pricing-table td {
        padding: 8px 4px;
        font-size: 0.93rem;
    }

    .about ul li {
        padding: 10px 15px;
        font-size: 0.95rem;
    }

    .languages-list span {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .reviews .review {
        padding: 20px 15px;
        font-size: 0.95rem;
    }

    footer {
        font-size: 0.9rem;
        padding: 20px 0;
    }
}

.ai-chat {
    width: 400px;
    height: 100%;
    min-height: 0;
    max-height: 80vh;
    background: var(--bg-element);
    border-radius: var(--radius);
    border: 1px solid var(--accent);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chat-header {
    padding: 15px;
    background: var(--accent-gradient);
    color: #fff;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    font-weight: bold;
    flex: 0 0 auto;
    z-index: 3;
}

.chat-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-tertiary);
    max-height: 50vh;
    min-height: 120px;
}

.chat-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--accent);
    flex: 0 0 auto;
    background: var(--bg-element);
    z-index: 3;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--accent);
    border-radius: 20px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.chat-input button {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    transform: scale(1.1);
}

@media (max-width: 900px) {
    .ai-chat {
        width: 100%;
        height: 400px;
        max-height: 80vh;
    }
    .chat-messages {
        max-height: 40vh;
    }
}

#ai-chat-fab {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#ai-chat-fab-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
    font-size: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

#ai-chat-fab-btn:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-hover);
}

.ai-chat-popup {
    display: none;
    position: absolute;
    left: 0;
    bottom: 80px;
    z-index: 1101;
    animation: fadeIn 0.2s;
}

.ai-chat-popup.active {
    display: block;
}

@media (max-width: 700px) {
    #ai-chat-fab {
        left: 10px;
        bottom: 10px;
    }
    .ai-chat-popup {
        left: 0;
        right: 0;
        width: 95vw;
        min-width: 0;
        max-width: 100vw;
    }
    .ai-chat {
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        max-height: 80vh !important;
    }
    .chat-messages {
        max-height: 40vh !important;
    }
}

.server-nodes {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 80px 0;
    border-top: var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.server-nodes h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--accent);
    font-weight: 700;
}

.server-nodes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIyMCIgY3k9IjIwIiByPSIxIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoNTksIDEzMCwgMjQ2LCAwLjEpIiBzdHJva2Utd2lkdGg9IjAuNSIvPjwvc3ZnPg==');
    opacity: 0.5;
    z-index: 1;
}

.server-nodes .container {
    position: relative;
    z-index: 2;
}

.nodes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 12px;
    justify-content: center;
}

@media (max-width: 1200px) {
    .nodes-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }
}

.node-card {
    background: var(--bg-element);
    border-radius: var(--radius);
    padding: 30px;
    border: 2px solid var(--accent);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.node-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.node-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
    background-color: var(--bg-color);
}

.progress-bar {
    width: 65%;
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    height: 18px;
    overflow: hidden;
    border: 1px solid var(--accent);
    margin-top: 4px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 8px;
    transition: width 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-value-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-grow: 1;
    text-align: right;
}

.stat-value-text {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.node-card h4 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
    width: 100%;
    position: relative;
}

.node-card h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--accent-gradient);
}

.node-stats {
    display: grid;
    gap: 12px;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.stat:hover {
    background: var(--accent-gradient);
    transform: translateX(4px);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.stat-value {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.98rem;
    transition: var(--transition);
}

.stat:hover .stat-label,
.stat:hover .stat-value {
    color: white;
}

.stat[data-type="load"] .stat-value {
    position: relative;
    padding-right: 15px;
}

.stat[data-type="load"] .stat-value::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.2); opacity: 0.7; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

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

.faq-accordion {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--bg-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--accent-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    min-width: 28px;
    height: 28px;
    background: var(--accent-color);
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: 20px;
    font-weight: normal;
}

.faq-question[aria-expanded="true"] {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 28px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.active {
    max-height: 300px;
    opacity: 1;
    padding: 24px 28px;
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.02);
}

.message {
    padding: 12px 18px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
    border: 2px solid var(--accent);
    margin-bottom: 4px;
    font-size: 1.04em;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
    position: relative;
    transition: background 0.2s, border 0.2s, color 0.2s;
    z-index: 2;
}

.user-message {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    border-color: #60a5fa;
    box-shadow: 0 2px 8px rgba(59,130,246,0.10);
    font-weight: 500;
}

.ai-message {
    background: var(--accent);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(59,130,246,0.13);
    font-weight: 500;
}

.ai-message.thinking {
    opacity: 0.7;
    font-style: italic;
    background: #e0f2fe;
    color: var(--accent);
}

.message::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 700px) {
    .message {
        max-width: 95vw;
        font-size: 1em;
    }
}

.visitor-badge {
    background: var(--accent-gradient);
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.visitor-badge:hover {
    transform: var(--hover-transform);
    box-shadow: var(--shadow-hover);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.animated-badge {
    background: var(--accent-gradient);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.animated-badge:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.hero-stats .stat-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.hero-stats .stat-item:nth-child(1) { animation-delay: 0.2s; }
.hero-stats .stat-item:nth-child(2) { animation-delay: 0.4s; }
.hero-stats .stat-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tos-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-element);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.tos-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
}

.tos-content li {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 1.05rem;
    list-style: none;
    padding-left: 0;
}

.tos-content .tos-num {
    color: var(--accent);
    font-weight: 600;
    margin-right: 6px;
}

.about > .container > h2 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 700;
}

.about > .container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1rem;
}

.summer-sale-banner {
    width: 100%;
    background: linear-gradient(90deg, #e6ae22 0%, #ec9941 100%);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 1.13rem;
    padding: 10px 0;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 12px rgba(251,191,36,0.08);
    z-index: 100;
    position: relative;
}

.summer-sale-banner .promo-code {
    background: #fff;
    color: #f59e42;
    padding: 2px 10px;
    border-radius: 8px;
    font-weight: 800;
    margin-left: 6px;
    letter-spacing: 1px;
    font-size: 1.08em;
}

@media (max-width: 600px) {
    .summer-sale-banner {
        font-size: 0.98rem;
        padding: 10px 0;
    }
    .summer-sale-banner .promo-code {
        font-size: 1em;
        padding: 2px 6px;
    }
}

.pricing-table .coins-discount {
    color: #11e79f;
    font-weight: 600;
}

.pricing-table .price-original {
    text-decoration: line-through;
    color: var(--text-secondary);
    opacity: 0.7;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.pricing-table .price-discounted {
    color: #11e79f;
    font-weight: 600;
}

.scroll-to-top {
    position: fixed;
    bottom: 10%;
    right: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
    font-size: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1050;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-hover);
}

.scroll-to-top:active {
    transform: scale(0.95);
}

@media (max-width: 700px) {
    .scroll-to-top {
        right: 10px;
        bottom: 10%;
        width: 45px;
        height: 45px;
        font-size: 1.6em;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    vertical-align: middle;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--text-secondary);
    transition: .4s;
    box-shadow: var(--shadow);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 2px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    transition: .4s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background-color: var(--accent);
    border-color: var(--accent);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--accent);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: #fff;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.pricing-section p label[for="project-transfer-toggle"] {
    margin-left: 10px;
}

.purchase-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.purchase-modal-content {
    background: var(--bg-element);
    border-radius: var(--radius);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-hover);
    position: relative;
    animation: slideIn 0.3s ease-out;
    border: 2px solid var(--accent);
}

.purchase-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-tertiary);
}

.purchase-modal-header h4 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--accent);
    font-weight: 700;
}

.purchase-modal-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
}

.purchase-modal-close-btn:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.purchase-modal-body p {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.5;
}

.purchase-modal-body p a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

.purchase-modal-body .cta-btn {
    display: block;
    width: fit-content;
    margin: 25px auto 0 auto;
    padding: 12px 25px;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-50px); opacity: 0; }
}

.purchase-modal-overlay.closing {
    animation: fadeOut 0.3s ease-out forwards;
}

.purchase-modal-content.closing {
    animation: slideOut 0.3s ease-out forwards;
}

.hidden {
    display: none !important;
}
