/* ===================================
   GyanRank Brand Design System v4.0
   Premium Educational Platform Branding
   =================================== */
@import url('./modern-brand-update.css');

/* ========== Brand Variables ========== */
:root {
    --gr-primary: #4f46e5;
    --gr-primary-dark: #3730a3;
    --gr-secondary: #7c3aed;
    --gr-accent: #f59e0b;
    --gr-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gr-gradient-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    --gr-gradient-light: linear-gradient(135deg, #eef2ff 0%, #f3e8ff 100%);
    --gr-success: #10b981;
    --gr-info: #0ea5e9;
    --gr-warning: #f59e0b;
    --gr-danger: #ef4444;
    --gr-dark: #0f172a;
    --gr-body-bg: #f8fafc;
    --gr-text: #1e293b;
    --gr-text-muted: #64748b;
    --gr-border: #e2e8f0;
    --gr-radius: 16px;
    --gr-radius-sm: 10px;
    --gr-radius-lg: 24px;
    --gr-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    --gr-shadow-md: 0 8px 30px rgba(79, 70, 229, 0.12);
    --gr-shadow-lg: 0 16px 48px rgba(79, 70, 229, 0.18);
    --gr-shadow-glow: 0 0 30px rgba(79, 70, 229, 0.25);
    --gr-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Body ========== */
.gr-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gr-body-bg);
    color: var(--gr-text);
    -webkit-font-smoothing: antialiased;
}

/* ========== Top Bar (Public Slim Strip) ========== */
div.gr-topbar,
.gr-public-topbar {
    background: #0b0e1e !important;
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    letter-spacing: 0.2px;
    display: flex !important;
    align-items: center !important;
}
.gr-topbar-social {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    transition: var(--gr-transition);
}
.gr-topbar-social:hover {
    color: var(--gr-primary);
}

/* ========== Navbar ========== */
.gr-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    padding: 8px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.08);
    z-index: 1050;
    transition: var(--gr-transition);
}

.gr-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}
.gr-logo {
    filter: none !important;
    box-shadow: none !important;
    transition: var(--gr-transition);
}
/* Ensure NO shadow under any images: "image ke niche saddo nahi hoga" */
img, .gr-logo, .hero-img, [class*="logo"], [class*="img"] {
    box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}
.gr-brand:hover .gr-logo {
    transform: scale(1.02);
}
.gr-brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gr-dark);
    letter-spacing: -0.5px;
}
.gr-brand-accent {
    background: var(--gr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gr-toggler {
    border: 2px solid var(--gr-primary) !important;
    border-radius: var(--gr-radius-sm);
    padding: 8px 12px;
    color: var(--gr-primary);
    font-size: 1.4rem;
    transition: var(--gr-transition);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gr-toggler:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
    outline: none;
}
.gr-toggler:active {
    background: var(--gr-gradient);
    color: white;
    border-color: transparent !important;
}
.gr-toggler .bi-list {
    font-size: 1.5rem;
    line-height: 1;
}

.gr-nav-link {
    font-weight: 600 !important;
    font-size: 0.92rem;
    color: var(--gr-text) !important;
    padding: 8px 16px !important;
    border-radius: var(--gr-radius-sm);
    transition: var(--gr-transition);
    position: relative;
}
.gr-nav-link:hover,
.gr-nav-link.active {
    color: var(--gr-primary) !important;
    background: var(--gr-gradient-light);
}
.gr-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gr-gradient);
    border-radius: 3px;
}

/* ========================================================
   GyanRank — Unified Glassmorphic Button System
   Consistent Height, Width, Colors, Mobile-Friendly, Subtle Glass Effect
   ======================================================== */

:root {
    --gr-btn-height: 46px;
    --gr-btn-height-sm: 38px;
    --gr-btn-height-lg: 52px;
    --gr-glass-blur: blur(12px) saturate(180%);
}

/* Base Button Uniformity */
.btn,
.gr-btn-primary,
.gr-btn-white,
.gr-btn-outline,
.gr-btn-success,
.btn-hero-primary {
    min-height: var(--gr-btn-height);
    padding: 10px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.2px;
    line-height: 1.4;
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    backdrop-filter: var(--gr-glass-blur);
    -webkit-backdrop-filter: var(--gr-glass-blur);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn:active,
.gr-btn-primary:active,
.gr-btn-white:active,
.gr-btn-outline:active {
    transform: translateY(1px) scale(0.985);
}

.btn:focus-visible,
.gr-btn-primary:focus-visible,
.gr-btn-white:focus-visible,
.gr-btn-outline:focus-visible {
    outline: 2px solid var(--gr-primary);
    outline-offset: 2px;
}

/* Sizing Modifiers */
.btn-sm, .gr-btn-sm {
    min-height: var(--gr-btn-height-sm) !important;
    padding: 6px 16px !important;
    font-size: 0.82rem !important;
    border-radius: 50px !important;
}

.btn-lg, .gr-btn-lg {
    min-height: var(--gr-btn-height-lg) !important;
    padding: 14px 32px !important;
    font-size: 1rem !important;
    border-radius: 50px !important;
}

/* 1. Primary Glass Button */
.gr-btn-primary,
.btn-primary {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.94) 0%, rgba(99, 102, 241, 0.94) 50%, rgba(124, 58, 237, 0.94) 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.gr-btn-primary:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #6d28d9 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
}

