/* MaXSmart — Arctic White & Cold Blue Theme */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #0ea5e9;
    --accent-hover: #0284c7;
    --accent-light: #e0f2fe;
    --mint: #06d6a0;
    --mint-light: #d1fae5;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #06d6a0 100%);
    --gradient-hero: linear-gradient(160deg, #f0f9ff 0%, #ffffff 40%, #f0fdfa 100%);
    --gradient-cta: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);

    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-section: #f0f9ff;
    --card-bg: #ffffff;

    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.03);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ===== Base ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--text); line-height: 1.25; letter-spacing: -0.02em; }
h1 { font-weight: 800; letter-spacing: -0.03em; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }

.ai-main-content { min-height: 100vh; }

/* ===== Header ===== */
.ai-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 1050 !important;
    background: rgba(255,255,255,.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226,232,240,.5);
    box-shadow: none;
    transition: all .35s cubic-bezier(.4,0,.2,1);
}
.ai-header.scrolled {
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    border-bottom-color: transparent;
}

.ai-logo {
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    -webkit-text-fill-color: unset;
}
.ai-logo .logo-icon {
    width: 34px; height: 34px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.ai-logo .logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ai-logo:hover { opacity: .9; }

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: .93rem;
    transition: all .25s;
    position: relative;
    padding: .5rem .9rem !important;
    border-radius: var(--radius-sm);
    margin: 0 2px;
}
.navbar-nav .nav-link::after { display: none; }
.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-light);
}
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
    font-weight: 600;
}

.navbar-toggler { border: 1px solid var(--border); border-radius: var(--radius-sm); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23475569' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== Buttons ===== */
.ai-cta-btn {
    background: var(--gradient-cta);
    border: none;
    border-radius: var(--radius-full);
    padding: 11px 26px;
    font-weight: 600;
    font-size: .93rem;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
    transition: all .3s cubic-bezier(.4,0,.2,1);
}
.ai-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,.4);
    color: #fff !important;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 30px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,.2);
    transition: all .3s cubic-bezier(.4,0,.2,1);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,.3);
    background: var(--gradient-primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: var(--radius-full);
    padding: 10px 28px;
    font-weight: 600;
    transition: all .3s cubic-bezier(.4,0,.2,1);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37,99,235,.25);
}

