/* Inherit base styles from main styles.css */
@import url('./styles.css');

/* Demo Page Specific Styles */
.content-card {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Video Container */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 3px;
    background: linear-gradient(45deg, #60a5fa, #3b82f6, #60a5fa);
    background-size: 200% 200%;
    animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 0.8rem;
    overflow: hidden;
    background: #000;
    /* Removing any potential transform effects */
    transform: none !important;
    transition: none !important;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.8rem;
    /* Removing any potential transform effects */
    transform: none !important;
    transition: none !important;
}

/* Platform Showcase Section */
.platform-showcase {
    margin: 4rem 0;
    padding: 0 1.5rem;
}

.platform-showcase-title {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.platform-showcase-title h2 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    position: relative;
    text-align: center;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.platform-showcase-title h2::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 2px;
}

.platform-showcase-title p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.35rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 800px;
    margin: 2rem auto 0;
}

/* Redesigned Platform Card */
.platform-card {
    position: relative;
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1),
                0 1px 2px rgba(0, 0, 0, 0.05),
                0 50px 80px -30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    margin-bottom: 4rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.platform-card:hover {
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15),
                0 1px 3px rgba(0, 0, 0, 0.1),
                0 60px 90px -30px rgba(0, 0, 0, 0.5);
}

/* Platform Header Section */
.platform-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-title {
    font-size: 2.75rem;
    background: linear-gradient(135deg, #fff 30%, #e0e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.platform-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.75rem;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 5px;
}

.platform-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* Platform Image Section */
.platform-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2),
                0 10px 10px -5px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
    margin-bottom: 2.5rem;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: #000;
}

.platform-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: center;
    filter: brightness(0.95) contrast(1.05);
}

.platform-image:hover {
    transform: perspective(1000px) rotateX(-2deg) translateZ(10px);
}

.platform-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.platform-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

