@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-v7.3/webfonts/statics/Estedad-Regular.woff2') format('woff2'),
         url('../fonts/Estedad-v7.3/ttf/Estedad-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-v7.3/webfonts/statics/Estedad-Bold.woff2') format('woff2'),
         url('../fonts/Estedad-v7.3/ttf/Estedad-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-v7.3/webfonts/statics/Estedad-Medium.woff2') format('woff2'),
         url('../fonts/Estedad-v7.3/ttf/Estedad-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-v7.3/webfonts/statics/Estedad-SemiBold.woff2') format('woff2'),
         url('../fonts/Estedad-v7.3/ttf/Estedad-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --cyan: #2563eb;
    --dark: #0f172a;
    --blue-tech: #1d4ed8;
    --light-bg: #edf3ff;
    --white: #f6f9ff;
    --primary: #1e40af;
}

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

html,
body {
    background: var(--white);
    color: var(--dark);
    font-family: 'Estedad', 'Tahoma', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

body * {
    font-family: inherit;
}

input,
button,
select,
textarea {
    font: inherit;
}

header {
    position: sticky;
    top: 0; left: 0; right: 0;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 78, 146, 0.1);
    z-index: 1000;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo { font-family: 'Estedad', 'Tahoma', sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--dark); text-decoration: none; letter-spacing: -1px; }
.logo span { color: var(--blue-tech); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav ul { display: flex; list-style: none; gap: 20px; }
.main-nav ul li a { font-family: 'Estedad', 'Tahoma', sans-serif; color: #475569; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: 0.3s; }
.main-nav ul li a:hover,
.main-nav .nav-current a { color: var(--blue-tech); }

.legacy-nav {
    padding-left: 18px;
    border-left: 1px solid #e2e8f0;
}

.header-left { display: flex; align-items: center; gap: 15px; }
.lang-switch { display: flex; gap: 10px; font-size: 0.85rem; border-left: 1px solid #ddd; padding-left: 15px; }
.lang-switch a { text-decoration: none; color: #64748b; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    border: 2px solid var(--blue-tech); color: var(--blue-tech);
    padding: 10px 22px; border-radius: 12px; text-decoration: none;
    font-size: 0.85rem; transition: 0.3s; font-weight: bold;
}
.btn-outline:hover { background: var(--blue-tech); color: white; }

.btn-main { background: linear-gradient(135deg, var(--blue-tech), var(--cyan)); color: #fff; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; display: inline-block; }
.header-login-btn { margin-right: 10px; padding: 10px 25px; }

.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: radial-gradient(circle at 30% 50%, #f0f9ff 0%, #ffffff 100%);
}

#canvas-container { width: 100%; height: 100%; }

.right-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 5%;
    z-index: 10;
    perspective: 1200px;
    position: relative;
}

.right-box::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.2) 0%, rgba(29, 78, 216, 0) 68%);
    filter: blur(10px);
    pointer-events: none;
}

.text-card {
    width: 550px;
    text-align: right;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.88) 0%, rgba(241, 248, 255, 0.72) 100%);
    padding: 3.5rem;
    border-radius: 32px;
    border: 1px solid rgba(186, 230, 253, 0.9);
    box-shadow: 0 28px 55px rgba(2, 6, 23, 0.14);
    backdrop-filter: blur(22px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
    --rx: 0deg;
    --ry: 0deg;
    --mx: 50%;
    --my: 50%;
    --shine-opacity: 0;
    transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
    animation: floatCard 6s ease-in-out infinite;
}

.text-card::before {
    content: '';
    position: absolute;
    width: 230px;
    height: 230px;
    top: -120px;
    left: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.24) 0%, rgba(14, 165, 233, 0) 70%);
    animation: pulseGlow 5.5s ease-in-out infinite;
}

.text-card::after {
    content: '';
    position: absolute;
    inset: -40%;
    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0) 36%,
            rgba(255, 255, 255, calc(0.22 * var(--shine-opacity))) 49%,
            rgba(255, 255, 255, 0) 62%
        );
    transform: translateX(-28%) rotate(8deg);
    opacity: 1;
    transition: transform 0.18s ease-out;
}

.text-card .hero-title,
.text-card .hero-subtitle,
.text-card .hero-badge,
.text-card .hero-quick,
.text-card .hero-actions {
    transform: translateZ(22px);
}

.text-card::selection {
    background: rgba(59, 130, 246, 0.35);
}