/* Glowing Accent Effect */
.gr-btn-glow {
    animation: gr-btn-pulse 2.8s ease-in-out infinite;
}
@keyframes gr-btn-pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    }
    50% {
        box-shadow: 0 6px 26px rgba(124, 58, 237, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.55);
    }
}

/* 2. White / Frosted Glass Button (Used on Dark / Gradient Hero & Cards) */
.gr-btn-white,
.btn-white {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #3730a3 !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 1) !important;
}

.gr-btn-white:hover,
.btn-white:hover {
    background: #ffffff !important;
    color: #312e81 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16), 0 0 20px rgba(255, 255, 255, 0.6) !important;
}

/* 3. Translucent Outline Glass Button (For Hero & Dark Contexts) */
.gr-btn-outline {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
}

.gr-btn-outline:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
}

/* 4. Light Background Outline Button (For Pricing / Content) */
.btn-outline-primary {
    background: rgba(79, 70, 229, 0.05) !important;
    color: #4f46e5 !important;
    border: 1.5px solid rgba(79, 70, 229, 0.35) !important;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.35) !important;
}

/* 5. Success / Green Glass Button */
.btn-success,
.gr-btn-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.94) 0%, rgba(5, 150, 105, 0.94) 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
}

.btn-success:hover,
.gr-btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45) !important;
}

/* 6. Form Submit Buttons (Auth Pages) */
form button[type="submit"].btn,
.btn-submit {
    min-height: 48px;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========== Dropdown ========== */
.gr-dropdown {
    border: none !important;
    box-shadow: var(--gr-shadow-md) !important;
    border-radius: var(--gr-radius) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    animation: gr-dropdown-in 0.2s ease;
}
.gr-dropdown .dropdown-item {
    border-radius: var(--gr-radius-sm);
    font-weight: 500;
    transition: var(--gr-transition);
}
.gr-dropdown .dropdown-item:hover {
    background: var(--gr-gradient-light);
}
@keyframes gr-dropdown-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== Hero Section ========== */
.gr-hero {
    background: var(--gr-gradient);
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
}
.gr-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}
.gr-hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--gr-body-bg), transparent);
}
.gr-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    line-height: 1.15;
    letter-spacing: -1px;
}
.gr-hero-subtitle {
    color: rgba(255,255,255,0.92);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 700px;
}
.gr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

/* ========== Page Header (inner pages) ========== */
.gr-page-header {
    background: var(--gr-gradient);
    padding: 70px 0 50px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.gr-page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}
.gr-page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 15px rgba(0,0,0,0.2);
    position: relative;
}
.gr-page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    position: relative;
}

/* ========== Section Styles ========== */
.gr-section {
    padding: 80px 0;
}
.gr-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--gr-dark);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.gr-section-subtitle {
    color: var(--gr-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.gr-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gr-gradient-light);
    color: var(--gr-primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* ========== Cards ========== */
.gr-card {
    background: white;
    border: 1px solid rgba(102, 126, 234, 0.06);
    border-radius: var(--gr-radius);
    box-shadow: var(--gr-shadow);
    transition: var(--gr-transition);
    overflow: hidden;
}
.gr-card:hover {
    box-shadow: var(--gr-shadow-md);
    border-color: rgba(102, 126, 234, 0.12);
}

.gr-feature-card {
    background: white;
    border-radius: var(--gr-radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.06);
    box-shadow: var(--gr-shadow);
    transition: var(--gr-transition);
    position: relative;
    overflow: hidden;
}
.gr-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gr-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.gr-feature-card:hover {
    box-shadow: var(--gr-shadow-md);
}
/* ========== Why Choose GyanRank (Modernized Grid) ========== */
.gr-why-section {
    position: relative;
    padding: 95px 0 90px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.gr-why-section .gr-mesh-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, rgba(124, 58, 237, 0.02) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.gr-why-section .gr-mesh-bg-1 { top: -120px; left: -120px; }
.gr-why-section .gr-mesh-bg-2 { bottom: -120px; right: -120px; }

.gr-why-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.gr-why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--card-accent, var(--gr-gradient));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gr-why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.14);
}

.gr-why-card:hover::before {
    opacity: 1;
}

.gr-why-icon-box {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #ffffff;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gr-why-card:hover .gr-why-icon-box {
    transform: scale(1.08) rotate(3deg);
}

.gr-why-card-pill {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gr-why-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 18px;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.gr-why-card-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.gr-why-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.gr-why-chip {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.gr-why-card:hover .gr-why-chip {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

/* Feature Accent Gradients */
.gr-icon-indigo { background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%); }
.gr-icon-emerald { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.gr-icon-amber { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.gr-icon-purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.gr-icon-cyan { background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%); }
.gr-icon-rose { background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%); }

/* Bottom Action Bar */
.gr-why-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 36px 40px;
    color: #ffffff;
    box-shadow: 0 20px 40px -15px rgba(49, 46, 129, 0.4);
    position: relative;
    overflow: hidden;
}

.gr-why-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.7;
    pointer-events: none;
}

.gr-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    transition: var(--gr-transition);
}
.gr-icon-box-primary { background: var(--gr-gradient); box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3); }
.gr-icon-box-success { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3); }
.gr-icon-box-info { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3); }
.gr-icon-box-warning { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3); }
.gr-icon-box-danger { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3); }
.gr-icon-box-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3); }

.gr-feature-card:hover .gr-icon-box {
    transform: scale(1.05);
}

