/* =====================================================
   WEB-Defender Landing Page Styles
   Egyptian Blue Theme - Professional Security Aesthetic
   Based on SCAN-RAY XG CSS structure
   ===================================================== */

/* CSS Variables - Egyptian Blue Theme */
:root {
    --wd-primary: #1034A6;
    --wd-primary-light: #1A4BC8;
    --wd-primary-dark: #0A2270;
    --wd-secondary: #64B5F6;
    --wd-accent: #36B37E;
    --wd-accent-hover: #2D9A6B;
    --wd-success: #36B37E;
    --wd-danger: #FF5630;
    --wd-warning: #FFAB00;

    /* Light theme backgrounds */
    --wd-bg-primary: #FFFFFF;
    --wd-bg-secondary: #F5F8FD;
    --wd-bg-tertiary: #EDF2FA;
    --wd-bg-card: #FFFFFF;

    /* Text colors */
    --wd-text-primary: #1A2332;
    --wd-text-secondary: #4A5568;
    --wd-text-muted: #8896A6;

    /* Borders and shadows */
    --wd-border: #D8E2EF;
    --wd-shadow-sm: 0 1px 2px 0 rgba(16, 52, 166, 0.05);
    --wd-shadow: 0 4px 6px -1px rgba(16, 52, 166, 0.1), 0 2px 4px -1px rgba(16, 52, 166, 0.06);
    --wd-shadow-lg: 0 10px 15px -3px rgba(16, 52, 166, 0.1), 0 4px 6px -2px rgba(16, 52, 166, 0.05);
    --wd-shadow-xl: 0 20px 25px -5px rgba(16, 52, 166, 0.1), 0 10px 10px -5px rgba(16, 52, 166, 0.04);

    /* Gradients */
    --wd-gradient-primary: linear-gradient(135deg, #1034A6 0%, #1A4BC8 100%);
    --wd-gradient-light: linear-gradient(135deg, #F5F8FD 0%, #EDF2FA 100%);
    --wd-gradient-hero: linear-gradient(180deg, #F5F8FD 0%, #FFFFFF 100%);
}

/* =====================================================
   Base Styles
   ===================================================== */
.wd-page {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--wd-text-primary);
    background: var(--wd-bg-primary);
    overflow-x: hidden;
}

.wd-section {
    padding: 80px 0;
}

.wd-section-alt {
    background: var(--wd-bg-secondary);
}

.wd-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.wd-section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--wd-text-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.wd-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--wd-gradient-primary);
    border-radius: 2px;
}

.wd-section-header p {
    font-size: 1.125rem;
    color: var(--wd-text-secondary);
    max-width: 600px;
    margin: 20px auto 0;
}

/* =====================================================
   Hero Section
   ===================================================== */
.wd-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--wd-gradient-hero);
    padding: 120px 0 80px;
    overflow: hidden;
}

.wd-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(16, 52, 166, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 75, 200, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.wd-hero-content {
    position: relative;
    z-index: 2;
}

.wd-hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.wd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--wd-primary);
    box-shadow: var(--wd-shadow-sm);
}

.wd-badge i {
    color: var(--wd-success);
}

.wd-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--wd-text-primary);
    margin-bottom: 24px;
}

.wd-hero h1 span {
    background: var(--wd-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wd-hero-subtitle {
    font-size: 1.25rem;
    color: var(--wd-text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

.wd-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.wd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.wd-btn-primary {
    background: var(--wd-gradient-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 52, 166, 0.4);
}

.wd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 52, 166, 0.5);
    color: #fff;
}

.wd-btn-outline {
    background: var(--wd-bg-card);
    color: var(--wd-text-primary);
    border: 2px solid var(--wd-border);
}

.wd-btn-outline:hover {
    border-color: var(--wd-primary);
    color: var(--wd-primary);
    background: var(--wd-bg-secondary);
}

.wd-hero-image {
    position: relative;
    z-index: 2;
}

.wd-hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: var(--wd-shadow-xl);
}

.wd-hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--wd-gradient-light);
    border-radius: 16px;
    z-index: -1;
}

