﻿:root {
    --primary: #6D28D9;
    --primary-dark: #4C1D95;
    --accent-neon: #A855F7;
    --background-main: #FFFFFF;
    --background-surface: #F9FAFB;
    --text-primary: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --accent-line: #D8B4FE;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-main);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.text-muted {
    color: var(--text-muted) !important;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.accent-glow:hover {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.transition-custom {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.neon-border-b {
    border-bottom: 2px solid transparent;
}

.neon-border-b:hover {
    border-bottom-color: var(--accent-neon);
}

/* ===== header ===== */
.ivorcan-header {
    font-family: 'Inter', sans-serif;
}

.ivorcan-header .js-mobile-menu {
    transition: all 0.3s ease-in-out;
}

.ivorcan-header .ri-menu-3-line,
.ivorcan-header .ri-close-line {
    line-height: 1;
}

.ivorcan-header nav a {
    position: relative;
}

.ivorcan-header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A855F7;
    transition: width 0.3s ease;
}

.ivorcan-header nav a:hover::after {
    width: 100%;
}

/* ===== hero ===== */
.ivorcan-hero {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    position: relative;
}

.ivorcan-hero h1 {
    letter-spacing: -0.05em;
}

.ivorcan-hero .animate-fade-in {
    animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.ivorcan-hero .animate-scroll-line {
    animation: scrollLine 2s infinite cubic-bezier(0.65, 0.05, 0.36, 1);
}

.ivorcan-hero video {
    pointer-events: none;
}

.ivorcan-hero .drop-shadow-glow {
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
}

@media (max-width: 767px) {
    .ivorcan-hero {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .ivorcan-hero h1 {
        line-height: 1.3;
    }
}

/* ===== software-highlights ===== */
.software-highlights-section .js-post-card {
    position: relative;
    transition: transform 0.3s ease-out;
}

.software-highlights-section .js-post-card:hover {
    transform: translateY(-4px);
}

.software-highlights-section h2 {
    letter-spacing: -0.02em;
}

.software-highlights-section .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== ai-highlights ===== */
.ai-highlights-2026 {
    font-family: 'Inter', sans-serif;
}

.ai-highlights-2026 .ai-highlights-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.ai-highlights-2026 .ai-highlights-card:hover {
    transform: translateY(-8px);
}

.ai-highlights-2026 .ai-highlights-header h2 {
    letter-spacing: -0.02em;
}

.ai-highlights-2026 .ai-highlights-card h3 {
    text-wrap: balance;
}

@media (max-width: 767px) {
    .ai-highlights-2026 .ai-highlights-header {
        border-left-width: 3px;
        padding-left: 1rem;
    }
}

/* ===== tools-highlights ===== */
.tools-highlights-section .tools-highlights-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tools-highlights-section .tools-highlights-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tools-highlights-section .tools-highlights-card:hover {
    transform: translateY(-8px);
}

@media (max-width: 767px) {
    .tools-highlights-section .tools-highlights-card h3 {
        -webkit-line-clamp: 2;
    }
}

/* ===== newsletter ===== */
.ivorcan-newsletter .js-newsletter-email::placeholder {
    color: #64748B;
    opacity: 1;
}

.ivorcan-newsletter .js-newsletter-email:-ms-input-placeholder {
    color: #64748B;
}

.ivorcan-newsletter .js-newsletter-email::-ms-input-placeholder {
    color: #64748B;
}

.ivorcan-newsletter .shadow-sm {
    shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

/* ===== footer ===== */
.ivorcan-footer {
    font-family: 'Inter', sans-serif;
}

.ivorcan-footer .container {
    max-width: 1200px;
}

.ivorcan-footer h3 {
    letter-spacing: -0.01em;
    position: relative;
}

.ivorcan-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 24px;
    height: 2px;
    background-color: #A855F7;
}

.ivorcan-footer a {
    transition: all 0.3s ease;
}

.ivorcan-footer .accent-line {
    border-radius: 1px;
}

/* ===== PAGE: privacy ===== */
.policy-content-block { max-width: 800px; margin: 0 auto; padding: 40px 20px; color: #0F172A; font-family: 'Inter', sans-serif; line-height: 1.6; background-color: #FFFFFF; } .policy-content-block .policy-article section { margin-bottom: 40px; } .policy-content-block .policy-last-updated { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: #64748B; margin-bottom: 32px; border-left: 2px solid #6D28D9; padding-left: 12px; } .policy-content-block h2 { font-size: 16px; line-height: 1.2; font-weight: 700; color: #0F172A; margin-bottom: 20px; text-transform: uppercase; letter-spacing: -0.01em; border-bottom: 1px solid #E2E8F0; padding-bottom: 8px; } .policy-content-block h3 { font-size: 14px; font-weight: 600; color: #4C1D95; margin-top: 24px; margin-bottom: 12px; } .policy-content-block p { font-size: 14px; color: #475569; margin-bottom: 16px; text-align: justify; hyphens: auto; } .policy-content-block ul { margin-bottom: 20px; padding-left: 0; list-style: none; } .policy-content-block li { font-size: 14px; color: #475569; margin-bottom: 10px; padding-left: 24px; position: relative; } .policy-content-block li::before { content: ''; position: absolute; left: 0; top: 10px; width: 12px; height: 1px; background-color: #A855F7; } .policy-content-block strong { color: #0F172A; font-weight: 600; } @media (min-width: 768px) { .policy-content-block { padding: 80px 40px; } .policy-content-block h2 { font-size: 32px; margin-bottom: 28px; } .policy-content-block h3 { font-size: 26px; } .policy-content-block p, .policy-content-block li { font-size: 16px; } .policy-content-block .policy-last-updated { font-size: 16px; } }

/* ===== PAGE: terms ===== */
.policy-content-block { font-family: 'Inter', sans-serif; overflow-x: hidden; }
.policy-content-block h1, .policy-content-block h2 { font-family: 'Inter', sans-serif; letter-spacing: -0.02em; color: #0F172A; }
.policy-content-block p { color: #64748B; }
.policy-content-block .font-mono { font-family: 'JetBrains Mono', monospace; }
.policy-content-block ul li i { font-size: 1.25rem; flex-shrink: 0; }
.policy-content-block section { border-bottom: 1px solid #E2E8F0; padding-bottom: 2.5rem; }
.policy-content-block section:last-of-type { border-bottom: none; }

/* ===== PAGE: disclaimer ===== */
.policy-content-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  color: #0F172A;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.policy-content-block .last-updated {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 32px;
  font-weight: 500;
}

.policy-content-block h2 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #0F172A;
  margin-top: 40px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  border-left: 4px solid #A855F7;
  padding-left: 16px;
}

@media (min-width: 768px) {
  .policy-content-block h2 {
    font-size: 32px;
  }
}

.policy-content-block p {
  margin-bottom: 20px;
  color: #0F172A;
}

.policy-content-block ul {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style-type: none;
}

.policy-content-block ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #0F172A;
}

.policy-content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background-color: #A855F7;
}

.policy-content-block strong {
  font-weight: 600;
  color: #6D28D9;
}

/* ===== PAGE: cookies ===== */
.policy-content-block { font-family: 'Inter', sans-serif; background-color: #FFFFFF; color: #0F172A; line-height: 1.6; } .policy-content-block .policy-container { position: relative; } .policy-content-block section { scroll-margin-top: 2rem; } .policy-content-block .js-toc-item a { text-decoration: none; position: relative; } .policy-content-block .js-toc-item a::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -2px; left: 0; background-color: #A855F7; transition: width 0.3s ease; } .policy-content-block .js-toc-item a:hover::after { width: 100%; } .policy-content-block .prose h2 { color: #0F172A; border-bottom: 1px solid #E2E8F0; padding-bottom: 0.5rem; } .policy-content-block .prose p { margin-bottom: 1.25rem; } .policy-content-block .prose ul li { position: relative; } @media (max-width: 768px) { .policy-content-block { hyphens: auto; } }

/* ===== PAGE: software-development ===== */
.articles-grid-block .js-article-card {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.articles-grid-block .js-article-card:hover {
  box-shadow: 0 20px 25px -5px rgba(109, 40, 217, 0.1), 0 10px 10px -5px rgba(109, 40, 217, 0.04);
}

.articles-grid-block input:-webkit-autofill,
.articles-grid-block input:-webkit-autofill:hover,
.articles-grid-block input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
  transition: background-color 5000s ease-in-out 0s;
}

.articles-grid-block textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== PAGE: ai-and-neural-networks ===== */
.ai-content-section .js-article-card { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.ai-content-section .js-article-card:hover { transform: translateY(-4px); }
.ai-content-section input::placeholder { color: #94A3B8; opacity: 1; }
.ai-content-section .underline-animation { position: relative; }
.ai-content-section .underline-animation::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -2px; left: 0; background-color: #A855F7; transition: width 0.3s ease; }
.ai-content-section .underline-animation:hover::after { width: 100%; }

/* ===== PAGE: tools-and-software ===== */
.tools-section { font-family: 'Inter', sans-serif; }
.tools-card { transition: transform 0.3s ease-out; }
.tools-card:hover { transform: translateY(-8px); }
.tools-section input::placeholder {
  color: #94A3B8;
  opacity: 1;
}
.tools-section .ri-calendar-line, .tools-section .ri-user-3-line {
  color: #A855F7;
  margin-right: 4px;
}

.main-comment-avatar {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #E2E8F0;
    background-color: #F9FAFB;
    transition: border-color 0.3s ease;
}

.comment-container:hover .main-comment-avatar {
    border-color: #A855F7;
}

.comment-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.author-info h4 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.reply-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #E2E8F0;
}

.reply-container {
    transition: background-color 0.3s ease;
}

.reply-container:hover {
    background-color: #FFFFFF;
}

.comment-content span {
    font-family: 'JetBrains Mono', monospace;
}


/* ===== PAGE TEMPLATE: software-development ===== */
.ivorcan-header {
    font-family: 'Inter', sans-serif;
}

.ivorcan-header .js-mobile-menu {
    transition: all 0.3s ease-in-out;
}

.ivorcan-header nav a {
    position: relative;
}

.ivorcan-header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A855F7;
    transition: width 0.3s ease;
}

.ivorcan-header nav a:hover::after {
    width: 100%;
}

.ivorcan-hero {
    font-family: 'Inter', sans-serif;
    position: relative;
}

.ivorcan-article-body h1,
.ivorcan-article-body h2 {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .ivorcan-article-body h2 {
        font-size: 32px;
    }
}

.ivorcan-article-body h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .ivorcan-article-body h3 {
        font-size: 26px;
    }
}

.ivorcan-article-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #64748B;
    font-size: 14px;
}

@media (min-width: 768px) {
    .ivorcan-article-body p {
        font-size: 16px;
    }
}

.ivorcan-article-body ul,
.ivorcan-article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.ivorcan-article-body li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    color: #64748B;
}

.ivorcan-article-body strong {
    color: #0F172A;
    font-weight: 600;
}

.avatar-wrapper img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.ivorcan-footer {
    font-family: 'Inter', sans-serif;
}

.ivorcan-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 24px;
    height: 2px;
    background-color: #A855F7;
}

.comment-container {
    border-left-width: 4px;
    border-color: #6D28D9;
    background-color: #fff;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.comment-container:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transform: translateX(0.25rem);
}

.reply-container {
    margin-left: 2rem;
    background-color: #F9FAFB;
    padding: 1.25rem;
    border-left-width: 2px;
    border-color: #D8B4FE;
    margin-top: 0.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .reply-container {
        margin-left: 4rem;
    }
}

.reply-container::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 2rem;
    width: 2rem;
    height: 1px;
    background-color: #E2E8F0;
}