/* ===== Hero ===== */
.ai-hero {
    background: var(--gradient-hero);
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.ai-hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(37,99,235,.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ai-hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6,214,160,.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ai-hero .container { position: relative; z-index: 2; }
.ai-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.ai-hero h1 .text-primary,
.ai-hero .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ai-hero p.lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
}

/* Hero graphic — transfer visual */
.ai-hero-graphic-3d {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ai-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-cube, .ai-sphere, .ai-pyramid, .ai-neural-network, .ai-node, .ai-connection { display: none; }

/* Platform bubbles */
.platform-bubble {
    width: 110px; height: 110px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    box-shadow: var(--shadow-lg);
    position: absolute;
    z-index: 3;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.platform-bubble:hover { transform: scale(1.05); }
.platform-tg { left: 10%; top: 50%; transform: translateY(-50%); color: #2AABEE; }
.platform-max { right: 10%; top: 50%; transform: translateY(-50%); color: var(--primary); }

.transfer-arrow-center {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}
.arrow-pulse {
    width: 48px; height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 24px rgba(37,99,235,.3);
    animation: ms-pulse 2.5s ease-in-out infinite;
}

/* Floating chips */
.ms-chip {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 7px 14px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    z-index: 5;
    animation: ms-float 6s ease-in-out infinite;
}
.ms-chip i { margin-right: 5px; color: var(--primary); }
.ms-chip-1 { top: 8%;  left: 10%;  animation-delay: 0s; }
.ms-chip-2 { top: 12%; right: 8%;  animation-delay: -1.5s; }
.ms-chip-3 { bottom: 18%; left: 3%; animation-delay: -3s; }
.ms-chip-4 { bottom: 12%; right: 12%; animation-delay: -4.5s; }
.ms-chip-5 { top: 42%; left: -2%; animation-delay: -2s; }
.ms-chip-6 { top: 38%; right: -2%; animation-delay: -3.5s; }

@keyframes ms-float {
    0%, 100% { transform: translateY(0); }
    25%  { transform: translateY(-12px); }
    75%  { transform: translateY(8px); }
}
@keyframes ms-pulse {
    0%, 100% { box-shadow: 0 0 16px rgba(37,99,235,.3); transform: scale(1); }
    50%      { box-shadow: 0 0 32px rgba(37,99,235,.5); transform: scale(1.08); }
}

/* Floating icons (legacy) */
.floating-icon {
    position: absolute;
    width: 48px; height: 48px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    box-shadow: var(--shadow);
    z-index: 3;
    animation: fi-float 5s ease-in-out infinite;
}
.fi-1 { top: 8%;  left: 8%;   animation-delay: 0s; }
.fi-2 { top: 4%;  right: 12%; animation-delay: -.7s; }
.fi-3 { bottom: 12%; left: 4%;  animation-delay: -1.4s; }
.fi-4 { bottom: 8%;  right: 6%; animation-delay: -2.1s; }
.fi-5 { top: 44%; left: -2%;  animation-delay: -2.8s; }
.fi-6 { top: 38%; right: -2%; animation-delay: -3.5s; }
.fi-7 { top: 68%; left: 12%;  animation-delay: -4.2s; }
.fi-8 { top: 18%; right: 2%;  animation-delay: -4.9s; }
.fi-mini { width: 36px; height: 36px; font-size: .9rem; }
.fi-m1 { top: 0; left: 5%; animation-delay: 0s; }
.fi-m2 { top: 5%; right: 0; animation-delay: -1.2s; }
.fi-m3 { bottom: 5%; left: 0; animation-delay: -2.4s; }
.fi-m4 { bottom: 0; right: 5%; animation-delay: -3.6s; }

@keyframes fi-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25%  { transform: translateY(-10px) rotate(3deg); }
    50%  { transform: translateY(-4px) rotate(-2deg); }
    75%  { transform: translateY(-14px) rotate(1deg); }
}

/* Stats */
.statistics-section {
    max-width: 460px;
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}
.stat-item { text-align: center; flex: 1; }
.stat-value {
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

/* ===== Sections ===== */
.ai-section { padding: 90px 0; }
.ai-section.bg-light,
.ai-section.bg-dark { background: var(--bg-alt) !important; color: var(--text) !important; }

.ai-section-title { text-align: center; margin-bottom: 3.5rem; }
.ai-section-title .section-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: .75rem;
}
.ai-section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: .75rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    letter-spacing: -0.03em;
}
.ai-section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Cards ===== */
.ai-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.ai-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity .3s;
}
.ai-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.ai-card:hover::before { opacity: 1; }

.ai-card-icon {
    width: 56px; height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    color: #fff;
    transition: transform .3s;
}
.ai-card:hover .ai-card-icon { transform: rotate(-5deg) scale(1.05); }
.ai-card h3, .ai-card h4, .ai-card h5 { color: var(--text); margin-bottom: .5rem; }
.ai-card p { color: var(--text-secondary); }

/* ===== Case Study Cards ===== */
.case-study-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow);
}
.case-study-card::before { display: none; }
.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.case-study-card .card-body { padding: 1.75rem; }
.case-study-card .card-title { color: var(--text); font-weight: 700; }
.case-study-card .card-text { color: var(--text-secondary); }
.case-study-tag {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: .75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ===== Blog Cards ===== */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card::before { display: none; }
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.blog-card img {
    height: 210px;
    object-fit: cover;
    width: 100%;
    transition: transform .5s;
}
.blog-card:hover img { transform: scale(1.03); }
.blog-card .card-body {
    padding: 1.75rem;
    display: flex; flex-direction: column; flex-grow: 1;
}
.blog-card .card-title { color: var(--text) !important; font-weight: 700; }
.blog-card .card-text { color: var(--text-secondary) !important; }
.blog-card .mt-auto { margin-top: auto !important; }

.blog-meta { font-size: .82rem; color: var(--text-muted); }
.blog-meta a { color: var(--primary); }

/* ===== Article ===== */
.article-card {
    background: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 2.5rem !important;
    box-shadow: var(--shadow) !important;
}
.article-card::before { display: none !important; }
.article-card:hover { box-shadow: var(--shadow-md) !important; }

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}
.article-content h1,.article-content h2,.article-content h3,
.article-content h4,.article-content h5,.article-content h6 {
    color: var(--text) !important;
    margin-top: 2.5rem; margin-bottom: 1rem;
}
.article-content h2 { font-size: 1.75rem; color: var(--primary) !important; }
.article-content strong, .article-content b { color: var(--text) !important; font-weight: 700; }
.article-content a { color: var(--primary); }
.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-alt);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
    font-style: italic;
}
.article-content code {
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: .9em;
}
.article-content pre {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow-x: auto;
}
.article-content pre code { background: none; color: var(--text); padding: 0; }
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}
.article-content ul { list-style: disc; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin: 1.25rem 0; }
.article-content li { margin-bottom: .5rem; }
.article-content table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.article-content th { background: var(--primary); color: #fff; padding: .75rem 1.25rem; text-align: left; font-weight: 600; }
.article-content td { padding: .75rem 1.25rem; border-bottom: 1px solid var(--border); }

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all .35s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: #f59e0b; margin-bottom: .75rem; font-size: 1.1rem; }
.testimonial-content { color: var(--text-secondary); font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { font-weight: 700; color: var(--text); }
.testimonial-company { color: var(--text-muted); font-size: .85rem; }

.testimonials-carousel-container {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: var(--radius-lg);
}
.testimonials-carousel {
    display: flex;
    height: 100%;
    width: max-content;
    animation: infinite-scroll 30s linear infinite;
}
.testimonial-slide {
    min-width: 380px; flex-shrink: 0;
    padding: 0 12px; display: flex; align-items: center;
}
.testimonial-slide .testimonial-card { width: 100%; }
.testimonials-carousel-container:hover .testimonials-carousel { animation-play-state: paused; }
@keyframes infinite-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-380px * 5)); }
}