/* =====================================================
   Value Proposition Cards
   ===================================================== */
.wd-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.wd-value-card {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--wd-shadow);
}

.wd-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wd-shadow-lg);
    border-color: var(--wd-primary-light);
}

.wd-value-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--wd-gradient-light);
    border-radius: 16px;
    font-size: 2rem;
    color: var(--wd-primary);
}

.wd-value-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--wd-text-primary);
    margin-bottom: 12px;
}

.wd-value-card p {
    font-size: 0.9375rem;
    color: var(--wd-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   Comparison Section
   ===================================================== */
.wd-comparison {
    background: var(--wd-bg-secondary);
}

.wd-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.wd-comparison-card {
    background: var(--wd-bg-card);
    border: 2px solid var(--wd-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.wd-comparison-card.highlight {
    border-color: var(--wd-primary);
    box-shadow: var(--wd-shadow-lg);
}

.wd-comparison-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wd-comparison-card h4 i {
    font-size: 1.5rem;
}

.wd-comparison-card.highlight h4 {
    color: var(--wd-primary);
}

.wd-comparison-card .subtitle {
    font-size: 0.875rem;
    color: var(--wd-text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--wd-border);
}

.wd-comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wd-comparison-list li {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--wd-border);
    font-size: 0.9375rem;
}

.wd-comparison-list li:last-child {
    border-bottom: none;
}

.wd-comparison-list li strong {
    color: var(--wd-text-primary);
}

.wd-comparison-list li span {
    color: var(--wd-text-secondary);
}

.wd-synergy-box {
    margin-top: 40px;
    background: var(--wd-gradient-primary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    color: #fff;
}

.wd-synergy-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.wd-synergy-box p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.wd-synergy-box i {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

/* =====================================================
   Features Grid
   ===================================================== */
.wd-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wd-feature-card {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.wd-feature-card:hover {
    box-shadow: var(--wd-shadow-lg);
    border-color: var(--wd-primary-light);
    transform: translateY(-4px);
}

.wd-feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wd-gradient-light);
    border-radius: 14px;
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--wd-primary);
}

.wd-feature-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--wd-text-primary);
    margin-bottom: 12px;
}

.wd-feature-card > p {
    font-size: 0.9375rem;
    color: var(--wd-text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.wd-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wd-feature-list li {
    font-size: 0.8125rem;
    color: var(--wd-text-muted);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wd-feature-list li i {
    color: var(--wd-success);
    font-size: 0.75rem;
}

/* =====================================================
   Function Detail Tabs
   ===================================================== */
.wd-function-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.wd-function-tab {
    padding: 12px 24px;
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--wd-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wd-function-tab:hover {
    border-color: var(--wd-primary-light);
    color: var(--wd-primary);
}

.wd-function-tab.active {
    background: var(--wd-gradient-primary);
    color: #fff;
    border-color: transparent;
}

.wd-function-content {
    display: none;
}

.wd-function-content.active {
    display: block;
    animation: wdFadeIn 0.3s ease;
}

@keyframes wdFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wd-function-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.wd-function-item {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: 12px;
    padding: 24px;
}

.wd-function-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wd-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wd-function-item p {
    font-size: 0.875rem;
    color: var(--wd-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* =====================================================
   Screenshots Section
   ===================================================== */
.wd-screenshots {
    background: var(--wd-bg-secondary);
}

.wd-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.wd-tab {
    padding: 12px 24px;
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--wd-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wd-tab:hover {
    border-color: var(--wd-primary-light);
    color: var(--wd-primary);
}

.wd-tab.active {
    background: var(--wd-gradient-primary);
    color: #fff;
    border-color: transparent;
}

.wd-tab-content {
    display: none;
}

.wd-tab-content.active {
    display: block;
    animation: wdFadeIn 0.3s ease;
}

.wd-screenshot-wrapper {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--wd-shadow);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.wd-screenshot-wrapper img {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--wd-shadow-lg);
}

/* =====================================================
   Architecture Section
   ===================================================== */
.wd-arch-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.wd-arch-card {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.wd-arch-card:hover {
    box-shadow: var(--wd-shadow-lg);
    border-color: var(--wd-primary-light);
}

.wd-arch-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--wd-gradient-primary);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
}

.wd-arch-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--wd-text-primary);
    margin-bottom: 8px;
}

.wd-arch-card p {
    font-size: 0.8125rem;
    color: var(--wd-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Architecture Image */
.wd-arch-image {
    text-align: center;
}

.wd-arch-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--wd-shadow-lg);
}

/* =====================================================
   CTA Section
   ===================================================== */
.wd-cta {
    background: linear-gradient(135deg, #1034A6 0%, #1A4BC8 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.wd-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.wd-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wd-cta-benefits {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.wd-cta-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.wd-cta-benefits i {
    color: #64B5F6;
}

.wd-btn-white {
    background: #fff;
    color: var(--wd-primary);
    font-weight: 600;
}

.wd-btn-white:hover {
    background: #F5F8FD;
    color: var(--wd-primary-dark);
    transform: translateY(-2px);
}

/* Contact Info */
.wd-contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.wd-contact-item {
    text-align: center;
}

.wd-contact-item i {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
}

.wd-contact-item a,
.wd-contact-item span {
    color: #fff;
    font-size: 0.9375rem;
    text-decoration: none;
}

.wd-contact-item a:hover {
    text-decoration: underline;
}

/* =====================================================
   Logo Styling
   ===================================================== */
.wd-logo {
    max-width: 320px;
    margin-bottom: 24px;
}

/* For white logo on light background, add background */
.wd-logo-wrapper {
    background: var(--wd-gradient-primary);
    padding: 20px 32px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 24px;
}

.wd-logo-wrapper img {
    max-width: 280px;
    height: auto;
}

/* =====================================================
   Stats Counter - "숫자로 보는 WEB-Defender"
   ===================================================== */
.wd-stats { background: var(--wd-gradient-primary); padding: 80px 0; }
.wd-stats .wd-section-header h2 { color: #fff; }
.wd-stats .wd-section-header h2::after { background: var(--wd-secondary); }
.wd-stats .wd-section-header p { color: rgba(255,255,255,0.8); }
.wd-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.wd-stat-item { text-align: center; }
.wd-stat-number { font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 8px; }
.wd-stat-number span { font-size: 1.5rem; font-weight: 600; }
.wd-stat-label { font-size: 0.9375rem; color: rgba(255,255,255,0.8); font-weight: 500; }

/* =====================================================
   Compliance Section
   ===================================================== */
.wd-compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.wd-compliance-card { background: var(--wd-bg-card); border: 2px solid var(--wd-border); border-radius: 16px; padding: 32px; text-align: center; transition: all 0.3s ease; }
.wd-compliance-card:hover { border-color: var(--wd-primary-light); box-shadow: var(--wd-shadow-lg); transform: translateY(-4px); }
.wd-compliance-card .wd-compliance-icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; background: var(--wd-gradient-light); border-radius: 50%; font-size: 2rem; color: var(--wd-primary); }
.wd-compliance-card h4 { font-size: 1.125rem; font-weight: 700; color: var(--wd-text-primary); margin-bottom: 4px; }
.wd-compliance-card .wd-compliance-items { font-size: 0.8125rem; color: var(--wd-primary); font-weight: 600; margin-bottom: 12px; }
.wd-compliance-card p { font-size: 0.9375rem; color: var(--wd-text-secondary); line-height: 1.6; margin: 0; }
.wd-compliance-note { background: var(--wd-bg-tertiary); border-radius: 12px; padding: 24px 32px; display: flex; align-items: center; gap: 16px; }
.wd-compliance-note i { font-size: 1.5rem; color: var(--wd-primary); flex-shrink: 0; }
.wd-compliance-note p { font-size: 0.9375rem; color: var(--wd-text-secondary); margin: 0; line-height: 1.6; }

/* =====================================================
   Scan Flow Section
   ===================================================== */
.wd-flow-steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-bottom: 48px; position: relative; }
.wd-flow-step { flex: 1; text-align: center; position: relative; max-width: 200px; }
.wd-flow-step-number { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; background: var(--wd-gradient-primary); border-radius: 50%; color: #fff; font-size: 1.125rem; font-weight: 700; position: relative; z-index: 2; }
.wd-flow-step h5 { font-size: 0.9375rem; font-weight: 600; color: var(--wd-text-primary); margin-bottom: 4px; }
.wd-flow-step p { font-size: 0.8125rem; color: var(--wd-text-muted); margin: 0; }
/* connector line */
.wd-flow-step:not(:last-child)::after { content: ''; position: absolute; top: 24px; left: calc(50% + 24px); width: calc(100% - 48px); height: 2px; background: var(--wd-border); z-index: 1; }
/* Scan mode cards */
.wd-mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wd-mode-card { background: var(--wd-bg-card); border: 1px solid var(--wd-border); border-radius: 12px; padding: 24px; text-align: center; transition: all 0.3s ease; }
.wd-mode-card:hover { box-shadow: var(--wd-shadow-lg); border-color: var(--wd-primary-light); }
.wd-mode-card h5 { font-size: 1rem; font-weight: 600; color: var(--wd-primary); margin-bottom: 8px; }
.wd-mode-card p { font-size: 0.8125rem; color: var(--wd-text-secondary); line-height: 1.5; margin: 0; }

/* =====================================================
   Compare Table
   ===================================================== */
.wd-compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--wd-shadow); }
.wd-compare-table thead th { background: var(--wd-gradient-primary); color: #fff; padding: 16px 24px; font-size: 1rem; font-weight: 600; text-align: center; }
.wd-compare-table thead th:first-child { text-align: left; }
.wd-compare-table tbody td { padding: 14px 24px; border-bottom: 1px solid var(--wd-border); font-size: 0.9375rem; color: var(--wd-text-secondary); text-align: center; background: var(--wd-bg-card); }
.wd-compare-table tbody td:first-child { font-weight: 600; color: var(--wd-text-primary); text-align: left; }
.wd-compare-table tbody td:nth-child(2) { color: var(--wd-primary); font-weight: 500; }
.wd-compare-table tbody tr:last-child td { border-bottom: none; }
.wd-compare-table tbody tr:hover td { background: var(--wd-bg-secondary); }

/* =====================================================
   AI-Powered Section
   ===================================================== */
.wd-ai-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0A1628 0%, #111D35 50%, #0E1A2E 100%);
    position: relative;
    overflow: hidden;
}

.wd-ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 30%, rgba(16, 52, 166, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(167, 139, 250, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(100, 181, 246, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Floating particles */
.wd-ai-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
}
.wd-ai-particle-1 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--wd-secondary), transparent 70%);
    top: -80px; left: -80px;
    animation: wd-float 8s ease-in-out infinite;
}
.wd-ai-particle-2 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, #A78BFA, transparent 70%);
    bottom: -40px; right: 10%;
    animation: wd-float 10s ease-in-out infinite reverse;
}
.wd-ai-particle-3 {
    width: 150px; height: 150px;
    background: radial-gradient(circle, var(--wd-secondary), transparent 70%);
    top: 40%; right: -40px;
    animation: wd-float 12s ease-in-out infinite 2s;
}
@keyframes wd-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.wd-ai-section .wd-section-header {
    position: relative;
    z-index: 2;
}

.wd-ai-section .wd-section-header h2 {
    color: #fff;
}

.wd-ai-section .wd-section-header h2::after {
    background: linear-gradient(135deg, var(--wd-secondary) 0%, #A78BFA 100%);
}

.wd-ai-section .wd-section-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 680px;
}

.wd-ai-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.15) 0%, rgba(167, 139, 250, 0.15) 100%);
    border: 1px solid rgba(100, 181, 246, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wd-secondary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.wd-ai-section-badge i {
    color: #FFAB00;
}

/* --- AI Workflow Pipeline --- */
.wd-ai-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
    padding: 24px 32px;
    background: rgba(17, 29, 53, 0.8);
    border: 1px solid rgba(100, 181, 246, 0.15);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.wd-ai-pipeline-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(100, 181, 246, 0.08);
    border: 1px solid rgba(100, 181, 246, 0.18);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.wd-ai-pipeline-step:hover {
    background: rgba(100, 181, 246, 0.12);
    border-color: rgba(100, 181, 246, 0.3);
}

.wd-ai-pipeline-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.25) 0%, rgba(167, 139, 250, 0.25) 100%);
    border-radius: 10px;
    font-size: 1.125rem;
    color: var(--wd-secondary);
    flex-shrink: 0;
}

