/* ========================================
   Regis Terra — 2013-era registrar style
   ======================================== */

:root {
    --blue: #2980b9;
    --blue-dark: #1a6fa0;
    --blue-light: #3498db;
    --green: #27ae60;
    --green-dark: #1e8e4e;
    --navy: #2c3e50;
    --navy-light: #34495e;
    --dark: #1a1a2e;
    --darker: #12121f;
    --body-bg: #f5f6fa;
    --white: #ffffff;
    --gray-100: #f0f1f5;
    --gray-200: #e1e4ea;
    --gray-300: #ccd1d9;
    --gray-400: #aab2bd;
    --gray-500: #7f8c9b;
    --gray-600: #5a6672;
    --text: #3d4f5f;
    --text-light: #7b8a99;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', 'Segoe UI', Arial, Helvetica, sans-serif;
    background: var(--body-bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 15px;
}

.container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: var(--blue-dark);
}

h1, h2, h3, h4 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
}

/* ========================================
   Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--navy);
    background: linear-gradient(to bottom, #344b5e, #2c3e50);
    border-bottom: 3px solid var(--blue);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo:hover {
    opacity: 0.9;
    color: inherit;
}

.nav {
    display: flex;
    gap: 4px;
}

.nav a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    padding: 8px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.15s;
}

.nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 1px;
    transition: 0.25s;
}

/* ========================================
   Hero
   ======================================== */

.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: var(--dark);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    border-bottom: 4px solid var(--blue);
}

.hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    max-width: 540px;
    margin: 0 auto 32px;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--green);
    background: linear-gradient(to bottom, #2ecc71, #27ae60);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    border: 1px solid var(--green-dark);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.15);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: all 0.15s;
}

.btn:hover {
    background: linear-gradient(to bottom, #3ddb80, #2ecc71);
    color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 12px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-blue {
    background: linear-gradient(to bottom, #3498db, #2980b9);
    border-color: var(--blue-dark);
}

.btn-blue:hover {
    background: linear-gradient(to bottom, #45a3e5, #3498db);
    color: #fff;
}

/* ========================================
   Partners
   ======================================== */

.partners {
    padding: 48px 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}

.partners-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.partner-item {
    text-align: center;
    max-width: 240px;
}

.partner-item svg {
    color: var(--blue);
    margin-bottom: 12px;
}

.partner-item h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.partner-item p {
    font-size: 13px;
    color: var(--text-light);
}

.divider {
    width: 1px;
    height: 70px;
    background: var(--gray-200);
}

/* ========================================
   Services (homepage)
   ======================================== */

.services {
    padding: 60px 0;
    background: var(--body-bg);
    border-bottom: 1px solid var(--gray-200);
}

.services h2,
.about h2,
.whois h2,
.contact h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
}

.section-lead {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 40px;
    font-size: 14px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 28px 22px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-item svg {
    color: var(--blue);
    margin-bottom: 14px;
}

.service-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   About (homepage)
   ======================================== */

.about {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 16px;
}

.about-text p {
    font-size: 14px;
    margin-bottom: 14px;
    color: var(--text);
    line-height: 1.75;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.value {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    transition: border-color 0.2s;
}

.value:hover {
    border-color: var(--gray-300);
}

.value svg {
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.value h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.value p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   WHOIS (homepage)
   ======================================== */

.whois-home {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}

.whois-home h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
}

.whois-lookup {
    max-width: 520px;
    margin: 0 auto 36px;
}

.whois-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    padding: 4px 6px 4px 14px;
    gap: 10px;
    transition: border-color 0.2s;
}

.whois-search:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(41,128,185,0.12);
}

.whois-search svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.whois-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    padding: 8px 0;
    background: transparent;
}

.whois-search input::placeholder {
    color: var(--gray-400);
}

.whois-search .btn {
    flex-shrink: 0;
}

.whois-hint {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 10px;
}

.registry-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 680px;
    margin: 0 auto 24px;
}

.reg-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px 14px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    text-align: center;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.reg-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: inherit;
}

.reg-tld {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 2px;
}

.reg-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

