/* RAG Page & Home RAG Sections */
.rag-section {
    padding: 100px 0;
}

.rag-section-alt {
    background: rgba(0, 212, 255, 0.06);
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.rag-problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.rag-problem-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 24px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.rag-problem-item i {
    color: #00d4ff;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.rag-problem-item p {
    margin: 0;
    color: #cccccc;
    line-height: 1.6;
}

/* AI Transformation procedure cards */
.rag-procedure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.rag-procedure-card {
    position: relative;
    padding: 28px 24px 24px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.rag-procedure-card:hover {
    border-color: rgba(0, 212, 255, 0.45);
    transform: translateY(-4px);
}

.rag-procedure-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(0, 212, 255, 0.2);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.rag-procedure-icon {
    font-size: 1.25rem;
    color: #00d4ff;
    margin-bottom: 14px;
}

.rag-procedure-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.rag-procedure-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #bbbbbb;
    line-height: 1.6;
}

.rag-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 4px;
    max-width: 1100px;
    margin: 0 auto;
}

.rag-flow-step {
    padding: 14px 18px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    min-width: 120px;
}

.rag-flow-arrow {
    color: #667eea;
    font-size: 1.2rem;
    padding: 0 4px;
}

.rag-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.rag-product-card {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.rag-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.5);
}

.rag-product-card.rag-product-featured {
    border-color: rgba(0, 212, 255, 0.55);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
}

.rag-product-badge {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.25);
    color: #a8b4ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.rag-product-card h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin: 0 0 10px;
}

.rag-product-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #00d4ff;
    margin-bottom: 6px;
}

.rag-product-period {
    font-size: 0.9rem;
    color: #aaaaaa;
    margin-bottom: 14px;
}

.rag-product-desc {
    font-size: 0.88rem;
    color: #bbbbbb;
    line-height: 1.55;
    margin: 0 0 auto;
    padding-bottom: 16px;
    text-align: left;
}

.rag-product-link {
    display: inline-block;
    margin-top: auto;
    font-size: 0.85rem;
    color: #00d4ff;
    text-decoration: none;
}

.rag-product-link:hover {
    text-decoration: underline;
}

.rag-tier-note {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 24px 28px;
    background: rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 14px;
}

.rag-tier-note h4 {
    color: #ffffff;
    margin: 0 0 14px;
    font-size: 1.05rem;
}

.rag-tier-note ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rag-tier-note li {
    padding: 6px 0 6px 20px;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.55;
    position: relative;
}

.rag-tier-note li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
}

.rag-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.rag-process-item {
    text-align: center;
    padding: 24px 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 14px;
}

.rag-process-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.rag-process-item p {
    margin: 0;
    color: #cccccc;
    font-size: 0.92rem;
    line-height: 1.45;
}

.rag-stack-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.rag-stack-tag {
    padding: 10px 18px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
}

.rag-demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.rag-demo-card {
    padding: 28px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 16px;
    text-align: center;
}

.rag-demo-card i {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 16px;
}

.rag-demo-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 10px;
}

.rag-demo-card p {
    color: #bbbbbb;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* RAG subpages (shared with ai-system pattern) */
.rag-hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.rag-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(closest-side, rgba(0, 212, 255, 0.18), transparent 60%),
                radial-gradient(closest-side, rgba(102, 126, 234, 0.14), transparent 65%);
    pointer-events: none;
}

.rag-hero-content {
    position: relative;
    z-index: 1;
}

.rag-eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.24);
    background: rgba(255, 255, 255, 0.05);
    color: #8fe8ff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.rag-hero-title {
    margin: 0 0 18px;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #00d4ff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rag-hero-subtitle {
    margin: 0 auto 26px;
    max-width: 820px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.rag-hero-subtitle strong {
    color: #00d4ff;
}

.rag-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.rag-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.rag-section-header h2 {
    font-size: 2rem;
    color: #ffffff;
    margin: 0 0 16px;
}

.rag-section-header p {
    margin: 0 auto;
    color: #cccccc;
    line-height: 1.7;
}