/* ===== PAGE TEMPLATE: ai-and-neural-networks ===== */
.ivorcan-header {
    font-family: 'Inter', sans-serif;
}

.ivorcan-header nav a {
    position: relative;
}

.ivorcan-header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A855F7;
    transition: width 0.3s ease;
}

.ivorcan-header nav a:hover::after {
    width: 100%;
}

.ivorcan-detail-page .content-area h2 {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin: 2rem 0 1rem;
}

@media (min-width: 768px) {
    .ivorcan-detail-page .content-area h2 {
        font-size: 32px;
    }
}

.ivorcan-detail-page .content-area p {
    margin-bottom: 1.5rem;
}

.ivorcan-detail-page .content-area ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.ivorcan-detail-page .content-area ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.ivorcan-detail-page .content-area ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #A855F7;
    font-weight: bold;
}

.ivorcan-footer {
    font-family: 'Inter', sans-serif;
}

.ivorcan-footer .container {
    max-width: 1200px;
}

.ivorcan-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 24px;
    height: 2px;
    background-color: #A855F7;
}

.avatar-wrapper .main-comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-wrapper .reply-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== PAGE TEMPLATE: tools-and-software ===== */
.ivorcan-header {
    font-family: 'Inter', sans-serif;
}

.ivorcan-header .js-mobile-menu {
    transition: all 0.3s ease-in-out;
}