/* ========== Role Cards (For Institutes/Teachers/Students) ========== */
.gr-role-card {
    border-radius: var(--gr-radius-lg);
    overflow: hidden;
    transition: var(--gr-transition);
    border: none;
    box-shadow: var(--gr-shadow-md);
}
.gr-role-card:hover {
    box-shadow: var(--gr-shadow-lg);
}
.gr-role-card .card-body {
    padding: 36px 28px;
    color: white;
}
.gr-role-card .gr-role-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    border: 3px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: var(--gr-transition);
}
.gr-role-card:hover .gr-role-icon {
    background: rgba(255,255,255,0.25);
}

/* ========== Institute Cards ========== */
.gr-institute-card {
    border-radius: var(--gr-radius-lg);
    overflow: hidden;
    transition: var(--gr-transition);
    border: 1px solid var(--gr-border);
    box-shadow: var(--gr-shadow);
    background: white;
}
.gr-institute-card:hover {
    box-shadow: var(--gr-shadow-md);
    border-color: var(--gr-primary);
}
.gr-institute-card .gr-inst-banner {
    height: 160px;
    object-fit: cover;
    width: 100%;
}
.gr-institute-card .gr-inst-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: -35px;
    position: relative;
    z-index: 2;
}
.gr-inst-stats {
    display: flex;
    gap: 8px;
}
.gr-inst-stat {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    border-radius: var(--gr-radius-sm);
    background: var(--gr-gradient-light);
}
.gr-inst-stat .gr-stat-num {
    font-weight: 800;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
}

/* ========== Pricing Cards ========== */
.gr-pricing-card {
    border-radius: var(--gr-radius-lg);
    overflow: hidden;
    transition: var(--gr-transition);
    border: 2px solid var(--gr-border);
    box-shadow: var(--gr-shadow);
    background: white;
    position: relative;
}
.gr-pricing-card:hover {
    box-shadow: var(--gr-shadow-lg);
}
.gr-pricing-card.gr-popular {
    border-color: var(--gr-success);
    transform: scale(1.03);
    z-index: 2;
}
.gr-pricing-card.gr-popular:hover {
    transform: scale(1.03);
}
.gr-pricing-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--gr-danger);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gr-price {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

/* ========== Blog Cards ========== */
.gr-blog-card {
    background: white;
    border-radius: var(--gr-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.08);
    box-shadow: var(--gr-shadow);
    transition: var(--gr-transition);
    height: 100%;
}
.gr-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gr-shadow-lg);
}
.gr-blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--gr-gradient-light);
}
.gr-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--gr-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.gr-blog-excerpt {
    color: var(--gr-text-muted);
    line-height: 1.7;
}
.gr-blog-hero {
    background: var(--gr-gradient);
    color: white;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--gr-shadow-lg);
}
.gr-blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 36%);
    pointer-events: none;
}
.gr-blog-article {
    background: white;
    border-radius: 28px;
    box-shadow: var(--gr-shadow-lg);
    overflow: hidden;
}
.gr-blog-article .gr-blog-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gr-dark);
}
.gr-blog-article .gr-blog-content h1,
.gr-blog-article .gr-blog-content h2,
.gr-blog-article .gr-blog-content h3,
.gr-blog-article .gr-blog-content h4,
.gr-blog-article .gr-blog-content h5,
.gr-blog-article .gr-blog-content h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
}
.gr-blog-article .gr-blog-content p {
    margin-bottom: 1rem;
}
.gr-blog-article .gr-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}
.gr-blog-article .gr-blog-content pre,
.gr-blog-article .gr-blog-content code {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 14px;
    padding: 1rem;
    overflow-x: auto;
}
.gr-blog-editor {
    min-height: 280px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== Flow / Road Workflow Section (Branded Signature) ========== */
.gr-flow-section {
    position: relative;
    overflow: hidden;
    padding: 95px 0 90px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}
.gr-flow-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0, transparent 28%),
        radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.08) 0, transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.08) 0, transparent 28%);
    pointer-events: none;
}
.gr-road-flow {
    padding: 30px 0 10px;
    position: relative;
}
.gr-road-path {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 14px;
    transform: translateY(-50%);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.85)) padding-box,
        linear-gradient(90deg, #cbd5e1, #e2e8f0) border-box;
    border: 2px solid transparent;
    box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.06);
    z-index: 1;
}
.gr-road-path::before {
    content: '';
    position: absolute;
    inset: 3px 8px;
    border-radius: inherit;
    background: repeating-linear-gradient(
        90deg,
        rgba(79, 70, 229, 0.22) 0,
        rgba(79, 70, 229, 0.22) 18px,
        transparent 18px,
        transparent 38px
    );
    animation: roadFlow 2.8s linear infinite;
}
.gr-road-step {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(99, 102, 241, 0.16);
    border-radius: 26px;
    box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.12);
    padding: 38px 28px 32px;
    text-align: center;
    min-height: 290px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    overflow: hidden;
}
.gr-road-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--step-accent, var(--gr-gradient));
}
.gr-road-step::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -22px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #6366f1;
    transform: translateX(-50%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}