.rag-compare-wrap {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 1000px;
}

.rag-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.rag-compare-table th,
.rag-compare-table td {
    padding: 14px 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: left;
    color: #cccccc;
}

.rag-compare-table thead th {
    background: rgba(0, 212, 255, 0.15);
    color: #ffffff;
    font-weight: 700;
}

.rag-compare-table tbody th {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
}

.rag-compare-table td {
    background: rgba(0, 0, 0, 0.2);
}

.rag-card {
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.rag-card h3 {
    color: #ffffff;
    margin: 0 0 16px;
    font-size: 1.25rem;
}

.rag-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rag-list li {
    padding: 8px 0 8px 22px;
    color: #cccccc;
    line-height: 1.55;
    position: relative;
}

.rag-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.rag-list-exclude li::before {
    content: '✕';
    color: #ff6b6b;
}

.rag-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.rag-schedule-day {
    padding: 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    text-align: center;
}

.rag-schedule-day .day-label {
    display: block;
    font-size: 0.8rem;
    color: #00d4ff;
    font-weight: 700;
    margin-bottom: 6px;
}

.rag-schedule-day p {
    margin: 0;
    font-size: 0.85rem;
    color: #cccccc;
    line-height: 1.4;
}

.rag-cta-block {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(102, 126, 234, 0.12) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.25);
}

.rag-cta-block h2 {
    color: #ffffff;
    margin: 0 0 12px;
    font-size: 1.6rem;
}

.rag-cta-block p {
    color: #cccccc;
    margin: 0 0 24px;
}

.rag-cta-block .rag-pricing-cta {
    margin-top: 0;
}

.rag-price-highlight {
    display: inline-block;
    padding: 12px 24px;
    margin-bottom: 20px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #00d4ff;
}

.rag-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 992px) {
    .rag-procedure-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rag-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rag-procedure-grid {
        grid-template-columns: 1fr;
    }

    .rag-process-grid {
        grid-template-columns: 1fr;
    }

    .rag-procedure-num {
        font-size: 2rem;
    }

    .rag-flow {
        flex-direction: column;
    }

    .rag-flow-arrow {
        transform: rotate(90deg);
    }

    .rag-hero-title {
        font-size: 2rem;
    }

    .rag-two-col {
        grid-template-columns: 1fr;
    }

    .rag-products-grid {
        grid-template-columns: 1fr;
    }

    .rag-expert-grid {
        grid-template-columns: 1fr;
    }

    .rag-solution-flow {
        flex-direction: column;
    }
}

/* Professional RAG sections */
.rag-highlight-box {
    max-width: 860px;
    margin: 36px auto 0;
    padding: 24px 28px;
    background: rgba(102, 126, 234, 0.14);
    border: 1px solid rgba(102, 126, 234, 0.35);
    border-radius: 14px;
    text-align: center;
    color: #dddddd;
    line-height: 1.75;
    font-size: 1.02rem;
}

.rag-highlight-box strong {
    color: #00d4ff;
}

.rag-solution-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 4px;
    max-width: 1050px;
    margin: 0 auto;
}

.rag-solution-step {
    padding: 12px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.28);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    min-width: 110px;
}

.rag-expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.rag-expert-card {
    padding: 26px 24px;
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.rag-expert-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.45);
}

.rag-expert-card i {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-bottom: 14px;
}

.rag-expert-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: #ffffff;
}

.rag-expert-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #bbbbbb;
    line-height: 1.6;
}

.rag-pricing-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.rag-pricing-item {
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 18px;
    padding: 32px;
}