.wd-ai-pipeline-step span {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.wd-ai-pipeline-arrow {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    flex-shrink: 0;
    padding: 0 4px;
}

/* --- AI Feature Cards Grid --- */
.wd-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
    margin-bottom: 48px;
}

.wd-ai-card {
    background: linear-gradient(145deg, rgba(22, 38, 66, 0.95) 0%, rgba(15, 27, 50, 0.95) 100%);
    border: 1px solid rgba(100, 181, 246, 0.15);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.4s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.wd-ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wd-secondary), #A78BFA);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wd-ai-card:hover {
    background: linear-gradient(145deg, rgba(26, 45, 78, 0.98) 0%, rgba(18, 32, 58, 0.98) 100%);
    border-color: rgba(100, 181, 246, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(100, 181, 246, 0.08);
}

.wd-ai-card:hover::before {
    opacity: 1;
}

/* Card step number */
.wd-ai-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(100, 181, 246, 0.08);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -2px;
}

.wd-ai-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.wd-ai-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.25) 0%, rgba(167, 139, 250, 0.25) 100%);
    border: 1px solid rgba(100, 181, 246, 0.3);
    border-radius: 14px;
    font-size: 1.5rem;
    color: #90CAF9;
    flex-shrink: 0;
}

.wd-ai-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