.gr-road-step:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 22px 45px -12px rgba(79, 70, 229, 0.22);
}
.gr-road-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--gr-gradient-light, rgba(79, 70, 229, 0.08));
    color: var(--gr-primary, #4f46e5);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 1px solid rgba(79, 70, 229, 0.15);
}
.gr-road-step-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 22px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 34px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.gr-road-step:hover .gr-road-step-icon {
    transform: scale(1.08) rotate(3deg);
}
.gr-road-step-primary { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.gr-road-step-warning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.gr-road-step-success { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.gr-road-marker {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}
.gr-road-marker-dot {
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.16), 0 12px 24px rgba(239, 68, 68, 0.3);
    animation: roadMarker 6s linear infinite;
}

@keyframes roadFlow {
    from { background-position: 0 0; }
    to { background-position: 72px 0; }
}

@keyframes roadFlowVertical {
    from { background-position: 0 0; }
    to { background-position: 0 72px; }
}

@keyframes roadMarker {
    0% { left: 0%; transform: translateX(0) scale(1); }
    16% { left: 15%; transform: translateX(-50%) scale(1.05); }
    50% { left: 50%; transform: translateX(-50%) scale(1); }
    84% { left: 85%; transform: translateX(-50%) scale(1.05); }
    100% { left: 100%; transform: translateX(-100%) scale(1); }
}

@keyframes roadMarkerVertical {
    0% { top: 0%; transform: translateY(0) scale(1); }
    16% { top: 15%; transform: translateY(-50%) scale(1.05); }
    50% { top: 50%; transform: translateY(-50%) scale(1); }
    84% { top: 85%; transform: translateY(-50%) scale(1.05); }
    100% { top: 100%; transform: translateY(-100%) scale(1); }
}

/* Responsive Road Flow */
@media (max-width: 991px) {
    .gr-road-path {
        left: 24px;
        right: auto;
        top: 24px;
        bottom: 24px;
        width: 14px;
        height: auto;
        transform: none;
    }
    .gr-road-path::before {
        background: repeating-linear-gradient(
            180deg,
            rgba(79, 70, 229, 0.22) 0,
            rgba(79, 70, 229, 0.22) 18px,
            transparent 18px,
            transparent 38px
        );
        animation: roadFlowVertical 2.8s linear infinite;
    }
    .gr-road-marker {
        left: 31px;
        right: auto;
        top: 24px;
        bottom: 24px;
        width: 0;
        height: auto;
        transform: none;
    }
    .gr-road-marker-dot {
        top: 0;
        left: 50%;
        margin-top: 0;
        margin-left: -11px;
        animation: roadMarkerVertical 6s linear infinite;
    }
    .gr-road-step {
        min-height: auto;
        padding: 30px 24px 28px 56px;
        text-align: left;
    }
    .gr-road-step::after {
        left: 24px;
        top: 36px;
        transform: translateX(-50%);
    }
    .gr-road-step-icon {
        margin: 0 0 18px;
        width: 68px;
        height: 68px;
        font-size: 26px;
        border-radius: 20px;
    }
}

/* ========== Testimonials ========== */
.gr-testimonial-card {
    background: white;
    border-radius: 22px;
    border: 1px solid rgba(14, 116, 144, 0.12);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    padding: 24px;
    transition: var(--gr-transition);
    position: relative;
    overflow: hidden;
}
.gr-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
}
.gr-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}
.gr-testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.gr-testimonial-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    letter-spacing: 1px;
}
.gr-testimonial-text {
    color: #334155;
    line-height: 1.8;
    font-size: 0.98rem;
}

/* ========== Flow / Road Section ========== */
.gr-flow-section {
    position: relative;
    overflow: hidden;
}
.gr-flow-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0, transparent 28%),
        radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.08) 0, transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.08) 0, transparent 28%);
    pointer-events: none;
}
.gr-road-flow {
    padding: 22px 0 8px;
}
.gr-road-path {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 14px;
    transform: translateY(-50%);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.85)) padding-box,
        linear-gradient(90deg, #cbd5e1, #e2e8f0) border-box;
    border: 2px solid transparent;
    box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.06);
}
.gr-road-path::before {
    content: '';
    position: absolute;
    inset: 3px 8px;
    border-radius: inherit;
    background: repeating-linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.18) 0,
        rgba(59, 130, 246, 0.18) 18px,
        transparent 18px,
        transparent 38px
    );
    animation: roadFlow 2.8s linear infinite;
}
.gr-road-step {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(102, 126, 234, 0.10);
    border-radius: 26px;
    box-shadow: var(--gr-shadow-md);
    padding: 34px 26px 28px;
    text-align: center;
    min-height: 270px;
    backdrop-filter: blur(8px);
}
.gr-road-step::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -22px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 4px solid #cbd5e1;
    transform: translateX(-50%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
}
.gr-road-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--gr-shadow-lg);
}
.gr-road-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--gr-gradient-light);
    color: var(--gr-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}