img.reg-flag {
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.whois-more {
    text-align: center;
    font-size: 13px;
}

.whois-more a {
    color: var(--blue);
    font-weight: 600;
}

.whois-more a:hover {
    color: var(--blue-dark);
}

/* ========================================
   Contact (homepage)
   ======================================== */

.contact {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}

.contact h2 {
    margin-bottom: 30px;
}

.contact-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item svg {
    color: var(--blue);
    flex-shrink: 0;
}

.contact-item a,
.contact-item span {
    font-size: 14px;
    color: var(--text);
}

.contact-item a:hover {
    color: var(--blue);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 36px 0 28px;
    background: var(--navy);
    background: linear-gradient(to bottom, #2c3e50, #243342);
    color: rgba(255,255,255,0.5);
}

.footer a {
    color: rgba(255,255,255,0.6);
}

.footer a:hover {
    color: #fff;
}

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

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.separator {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 20px 0;
}

.impressum {
    text-align: center;
}

.impressum p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 3px;
}

.impressum p:last-child {
    margin-top: 8px;
    color: rgba(255,255,255,0.25);
}

/* ========================================
   Page Hero (subpages)
   ======================================== */

.page-hero {
    padding: 120px 0 50px;
    text-align: center;
    background: var(--dark);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    border-bottom: 4px solid var(--blue);
}

.page-hero h1 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-hero p {
    max-width: 460px;
    margin: 0 auto;
    font-size: 15px;
    color: rgba(255,255,255,0.65);
}

/* ========================================
   Services Page
   ======================================== */

.services-page {
    padding: 50px 0;
    border-bottom: 1px solid var(--gray-200);
}

.services-page.alt {
    background: #fff;
}

.services-page h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 32px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 740px;
    margin: 0 auto;
}

.svc-block {
    display: flex;
    gap: 20px;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
}

.services-page.alt .svc-block {
    background: var(--gray-100);
}

.svc-block:hover {
    box-shadow: var(--shadow-md);
}

.svc-icon {
    flex-shrink: 0;
    padding-top: 2px;
}

.svc-icon svg {
    color: var(--blue);
}

.svc-body h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.svc-body p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.svc-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.svc-body ul li {
    font-size: 13px;
    color: var(--text);
    padding-left: 16px;
    position: relative;
}

.svc-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}

/* ========================================
   CTA
   ======================================== */

.cta {
    padding: 55px 0;
    text-align: center;
    background: var(--blue);
    background: linear-gradient(135deg, #2980b9 0%, #1a6fa0 100%);
    color: #fff;
}

.cta h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
}

.cta p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    max-width: 420px;
    margin: 0 auto 24px;
}

.cta .btn {
    background: linear-gradient(to bottom, #fff, #eee);
    color: var(--navy);
    border-color: var(--gray-300);
    text-shadow: none;
}

.cta .btn:hover {
    background: linear-gradient(to bottom, #fff, #f5f5f5);
    color: var(--navy);
}

/* ========================================
   About Page
   ======================================== */

.about-page {
    padding: 50px 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}

.prose {
    max-width: 660px;
    margin: 0 auto 42px;
}

.prose h2 {
    text-align: left;
    font-size: 22px;
    margin-bottom: 14px;
}

.prose p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.75;
}

.prose-center {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 36px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.75;
}

.values-section {
    text-align: center;
    margin-bottom: 30px;
}

.values-section h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.values-section p {
    font-size: 14px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 16px;
}

.value-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 24px 20px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
}

.value-card:hover {
    box-shadow: var(--shadow-md);
}

.value-card svg {
    color: var(--blue);
    margin-bottom: 12px;
}

.value-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.value-card p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

.about-competencies {
    padding: 50px 0;
    background: var(--body-bg);
    border-bottom: 1px solid var(--gray-200);
}

.about-competencies h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
}

.comp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.comp-item {
    text-align: center;
    padding: 22px 16px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.comp-item h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--blue);
}

.comp-item p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.65;
}

/* ========================================
   WHOIS Page
   ======================================== */

.whois-page {
    padding: 40px 0 60px;
    border-bottom: 1px solid var(--gray-200);
}

.whois-table {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.whois-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.15s;
}

.whois-row:last-child {
    border-bottom: none;
}