.text-card.is-interactive::before {
    background:
        radial-gradient(circle at var(--mx) var(--my), rgba(56, 189, 248, 0.42) 0%, rgba(56, 189, 248, 0) 42%),
        radial-gradient(circle, rgba(14, 165, 233, 0.24) 0%, rgba(14, 165, 233, 0) 70%);
}

.text-card.is-interactive {
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 32px 65px rgba(2, 6, 23, 0.42);
    filter: saturate(1.08);
    animation-play-state: paused;
}

.text-card.is-interactive::after {
    transform: translateX(8%) rotate(8deg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0c4a6e;
    background: linear-gradient(140deg, #dbeafe, #e0f2fe);
    border: 1px solid #bae6fd;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Estedad', 'Tahoma', sans-serif;
    font-size: 2.7rem;
    margin-bottom: 1rem;
    color: #0f172a;
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.hero-title.typing::after,
.hero-subtitle.typing::after {
    content: '|';
    display: inline-block;
    margin-right: 4px;
    color: #60a5fa;
    animation: blinkCursor 0.8s steps(1) infinite;
}

.hero-subtitle {
    font-family: 'Estedad', 'Tahoma', sans-serif;
    font-size: 1.06rem;
    color: #334155;
    margin-bottom: 1.3rem;
    position: relative;
    z-index: 1;
}

@keyframes blinkCursor {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

@keyframes floatCard {
    0%, 100% { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(0px); }
    50% { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(-8px); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

.hero-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.35rem;
    position: relative;
    z-index: 1;
}

.hero-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbeafe;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.section-padding { padding: 100px 5%; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.post-list-grid { align-items: stretch; }
.light-section { background: var(--light-bg); }
.centered-intro { text-align: center; margin-bottom: 50px; }

.home-template .section-padding {
    padding: 72px 5%;
}

.home-template .section-header {
    margin-bottom: 36px;
}

.home-template .hero-section {
    background:
        radial-gradient(circle at 78% 18%, rgba(14, 165, 233, 0.22) 0%, rgba(14, 165, 233, 0) 35%),
        radial-gradient(circle at 18% 80%, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 40%),
        radial-gradient(circle at 30% 50%, #f0f9ff 0%, #ffffff 100%);
}

.home-template .domain-search {
    margin-top: -30px;
    padding: 38px 5%;
}

.home-template .light-section {
    background: linear-gradient(180deg, #f8fbff 0%, #f4f9ff 100%);
    border-top: 1px solid #e0f2fe;
    border-bottom: 1px solid #e0f2fe;
}

.home-template .feature-card,
.home-template .stat-card,
.home-template .process-card,
.home-template .testimonial-card {
    background: linear-gradient(160deg, #ffffff 0%, #f8fcff 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 14px 34px rgba(14, 165, 233, 0.10);
}

.home-template .feature-card:hover,
.home-template .stat-card:hover,
.home-template .process-card:hover,
.home-template .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.18);
}

.home-template .pricing-card {
    background: linear-gradient(175deg, #ffffff 0%, #f8fcff 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.10);
}

.home-template .pricing-card.popular {
    border: 2px solid #0ea5e9;
    box-shadow: 0 22px 40px rgba(14, 165, 233, 0.22);
}

.home-template .stats-section,
.home-template .process-section,
.home-template .testimonials-section,
.home-template .faq-section,
.home-template .blog-preview-section,
.home-template .cta-section {
    position: relative;
    overflow: hidden;
}

.home-template .stats-section::before,
.home-template .testimonials-section::before,
.home-template .blog-preview-section::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0) 70%);
    top: -120px;
    left: -80px;
    pointer-events: none;
}

.home-template .process-section::after,
.home-template .faq-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, rgba(56, 189, 248, 0) 70%);
    bottom: -120px;
    right: -80px;
    pointer-events: none;
}

.domain-search { background: var(--white); padding: 50px 5%; margin-top: -60px; position: relative; z-index: 100; }
.domain-search .container { max-width: 900px; margin: 0 auto; }
.search-header { text-align: center; margin-bottom: 40px; }
.search-header h2 { font-family: 'Estedad', 'Tahoma', sans-serif; font-size: 2rem; color: var(--dark); margin-bottom: 10px; }
.search-header p { font-family: 'Estedad', 'Tahoma', sans-serif; font-size: 1.1rem; color: #64748b; }

.search-container { max-width: 700px; margin: 0 auto 30px; display: flex; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-radius: 15px; overflow: hidden; }
.domain-input-group { display: flex; flex: 1; }
.domain-input-group input {
    flex: 1;
    padding: 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: white;
}
.domain-input-group select {
    padding: 0 15px;
    border: none;
    outline: none;
    background: #f1f5f9;
    font-size: 1rem;
    color: var(--dark);
    cursor: pointer;
}
.search-container button {
    background: var(--blue-tech);
    color: white;
    border: none;
    padding: 0 35px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s;
}
.search-container button:hover { background: #0096c7; }

.suggestions { text-align: center; }
.suggestions h3 { margin-bottom: 20px; color: var(--dark); font-size: 1.2rem; }
.suggestions .suggestion-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tag {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}
.tag:hover {
    background: var(--blue-tech);
    color: white;
    transform: translateY(-2px);
}

.domain-result {
    margin: 22px auto 0;
    max-width: 760px;
    text-align: right;
    background: linear-gradient(160deg, #ffffff 0%, #f3f8ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.24);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 14px 30px rgba(30, 64, 175, 0.12);
}

.domain-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.domain-result-head strong {
    font-size: 1.15rem;
    color: #0f172a;
}

.domain-badge {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #e2e8f0;
    color: #334155;
}

.domain-badge.loading {
    background: #dbeafe;
    color: #1e3a8a;
    border-color: rgba(37, 99, 235, 0.28);
}

.domain-badge.available {
    background: #dcfce7;
    color: #166534;
    border-color: rgba(22, 163, 74, 0.28);
}

.domain-badge.taken {
    background: #fee2e2;
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.28);
}

.domain-badge.unknown {
    background: #fef3c7;
    color: #92400e;
    border-color: rgba(217, 119, 6, 0.28);
}

.domain-result-message {
    color: #334155;
    margin-bottom: 12px;
}

.domain-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.meta-chip {
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.domain-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-card { background: white; padding: 30px; border-radius: 16px; text-align: center; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: 0.3s; }
.feature-card:hover { transform: translateY(-10px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: 'Estedad', 'Tahoma', sans-serif; font-size: 2.2rem; color: var(--dark); margin-bottom: 15px; }
.section-header p { font-family: 'Estedad', 'Tahoma', sans-serif; font-size: 1.2rem; color: #64748b; }
.section-header-compact { margin-bottom: 30px; }

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

.pricing-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; position: relative; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.pricing-card.popular { border: 2px solid var(--primary); transform: scale(1.05); }
.pricing-card.popular::before { content: 'پێشنیاری ئێمە'; position: absolute; top: 20px; right: -30px; background: var(--primary); color: white; padding: 5px 30px; transform: rotate(45deg); font-size: 0.8rem; }

.card-header { background: var(--white); padding: 30px 25px 25px; text-align: center; }
.card-header h3 { font-family: 'Estedad', 'Tahoma', sans-serif; font-size: 1.5rem; color: var(--dark); margin-bottom: 15px; }
.price { font-family: 'Estedad', 'Tahoma', sans-serif; font-size: 2.5rem; font-weight: bold; color: var(--primary); margin: 15px 0; }
.price span { font-size: 1.5rem; }
.subtext { color: #64748b; margin-bottom: 25px; }

.features { list-style: none; padding: 25px; text-align: right; background: #f8fafc; }
.features li { padding: 12px 0; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; }
.features li:last-child { border-bottom: none; }
.icon { display: inline-block; width: 24px; height: 24px; background: var(--blue-tech); color: white; border-radius: 50%; text-align: center; line-height: 24px; margin-left: 10px; font-size: 0.8rem; }

.pricing-card .btn-main { display: block; width: 80%; margin: 30px auto 25px; text-align: center; padding: 15px; }

.post-container,
.page-template,
.author-template,
.tag-template {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-header {
    margin-bottom: 24px;
    text-align: right;
}

.page-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.page-excerpt {
    color: #64748b;
    font-size: 1rem;
}

.page-content {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    text-align: right;
    line-height: 1.9;
}

.content-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.page-feature-wrap {
    max-width: 900px;
    margin: 0 auto 20px;
}

.page-content p { margin-bottom: 1rem; }
.page-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 16px 0; }

.page-feature-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto 24px;
    display: block;
}

.kg-width-wide {
    width: min(1200px, calc(100vw - 40px));
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    transform: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.about-template {
    max-width: 1180px;
}

.about-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

.about-hero-copy {
    background: linear-gradient(165deg, #ffffff 0%, #eef5ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 18px 36px rgba(30, 64, 175, 0.11);
}

.about-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: linear-gradient(145deg, #1e3a8a, #2563eb);
    border: 1px solid rgba(191, 219, 254, 0.6);
    color: #eff6ff;
    margin-bottom: 12px;
}

.about-hero-copy h1 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.about-hero-copy p {
    color: #334155;
    margin-bottom: 12px;
}

.about-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-hero-media {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 16px 34px rgba(30, 64, 175, 0.12);
    min-height: 100%;
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.about-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.about-content {
    margin: 0;
}

.about-side {
    display: grid;
    gap: 14px;
}

.about-side-card {
    background: linear-gradient(165deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 16px;
    padding: 16px;
}

.about-side-card h3 {
    color: #0f172a;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.about-side-card p {
    color: #334155;
}

.about-post-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.about-post-links li {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 10px 12px;
}

.about-post-links a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.about-post-links span {
    color: #64748b;
    font-size: 0.82rem;
}

.about-empty-state {
    color: #64748b;
}

.post-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: right;
}

.post-meta {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 30px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    text-align: right;
}

.post-content p { margin-bottom: 1.5rem; }
.post-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
.post-content iframe,
.post-content video,
.post-content table,
.page-content iframe,
.page-content video,
.page-content table {
    max-width: 100%;
}

.post-content table,
.page-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.post-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    text-align: right;
}

.post-grid-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-link {
    color: var(--dark);
    text-decoration: none;
}

.post-date {
    color: #64748b;
    font-size: 0.9rem;
}

.read-more-btn {
    padding: 10px 18px;
    width: fit-content;
    margin-top: auto;
}

.mt-22 {
    margin-top: 22px;
}

.stats-section {
    padding-top: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(160deg, #ffffff, #f7fcff);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.stat-card p {
    color: #475569;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.process-step {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-card h3 {
    margin-bottom: 8px;
}

.process-card p {
    color: #475569;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.08);
}

.testimonial-card p {
    color: #1e293b;
    margin-bottom: 12px;
}

.testimonial-card h4 {
    color: #475569;
    font-size: 0.95rem;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
}

.faq-item p {
    color: #475569;
    margin-top: 10px;
}

.blog-preview-section .post-item {
    border-color: #dbeafe;
}

.cta-section {
    padding-top: 40px;
}

.cta-box {
    background: linear-gradient(145deg, #082f49, #0c4a6e);
    color: #fff;
    border-radius: 22px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1120px;
    width: min(1120px, calc(100vw - 64px));
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(186, 230, 253, 0.28);
    box-shadow: 0 18px 40px rgba(8, 47, 73, 0.36);
}

.cta-box h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.cta-box p {
    color: #dbeafe;
    max-width: 700px;
    margin: 0 auto 18px;
}

.cta-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-main,
.cta-actions .btn-outline {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.cta-actions .btn-outline {
    border-color: #bae6fd;
    color: #e0f2fe;
}

.cta-actions .btn-outline:hover {
    background: #e0f2fe;
    color: #0c4a6e;
}

.cta-box::before,
.cta-box::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.cta-box::before {
    width: 260px;
    height: 260px;
    right: -90px;
    top: -120px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.32) 0%, rgba(186, 230, 253, 0) 70%);
}

.cta-box::after {
    width: 300px;
    height: 300px;
    left: -120px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(14, 165, 233, 0) 70%);
}

.cta-box:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(186, 230, 253, 0.58);
    box-shadow: 0 24px 56px rgba(8, 47, 73, 0.45);
}

.cta-box:hover::before {
    transform: translate(-18px, 16px) scale(1.08);
    opacity: 0.95;
}

.cta-box:hover::after {
    transform: translate(18px, -12px) scale(1.06);
    opacity: 0.95;
}

.cta-box:hover .cta-actions .btn-main {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
}

.cta-box:hover .cta-actions .btn-outline {
    transform: translateY(-2px);
}

.inner-hero {
    max-width: 1100px;
    margin: 24px auto 14px;
    padding: 28px 24px;
    border-radius: 18px;
    background: radial-gradient(circle at top right, #e0f2fe 0%, #f8fafc 55%);
    border: 1px solid #dbeafe;
}

.inner-hero h2 {
    margin-bottom: 8px;
}

.meta-line {
    color: #64748b;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

footer {
    padding: 50px 5%;
    background: #0f172a;
    color: white;
    margin-top: 80px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: right;
}

.footer-title {
    margin-bottom: 20px;
}

.footer-text {
    color: #cbd5e1;
}

.footer-list {
    list-style: none;
    color: #cbd5e1;
}

.footer-copy {
    text-align: center;
    border-top: 1px solid #334155;
    margin-top: 40px;
    padding-top: 20px;
}

/* Light blue theme overrides */
body {
    background: radial-gradient(circle at 20% 0%, #ffffff 0%, #f3f7ff 45%, #edf3ff 100%);
    color: #0f172a;
}

header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(29, 78, 216, 0.18);
}

.logo,
.main-nav ul li a,
.hero-title,
.section-header h2,
.card-header h3,
.page-title,
.post-title,
.post-link,
.faq-item summary {
    color: #0f172a;
}

.search-header p,
.section-header p,
.subtext,
.post-date,
.page-excerpt,
.hero-subtitle,
.stat-card p,
.process-card p,
.testimonial-card h4,
.faq-item p {
    color: #334155;
}

.main-nav ul li a:hover,
.main-nav .nav-current a {
    color: #1d4ed8;
}

.menu-toggle,
.hero-pill,
.tag,
.contact-card,
.post-item,
.faq-item,
.stat-card,
.process-card,
.testimonial-card,
.pricing-card,
.page-content {
    background: linear-gradient(165deg, #ffffff 0%, #f4f8ff 100%);
    border-color: rgba(37, 99, 235, 0.18);
}

.text-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.94) 0%, rgba(242, 248, 255, 0.92) 100%);
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: 0 30px 60px rgba(30, 64, 175, 0.16);
}

.hero-badge {
    color: #eff6ff;
    background: linear-gradient(145deg, #1e3a8a, #2563eb);
    border-color: rgba(147, 197, 253, 0.5);
}

.hero-section,
.home-template .hero-section {
    background:
        radial-gradient(circle at 75% 20%, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 35%),
        radial-gradient(circle at 15% 80%, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0) 40%),
        linear-gradient(170deg, #f7faff 0%, #edf3ff 100%);
}

.home-template .light-section {
    background: linear-gradient(180deg, #f5f9ff 0%, #ebf2ff 100%);
    border-top-color: rgba(37, 99, 235, 0.14);
    border-bottom-color: rgba(37, 99, 235, 0.14);
}

.domain-search,
.home-template .domain-search {
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid rgba(37, 99, 235, 0.12);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.search-container {
    box-shadow: 0 16px 34px rgba(30, 64, 175, 0.14);
}

.domain-input-group input,
.domain-input-group select {
    background: #ffffff;
    color: #0f172a;
}

.domain-input-group input::placeholder {
    color: #64748b;
}

.pricing-card.popular,
.home-template .pricing-card.popular {
    border-color: #2563eb;
    box-shadow: 0 24px 44px rgba(37, 99, 235, 0.2);
}

.features {
    background: #f1f6ff;
}

.icon,
.process-step {
    background: #1d4ed8;
}

.cta-box {
    background: linear-gradient(145deg, #1e3a8a, #1d4ed8);
    border-color: rgba(191, 219, 254, 0.48);
    box-shadow: 0 22px 46px rgba(30, 64, 175, 0.28);
}

footer {
    background: #0b1f4b;
}

@media (max-width: 1200px) {
    .main-nav ul { gap: 12px; }
    .main-nav ul li a { font-size: 0.82rem; }
    .logo { font-size: 1.55rem; }
    .btn-main { padding: 10px 20px; }
}

@media (max-width: 900px) {
    header {
        height: auto;
        min-height: 70px;
        padding: 12px 4%;
        gap: 10px;
        flex-wrap: wrap;
    }

    .brand {
        flex: 1;
    }

    .brand-logo {
        height: 34px;
    }

    .logo {
        font-size: 1.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 4;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    body.menu-open .main-nav {
        display: block;
    }

    .main-nav ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .legacy-nav {
        padding-left: 0;
        border-left: 0;
    }

    .main-nav ul li a {
        display: block;
        padding: 10px 12px;
        border-radius: 10px;
        background: #f8fafc;
    }

    .header-left {
        margin-right: auto;
        gap: 8px;
    }

    .header-login-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
        margin-right: 0;
        border-radius: 10px;
    }

    .lang-switch {
        border-left: 0;
        padding-left: 0;
        gap: 8px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 12px 0 24px;
    }

    #canvas-container {
        min-height: 360px;
        order: 2;
    }

    .right-box {
        padding: 10px 16px;
        justify-content: center;
        order: 1;
    }

    .text-card {
        width: 100%;
        max-width: 640px;
        padding: 1.25rem;
        border-radius: 18px;
        transform: none !important;
        animation: none;
    }

    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 0.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .btn-main,
    .hero-actions .btn-outline {
        padding: 9px 14px;
        font-size: 0.82rem;
        border-radius: 10px;
    }
    .right-box::before {
        width: 340px;
        height: 340px;
        right: 50%;
        transform: translate(50%, -50%);
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-template .section-padding {
        padding: 44px 4%;
    }
    .home-template .section-header {
        margin-bottom: 24px;
    }
    .home-template .domain-search {
        margin-top: 0;
        padding: 28px 4%;
    }
    .home-template .stats-section::before,
    .home-template .testimonials-section::before,
    .home-template .blog-preview-section::before,
    .home-template .process-section::after,
    .home-template .faq-section::after {
        width: 220px;
        height: 220px;
    }
    .section-padding { padding: 56px 4%; }
    .domain-search {
        padding: 34px 4%;
        margin-top: 0;
    }
    .search-header { margin-bottom: 24px; }
    .search-header h2 { font-size: 1.4rem; }
    .search-header p { font-size: 0.95rem; }
    .search-container { flex-direction: column; margin: 0 auto 24px; max-width: 100%; }
    .domain-input-group { flex-direction: column; }
    .domain-input-group input { border-radius: 12px 12px 0 0; padding: 14px; }
    .domain-input-group select { border-radius: 0 0 12px 12px; border-top: 1px solid #e2e8f0; padding: 14px; }
    .search-container button {
        padding: 14px;
        border-radius: 0 0 12px 12px;
        margin-top: 1px;
    }
    .tag { font-size: 0.78rem; padding: 5px 10px; }
    .section-header { margin-bottom: 28px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .post-title { font-size: 1.45rem; }
    .section-header h2 { font-size: 1.45rem; }
    .section-header p { font-size: 0.95rem; }
    .price { font-size: 1.7rem; }
    .post-container,
    .page-template,
    .author-template,
    .tag-template {
        margin: 30px auto;
        padding: 0 14px;
    }
    .page-content {
        padding: 16px;
        border-radius: 12px;
        line-height: 1.8;
    }
    .post-item {
        padding: 14px;
    }
    .stats-grid,
    .process-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 24px 16px;
        border-radius: 16px;
    }
    .cta-box h2 {
        font-size: 1.45rem;
    }
    .inner-hero {
        margin: 16px 14px 8px;
        padding: 18px 14px;
        border-radius: 14px;
    }
    .about-hero-copy {
        padding: 18px 14px;
        border-radius: 14px;
    }
    .about-hero-copy h1 {
        font-size: 1.55rem;
    }
    .about-hero-actions .btn-main,
    .about-hero-actions .btn-outline {
        padding: 9px 14px;
        border-radius: 10px;
        font-size: 0.82rem;
    }
    .about-hero-media {
        border-radius: 14px;
    }
    .about-side-card {
        border-radius: 12px;
        padding: 14px;
    }
    footer {
        padding: 36px 4%;
        margin-top: 48px;
    }
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }
}

@media (max-width: 480px) {
    .lang-switch {
        display: none;
    }
        .header-login-btn {
            font-size: 0.78rem;
            padding: 7px 12px;
        }
    .feature-card {
        padding: 18px;
        border-radius: 12px;
    }
    .card-header {
        padding: 20px 16px 16px;
    }
    .features {
        padding: 16px;
    }
    .pricing-card .btn-main {
        width: calc(100% - 24px);
        margin: 16px auto;
        padding: 12px;
    }
    .stat-card h3 {
        font-size: 1.6rem;
    }
}
    #canvas-container {
        min-height: 380px;
    }
    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 10px;
    }
    .hero-title {
        font-size: 1.55rem;
    }
    .hero-pill {
        font-size: 0.76rem;
        padding: 5px 9px;
    }