.gr-road-step-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 22px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 34px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.gr-road-step-primary { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.gr-road-step-warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gr-road-step-success { background: linear-gradient(135deg, #10b981, #059669); }
.gr-road-marker {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 0;
    transform: translateY(-50%);
    pointer-events: none;
}
.gr-road-marker-dot {
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.14), 0 12px 24px rgba(239, 68, 68, 0.28);
    animation: roadMarker 6s linear infinite;
}

@keyframes roadFlow {
    from { background-position: 0 0; }
    to { background-position: 72px 0; }
}

@keyframes roadFlowVertical {
    from { background-position: 0 0; }
    to { background-position: 0 72px; }
}

@keyframes roadMarker {
    0% { left: 0%; transform: translateX(0) scale(1); }
    16% { left: 15%; transform: translateX(-50%) scale(1.05); }
    50% { left: 50%; transform: translateX(-50%) scale(1); }
    84% { left: 85%; transform: translateX(-50%) scale(1.05); }
    100% { left: 100%; transform: translateX(-100%) scale(1); }
}

@keyframes roadMarkerVertical {
    0% { top: 0%; transform: translateY(0) scale(1); }
    16% { top: 15%; transform: translateY(-50%) scale(1.05); }
    50% { top: 50%; transform: translateY(-50%) scale(1); }
    84% { top: 85%; transform: translateY(-50%) scale(1.05); }
    100% { top: 100%; transform: translateY(-100%) scale(1); }
}

/* ========== Stats Bar ========== */
.gr-stat-card {
    text-align: center;
    padding: 30px 20px;
}
.gr-stat-card .gr-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
    color: white;
}
.gr-stat-card .gr-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

/* ========== FAQ / Accordion ========== */
.gr-accordion .accordion-item {
    border: 1px solid var(--gr-border) !important;
    border-radius: var(--gr-radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--gr-shadow);
}
.gr-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 24px;
    border-radius: var(--gr-radius) !important;
    background: white;
    color: var(--gr-text);
}
.gr-accordion .accordion-button:not(.collapsed) {
    background: var(--gr-gradient);
    color: white;
    box-shadow: none;
}
.gr-accordion .accordion-button:not(.collapsed) i {
    color: white !important;
}
.gr-accordion .accordion-button:focus {
    box-shadow: none;
}
.gr-accordion .accordion-body {
    padding: 20px 24px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gr-text-muted);
}

/* ========== CTA Section ========== */
.gr-cta {
    background: var(--gr-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.gr-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

/* ========== Footer ========== */
.gr-footer {
    position: relative;
    margin-top: 0;
}
.gr-footer-main {
    background: var(--gr-dark);
    padding: 60px 0 20px;
    position: relative;
    border-top: 3px solid;
    border-image: var(--gr-gradient) 1;
}
.gr-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gr-footer-brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
}
.gr-footer-desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.7;
}
.gr-footer-heading {
    color: #93c5fd;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(147, 197, 253, 0.2);
    display: inline-block;
}
.gr-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gr-footer-links li {
    margin-bottom: 10px;
}
.gr-footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--gr-transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.gr-footer-links a i {
    font-size: 0.7rem;
    transition: var(--gr-transition);
}
.gr-footer-links a:hover {
    color: #93c5fd;
    padding-left: 6px;
}
.gr-footer-links a:hover i {
    color: var(--gr-primary);
}

/* Footer Social Buttons */
.gr-footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.gr-social-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
    text-decoration: none;
    transition: var(--gr-transition);
    border: 2px solid transparent;
}
.gr-social-btn:hover {
    opacity: 0.9;
}
.gr-social-fb { background: rgba(24, 119, 242, 0.1); color: #1877f2; border-color: rgba(24, 119, 242, 0.3); }
.gr-social-fb:hover { background: #1877f2; color: white; box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4); }
.gr-social-ig { background: rgba(225, 48, 108, 0.12); color: #e1306c; border-color: rgba(225, 48, 108, 0.3); }
.gr-social-ig:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4); }
.gr-social-yt { background: rgba(255, 0, 0, 0.1); color: #ff0000; border-color: rgba(255, 0, 0, 0.3); }
.gr-social-yt:hover { background: #ff0000; color: white; box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4); }
.gr-social-wa { background: rgba(37, 211, 102, 0.15); color: #25d366; border-color: rgba(37, 211, 102, 0.3); }
.gr-social-wa:hover { background: #25d366; color: white; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }
.gr-social-li:hover { background: #0077b5; color: white; box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4); }
.gr-social-gh { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); }
.gr-social-gh:hover { background: #fff; color: #000; box-shadow: 0 5px 15px rgba(255,255,255,0.4); }
.gr-social-uw { background: rgba(20, 168, 0, 0.1); color: #14a800; border-color: rgba(20, 168, 0, 0.3); }
.gr-social-uw:hover { background: #14a800; color: white; box-shadow: 0 5px 15px rgba(20, 168, 0, 0.4); }

.gr-footer-app {
    margin-top: 22px;
}
.gr-footer-app-title {
    color: #93c5fd;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
}
.gr-playstore-link {
    display: inline-block;
    max-width: 180px;
    transition: var(--gr-transition);
}
.gr-playstore-link:hover {
    transform: translateY(-2px);
}
.gr-playstore-badge {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
}

/* App Download Popup */
.gr-app-popup-content {
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), rgba(255, 255, 255, 0.98) 45%);
}
.gr-app-popup-header {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 58%, #0ea5e9 100%);
    color: #fff;
    text-align: center;
    padding: 22px 20px 20px;
    position: relative;
    overflow: hidden;
}
.gr-app-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    opacity: 0.95;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.gr-app-popup-close:hover {
    transform: scale(1.06);
    background-color: rgba(255, 255, 255, 0.32);
}
.gr-app-popup-close:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35);
}
.gr-app-popup-header::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    right: -70px;
    top: -80px;
}
.gr-app-popup-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
}
.gr-app-popup-logo-wrap {
    position: relative;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}
.gr-app-popup-logo {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    border-radius: 22px;
    border: 3px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.4);
}
.gr-app-popup-chip {
    position: absolute;
    right: calc(50% - 84px);
    bottom: -6px;
    transform: translateX(50%);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #0b1020;
    background: #fde047;
    border-radius: 999px;
    padding: 4px 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.gr-app-popup-subtitle {
    color: rgba(255, 255, 255, 0.88);
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.5;
    font-size: 0.92rem;
}
.gr-app-popup-body {
    padding: 22px 20px 20px;
    text-align: center;
}
.gr-app-popup-points {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}
.gr-app-popup-points span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 600;
}
.gr-app-popup-points i {
    color: #16a34a;
}
.gr-popup-playstore-link {
    transition: transform 0.2s ease, filter 0.2s ease;
}
.gr-popup-playstore-link:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
}
.gr-popup-playstore-badge {
    width: 220px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}