.whois-row:hover {
    background: var(--gray-100);
}

.whois-tld {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    min-width: 65px;
}

.whois-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    min-width: 105px;
}

.whois-desc {
    font-size: 12px;
    color: var(--text-light);
    flex: 1;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-page {
    padding: 40px 0 60px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    text-align: left;
    font-size: 22px;
    margin-bottom: 12px;
}

.contact-info > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-detail {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-detail svg {
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-detail h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.contact-detail p,
.contact-detail a {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--blue);
}

.contact-form {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.15s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(41,128,185,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237f8c9b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   Header Auth Buttons
   ======================================== */

.header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
}

.auth-link {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7) !important;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.15s;
}

.auth-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.btn-green {
    background: linear-gradient(to bottom, #2ecc71, #27ae60);
    border-color: #1e8e4e;
    color: #fff;
}

.btn-green:hover {
    background: linear-gradient(to bottom, #3ddb80, #2ecc71);
    color: #fff;
}

/* ========================================
   Auth Pages
   ======================================== */

.auth-page {
    padding: 120px 0 60px;
    min-height: 80vh;
}

.auth-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 40px 36px;
    box-shadow: var(--shadow-md);
}

.auth-card-sm {
    max-width: 420px;
}

.auth-card h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 6px;
}

.auth-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-card .form-group {
    margin-bottom: 14px;
}

.field-error {
    display: block;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 3px;
    min-height: 0;
}

.input-error {
    border-color: #e74c3c !important;
}

.req {
    color: #e74c3c;
}

.form-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 18px 0 6px;
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-check label {
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
}

.form-check a {
    color: var(--blue);
    text-decoration: underline;
}

.auth-card .btn-full {
    margin-top: 20px;
}

.auth-footer-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 18px;
}

.auth-footer-text a {
    color: var(--blue);
    font-weight: 600;
}

/* Password strength */
.pw-strength {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
}

.pw-bar {
    flex: 1;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    max-width: 120px;
}

.pw-bar div {
    height: 100%;
    border-radius: 2px;
    transition: width 0.2s;
}

/* Auth messages */
.auth-message {
    text-align: center;
    padding: 20px 0;
}

.auth-icon-ok {
    margin-bottom: 16px;
}

.auth-message h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.auth-message p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.7;
}

.auth-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
    margin-bottom: 24px !important;
}

.auth-inline-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.auth-inline-msg svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.msg-info {
    background: #eaf4fd;
    border: 1px solid #bee0f7;
    color: #1a5276;
}

.msg-info svg {
    color: #2980b9;
}

.msg-error {
    background: #fdf2f2;
    border: 1px solid #f5c6c6;
    color: #922b21;
}

.msg-error svg {
    color: #e74c3c;
}

/* ========================================
   Legal Pages
   ======================================== */

.legal-page {
    padding: 50px 0 70px;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-updated {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 32px;
    font-style: italic;
}

.legal-content h2 {
    font-size: 18px;
    text-align: left;
    margin: 32px 0 10px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.legal-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 15px;
    margin: 20px 0 8px;
    color: var(--blue);
}

.legal-content p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-content ul {
    margin: 0 0 14px 20px;
    padding: 0;
}

.legal-content ul li {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 5px;
    color: var(--text);
}

.legal-content a {
    color: var(--blue);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--blue-dark);
}

/* ========================================
   Animations
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: var(--navy);
        border-bottom: 3px solid var(--blue);
        flex-direction: column;
        padding: 16px 20px;
        gap: 4px;
    }

    .nav.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .partners-row {
        flex-direction: column;
        gap: 28px;
    }

    .divider {
        width: 50px;
        height: 1px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-text h2 {
        text-align: center;
    }

    .registry-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 340px;
    }

    .contact-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 16px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .svc-block {
        flex-direction: column;
        gap: 14px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .comp-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .whois-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .whois-desc {
        display: none;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info h2 {
        text-align: center;
    }

    .page-hero {
        padding: 110px 0 40px;
    }

    .page-hero h1 {
        font-size: 24px;
    }

    .header-auth {
        display: none;
    }

    .nav.open .auth-link,
    .nav.open .btn-green {
        display: block;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
