@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&display=swap');

:root {
    --glms-primary: #7c3aed;
    --glms-primary-light: #f3e8ff;
    --glms-dark: #1e1b4b;
    --glms-text: #4b5563;
    --glms-bg-gradient: linear-gradient(135deg, #f3e8ff 0%, #fff 40%, #fff0f5 100%);
}

.glms-hero-section {
    background: var(--glms-bg-gradient);
    min-height: 100vh;
    padding: 80px 0 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.glms-sparkle {
    position: absolute;
    color: var(--glms-primary);
    opacity: 0.5;
    animation: glmsFloat 4s ease-in-out infinite;
}

.glms-sparkle-1 {
    top: 15%;
    left: 45%;
    font-size: 1.5rem;
}

.glms-sparkle-2 {
    top: 10%;
    right: 15%;
    font-size: 2rem;
}

.glms-sparkle-3 {
    bottom: 20%;
    right: 25%;
    font-size: 1rem;
    color: #fbbf24;
}

.glms-sparkle-4 {
    bottom: 30%;
    left: 55%;
    font-size: 1.2rem;
    color: #fbbf24;
}

.glms-badge-pill {
    display: inline-flex;
    align-items: center;
    background: var(--glms-primary-light);
    color: var(--glms-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.glms-badge-pill i {
    margin-right: 8px;
}

.glms-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--glms-dark);
    margin-bottom: 24px;
}

.glms-hero-title .highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.glms-hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5px;
    right: -5px;
    height: 30%;
    background: #b892ff;
    z-index: -1;
    border-radius: 4px;
}

.glms-hero-subtitle {
    font-size: 1.125rem;
    color: var(--glms-text);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.glms-hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.glms-btn-primary {
    background: var(--glms-primary);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
}

.glms-btn-primary:hover {
    background: #6d28d9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.glms-btn-primary i {
    margin-left: 8px;
}

.glms-btn-outline {
    background: white;
    color: var(--glms-dark);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.glms-btn-outline:hover {
    background: #f9fafb;
    color: var(--glms-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.glms-btn-outline i {
    margin-right: 8px;
}

.glms-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.glms-feature-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--glms-text);
}

.glms-feature-icon {
    background: var(--glms-primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    margin-right: 8px;
}

/* Floating Cards Section */
.glms-hero-visual {
    position: relative;
    height: 600px;
}

.glms-floating-card {
    background: white;
    border-radius: 50px;
    padding: 12px 24px 12px 12px;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.08);
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: glmsFloat 6s ease-in-out infinite;
    border: 1px solid oklch(90% .03 300);
}

.glms-floating-card.delay-1 {
    animation-delay: 0s;
}

.glms-floating-card.delay-2 {
    animation-delay: -1.5s;
}

.glms-floating-card.delay-3 {
    animation-delay: -3s;
}

.glms-floating-card.delay-4 {
    animation-delay: -4.5s;
}

.glms-floating-card.delay-5 {
    animation-delay: -2s;
}

@keyframes glmsFloat {

    0%,
    100% {
        transform: translateY(0px) var(--glms-rotate, rotate(0deg));
    }

    50% {
        transform: translateY(-15px) var(--glms-rotate, rotate(0deg));
    }
}

.glms-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.glms-icon-orange {
    background: #ffedd5;
    color: #f97316;
}

.glms-icon-green {
    background: #dcfce7;
    color: #22c55e;
}

.glms-icon-blue {
    background: #e0f2fe;
    color: #0ea5e9;
}

.glms-icon-yellow {
    background: #fef3c7;
    color: #eab308;
}

.glms-card-text {
    display: flex;
    flex-direction: column;
}

.glms-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    font-weight: 600;
}

.glms-card-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--glms-dark);
}

/* Main Profile Card */
.glms-profile-card {
    background: white;
    border-radius: 32px;
    padding: 21px;
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.15);
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 300px;
    animation: glmsProfileFloat 8s ease-in-out infinite;
    z-index: 10;
    border: 1px solid oklch(90% .03 300);
}

@keyframes glmsProfileFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    50% {
        transform: translate(-50%, calc(-50% - 15px)) rotate(0deg);
    }
}

.glms-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.glms-avatar-wrapper {
    position: relative;
}

.glms-avatar {
    width: 64px;
    height: 64px;
    background: #a78bfa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.glms-level-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: #fcd34d;
    color: #92400e;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
}

.glms-profile-info .role {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.glms-profile-info .name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--glms-dark);
    margin: 0;
}