.gr-app-popup-later {
    font-size: 0.84rem;
    font-weight: 600;
}
.gr-app-popup-later:hover {
    color: #0f172a !important;
}

/* Keep logo size stable even if other global img styles exist */
#studentAppPopup .gr-app-popup-logo {
    max-width: 96px;
    max-height: 96px;
}

/* Footer Bottom */
.gr-footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 16px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.gr-heart-beat {
    color: #ef4444;
    animation: gr-heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}
@keyframes gr-heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.gr-wpfixhub-link {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-decoration: none;
    transition: var(--gr-transition);
}
.gr-wpfixhub-link:hover {
    letter-spacing: 1px;
}

/* ========== Contact Cards ========== */
.gr-contact-card {
    border-radius: var(--gr-radius-lg);
    border: none;
    box-shadow: var(--gr-shadow-md);
    transition: var(--gr-transition);
    overflow: hidden;
}
.gr-contact-card:hover {
    box-shadow: var(--gr-shadow-lg);
}
.gr-contact-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

/* ========== Form Styles ========== */
.gr-form .form-control,
.gr-form .form-select {
    border: 2px solid var(--gr-border);
    border-radius: var(--gr-radius-sm);
    padding: 12px 16px;
    font-size: 0.92rem;
    transition: var(--gr-transition);
}
.gr-form .form-control:focus,
.gr-form .form-select:focus {
    border-color: var(--gr-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}
.gr-form .input-group-text {
    border: 2px solid var(--gr-border);
    border-right: none;
    background: var(--gr-gradient-light);
    color: var(--gr-primary);
    border-radius: var(--gr-radius-sm) 0 0 var(--gr-radius-sm);
}
.gr-form .input-group .form-control {
    border-left: none;
    border-radius: 0 var(--gr-radius-sm) var(--gr-radius-sm) 0;
}

/* ========== Utility Classes ========== */
.gr-gradient-text {
    background: var(--gr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gr-bg-gradient { background: var(--gr-gradient); }
.gr-bg-light { background: var(--gr-gradient-light); }
.gr-text-primary { color: var(--gr-primary) !important; }
.gr-border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--gr-gradient) border-box;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .gr-hero { padding: 70px 0 60px; }
    .gr-hero-title { font-size: 2.5rem; }
    .gr-hero-subtitle { font-size: 1.05rem; }
    .gr-section { padding: 50px 0; }
    .gr-section-title { font-size: 1.8rem; }
    .gr-page-header { padding: 50px 0 35px; }
    .gr-page-header h1 { font-size: 2rem; }
    
    /* Navbar mobile collapse */
    .gr-navbar .navbar-collapse {
        background: white;
        border-radius: var(--gr-radius);
        box-shadow: var(--gr-shadow-lg);
        padding: 12px;
        margin-top: 12px;
        border: 1px solid var(--gr-border);
        max-height: 80vh;
        overflow-y: auto;
    }
    .gr-navbar .navbar-collapse .nav-item {
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    .gr-navbar .navbar-collapse .nav-item:last-child { border-bottom: none; }
    .gr-nav-link { padding: 12px 16px !important; font-size: 0.95rem; border-radius: 8px !important; }
    .gr-nav-link:hover, .gr-nav-link.active { background: var(--gr-gradient-light); }
    .gr-nav-link.active::after { display: none; }
    .gr-navbar .navbar-collapse .gr-btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        padding: 12px 20px;
    }
    .gr-navbar .navbar-collapse .dropdown-menu {
        box-shadow: none !important;
        border: 1px solid var(--gr-border) !important;
        margin-top: 4px !important;
        position: static !important;
        transform: none !important;
        width: 100%;
    }
    
    /* CTA Section */
    .gr-cta { padding: 50px 0; }
    
    /* Footer */
    .gr-footer-brand { justify-content: center; }
    .gr-footer-desc { text-align: center; }
    .gr-footer-socials { justify-content: center; }
    .gr-footer-app { text-align: center; }
    .gr-footer-heading { display: block; text-align: left; }
    
    /* Feature cards */
    .gr-feature-card { padding: 28px 20px; }
    .gr-icon-box { width: 56px; height: 56px; font-size: 24px; }
    
    /* Role cards */
    .gr-role-card .card-body { padding: 28px 20px; }
    .gr-role-card .gr-role-icon { width: 64px; height: 64px; font-size: 28px; }
    
    /* Pricing cards */
    .gr-pricing-card.gr-popular { transform: none; }
    .gr-pricing-card.gr-popular:hover { transform: none; }

    /* Flow section */
    .gr-road-path {
        left: 18px;
        right: auto;
        top: 18px;
        bottom: 18px;
        width: 14px;
        height: auto;
        transform: none;
    }
    .gr-road-path::before {
        inset: 8px 3px;
        background: repeating-linear-gradient(
            180deg,
            rgba(59, 130, 246, 0.18) 0,
            rgba(59, 130, 246, 0.18) 18px,
            transparent 18px,
            transparent 38px
        );
        animation: roadFlowVertical 2.8s linear infinite;
    }
    .gr-road-marker {
        left: 18px;
        right: auto;
        top: 18px;
        bottom: 18px;
        width: 0;
        transform: none;
    }
    .gr-road-marker-dot {
        top: 0;
        left: 50%;
        margin-top: 0;
        margin-left: -11px;
        animation: roadMarkerVertical 6s linear infinite;
    }
    .gr-road-step {
        min-height: auto;
        padding: 28px 20px 24px 44px;
        text-align: left;
    }
    .gr-road-step::after {
        left: 18px;
        top: 32px;
        transform: translateX(-50%);
    }
    .gr-road-step-icon {
        margin: 0 0 18px;
        width: 72px;
        height: 72px;
        font-size: 28px;
        border-radius: 20px;
    }

    .gr-road-flow { padding: 10px 0 0; }
    .gr-road-step { padding: 24px 18px 20px 42px; }
    .gr-road-step-badge { margin-bottom: 14px; }
    .gr-road-step-icon { width: 64px; height: 64px; font-size: 24px; border-radius: 18px; }
    
    /* Contact */
    .gr-contact-icon { width: 60px; height: 60px; font-size: 26px; }
}

@media (max-width: 576px) {
    .gr-hero { padding: 40px 0 35px; }
    .gr-hero-title { font-size: 1.75rem; letter-spacing: -0.5px; }
    .gr-hero-subtitle { font-size: 0.95rem; line-height: 1.6; }
    .gr-hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    /* Mobile-friendly Button Adjustments */
    .gr-hero .btn,
    .gr-hero .gr-btn-primary,
    .gr-hero .gr-btn-white,
    .gr-hero .gr-btn-outline {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        margin-bottom: 0 !important;
        min-height: 48px !important;
        padding: 12px 20px !important;
    }
    .gr-hero .d-flex.gap-3 {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .card .gr-btn-white,
    .card .btn-primary,
    .card .btn-outline-primary,
    .card .btn-success {
        width: 100% !important;
        min-height: 46px !important;
    }
    
    .gr-navbar { padding: 6px 0; }
    .gr-brand-text { font-size: 1.25rem; }
    .gr-logo { height: 36px !important; }
    .gr-toggler { padding: 4px 8px; font-size: 1.1rem; }
    
    .gr-section { padding: 40px 0; }
    .gr-section-title { font-size: 1.35rem; }
    .gr-section-subtitle { font-size: 0.9rem; }
    .gr-section-badge { font-size: 0.7rem; padding: 5px 14px; }
    
    .gr-page-header { padding: 35px 0 25px; }
    .gr-page-header h1 { font-size: 1.6rem; }
    .gr-page-header p { font-size: 0.95rem; }
    
    .gr-feature-card { padding: 24px 16px; margin-bottom: 0; }
    .gr-icon-box { width: 50px; height: 50px; font-size: 22px; border-radius: 14px; margin-bottom: 14px; }
    
    .gr-price { font-size: 2.5rem; }
    
    .gr-stat-card { padding: 20px 12px; }
    .gr-stat-card .gr-stat-number { font-size: 1.8rem; }
    .gr-stat-card .gr-stat-icon { width: 48px; height: 48px; font-size: 22px; border-radius: 12px; margin-bottom: 12px; }
    
    /* Footer mobile */
    .gr-footer-main { padding: 35px 0 10px; }
    .gr-footer-brand-text { font-size: 1.3rem; }
    .gr-footer-heading { font-size: 0.85rem; margin-bottom: 14px; padding-bottom: 8px; }
    .gr-footer-links a { font-size: 0.82rem; padding: 3px 0; }
    .gr-footer-bottom { font-size: 0.78rem; padding: 12px 0; }
    .gr-social-btn { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
    .gr-playstore-link { max-width: 160px; }
    .gr-app-popup-content { border-radius: 18px; }
    .gr-app-popup-header { padding: 18px 14px 14px; }
    .gr-app-popup-body { padding: 16px 14px; }
    .gr-app-popup-close { top: 10px; right: 10px; width: 30px; height: 30px; }
    .gr-app-popup-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 1.35rem; margin-bottom: 10px; }
    .gr-app-popup-logo { width: 72px; height: 72px; border-radius: 18px; }
    #studentAppPopup .gr-app-popup-logo { max-width: 72px; max-height: 72px; }
    .gr-app-popup-chip { font-size: 0.62rem; padding: 3px 8px; }
    .gr-app-popup-subtitle { font-size: 0.84rem; }
    .gr-app-popup-points span { font-size: 0.8rem; }
    .gr-popup-playstore-badge { width: 180px; }
    
    /* Contact cards */
    .gr-contact-icon { width: 52px; height: 52px; font-size: 22px; }
    .gr-contact-card .card-body { padding: 20px; }
    
    /* Form */
    .gr-form .form-control, .gr-form .form-select { padding: 10px 14px; font-size: 0.88rem; }
    
    /* Accordion */
    .gr-accordion .accordion-button { padding: 14px 18px; font-size: 0.9rem; }
    .gr-accordion .accordion-body { padding: 16px 18px; font-size: 0.88rem; }
    
    /* Institute card mobile */
    .gr-institute-card .gr-inst-banner { height: 120px; }
    .gr-institute-card .gr-inst-logo { width: 56px; height: 56px; margin-top: -28px; }
    .gr-inst-stat .gr-stat-num { font-size: 1.1rem; }
    
    /* CTA */
    .gr-cta { padding: 40px 0; }
    .gr-cta h2 { font-size: 1.5rem !important; }
    .gr-cta p { font-size: 0.9rem; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .gr-feature-card:hover { box-shadow: var(--gr-shadow); }
    .gr-feature-card:hover::before { transform: scaleX(0); }
    .gr-card:hover { box-shadow: var(--gr-shadow); }
    .gr-institute-card:hover { box-shadow: var(--gr-shadow); border-color: var(--gr-border); }
    .gr-pricing-card:hover { box-shadow: var(--gr-shadow); }
    .gr-btn-glow { animation: none; }
    .gr-nav-link { padding: 12px 16px !important; }
    .gr-footer-links a:hover { padding-left: 0; }
}

/* ========================================================
   Smooth Scrolling & Scroll Reveal Animations
   ======================================================== */
html {
    scroll-behavior: smooth;
}

/* Scroll reveal helper class */
.gr-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.gr-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay helpers */
.gr-reveal-delay-1 { transition-delay: 0.1s; }
.gr-reveal-delay-2 { transition-delay: 0.2s; }
.gr-reveal-delay-3 { transition-delay: 0.3s; }
.gr-reveal-delay-4 { transition-delay: 0.4s; }
.gr-reveal-delay-5 { transition-delay: 0.5s; }

/* Sticky Navbar scroll elevation */
.gr-navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.gr-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
}

/* Floating Back To Top Button */
.gr-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    text-decoration: none !important;
}

.gr-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gr-back-to-top:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.45);
}

