/* 
   Jagam Technologies - ONEQ.IN Platform Page Styles
*/

/* Core features layout */
.oneq-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.oneq-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.oneq-feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.08);
}

.oneq-feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: inline-block;
}

/* Zero Infrastructure cards */
.no-infrastructure-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--accent-rgb), 0.04) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 20px;
    margin: 4rem 0;
}

.frictionless-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: var(--transition-smooth);
}

.frictionless-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.frictionless-icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* 5 Steps workflow layout */
.workflow-step-wrapper {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2.5rem;
}

.workflow-step-wrapper::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: -35px;
    left: 17px;
    width: 2px;
    background: var(--border-color);
}

.workflow-step-wrapper:last-child::before {
    display: none;
}

.workflow-step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--accent);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 0 10px var(--accent-glow);
}

.workflow-step-wrapper:nth-child(even) .workflow-step-num {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.workflow-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: var(--transition-smooth);
}

.workflow-step-card:hover {
    border-color: var(--accent);
    box-shadow: var(--card-shadow);
}

.workflow-step-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.channel-badge {
    background: rgba(var(--accent-rgb), 0.06);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.problem-card {
    border-left: 5px solid #dc3545;
}

.solution-card {
    border-left: 5px solid #198754;
}

.problem-icon,
.solution-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    font-size: 2rem;
}

.problem-icon {
    background: rgba(220, 53, 69, .12);
    color: #dc3545;
}

.solution-icon {
    background: rgba(25, 135, 84, .12);
    color: #198754;
}

.problem-list,
.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li,
.solution-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    line-height: 1.7;
}

.problem-list li::before {
    content: "✖";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.solution-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #198754;
    font-weight: bold;
}

video {
    border-radius: 16px;
}

video,
img {
    transition: .35s ease;
}

img:hover {
    transform: scale(1.03);
}

.glass-card video {
    width: 100%;
    display: block;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: .35s ease;
}

.implementation-icon {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
}

.benefits-icon {
    background: rgba(25, 135, 84, .12);
    color: #198754;
}

.testimonial-icon {
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
}

.glass-card:hover .feature-icon {
    transform: scale(1.08);
}

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

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
    line-height: 1.7;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
    border-left: 4px solid var(--accent);
    padding-left: 18px;
}

.testimonial-author {
    margin-top: 25px;
    font-weight: 600;
    color: var(--text-white);
}

/* Uniform icon positioning inside cards */
.feature-icon,
.problem-icon,
.solution-icon {
    margin: 0 auto 1.5rem !important;
    flex-shrink: 0;
}

/* ==================================================
   ONEQ — JAGAM BRAND COLORS
   ================================================== */

/* Problems — Jagam Red */
.problem-card {
    border-left-color: #BC3327 !important;
}

.problem-card h3,
.problem-card .problem-title {
    color: #BC3327 !important;
}

.problem-card .problem-icon {
    color: #BC3327 !important;
    background: rgba(188, 51, 39, 0.12) !important;
    border-color: rgba(188, 51, 39, 0.35) !important;
}


/* Solutions — Jagam Blue */
.solution-card {
    border-left-color: #24408F !important;
}

.solution-card h3,
.solution-card .solution-title {
    color: #24408F !important;
}

.solution-card .solution-icon {
    color: #24408F !important;
    background: rgba(36, 64, 143, 0.12) !important;
    border-color: rgba(36, 64, 143, 0.35) !important;
}


/* ONEQ accent — Jagam Orange */
.oneq-accent,
.oneq-section .subheading {
    color: #F68920 !important;
}


/* Dark mode — Jagam brand colors */
[data-theme="dark"] .problem-card h3,
[data-theme="dark"] .problem-card .problem-title {
    color: #BC3327 !important;
}

[data-theme="dark"] .solution-card h3,
[data-theme="dark"] .solution-card .solution-title {
    color: #24408F !important;
}

/* ==================================================
   ONEQ FOOTER — FULL WIDTH FIX
   ================================================== */

.footer-section {
    width: 100%;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
}