.glms-progress-section {
    margin-bottom: 24px;
}

.glms-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--glms-text);
    margin-bottom: 8px;
}

.glms-progress-bar {
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.glms-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a855f7 0%, #d8b4fe 100%);
    border-radius: 4px;
    width: 72%;
}

.glms-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.glms-stat-pill {
    background: #fef3c7;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--glms-dark);
}

.glms-stat-pill.streak {
    background: #dcfce7;
}

.glms-stat-pill.trophy {
    background: #ffedd5;
}

/* Positioning Floating Cards */
.glms-pos-1 {
    top: 17%;
    left: 7%;
    --glms-rotate: rotate(-6deg);
}

.glms-pos-2 {
    top: 22%;
    right: 9%;
    z-index: 17;
    --glms-rotate: rotate(6deg);
}

.glms-pos-3 {
    bottom: 12%;
    left: -3%;
    z-index: 5;
    --glms-rotate: rotate(-7deg);
}

.glms-pos-4 {
    bottom: 13%;
    right: 15%;
    z-index: 1;
    --glms-rotate: rotate(8deg);
}

/* Learning Adventure Journey Section */
.glms-journey-section {
    background: #fbfbfe;
    position: relative;
    overflow: hidden;
}

.glms-journey-wrapper {
    background: linear-gradient(180deg, #f3e8ff 0%, #e0e7ff 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.05);
}

/* Pseudo element for mountain graphic placeholder */
.glms-journey-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: 
        linear-gradient(135deg, transparent 45%, rgba(139, 92, 246, 0.08) 45%, rgba(139, 92, 246, 0.08) 55%, transparent 55%),
        linear-gradient(45deg, transparent 45%, rgba(167, 139, 250, 0.08) 45%, rgba(167, 139, 250, 0.08) 55%, transparent 55%);
    background-size: 150px 150px;
    background-position: bottom;
    background-repeat: repeat-x;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}

.glms-journey-left, .glms-journey-right {
    position: relative;
    z-index: 2;
}

.glms-journey-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--glms-dark);
    margin-bottom: 24px;
}

.glms-journey-title .highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.glms-journey-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -5px;
    right: -5px;
    height: 40%;
    background: #b892ff;
    z-index: -1;
}

.glms-journey-subtitle {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 400px;
}

/* Horizontal Timeline Pins */
.glms-pins-container {
    width: 100%;
}