/* ========================================================
   Clean, Elegant "Why Coaching Institutes Choose GyanRank" Cards
   Uncluttered, airy, and high aesthetic
   ======================================================== */
.gr-clean-why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.gr-clean-why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, linear-gradient(135deg, #4f46e5, #7c3aed));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gr-clean-why-card:hover {
    transform: translateY(-5px);
    border-color: #c7d2fe;
    box-shadow: 0 16px 36px -10px rgba(79, 70, 229, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gr-clean-why-card:hover::before {
    opacity: 1;
}

.gr-clean-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: transform 0.3s ease;
}

.gr-clean-why-card:hover .gr-clean-icon-box {
    transform: scale(1.08);
}

.gr-clean-why-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 10px;
}

.gr-clean-why-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Accent themes for icons */
.gr-accent-indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.gr-accent-amber { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.gr-accent-cyan { background: rgba(6, 182, 212, 0.12); color: #0284c7; }
.gr-accent-emerald { background: rgba(16, 185, 129, 0.12); color: #059669; }
.gr-accent-purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.gr-accent-rose { background: rgba(244, 63, 94, 0.12); color: #e11d48; }

/* ========================================================
   Branded GyanRank Pricing Table Enhancements
   ======================================================== */
.gr-price-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.gr-price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(79, 70, 229, 0.15);
    border-color: #a5b4fc;
}

.gr-price-card.featured {
    border: 2px solid #4f46e5;
    box-shadow: 0 12px 32px -8px rgba(79, 70, 229, 0.22);
}

.gr-price-badge-top {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========================================================
   GyanRank AI Intelligence Suite & Software Feature Styles
   ======================================================== */
.gr-ai-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    overflow: hidden;
}

.gr-ai-glow-1 {
    position: absolute;
    width: 450px;
    height: 450px;
    top: -100px;
    left: 5%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, rgba(79, 70, 229, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.gr-ai-glow-2 {
    position: absolute;
    width: 420px;
    height: 420px;
    bottom: -80px;
    right: 5%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, rgba(236, 72, 153, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.gr-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.25);
    font-size: 0.84rem;
    font-weight: 700;
    color: #4f46e5;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.08);
}

.gr-ai-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.gr-ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ai-accent, linear-gradient(135deg, #4f46e5, #7c3aed));
    opacity: 0.85;
}

.gr-ai-card:hover {
    transform: translateY(-6px);
    border-color: #c7d2fe;
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.15), 0 2px 8px rgba(0,0,0,0.04);
}

.gr-ai-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.gr-ai-card:hover .gr-ai-icon-wrap {
    transform: scale(1.08) rotate(2deg);
}

.gr-ai-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
}

.gr-ai-card-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 18px;
    flex-grow: 1;
}

.gr-ai-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #f1f5f9;
}

.gr-ai-tag {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

/* AI Interactive Simulator Panel */
.gr-simulator-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.gr-simulator-header {
    background: #0f172a;
    color: #ffffff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.gr-sim-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.gr-simulator-body {
    padding: 32px 28px;
    background: #f8fafc;
}

.gr-simulator-tab-btn {
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    padding: 8px 18px;
    border-radius: 50rem;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.gr-simulator-tab-btn.active,
.gr-simulator-tab-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-color: #4f46e5;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.gr-sim-option-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gr-sim-option-item:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.gr-sim-option-item.correct {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.06);
}

.gr-sim-option-letter {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gr-sim-option-item.correct .gr-sim-option-letter {
    background: #10b981;
    color: #ffffff;
}