/* Demo CTA Button */
.platform-image .demo-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.platform-image .demo-cta i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.platform-image:hover .demo-cta {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.platform-image .demo-cta:hover {
    background: rgba(79, 70, 229, 0.95);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.platform-image .demo-cta:hover i {
    transform: translateX(3px);
}

/* Image Overlay on Hover */
.platform-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Removing hover after effect that could interfere with video viewing */
.platform-image:hover::after {
    opacity: 0;
}

@media (max-width: 768px) {
    .platform-image {
        margin-bottom: 2rem;
        border-radius: 0.8rem;
    }
    
    .platform-image img {
        filter: brightness(0.98) contrast(1.02);
    }
}

@media (max-width: 480px) {
    .platform-image {
        margin-bottom: 1.5rem;
        border-radius: 0.6rem;
    }
    
    .platform-image:hover {
        transform: none;
    }
    
    .platform-image img:hover {
        transform: none;
        filter: none;
    }
}

/* Platform Stats Section */
.platform-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 0 -0.5rem 2.5rem;
    padding: 0 0.5rem;
}

.stat-item {
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 1rem;
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 1;
}

.stat-item:nth-child(1)::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.stat-item:nth-child(2)::before {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.stat-item:nth-child(3)::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.stat-item:nth-child(4)::before {
    background: linear-gradient(90deg, #f43f5e, #fb7185);
}

.stat-item:nth-child(5)::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.5rem 1.25rem 0.5rem;
    background-color: rgba(15, 23, 42, 0.8);
    text-align: center;
    margin: 0;
}

.stat-value {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 0.5rem 1.25rem 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.cost-value {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.time-value {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.traditional-cost,
.traditional-time {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.traditional-cost {
    color: #fb7185; /* Red */
}

.traditional-time {
    color: #fbbf24; /* Amber */
}

.savings-indicator {
    font-size: 0.9rem;
    font-weight: 700;
    color: #34d399; /* Green */
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.time-indicator {
    font-size: 0.9rem;
    font-weight: 700;
    color: #34d399; /* Green */
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.savings-indicator svg,
.time-indicator svg {
    width: 16px;
    height: 16px;
}

.stat-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover .stat-highlight {
    opacity: 1;
}

/* Platform CTA */
.platform-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.platform-cta .btn {
    min-width: 220px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.15, 0.75, 0.5, 0.95);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.5),
                0 5px 15px -5px rgba(139, 92, 246, 0.25);
}

/* New Button Glow Effect */
.platform-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.platform-cta .btn:hover::before {
    opacity: 1;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.7;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* Button Arrow Effect */
.platform-cta .btn::after {
    content: "→";
    margin-left: 0.75rem;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.platform-cta .btn:hover {
    transform: translateY(-6px) translateZ(10px);
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.2),
        0 10px 10px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.platform-cta .btn:hover::after {
    transform: translateX(5px);
}

.platform-cta .btn:active {
    transform: translateY(-2px) translateZ(5px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.15),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Enhanced Responsive Adjustments */
@media (max-width: 1200px) {
    .platform-showcase-title h2 {
        font-size: 3rem;
    }
    
    .platform-title {
        font-size: 2.5rem;
    }
    
    .platform-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .platform-stats > div:nth-child(4),
    .platform-stats > div:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .platform-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-stats > div:nth-child(3),
    .platform-stats > div:nth-child(4),
    .platform-stats > div:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .platform-showcase-title {
        margin-bottom: 3rem;
    }
    
    .platform-showcase-title h2 {
        font-size: 2rem;
    }
    
    .platform-card {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .platform-title {
        font-size: 2.25rem;
    }
    
    .platform-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .platform-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .platform-cta .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .video-wrapper {
        margin: 1.5rem auto;
        padding: 2px;
    }
    
    .video-container {
        border-radius: 0.6rem;
    }
    
    .video-container iframe {
        border-radius: 0.6rem;
    }
}

@media (max-width: 480px) {
    .platform-stats {
        grid-template-columns: 1fr;
    }
    
    .video-wrapper {
        margin: 1rem auto;
        padding: 1px;
    }
    
    .platform-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 1rem;
    }
    
    .platform-title {
        font-size: 2rem;
    }
    
    .platform-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: #60a5fa;
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.platform-card p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: #60a5fa;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: #94a3b8;
}

/* Prize Section */
.prize-container {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.1));
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(96, 165, 250, 0.2);
    position: relative;
    overflow: hidden;
}

.prize-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    z-index: 1;
}

.prize-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: #60a5fa;
    animation: float 3s ease-in-out infinite;
}

.prize-text {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.prize-container .btn-glow {
    padding: 1.25rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 1rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    position: relative;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    z-index: 1;
    overflow: hidden;
}

.prize-container .btn-glow::after {
    content: "→";
    margin-left: 0.75rem;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.prize-container .btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.prize-container .btn-glow:hover {
    transform: translateY(-6px) translateZ(10px);
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.2),
        0 10px 10px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.prize-container .btn-glow:hover::before {
    opacity: 1;
    animation: pulseGlow 2s infinite;
}

.prize-container .btn-glow:hover::after {
    transform: translateX(5px);
}

.prize-container .btn-glow:active {
    transform: translateY(-2px) translateZ(5px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.15),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Founders Section */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.founder-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.founder-title {
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.founder-bio {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Enhanced FAQ Styles */
.faq-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.faq-item {
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-item:hover, .faq-item.active {
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.faq-item.active {
    background: rgba(17, 24, 39, 0.6);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-item.active .faq-question h3 {
    color: #93c5fd;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #60a5fa;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-toggle {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-answer {
    border-top-color: rgba(96, 165, 250, 0.1);
}

.faq-answer-content {
    padding: 1.5rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1rem 0;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
    list-style-type: none;
}

.faq-answer ul li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.faq-answer ul li::before {
    content: "•";
    color: #60a5fa;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-question h3 {
        font-size: 1.05rem;
    }
    
    .faq-answer p,
    .faq-answer ul li {
        font-size: 0.95rem;
    }
    
    .faq-answer ul {
        padding-left: 1rem;
    }
    
    .faq-answer ul li {
        padding-left: 1.25rem;
    }
    
    .faq-toggle {
        width: 26px;
        height: 26px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 2rem 0;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-answer-content {
        padding: 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p,
    .faq-answer ul li {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
}

/* Text Styles */
.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
}

/* Utility Classes */
.mb-8 { margin-bottom: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-12 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Platform Animation States */
.platform-card {
    --x: 50%;
    --y: 50%;
    position: relative;
    isolation: isolate;
}

.platform-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--x) var(--y),
        rgba(59, 130, 246, 0.15),
        transparent 40%
    );
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.platform-card:hover::after {
    opacity: 1;
}

/* Enhanced focus states for accessibility */
.platform-cta .btn:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.detail-item:focus-within {
    box-shadow: 0 0 0 2px #60a5fa;
}

/* Platform Card Focus */
.platform-card:focus-within {
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2), 
                0 15px 35px rgba(0, 0, 0, 0.15);
    outline: none;
}

/* Platform Stats Container */
.platform-stats-container {
    margin: 2rem 0 3.5rem;
    padding: 0.5rem;
    position: relative;
}

.stats-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.stats-title i {
    color: #60a5fa;
    margin-right: 0.75rem;
    filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.5));
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 3px;
}

/* Enhanced Stats Cards */
.stats-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.stats-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(96, 165, 250, 0.2);
}

.stats-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.8);
    position: relative;
    overflow: hidden;
}

.stats-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.05), rgba(59, 130, 246, 0.05));
    z-index: 0;
}

.stats-card-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 1;
}

.stats-card-header h5 i {
    color: #60a5fa;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.stats-card-content {
    padding: 1.75rem;
}

/* Enhanced Info Cards */
.primary-stats {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.primary-stats .stats-card-content {
    padding: 1.5rem;
}

.primary-stats .stat-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.primary-stats .stat-info-row:last-child {
    margin-bottom: 0;
}

.primary-stats .stat-info-row:hover {
    transform: translateX(5px);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.primary-stats .stat-info-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6rem;
    background: rgba(59, 130, 246, 0.15);
}

.primary-stats .stat-info-content .stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.primary-stats .stat-info-content .stat-value.primary {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Enhanced Chart Bars */
.chart-bars {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chart-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-label i {
    color: #60a5fa;
    font-size: 0.9rem;
}

.chart-bar {
    height: 2.75rem;
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.chart-bar .chart-value {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.chart-bar.traditional {
    width: 100%;
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.chart-bar.xbesh {
    width: 40%;
    background: linear-gradient(90deg, #10b981, #34d399);
    animation: growBar 1.5s ease-out forwards;
}

.chart-bar:hover {
    transform: scaleY(1.15);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.chart-bar.traditional:hover {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.chart-bar.xbesh:hover {
    background: linear-gradient(90deg, #059669, #10b981);
}

.chart-value {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chart-bar:hover .chart-value {
    opacity: 1;
    transform: scale(1.1);
}

/* Enhanced Time Saved Indicator */
.time-saved-indicator {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #34d399;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 0.6rem 1.25rem;
    border-radius: 2rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.time-saved-indicator i {
    color: #34d399;
    font-size: 1rem;
}

/* Enhanced Pie Chart */
.pie-chart-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pie-chart-container:hover {
    transform: scale(1.05);
}

.pie-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: #f87171;
    transform: rotate(-90deg);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05), 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pie-chart-center {
    position: absolute;
    width: 110px;
    height: 110px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(16, 185, 129, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(4px);
}

.pie-chart-center span:first-child {
    font-size: 2rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pie-chart-center span:last-child {
    font-size: 0.8rem;
    font-weight: 600;
    color: #10b981;
    line-height: 1;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* Enhanced Legend */
.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.75rem;
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.legend-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.legend-color {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.legend-item:hover .legend-color {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.legend-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-label i {
    color: #60a5fa;
    font-size: 0.85rem;
}

.legend-item:hover .legend-label {
    color: white;
}

/* Enhanced Benefit Cards */
.benefits-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.benefit-card {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 1rem;
    padding: 1.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.05) 0%, rgba(59, 130, 246, 0) 70%);
    z-index: 0;
}

.benefit-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(15, 23, 42, 0.6);
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
}

.benefit-card:hover .benefit-icon i {
    transform: scale(1.1);
}

.benefit-card h5 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.benefit-card:hover h5 {
    color: #93c5fd;
}

.benefit-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.benefit-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Apply gradients to headers */
.stats-card-header h5, .stats-title {
    background: linear-gradient(90deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Special effects on hover */
.stats-card:hover .stats-card-header {
    border-bottom-color: rgba(96, 165, 250, 0.2);
}

.stats-card:hover .stats-card-header h5 {
    background: linear-gradient(90deg, #fff, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
}

.stats-card:hover .stats-card-header h5 i {
    color: #93c5fd;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefits-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stats-card {
        max-width: 100%;
    }
    
    .pie-chart-container {
        width: 120px;
        height: 120px;
    }
    
    .pie-chart-center {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .benefits-row {
        grid-template-columns: 1fr;
    }
    
    .stats-card-content {
        padding: 1.25rem;
    }
    
    .stats-card-header {
        padding: 0.75rem 1.25rem;
    }
    
    .primary-stats .stat-info-row {
        margin-bottom: 1rem;
    }
    
    .stat-info-icon {
        width: 2rem;
        height: 2rem;
        margin-right: 0.75rem;
    }
    
    .stat-info-content .stat-value {
        font-size: 1rem;
    }
}

.traditional-color {
    background: #ef4444;
}

.xbesh-color {
    background: #10b981;
}

/* Stats Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Animation Keyframes */
@keyframes growBar {
    from { width: 0; }
    to { width: 40%; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.slice1 {
    position: absolute;
    width: 100%;
    height: 100%;
    clip: rect(0, 150px, 150px, 75px);
    animation: slice1-animation 2s ease forwards;
}

.slice2 {
    position: absolute;
    width: 100%;
    height: 100%;
    clip: rect(0, 75px, 150px, 0);
    animation: slice2-animation 2s ease forwards;
}

@keyframes slice1-animation {
    0% { transform: rotate(0deg); background: #ef4444; }
    100% { transform: rotate(324deg); background: #34d399; }
}

@keyframes slice2-animation {
    0% { transform: rotate(0deg); background: #ef4444; }
    100% { transform: rotate(324deg); background: #34d399; }
}

/* Chart Container Styles */
.chart-card .chart-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.time-chart {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chart-caption {
    margin-top: 1.75rem;
    text-align: center;
}

.cost-chart {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

/* Staggered Animations */
.stats-card:nth-child(1) {
    transition-delay: 0.1s;
}

.stats-card:nth-child(2) {
    transition-delay: 0.2s;
}

.stats-card:nth-child(3) {
    transition-delay: 0.3s;
}

.benefit-card:nth-child(1) {
    transition-delay: 0.4s;
}

.benefit-card:nth-child(2) {
    transition-delay: 0.5s;
}

.benefit-card:nth-child(3) {
    transition-delay: 0.6s;
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
    /* General mobile improvements */
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .content-card {
        padding: 1.5rem;
        margin: 1rem 0;
        border-radius: 0.8rem;
    }
    
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    /* Platform showcase section */
    .platform-showcase {
        padding: 0;
        margin: 2rem 0;
    }
    
    .platform-showcase-title {
        margin-bottom: 2rem;
    }
    
    .platform-showcase-title h2 {
        font-size: 1.8rem;
    }
    
    .platform-showcase-title p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .platform-card {
        padding: 1.25rem;
        margin-bottom: 2rem;
        border-radius: 0.8rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .platform-header {
        margin-bottom: 1.5rem;
    }
    
    .platform-title {
        font-size: 1.75rem;
    }
    
    .platform-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Stats section - critical mobile fixes */
    .platform-stats-container {
        margin: 1.5rem 0;
        padding: 0;
    }
    
    .stats-title {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
    
    .stats-card-header {
        padding: 1rem;
    }
    
    .stats-card-header h5 {
        font-size: 1rem;
    }
    
    .stats-card-content {
        padding: 1rem;
    }
    
    /* Chart improvements for mobile */
    .chart-container {
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .chart-bars {
        width: 100%;
    }
    
    .chart-bar {
        height: 2.25rem;
        padding: 0 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .chart-bar .chart-value {
        font-size: 0.85rem;
    }
    
    .chart-bar-group {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .chart-label {
        font-size: 0.85rem;
        white-space: normal;
    }
    
    .time-saved-indicator {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Pie chart mobile improvements */
    .pie-chart-container {
        width: 160px !important;
        height: 160px !important;
        margin: 0 auto 1rem;
    }
    
    .pie-chart {
        width: 160px;
        height: 160px;
    }
    
    .pie-chart-center {
        width: 100px;
        height: 100px;
        padding: 0.5rem;
    }
    
    .pie-chart-center span:first-child {
        font-size: 1.75rem;
    }
    
    .pie-chart-center span:last-child {
        font-size: 0.75rem;
    }
    
    .pie-legend {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        width: 100%;
    }
    
    .legend-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .legend-label {
        font-size: 0.85rem;
        white-space: normal;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    
    /* Project overview card improvements */
    .primary-stats .stat-info-row {
        padding: 0.6rem;
        margin-bottom: 0.75rem;
    }
    
    .primary-stats .stat-info-icon {
        width: 1.75rem;
        height: 1.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .primary-stats .stat-info-icon i {
        font-size: 0.8rem;
    }
    
    .primary-stats .stat-info-content {
        margin-left: 0.5rem;
    }
    
    .primary-stats .stat-info-content .stat-label {
        font-size: 0.7rem;
    }
    
    .primary-stats .stat-info-content .stat-value.primary {
        font-size: 0.9rem;
    }
    
    /* Benefits section */
    .benefits-row {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .benefit-card {
        width: 100%;
        padding: 1rem;
        margin-bottom: 0;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
    }
    
    .benefit-icon i {
        font-size: 1.25rem;
    }
    
    .benefit-card h5 {
        font-size: 1rem;
        margin: 0.75rem 0 0.5rem;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
        margin: 0;
    }
    
    /* CTA buttons */
    .platform-cta {
        margin-top: 1rem;
    }
    
    .platform-cta .btn, 
    .prize-container .btn-glow {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-width: auto;
        width: 100%;
        max-width: 280px;
        border-radius: 0.8rem;
    }
    
    /* Prize section */
    .prize-container {
        padding: 1.5rem;
        border-radius: 0.8rem;
        margin: 0 0.5rem;
    }
    
    .prize-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* Founders grid */
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .founder-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }
    
    .founder-image {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .founder-info h3 {
        font-size: 1.1rem;
    }
    
    .founder-title {
        font-size: 0.9rem;
    }
    
    .founder-bio {
        font-size: 0.85rem;
    }
    
    /* FAQ section */
    .faq-section {
        padding: 2rem 0;
    }
    
    .faq-container {
        padding: 0 0.5rem;
    }
    
    .faq-item {
        margin-bottom: 0.75rem;
        border-radius: 0.8rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        padding-right: 2rem;
    }
    
    .faq-toggle {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
    
    .faq-answer-content {
        padding: 1rem;
    }
    
    .faq-answer p, 
    .faq-answer ul li {
        font-size: 0.85rem;
    }
    
    /* Touch-friendly improvements */
    .demo-cta,
    .platform-cta .btn,
    .prize-container .btn-glow,
    .faq-question {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Fix for platform image on mobile */
    .platform-image {
        aspect-ratio: 16/9;
        transform: none !important;
    }
    
    .platform-image:hover {
        transform: none !important;
    }
    
    .platform-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .platform-image .demo-cta {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.9);
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .platform-image:hover .demo-cta {
        transform: translate(-50%, -50%) scale(0.9);
    }
    
    /* Footer improvements */
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-brand {
        margin-bottom: 1.5rem;
    }
    
    .footer-brand .logo {
        max-width: 100px;
    }
    
    .copyright p {
        font-size: 0.85rem;
    }
}

/* Small phone-specific optimizations */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .platform-title {
        font-size: 1.5rem;
    }
    
    .stats-title {
        font-size: 1.25rem;
    }
    
    .pie-chart-container {
        width: 140px !important;
        height: 140px !important;
    }
    
    .pie-chart {
        width: 140px;
        height: 140px;
    }
    
    .pie-chart-center {
        width: 80px;
        height: 80px;
    }
    
    .pie-chart-center span:first-child {
        font-size: 1.5rem;
    }
    
    .legend-label {
        font-size: 0.75rem;
    }
    
    .platform-image .demo-cta {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .platform-cta .btn, 
    .prize-container .btn-glow {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .primary-stats .stat-info-content .stat-value.primary {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Fix potential overflow issues */
* {
    box-sizing: border-box;
    max-width: 100%;
}

/* Improve performance on mobile */
@media (max-width: 768px) {
    .platform-card, 
    .stats-card, 
    .benefit-card, 
    .feature-card,
    .founder-card,
    .faq-item {
        will-change: transform;
        transform: translateZ(0);
    }
    
    .platform-image,
    .pie-chart-container,
    .chart-bar {
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .platform-card:hover,
        .stats-card:hover,
        .benefit-card:hover,
        .platform-image:hover,
        .chart-bar:hover,
        .pie-chart-container:hover,
        .platform-cta .btn:hover,
        .prize-container .btn-glow:hover {
            transform: none !important;
            box-shadow: none !important;
        }
        
        .platform-cta .btn::before,
        .prize-container .btn-glow::before {
            animation: none !important;
            opacity: 0 !important;
        }
        
        .platform-cta .btn:active,
        .prize-container .btn-glow:active {
            transform: scale(0.98) !important;
            opacity: 0.9;
        }
    }
}

/* Fix for the chart value display on mobile */
@media (max-width: 768px) {
    .chart-bar.traditional .chart-value {
        max-width: 100%;
        overflow: visible;
        white-space: normal;
        padding-left: 5px;
    }
    
    .chart-bar.xbesh .chart-value {
        position: absolute;
        left: 10px;
        white-space: nowrap;
    }
    
    /* Ensure minimal width for xBesh bar for readability */
    .chart-bar.xbesh {
        min-width: 40%;
    }
}

/* Mobile Chart and Platform Cards Improvements */
@media (max-width: 768px) {
    /* Fixed chart value display issues */
    .chart-bar.traditional {
        height: auto;
        min-height: 2.5rem;
        padding: 0.5rem 0.75rem;
    }
    
    .chart-bar.xbesh {
        height: auto;
        min-height: 2.5rem;
        padding: 0.5rem 0.75rem;
        min-width: 40%;
    }
    
    .chart-bar .chart-value {
        position: relative;
        display: block;
        text-align: left;
        white-space: normal;
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* Fixed pie chart animation on mobile */
    .slice1, .slice2 {
        animation-duration: 1.5s;
    }
    
    /* Ensure platform cards stack properly */
    .platform-card {
        display: flex;
        flex-direction: column;
    }
    
    /* Stats container fixes */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    /* Ensure all stats cards are visible */
    .stats-card {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Ensure all benefit cards are visible */
    .benefit-card {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Fixed demo button on platform images */
    .platform-image .demo-cta {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        max-width: 80%;
        word-break: keep-all;
        white-space: nowrap;
        font-size: 0.9rem;
    }
}

/* Fix for very small screens */
@media (max-width: 375px) {
    .platform-image .demo-cta {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .pie-chart-container {
        width: 130px !important;
        height: 130px !important;
    }
    
    .pie-chart {
        width: 130px;
        height: 130px;
    }
    
    .pie-chart-center {
        width: 75px;
        height: 75px;
    }
    
    .pie-chart-center span:first-child {
        font-size: 1.4rem;
    }
    
    .pie-chart-center span:last-child {
        font-size: 0.65rem;
    }
}

/* Fix vertical spacing on mobile */
@media (max-width: 768px) {
    .platform-card + .platform-card {
        margin-top: 3rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .mb-12 {
        margin-bottom: 2rem;
    }
    
    .mt-6 {
        margin-top: 1rem;
    }
    
    /* Additional fixes for footer */
    .footer {
        margin-top: 2rem;
    }
}

/* Navigation Header Styles */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    padding: 0.5rem 0;
    flex-shrink: 0;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 40px;
    width: auto;
}

.main-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover,
.nav-link:focus {
    color: #60a5fa;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    min-width: 200px;
    padding: 0.75rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    padding-left: 1.75rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #60a5fa;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 5rem 1.5rem 2rem;
        z-index: 99;
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        background: rgba(15, 23, 42, 0.5);
        box-shadow: none;
        border-radius: 0.5rem;
        max-height: 0;
        padding: 0;
        opacity: 1;
        visibility: hidden;
        transform: none;
        transition: max-height 0.3s ease, padding 0.3s ease, visibility 0s linear 0.3s;
        margin-top: 0.5rem;
        overflow: hidden;
    }
    
    .dropdown-menu.active {
        max-height: 500px;
        padding: 0.75rem 0;
        visibility: visible;
        transition: max-height 0.3s ease, padding 0.3s ease, visibility 0s linear 0s;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 100;
    }
    
    .mobile-menu-active .main-nav {
        right: 0;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-menu-active .mobile-menu-toggle i {
        content: "\f00d";
    }
    
    body.mobile-menu-active {
        overflow: hidden;
    }
    
    /* Overlay when mobile menu is active */
    body.mobile-menu-active::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }
    
    .logo {
        height: 32px;
    }
    
    .header-content {
        padding: 0 1rem;
    }
}

/* Enhanced Glass Navigation Header Styles */
.glass-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 0.75rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.glass-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(59, 130, 246, 0), 
        rgba(59, 130, 246, 0.3), 
        rgba(59, 130, 246, 0));
    opacity: 0.5;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    padding: 0.5rem 0;
    flex-shrink: 0;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 34px; /* Reduced logo size */
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.main-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
    position: relative;
}

/* Animated underline effect for nav links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-link:hover,
.nav-link:focus {
    color: #60a5fa;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
    opacity: 1;
}

/* Enhanced glass effect for dropdown menu */
.glass-effect {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25),
                inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    padding: 0.75rem 0;
    border-radius: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 100;
    overflow: hidden;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(59, 130, 246, 0), 
        rgba(59, 130, 246, 0.3), 
        rgba(59, 130, 246, 0));
    opacity: 0.5;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-item:hover::before,
.dropdown-item:focus::before {
    opacity: 1;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    padding-left: 1.75rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #60a5fa;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 5rem 1.5rem 2rem;
        z-index: 99;
        transition: right 0.3s ease;
        overflow-y: auto;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        background: rgba(15, 23, 42, 0.5);
        box-shadow: none;
        border-radius: 0.5rem;
        max-height: 0;
        padding: 0;
        opacity: 1;
        visibility: hidden;
        transform: none;
        transition: max-height 0.3s ease, padding 0.3s ease, visibility 0s linear 0.3s;
        margin-top: 0.5rem;
        overflow: hidden;
    }
    
    .dropdown-menu.active {
        max-height: 500px;
        padding: 0.75rem 0;
        visibility: visible;
        transition: max-height 0.3s ease, padding 0.3s ease, visibility 0s linear 0s;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 100;
    }
    
    .mobile-menu-active .main-nav {
        right: 0;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-menu-active .mobile-menu-toggle i {
        content: "\f00d";
    }
    
    body.mobile-menu-active {
        overflow: hidden;
    }
    
    /* Overlay when mobile menu is active */
    body.mobile-menu-active::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }
    
    .logo {
        height: 28px; /* Even smaller on mobile */
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    /* Remove underline effect on mobile */
    .nav-link::after {
        display: none;
    }
}

/* === Premium Glass Navigation Enhancements === */
.glass-nav {
    margin: 1rem auto 2.5rem;            /* top & bottom spacing */
    width: calc(100% - 2rem);           /* breathing room on sides */
    border-radius: 1.25rem;             /* rounded corners */
    background: rgba(15, 23, 42, 0.6);  /* slightly lighter */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25),
                inset 0 1px 2px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

/* subtle top gradient highlight */
.glass-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}

/* Header content spacing tweaks */
.header-content {
    padding: 0.75rem 2rem;
    column-gap: 2.5rem;
}

/* Logo size adjustments */
.logo {
    height: 48px;          /* default desktop size */
    width: auto;
    max-height: 60px;
}

@media (max-width: 1024px) {
    .logo { height: 42px; }
}

@media (max-width: 768px) {
    .logo { height: 38px; }
    .glass-nav { width: calc(100% - 1rem); border-radius: 1rem; }
}

@media (max-width: 480px) {
    .logo { height: 32px; }
}

/* Nav list spacing + font tweaks */
.nav-list {
    gap: 1.5rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* nav link background on hover for better accessibility */
.nav-link:hover,
.nav-link:focus {
    color: #93c5fd;
}

/* dropdown arrow smooth transition already exists, ensure pointer events */
.dropdown-toggle i { pointer-events: none; }

/* dropdown glass refine */
.dropdown-menu {
    min-width: 240px;
}

.dropdown-item {
    font-size: 0.95rem;
    font-weight: 500;
}

/* mobile nav panel rounding */
@media (max-width: 768px) {
    .main-nav {
        width: 85vw;
        right: -85vw;
        border-top-left-radius: 1rem;
        border-bottom-left-radius: 1rem;
    }
}

/* === Navbar refinement === */
.glass-nav{
    margin:1.25rem auto 2rem;
    width:100%;
    max-width:1250px;
    border-radius:1rem;
    padding:0.35rem 0; /* less vertical space */
}
.header-content{padding:0.5rem 1.75rem;}
.logo{height:40px;max-height:60px;}
@media(max-width:768px){.header-content{padding:0.5rem 1rem;} .logo{height:32px;} }
/* compact nav gap */
.nav-list{gap:1.25rem;}

/* === Navbar slim refinement === */
.glass-nav{
    margin:0.8rem auto 1.5rem;
    padding:0.25rem 0; /* ultra slim */
    max-width:1200px;
}
.header-content{padding:0.4rem 1.5rem;}
.logo{height:32px;max-height:48px;}
.nav-list{gap:1rem;}
@media(max-width:768px){
  .logo{height:26px;}
  .nav-list{gap:0.75rem;}
  .glass-nav{margin:0.6rem auto 1.25rem;padding:0.2rem 0;}
  .header-content{padding:0.35rem 1rem;}
}

/* Platform Pill */
.platform-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #8b5cf6);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.platform-pill::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6, #60a5fa);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.platform-pill:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .platform-pill {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .platform-pill {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
        margin-bottom: 1.2rem;
    }
}

/* Platform Header Section */
.platform-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}