.rag-pricing-item.rag-pricing-featured {
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.rag-pricing-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.rag-pricing-header h3 {
    margin: 0;
    font-size: 1.35rem;
    color: #ffffff;
}

.rag-pricing-meta {
    text-align: right;
}

.rag-pricing-meta .price {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #00d4ff;
}

.rag-pricing-meta .period {
    font-size: 0.88rem;
    color: #aaaaaa;
}

.rag-pricing-purpose {
    margin: 0 0 18px;
    color: #cccccc;
    line-height: 1.65;
}

.rag-pricing-purpose strong {
    color: #ffffff;
}

.rag-pricing-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.rag-pricing-col h4 {
    margin: 0 0 10px;
    font-size: 0.92rem;
    color: #00d4ff;
    font-weight: 700;
}

.rag-pricing-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rag-pricing-col li {
    padding: 5px 0 5px 18px;
    font-size: 0.88rem;
    color: #bbbbbb;
    line-height: 1.5;
    position: relative;
}

.rag-pricing-col li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: #667eea;
}

.rag-pricing-col.rag-col-exclude li::before {
    content: '×';
    color: #ff6b6b;
}

.rag-pricing-deliverable {
    margin-top: 18px;
    padding: 14px 18px;
    background: rgba(102, 126, 234, 0.12);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #cccccc;
}

.rag-pricing-deliverable strong {
    color: #a8b4ff;
}

.rag-stack-group {
    margin-bottom: 28px;
    text-align: center;
}

.rag-stack-group h3 {
    font-size: 1rem;
    color: #00d4ff;
    margin: 0 0 14px;
    font-weight: 700;
}

.rag-stack-note {
    max-width: 780px;
    margin: 32px auto 0;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    font-size: 0.92rem;
    color: #bbbbbb;
    line-height: 1.7;
    text-align: center;
}

.at-faq-hero .rag-hero-title {
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
}

.rag-page-faq {
    max-width: 860px;
    margin: 0 auto;
}

.rag-page-faq .faq-item {
    margin-bottom: 16px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.rag-page-faq .faq-question h4 {
    margin: 0;
    padding: 18px 22px;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.rag-page-faq .faq-answer {
    padding: 0 22px 18px;
}

.rag-page-faq .faq-answer p {
    margin: 0;
    color: #bbbbbb;
    line-height: 1.65;
    font-size: 0.92rem;
}

.rag-product-suitable {
    display: block;
    margin: 10px 0 12px;
    padding: 10px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    font-size: 0.82rem;
    color: #bbbbbb;
    line-height: 1.5;
    text-align: left;
}

.rag-product-suitable strong {
    color: #a8b4ff;
    font-weight: 700;
}

.rag-pricing-simple {
    display: grid;
    gap: 18px;
    max-width: 820px;
    margin: 0 auto;
}

.rag-pricing-simple-item {
    padding: 26px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 14px;
}

.rag-pricing-simple-item.rag-pricing-simple-featured {
    border-color: rgba(102, 126, 234, 0.45);
    background: rgba(102, 126, 234, 0.1);
}

.rag-pricing-simple-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.rag-pricing-simple-head h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
}

.rag-pricing-simple-price {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 800;
    color: #00d4ff;
    white-space: nowrap;
}

.rag-pricing-simple-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #bbbbbb;
    line-height: 1.7;
}

.rag-pricing-simple-sub {
    margin-top: 10px !important;
    font-size: 0.88rem !important;
    color: #999999 !important;
}

.rag-pricing-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

.rag-pricing-cta .btn {
    width: auto;
    margin-top: 0;
    padding: 14px 28px;
    font-size: 1rem;
}

.rag-pricing-disclaimer {
    max-width: 920px;
    margin: 0 auto 20px;
    padding: 22px 26px;
    background: rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 14px;
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.75;
    text-align: left;
}

.rag-pricing-volume-note {
    max-width: 920px;
    margin: 0 auto 32px;
    padding: 18px 22px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 12px;
    font-size: 0.9rem;
    color: #bbbbbb;
    line-height: 1.75;
    text-align: left;
}

.rag-pricing-scope {
    padding-bottom: 10px;
}

.rag-pricing-scope-note {
    display: block;
    margin-top: 6px;
    padding-left: 0;
    font-size: 0.78rem;
    color: #999999;
    line-height: 1.55;
}

.rag-compare-note {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: #999999;
    font-weight: 400;
}

.rag-product-purpose {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    color: #8fe8ff;
    font-weight: 600;
}