/* ===== Footer ===== */
.ai-footer {
    background: var(--text) !important;
    border-top: none;
    color: rgba(255,255,255,.7);
    padding-top: 3rem;
}
.ai-footer h5, .ai-footer h6 { color: #fff !important; }
.ai-footer p, .ai-footer .text-muted { color: rgba(255,255,255,.55) !important; }
.ai-footer a.text-muted { color: rgba(255,255,255,.55) !important; transition: color .2s; }
.ai-footer a.text-muted:hover { color: #fff !important; }
.ai-footer hr { border-color: rgba(255,255,255,.1) !important; }

/* Case study detail graphic */
.case-detail-graphic {
    width: 220px; height: 220px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.case-graphic-inner {
    position: relative;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-hero);
    border-radius: 50%;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

/* ===== Breadcrumbs ===== */
.breadcrumb-item a { color: var(--primary) !important; }
.breadcrumb-item.active { color: var(--text-muted) !important; }

/* ===== Forms ===== */
.form-control, .form-select {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius);
    padding: 11px 15px;
    font-size: .95rem;
    transition: all .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,.1);
    background: #fff;
    color: var(--text);
}

/* ===== Pagination ===== */
.pagination .page-link {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    margin: 0 3px;
    font-weight: 500;
}
.pagination .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ===== CTA Section ===== */
.ms-cta-section {
    background: var(--gradient-cta);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.ms-cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
    border-radius: 50%;
}
.ms-cta-section h2 { color: #fff; }
.ms-cta-section p { color: rgba(255,255,255,.85); }

/* ===== Animation ===== */
.ai-glow { animation: glow 2s ease-in-out infinite; }
@keyframes glow {
    0%,100% { box-shadow: 0 0 5px rgba(37,99,235,.2); }
    50%     { box-shadow: 0 0 18px rgba(37,99,235,.35); }
}

/* Animate-in */
.ai-card, .case-study-card, .blog-card, .testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Page header padding */
h1.display-4.fw-bold { margin-top: 1.5rem !important; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .ai-hero { padding: 120px 0 60px; min-height: auto; }
    .ai-hero h1 { font-size: 2.6rem; }
    .ai-hero-graphic-3d { height: 260px; margin-top: 2rem; }
    .platform-bubble { width: 85px; height: 85px; font-size: 2rem; border-radius: 18px; }
    .statistics-section { gap: 1rem; }

    .navbar-nav .nav-link { margin: 2px 0; padding: .6rem .5rem !important; }
    #navbarNav .d-flex { margin-top: .75rem; }
}
@media (max-width: 768px) {
    .ai-hero h1 { font-size: 2rem; }
    .ai-section { padding: 60px 0; }
    .ai-section-title h2 { font-size: 2rem; }
    .ai-hero-graphic-3d { height: 200px; }
    .platform-bubble { width: 68px; height: 68px; font-size: 1.6rem; border-radius: 14px; }
    .floating-icon { width: 36px; height: 36px; font-size: .9rem; border-radius: 8px; }
    .fi-mini { width: 28px; height: 28px; font-size: .75rem; }
    .case-detail-graphic { width: 160px; height: 160px; }
    .case-detail-graphic .fab.fa-telegram { font-size: 3.5rem !important; }
    .testimonials-carousel { animation-duration: 20s; }
    .article-card { padding: 1.25rem !important; }
    .article-content { font-size: 1rem; line-height: 1.7; }
    .ms-chip { display: none; }
    .statistics-section { flex-direction: row; gap: .75rem; }
}
@media (max-width: 576px) {
    .ai-hero h1 { font-size: 1.7rem; }
    .ai-section-title h2 { font-size: 1.6rem; }
}

/* ===== Cookie Consent Popup ===== */
.cookie-consent-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 2rem;
    margin: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: cookie-slide-up 0.4s ease-out;
}

.cookie-consent-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

.cookie-consent-text a {
    text-decoration: underline;
    color: var(--primary);
}

.cookie-consent-btn {
    flex-shrink: 0;
    padding: 0.6rem 1.75rem;
    border: none;
    border-radius: 28px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cookie-consent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
}

@keyframes cookie-slide-up {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cookie-consent-popup {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.85rem 1.15rem;
        margin: 0.5rem;
    }
    .cookie-consent-text {
        font-size: 0.82rem;
        text-align: left;
    }
    .cookie-consent-btn {
        align-self: stretch;
        padding: 0.55rem 1.25rem;
        font-size: 0.82rem;
        text-align: center;
    }
}