/* Tech tags */
.wd-ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wd-ai-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(100, 181, 246, 0.12);
    border: 1px solid rgba(100, 181, 246, 0.25);
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #90CAF9;
    letter-spacing: 0.3px;
}

.wd-ai-card-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.wd-ai-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.wd-ai-list li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.wd-ai-list li i {
    color: #90CAF9;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Card footer */
.wd-ai-card-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wd-ai-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.wd-ai-status i {
    font-size: 0.5rem;
    color: var(--wd-accent);
    animation: wd-pulse 2s ease-in-out infinite;
}

@keyframes wd-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* --- AI Summary Bar --- */
.wd-ai-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(16, 52, 166, 0.3) 0%, rgba(167, 139, 250, 0.15) 100%);
    border: 1px solid rgba(100, 181, 246, 0.2);
    border-radius: 16px;
    position: relative;
    z-index: 2;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.wd-ai-summary-item {
    text-align: center;
}

.wd-ai-summary-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.wd-ai-summary-number i {
    font-size: 1.75rem;
}

.wd-ai-summary-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.wd-ai-summary-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* Hero AI Badge */
.wd-badge-ai {
    background: linear-gradient(135deg, #1034A6 0%, #1A4BC8 100%);
    color: #fff;
    border-color: transparent;
}

.wd-badge-ai i {
    color: #FFAB00;
}

/* =====================================================
   Responsive Styles
   ===================================================== */
@media (max-width: 1199px) {
    .wd-hero h1 {
        font-size: 2.75rem;
    }

    .wd-arch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .wd-section {
        padding: 60px 0;
    }

    .wd-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .wd-hero h1 {
        font-size: 2.25rem;
    }

    .wd-hero-image {
        margin-top: 40px;
    }

    .wd-value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .wd-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wd-comparison-grid {
        grid-template-columns: 1fr;
    }

    .wd-arch-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .wd-function-grid {
        grid-template-columns: 1fr;
    }

    .wd-contact-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wd-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .wd-compliance-grid { grid-template-columns: 1fr; }

    .wd-ai-section { padding: 60px 0; }
    .wd-ai-grid { grid-template-columns: 1fr; }
    .wd-ai-pipeline { flex-wrap: wrap; gap: 12px; padding: 20px; }
    .wd-ai-pipeline-arrow { display: none; }
    .wd-ai-pipeline-step { flex: 1; min-width: calc(50% - 12px); justify-content: center; }
    .wd-ai-summary { flex-wrap: wrap; gap: 24px; padding: 24px; }
    .wd-ai-summary-divider { display: none; }
    .wd-ai-summary-item { flex: 1; min-width: calc(50% - 24px); }
    .wd-ai-card { padding: 28px; }
    .wd-ai-particle { display: none; }

    .wd-flow-steps { flex-direction: column; align-items: center; gap: 16px; }
    .wd-flow-step:not(:last-child)::after { display: none; }
    .wd-mode-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .wd-section-header h2 {
        font-size: 1.75rem;
    }

    .wd-hero h1 {
        font-size: 1.875rem;
    }

    .wd-hero-subtitle {
        font-size: 1rem;
    }

    .wd-hero-cta {
        flex-direction: column;
    }

    .wd-btn {
        width: 100%;
    }

    .wd-value-grid {
        grid-template-columns: 1fr;
    }

    .wd-features-grid {
        grid-template-columns: 1fr;
    }

    .wd-arch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wd-tabs,
    .wd-function-tabs {
        gap: 8px;
    }

    .wd-tab,
    .wd-function-tab {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }

    .wd-cta h2 {
        font-size: 1.75rem;
    }

    .wd-cta-benefits {
        flex-direction: column;
        gap: 12px;
    }

    .wd-logo-wrapper {
        padding: 16px 24px;
    }

    .wd-logo-wrapper img {
        max-width: 200px;
    }

    .wd-stat-number { font-size: 2.25rem; }
    .wd-stats { padding: 60px 0; }

    .wd-mode-grid { grid-template-columns: 1fr; }

    .wd-ai-section { padding: 48px 0; }
    .wd-ai-card { padding: 24px; }
    .wd-ai-card-number { font-size: 2rem; top: 16px; right: 16px; }
    .wd-ai-card h4 { font-size: 1.1rem; }
    .wd-ai-icon { width: 48px; height: 48px; font-size: 1.25rem; }
    .wd-ai-pipeline { padding: 16px; }
    .wd-ai-pipeline-step { min-width: 100%; padding: 8px 16px; }
    .wd-ai-pipeline-icon { width: 32px; height: 32px; font-size: 1rem; }
    .wd-ai-pipeline-step span { font-size: 0.8125rem; }
    .wd-ai-summary { padding: 20px 16px; gap: 16px; }
    .wd-ai-summary-item { min-width: calc(50% - 16px); }
    .wd-ai-summary-number { font-size: 1.5rem; }
    .wd-ai-summary-label { font-size: 0.75rem; }
    .wd-ai-tags { gap: 4px; }
    .wd-ai-tag { font-size: 0.625rem; padding: 2px 8px; }

    .wd-compare-table { font-size: 0.8125rem; }
    .wd-compare-table thead th,
    .wd-compare-table tbody td { padding: 10px 12px; }
}

/* =====================================================
   Animations
   ===================================================== */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