.glms-pin-line {
    position: absolute;
    top: 75px; 
    left: 10%;
    right: 10%;
    height: 0;
    border-top: 2px dashed rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.glms-pin-wrapper {
    flex: 1;
    position: relative;
    z-index: 2;
}

.glms-pin {
    width: 50px;
    height: 50px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.glms-pin i {
    transform: rotate(45deg);
}

/* Bottom shadow dot */
.glms-pin-wrapper::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #e2e8f0;
    border-radius: 50%;
    z-index: 1;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.pin-purple { background: #8b5cf6; }
.pin-pink { background: #ec4899; }
.pin-orange { background: #f97316; }
.pin-green { background: #10b981; }
.pin-blue { background: #3b82f6; }

.glms-pin-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--glms-dark);
    margin: 16px 0 4px 0;
}

.glms-pin-text {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .glms-journey-right {
        overflow-x: auto;
        padding-bottom: 2rem !important;
    }
    .glms-pins-container {
        min-width: 700px;
        padding: 1rem 0;
    }
    .glms-pin-line {
        top: 90px;
        left: 20px;
        right: 20px;
        width: 660px;
    }
    .glms-pin-wrapper::before {
        top: 70px;
    }
}

/* 7-Step Student Experience Section */
.glms-steps-section {
    background-color: #fbfbfe;
    padding: 60px 0;
}

.glms-steps-badge {
    display: inline-flex;
    background: #e0e7ff; 
    color: #4f46e5;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glms-steps-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--glms-dark);
    margin-bottom: 24px;
}

.glms-steps-title .highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.glms-steps-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -5px;
    right: -5px;
    height: 40%;
    background: #b892ff;
    z-index: -1;
}

.glms-steps-subtitle {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 800px;
}

/* Horizontal Zig-Zag Timeline */
.glms-zz-timeline-container {
    width: 100%;
    overflow-x: auto;
    padding: 40px 20px 80px 20px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.glms-zz-timeline-container::-webkit-scrollbar {
    height: 8px;
}
.glms-zz-timeline-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.glms-zz-timeline {
    position: relative;
    width: 1200px;
    height: 350px; /* Added height for text */
    margin: 0 auto;
}
.glms-zz-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.glms-zz-node {
    position: absolute;
    width: 240px;
    top: 0;
    height: 250px;
    z-index: 2;
}
.glms-zz-circle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #5b21b6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 4px solid #fbfbfe;
    box-shadow: 0 4px 10px rgba(91, 33, 182, 0.2);
    transition: all 0.3s ease;
}
.glms-zz-node:hover .glms-zz-circle {
    transform: translateX(-50%) scale(1.15);
    background: #fbbf24;
    color: #1e1b4b;
}
.glms-zz-top .glms-zz-circle {
    top: 103px; /* Center at 125 */
}
.glms-zz-bottom .glms-zz-circle {
    top: 153px; /* Center at 175 */
}
.glms-zz-text {
    position: absolute;
    width: 100%;
    text-align: center;
    padding: 0 10px;
}
.glms-zz-top .glms-zz-text {
    bottom: 160px; /* Display above the line */
}
.glms-zz-bottom .glms-zz-text {
    top: 210px; /* Display below the line */
}
.glms-zz-text h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--glms-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}
.glms-zz-node:hover .glms-zz-text h4 {
    color: #5b21b6;
}
.glms-zz-text p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Bento Box Features Section */
.glms-bento-section {
    padding: 60px 0;
    background-color: #faf9fd;
    background-image: radial-gradient(#e5e7eb 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.glms-bento-header {
    max-width: 800px;
}

.glms-bento-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.glms-bento-label .line {
    width: 30px;
    height: 2px;
    background: #8b5cf6;
}

.glms-bento-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--glms-dark);
    letter-spacing: -1px;
}

.glms-bento-title .highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.glms-bento-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -5px;
    right: -5px;
    height: 40%;
    background: #b892ff;
    z-index: -1;
}

/* Dashboards Section */
.glms-dashboards-section {
    padding: 60px 0;
    background-color: #fcfbfe;
}

.mb-6 { margin-bottom: 80px; }
.mt-6 { margin-top: 80px; }

.glms-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.glms-tag {
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e1b4b;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(79, 70, 229, 0.05);
}

.glms-tag i {
    color: #a78bfa;
    font-size: 1.1rem;
}

/* Mock Dashboard UI Styling */
.glms-mock-dash-wrapper {
    background: #e9e5f9;
    border-radius: 32px;
    padding: 0 16px 16px 0;
    display: inline-block;
    width: 100%;
}

.glms-mock-dash {
    background: #27214e; /* dark purple */
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(39, 33, 78, 0.15);
    width: 100%;
}

.glms-mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.glms-mock-header .title {
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
}

.glms-mock-header .yellow-dot {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.4), 0 2px 8px rgba(245, 158, 11, 0.4);
}

.glms-mock-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.glms-mock-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.glms-mock-panel {
    background: #372f61; /* slightly lighter purple */
    border-radius: 12px;
    padding: 16px;
}

.glms-mock-panel .panel-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #a78bfa;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.glms-mock-panel .panel-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

/* Achiever List */
.achiever-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.achiever {
    display: flex;
    align-items: center;
    gap: 12px;
}

.achiever .badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #1e1b4b;
}