.ivorcan-header .ri-menu-3-line,
.ivorcan-header .ri-close-line {
    line-height: 1;
}

.ivorcan-header nav a {
    position: relative;
}

.ivorcan-header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A855F7;
    transition: width 0.3s ease;
}

.ivorcan-header nav a:hover::after {
    width: 100%;
}

.ivorcan-detail-page {
    font-family: 'Inter', sans-serif;
}

.ivorcan-detail-page .prose-custom h2 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #0F172A;
    line-height: 1.2;
}

.ivorcan-detail-page .prose-custom p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #475569;
}

.ivorcan-detail-page .prose-custom ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.ivorcan-detail-page .prose-custom ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 15px;
    color: #475569;
}

.ivorcan-detail-page .prose-custom ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #A855F7;
    font-weight: bold;
}

.ivorcan-footer {
    font-family: 'Inter', sans-serif;
}

.ivorcan-footer .container {
    max-width: 1200px;
}

.ivorcan-footer h3 {
    letter-spacing: -0.01em;
    position: relative;
}

.ivorcan-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 24px;
    height: 2px;
    background-color: #A855F7;
}

.ivorcan-footer a {
    transition: all 0.3s ease;
}

.detail-tabs .scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.detail-tabs .scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 767px) {
    .ivorcan-detail-page .prose-custom h2 {
        font-size: 16px;
    }

    .ivorcan-detail-page .prose-custom p {
        font-size: 14px;
    }
}
/* ===== FIX: Double markers in lists ===== */
li[class*="flex"]::before {
    display: none !important;
}
li[class*="flex"] {
    list-style: none !important;
}
.policy-content-block li[class*="flex"] {
    padding-left: 0 !important;
}
.policy-content-block li[class*="flex"]::before {
    display: none !important;
}
.ivorcan-article-body li[class*="flex"] {
    list-style: none !important;
}
.ivorcan-detail-page .content-area li[class*="flex"]::before {
    display: none !important;
}
.ivorcan-detail-page .content-area li[class*="flex"] {
    padding-left: 0 !important;
}
.ivorcan-detail-page .prose-custom li[class*="flex"]::before {
    display: none !important;
}
.ivorcan-detail-page .prose-custom li[class*="flex"] {
    padding-left: 0 !important;
}