:root {
    /* Color Palette */
    --primary-blue: #3183d7;
    --primary-lime: #86c724;
    --bg-dark: #0a0e14;
    --bg-card: rgba(20, 26, 35, 0.7);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);

    /* Layout */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mb-20 {
    margin-bottom: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.full-width {
    width: 100%;
}

/* Navigation */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomOut 10s forwards;
}

@keyframes zoomOut {
    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, var(--bg-dark) 80%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.search-instruction {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: left;
    margin-left: 20px;
}

/* Domain Search Bar */
.search-container {
    padding: 30px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.1);
    /* Slightly more opaque glass */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#domainSearch {
    display: flex;
    gap: 10px;
}

#domainSearch input {
    flex: 1;
    background: #ffffff;
    /* Solid White */
    border: 2px solid transparent;
    padding: 18px 25px;
    border-radius: 8px;
    color: #1a1a1a;
    /* Dark Text */
    font-size: 1.2rem;
    font-weight: 500;
    outline: none;
    transition: var(--transition);
}

#domainSearch input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(49, 131, 215, 0.3);
    background: #ffffff;
}

.tld-info {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.tld-info strong {
    color: var(--primary-blue);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.dns-sidebar-plan {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 20px 30px;
}

.dns-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.dns-info h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dns-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dns-specs {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
}

.dns-specs strong {
    color: var(--primary-blue);
}

.mt-40 {
    margin-top: 40px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.pricing-card {
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlight {
    border-color: var(--primary-blue);
    background: rgba(49, 131, 215, 0.05);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price-container {
    margin-bottom: 30px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-yearly {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 5px;
    opacity: 0.8;
}

.price-yearly span {
    font-size: 0.8rem;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.features li i {
    color: var(--primary-blue);
}

.hov-scale:hover {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Stats */
.stats-flex {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* Footer */
.footer-main {
    background: #05070a;
    padding: 50px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info .logo {
    margin-bottom: 20px;
    display: block;
}

.footer-links h4 {
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary-blue);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--primary-blue);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 20px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
}

.user-info h4 {
    margin-bottom: 2px;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review {
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.fade-in-delayed {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s 0.3s forwards;
}

/* Animations update */
.active .fade-in,
.active .fade-in-delayed,
.active.fade-in,
.active.fade-in-delayed {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card,
.faq-item,
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.active .pricing-card,
.active .faq-item,
.active .testimonial-card {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for cards */
.active .pricing-card:nth-child(2) {
    transition-delay: 0.1s;
}

.active .pricing-card:nth-child(3) {
    transition-delay: 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* VPS & Dedicated Accents */
:root {
    --primary-purple: #8b5cf6;
    --primary-purple-hover: #7c3aed;
}

.gradient-text-lime {
    background: linear-gradient(135deg, var(--primary-lime), #bef264);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
    background: linear-gradient(135deg, var(--primary-purple), #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* VPS Button Variants */
.btn-vps {
    background-color: var(--primary-lime);
    color: var(--bg-dark);
}

.btn-vps:hover {
    background-color: #a3e635;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(134, 199, 36, 0.3);
}

.btn-outline-vps {
    background: transparent;
    border: 1px solid var(--primary-lime);
    color: var(--primary-lime);
}

.btn-outline-vps:hover {
    background: var(--primary-lime);
    color: var(--bg-dark);
}

.highlight-vps {
    border-color: var(--primary-lime) !important;
    background: rgba(134, 199, 36, 0.05) !important;
}

.badge-vps {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-lime);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Dedicated Button Variants */
.btn-purple {
    background-color: var(--primary-purple);
    color: white;
}

.btn-purple:hover {
    background-color: var(--primary-purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}

.btn-outline-purple {
    background: transparent;
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
}

.btn-outline-purple:hover {
    background: var(--primary-purple);
    color: white;
}

.highlight-purple {
    border-color: var(--primary-purple) !important;
    background: rgba(139, 92, 246, 0.05) !important;
}

/* SSL Accents */
:root {
    --primary-cyan: #22d3ee;
    --primary-cyan-hover: #0891b2;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, var(--primary-cyan), #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SSL Button Variants */
.btn-cyan {
    background-color: var(--primary-cyan);
    color: var(--bg-dark);
}

.btn-cyan:hover {
    background-color: #67e8f9;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(34, 211, 238, 0.3);
}

.btn-outline-cyan {
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-outline-cyan:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
}

.highlight-cyan {
    border-color: var(--primary-cyan) !important;
    background: rgba(34, 211, 238, 0.05) !important;
}

.accent-ssl .features li i {
    color: var(--primary-cyan);
}

/* Section dividers/variants */
.dark-sub {
    background: #080c12;
}

.accent-vps .features li i {
    color: var(--primary-lime);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.fade-in-delayed {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s 0.3s forwards;
}

/* Animations update */
.active .fade-in,
.active .fade-in-delayed,
.active.fade-in,
.active.fade-in-delayed {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card,
.faq-item,
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.active .pricing-card,
.active .faq-item,
.active .testimonial-card {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for cards */
.active .pricing-card:nth-child(2) {
    transition-delay: 0.1s;
}

.active .pricing-card:nth-child(3) {
    transition-delay: 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* VPS & Dedicated Accents */
:root {
    --primary-purple: #8b5cf6;
    --primary-purple-hover: #7c3aed;
}

.gradient-text-lime {
    background: linear-gradient(135deg, var(--primary-lime), #bef264);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
    background: linear-gradient(135deg, var(--primary-purple), #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* VPS Button Variants */
.btn-vps {
    background-color: var(--primary-lime);
    color: var(--bg-dark);
}

.btn-vps:hover {
    background-color: #a3e635;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(134, 199, 36, 0.3);
}

.btn-outline-vps {
    background: transparent;
    border: 1px solid var(--primary-lime);
    color: var(--primary-lime);
}

.btn-outline-vps:hover {
    background: var(--primary-lime);
    color: var(--bg-dark);
}

.highlight-vps {
    border-color: var(--primary-lime) !important;
    background: rgba(134, 199, 36, 0.05) !important;
}

.badge-vps {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-lime);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Dedicated Button Variants */
.btn-purple {
    background-color: var(--primary-purple);
    color: white;
}

.btn-purple:hover {
    background-color: var(--primary-purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}

.btn-outline-purple {
    background: transparent;
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
}

.btn-outline-purple:hover {
    background: var(--primary-purple);
    color: white;
}

.highlight-purple {
    border-color: var(--primary-purple) !important;
    background: rgba(139, 92, 246, 0.05) !important;
}

/* SSL Accents */
:root {
    --primary-cyan: #22d3ee;
    --primary-cyan-hover: #0891b2;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, var(--primary-cyan), #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SSL Button Variants */
.btn-cyan {
    background-color: var(--primary-cyan);
    color: var(--bg-dark);
}

.btn-cyan:hover {
    background-color: #67e8f9;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(34, 211, 238, 0.3);
}

.btn-outline-cyan {
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-outline-cyan:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
}

.highlight-cyan {
    border-color: var(--primary-cyan) !important;
    background: rgba(34, 211, 238, 0.05) !important;
}

.accent-ssl .features li i {
    color: var(--primary-cyan);
}

/* Section dividers/variants */
.dark-sub {
    background: #080c12;
}

.accent-vps .features li i {
    color: var(--primary-lime);
}

.accent-dedicated .features li i {
    color: var(--primary-purple);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-info {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-info .logo {
        display: inline-block;
    }

    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {

    /* Prevent horizontal overflow */
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    * {
        max-width: 100%;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    #domainSearch {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-flex {
        flex-direction: column;
        gap: 40px;
    }

    /* Ensure container doesn't overflow */
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix pricing card overflow */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        width: 100%;
    }

    .pricing-card {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    /* Fix VPS grid overflow */
    .vps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Fix dedicated servers grid */
    .dedicated-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Fix SSL grid */
    .ssl-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Fix DNS sidebar plan */
    .dns-sidebar-plan {
        max-width: 100%;
        width: 100%;
        padding: 20px 15px;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }

    /* Make DNS content stack vertically on mobile */
    .dns-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    /* Make DNS specs wrap and stack */
    .dns-specs {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: flex-start;
    }

    /* Adjust DNS info heading */
    .dns-info {
        width: 100%;
    }

    .dns-info h3 {
        font-size: 1rem;
        flex-wrap: wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .dns-info p {
        font-size: 0.85rem;
    }

    /* Fix section headers */
    .section-header h2 {
        font-size: 1.8rem;
        word-wrap: break-word;
    }

    /* Fix section padding */
    .section {
        padding: 40px 0;
    }

    /* Fix search container */
    .search-container {
        padding: 20px 15px;
        margin-top: 20px;
    }

    /* Fix TLD info */
    .tld-info {
        font-size: 0.8rem;
        gap: 10px 15px;
    }

    /* Fix buttons */
    .btn {
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix any tables */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    /* Fix features list */
    .features li {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
}

/* Legal Pages Style */
.legal-header {
    padding: 100px 0 40px;
    text-align: center;
    background: linear-gradient(to bottom, #0a0f18, #05080c);
}

.page-header-simple {
    padding: 100px 0 40px;
}

.legal-content-wrapper {
    padding-bottom: 60px;
}

.legal-card {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-main);
}

.legal-card h2 {
    margin: 40px 0 20px;
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.legal-card h3 {
    margin: 30px 0 15px;
    font-size: 1.4rem;
    color: var(--text-main);
}

.legal-card p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.legal-card ul,
.legal-card ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-card li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.legal-card a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.legal-card a:hover {
    color: #2563eb;
}

/* Header Enhancements */
.header-contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 25px;
    padding-left: 25px;
    border-left: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.header-contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-contact-info a:hover {
    color: var(--primary-blue);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 2000;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    animation: slideUp 0.5s ease-out;
}

.cookie-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.cookie-banner a {
    color: var(--primary-blue);
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .header-contact-info {
        display: none;
    }
}

@media (max-width: 768px) {
    .legal-card {
        padding: 30px;
    }

    .cookie-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Footer Partner Info */
.footer-partner-info {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-partner-info strong {
    color: var(--text-main);
}

.mailru-logo {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
    transition: var(--transition);
}

.mailru-logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Mobile Navigation Styles */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        /* Override display: none */
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 15, 24, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links .btn {
        width: 80%;
    }
}

/* Footer Attribution */
.footer-attribution {
    text-align: center;
    padding: 20px 0 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-attribution a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-attribution a:hover {
    color: var(--primary-blue);
}

.heart-icon {
    color: #ff2400;
    display: inline-block;
    margin: 0 3px;
}