.badge.gold { background: #fbbf24; }
.badge.silver { background: #e2e8f0; }
.badge.bronze { background: #d97706; }

.achiever .name {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    width: 60px;
}

.bar-bg {
    flex-grow: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #10b981; /* emerald green */
    border-radius: 4px;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin-top: 12px;
}

.bar-chart.multi .bar {
    width: 100%;
}

.bar-chart .bar {
    width: 25%;
    background: linear-gradient(to bottom, #fde047, #f59e0b);
    border-radius: 4px 4px 0 0;
}

/* Donut Chart */
.donut-chart {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(#10b981 0% 73%, #1e1b4b 73% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-inner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #372f61;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
}

/* Why Choose Us Section */
.glms-why-choose-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.glms-why-badge {
    display: inline-block;
    padding: 8px 24px;
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #8b5cf6;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.glms-why-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--glms-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.glms-why-title .highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.glms-why-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -5px;
    right: -5px;
    height: 40%;
    background: #b892ff;
    z-index: -1;
}

.glms-why-subtitle {
    font-size: 1.2rem;
    color: #8b85b1;
    font-weight: 500;
    line-height: 1.6;
}

/* Pill Cloud */
.glms-pill-cloud {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.glms-pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.glms-pill {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
    cursor: default;
}

.glms-pill:hover {
    transform: translateY(-5px);
}

.glms-pill .emoji {
    font-size: 1.2rem;
}

/* Pill Colors */
.pill-purple {
    background: #8b5cf6;
    color: white;
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}

.pill-light {
    background: #fcfaff;
    border: 1px solid rgba(139, 92, 246, 0.1);
    color: #1e1b4b;
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.08);
}

.pill-dark {
    background: #2e1065;
    color: white;
    box-shadow: 0 15px 30px rgba(46, 16, 101, 0.3);
}

/* Media Queries */
/* Interactive Tabs Feature Reveal Layout */
.glms-tabs-section {
    background: #ffffff;
    position: relative;
    padding-bottom: 80px;
}

/* Background elements from the design */
.glms-tabs-section::before,
.glms-tabs-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(#d8b4fe 20%, transparent 20%);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}
.glms-tabs-section::before {
    top: 40px;
    left: 40px;
}
.glms-tabs-section::after {
    bottom: 40px;
    right: 40px;
}

.glms-tabs-container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Column - Tabs List */
.glms-tabs-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 550px;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding-right: 12px;
}

/* Custom Scrollbar */
.glms-tabs-left::-webkit-scrollbar {
    width: 6px;
}
.glms-tabs-left::-webkit-scrollbar-track {
    background: transparent;
}
.glms-tabs-left::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.glms-tab-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.glms-tab-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.glms-tab-item.active {
    background: var(--theme-bg, #ffffff);
    border: 1px solid var(--theme-color, #e2e8f0);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.glms-tab-item .tab-left-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.glms-tab-item .tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--theme-bg, #f1f5f9);
    color: var(--theme-color, #64748b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.glms-tab-item.active .tab-icon {
    background: var(--theme-color);
    color: #ffffff;
}

.glms-tab-item .tab-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111827;
}

.glms-tab-item .tab-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.glms-tab-item .tab-arrow {
    color: #cbd5e1;
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.glms-tab-item.active .tab-arrow {
    color: var(--theme-color, #111827);
    transform: translateX(4px);
}

/* Right Column - Browser Mockup */
.glms-tabs-right {
    height: auto;
    display: flex;
    align-items: flex-start;
}

.glms-browser-mockup {
    width: 100%;
    height: auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e9d5ff; /* light purple border */
    box-shadow: 0 0 0 10px rgba(167, 139, 250, 0.05), 0 25px 50px -12px rgba(167, 139, 250, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.glms-browser-bar {
    height: 28px;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    margin-bottom: 10px;
}

.glms-browser-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.glms-browser-bar .dot.red { background: #ff5f56; }
.glms-browser-bar .dot.yellow { background: #ffbd2e; }
.glms-browser-bar .dot.green { background: #27c93f; }

.glms-browser-content {
    position: relative;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.glms-browser-content .tab-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.glms-browser-content .tab-img.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Bottom Pill Banner */
.glms-bottom-pill-wrapper {
    position: relative;
    z-index: 1;
}
.glms-bottom-pill {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 24px 8px 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.glms-bottom-pill-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9d5ff;
    color: #6b21a8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 14px;
}
.glms-bottom-pill-text {
    color: #475569;
    font-size: 0.95rem;
}
.glms-bottom-pill-text .highlight {
    color: #6b21a8;
    font-weight: 700;
}

@media (max-width: 991px) {
    .glms-tabs-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .glms-tabs-right {
        order: -1;
        height: 350px;
    }
}

/* Grid Colors based on screenshot */
.bg-purple-gradient { background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%); }
.bg-mint { background: #86efac; }
.bg-yellow { background: #fde047; }
.bg-peach { background: #fdba74; }
.bg-light-purple { background: #e9d5ff; }
.bg-light-blue { background: #93c5fd; }
.bg-light-green { background: #a7f3d0; }
.bg-lavender { background: #d8b4fe; }

/* Motivation Section - Compact Design */
.glms-motivation-compact {
    padding: 60px 0;
    background: #f8fafc;
    border-radius: 40px;
    margin: 40px auto;
    max-width: 1000px;
    border: 1px solid #f1f5f9;
}

.glms-badge-compact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #4f46e5;
    background: #e0e7ff;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
}

.glms-title-compact {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--glms-dark);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.glms-motivation-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--glms-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.glms-text-compact {
    font-size: 1rem;
    color: #64748b;
    max-width: 500px;
    line-height: 1.6;
}

.glms-motivation-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 750px;
    margin: 0 auto;
    padding-top: 20px;
}

.glms-feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 8px 24px 8px 8px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.glms-feature-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.glms-feature-pill .icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.glms-feature-pill span {
    font-weight: 700;
    font-size: 0.95rem;
    color: #334155;
}

/* Colorful Icon Backgrounds with subtle glows */
.bg-green { background: #22c55e; box-shadow: 0 4px 10px rgba(34,197,94,0.3); }
.bg-blue { background: #3b82f6; box-shadow: 0 4px 10px rgba(59,130,246,0.3); }
.bg-purple { background: #a855f7; box-shadow: 0 4px 10px rgba(168,85,247,0.3); }
.bg-orange { background: #f97316; box-shadow: 0 4px 10px rgba(249,115,22,0.3); }
.bg-pink { background: #ec4899; box-shadow: 0 4px 10px rgba(236,72,153,0.3); }
.bg-gold { background: #eab308; box-shadow: 0 4px 10px rgba(234,179,8,0.3); }


/* The Problem Section */
.glms-problem-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.glms-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--glms-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.glms-section-label .glms-line {
    width: 30px;
    height: 2px;
    background: var(--glms-primary);
}

.glms-problem-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--glms-dark);
    margin-bottom: 32px;
}

.glms-problem-title .highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.glms-problem-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -5px;
    right: -5px;
    height: 40%;
    background: #b892ff;
    z-index: -1;
}

.glms-problem-text {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.glms-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glms-feature-card {
    background: white;
    border-radius: 20px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glms-feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 45px rgba(124, 58, 237, 0.1);
}

.glms-feature-card:nth-child(even) {
    margin-left: 48px;
}

.glms-feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.glms-bg-orange { background: #ffedd5; }
.glms-bg-green { background: #dcfce7; }
.glms-bg-purple { background: #f3e8ff; }
.glms-bg-blue { background: #e0f2fe; }

.text-orange { color: #f97316; }
.text-green { color: #22c55e; }
.text-purple { color: #7c3aed; }
.text-blue { color: #0ea5e9; }

.glms-feature-content {
    flex-grow: 1;
}

.glms-feature-number {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.glms-feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--glms-dark);
    margin: 0 0 8px 0;
}

.glms-feature-desc {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

@media (max-width: 991px) {
    .glms-hero-title {
        font-size: 2.25rem;
    }

    .glms-hero-visual {
        height: 500px;
        margin-top: 40px;
    }

    .glms-profile-card {
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@media (max-width: 767px) {
    .glms-hero-title {
        font-size: 2rem;
    }

    .glms-hero-visual {
        display: none;
        /* Hide visual on very small screens or make it smaller */
    }

    .glms-hero-section {
        padding: 60px 0 40px;
    }
    
    .glms-feature-card:nth-child(even) {
        margin-left: 0;
    }
    
    .glms-problem-title {
        font-size: 2rem;
    }
    
    .glms-journey-line {
        display: none;
    }
    
    .glms-journey-timeline {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-top: 40px;
    }
    
    .glms-node-wrap {
        position: relative;
        width: 100%;
        margin-left: 0;
        left: 0 !important;
        top: 0 !important;
    }
    
    .glms-node-text {
        height: auto;
    }
    
    .glms-node-text.top {
        order: 2;
        margin-top: 10px;
        margin-bottom: 0;
    }
    
    .glms-node-circle {
        order: 1;
    }
    
    .glms-node-bottom .glms-node-text.bottom {
        margin-top: 10px;
    }
    
    .glms-journey-title {
        font-size: 2rem;
    }
    
    .glms-steps-title {
        font-size: 2rem;
    }
    
    .glms-v-step-card {
        padding: 16px;
    }
    
    .glms-dashboard-mockup {
        height: 300px;
    }
    
    .glms-bento-title {
        font-size: 2rem;
    }
    
    .glms-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .glms-dashboard-mockup {
        height: 300px;
    }
    
    .glms-bento-title {
        font-size: 2rem;
    }
    
    .glms-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .glms-dashboards-section .row {
        flex-direction: column-reverse;
    }
    
    .glms-dashboards-section .mt-6 {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .glms-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .glms-mock-row-3,
    .glms-mock-row-2 {
        grid-template-columns: 1fr !important;
    }
    
    .glms-why-title {
        font-size: 2rem;
    }
    
    .glms-pill {
        width: 100%;
        justify-content: center;
    }
}