:root {
    --brand-blue: #0077b6;
    --brand-dark: #0f172a;
    --text-gray: #475569;
    --bg-light: #f8fafc;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0e7490;
    background-image:
        linear-gradient(135deg, rgba(2, 132, 199, 0.85) 0%, rgba(3, 105, 161, 0.85) 100%),
        url('../../../background.png');
    background-image:
        linear-gradient(135deg, rgba(2, 132, 199, 0.85) 0%, rgba(3, 105, 161, 0.85) 100%),
        image-set(url('../../../background.webp') type('image/webp'), url('../../../background.png') type('image/png'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--brand-dark);
    line-height: 1.5;
    min-height: 100vh;
}

/* HEADER */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: white;
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: white;
}

.lang-selector {
    position: relative;
    margin-right: 1rem;
}

.lang-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    transition: all 0.2s;
}

.lang-selector-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-selector-btn svg {
    width: 16px;
    height: 16px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 100;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.85rem;
    transition: background 0.15s;
}

.lang-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

.lang-dropdown a:hover {
    background: #f1f5f9;
}

.lang-dropdown a.active {
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 600;
}

.btn-register {
    background-color: white;
    color: #0284c7;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-register:hover {
    background-color: #f0f9ff;
    transform: translateY(-1px);
}

/* HERO SECTION */
.hero-section {
    color: white;
    text-align: center;
    padding: 5rem 1rem 8rem 1rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FORM CARD */
.cta-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    color: var(--brand-dark);
    text-align: center;
}

.cta-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.cta-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.slug-input-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.domain-prefix {
    padding: 1rem 1.5rem;
    background: #f3f4f6;
    border-radius: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1.1rem;
    white-space: nowrap;
}

#slugInput {
    flex: 1;
    background: #f3f4f6;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #374151;
    outline: none;
    width: 100%;
}

#slugInput:focus {
    box-shadow: 0 0 0 2px #0284c7;
    background: white;
}

.btn-go {
    background: #4f46e5;
    color: white;
    padding: 0 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-go:hover {
    background: #4338ca;
}

/* FEATURES SECTION */
.features-section {
    padding: 5rem 5%;
    text-align: center;
    background: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    color: #64748b;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
    color: #0284c7;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* PRICING SECTION */
.pricing-section {
    padding: 5rem 5%;
    background: #f8fafc;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.best-value {
    border: 2px solid #0284c7;
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.best-value-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0284c7;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.plan-subtext {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.feature-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li svg {
    width: 18px;
    height: 18px;
    color: #0284c7;
    flex-shrink: 0;
}

.btn-plan {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-solid {
    background: #0284c7;
    color: white;
    border: 2px solid #0284c7;
}

.btn-solid:hover {
    background: #0369a1;
    border-color: #0369a1;
}

/* FOOTER CTA */
.footer-cta {
    color: white;
    text-align: center;
    padding: 4rem 1rem;
}

.footer-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: #0284c7;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .slug-input-group {
        flex-direction: column;
    }

    .domain-prefix {
        width: 100%;
        justify-content: center;
    }

    .btn-go {
        width: 100%;
        padding: 1rem;
    }

    /* Header Mobile Fixes */
    .site-header {
        padding: 0.75rem 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lang-selector {
        margin-right: 0.25rem;
    }

    .lang-selector-btn {
        padding: 0.4rem;
        font-size: 0.8rem;
        justify-content: center;
    }

    .btn-register {
        padding: 0.5rem;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Icon Mode on Mobile */
    .nav-text,
    .lang-text,
    .chevron-down {
        display: none !important;
    }

    .nav-icon {
        display: block !important;
        width: 20px;
        height: 20px;
    }

    .nav-icon svg {
        width: 100%;
        height: 100%;
    }
}

/* Desktop Defaults */
.nav-icon {
    display: none;
}

/* Glassmorphism Overrides for CTA Card */
.cta-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.cta-card h3 {
    color: white !important;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.domain-prefix {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#slugInput {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

#slugInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#slugInput:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* COMPARE TABLE (#20) */
.compare-section {
    max-width: 1000px;
    margin: 5rem auto 0 auto;
}

.compare-table-wrap {
    overflow-x: auto;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
    padding: 0.9rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.compare-table thead th {
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table .compare-feature {
    text-align: left;
    font-weight: 500;
}

.compare-table .compare-premium {
    background: #f0f9ff;
    font-weight: 600;
    color: #0284c7;
}

.compare-check {
    width: 18px;
    height: 18px;
    color: #10b981;
    display: inline-block;
    vertical-align: middle;
}

.compare-dash {
    color: #cbd5e1;
}
