/* IME App Landing Page Styles */
:root {
    --ime-bg: #0a0a0f;
    --ime-surface: #12121a;
    --ime-surface-light: #1a1a25;
    --ime-border: #2a2a3a;
    --ime-text: #e0e0e0;
    --ime-text-muted: #8a8a9a;
    --ime-green: #00ff64;
    --ime-green-dark: #00cc50;
    --ime-gray: #3a3a4a;
    --ime-gray-light: #5a5a6a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--ime-bg);
    color: var(--ime-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Grid */
.ime-bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 200, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 200, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Header */
.ime-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ime-border);
}

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

.ime-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.ime-logo-icon {
    background: linear-gradient(135deg, var(--ime-green) 0%, var(--ime-green-dark) 100%);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.ime-logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ime-text);
}

.ime-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ime-nav a {
    color: var(--ime-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.ime-nav a:hover {
    color: var(--ime-green);
}

.ime-nav-btn {
    background: linear-gradient(135deg, var(--ime-green) 0%, var(--ime-green-dark) 100%);
    color: #000 !important;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

.ime-nav-btn:hover {
    opacity: 0.9;
    color: #000 !important;
}

/* Hero Section - Matches VINSpot layout */
.ime-hero {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem 5rem;
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.05) 0%, rgba(0, 204, 80, 0.08) 100%);
    border-bottom: 1px solid rgba(0, 255, 100, 0.2);
}

.ime-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ime-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ime-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 255, 100, 0.15);
    border: 1px solid rgba(0, 255, 100, 0.3);
    color: var(--ime-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.ime-pulse {
    width: 8px;
    height: 8px;
    background: var(--ime-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.ime-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ime-gradient-text {
    background: linear-gradient(135deg, var(--ime-green) 0%, #00cc80 50%, var(--ime-green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ime-hero-text > p {
    color: var(--ime-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.ime-hero-actions {
    margin-bottom: 1.5rem;
}

.ime-btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--ime-green) 0%, var(--ime-green-dark) 100%);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 255, 100, 0.3);
}

.ime-btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 100, 0.4);
}

/* IME Hero Video Player */
.ime-hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ime-video-promo {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 100, 0.5);
    box-shadow: 
        0 0 20px rgba(0, 255, 100, 0.3),
        0 0 40px rgba(0, 255, 100, 0.2),
        0 0 60px rgba(0, 255, 100, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.4);
    animation: videoGlow 2s ease-in-out infinite alternate;
}

@keyframes videoGlow {
    0% {
        box-shadow: 
            0 0 15px rgba(0, 255, 100, 0.2),
            0 0 30px rgba(0, 255, 100, 0.1),
            0 20px 60px rgba(0, 0, 0, 0.4);
        border-color: rgba(0, 255, 100, 0.4);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(0, 255, 100, 0.6),
            0 0 80px rgba(0, 255, 100, 0.4),
            0 0 120px rgba(0, 255, 100, 0.2),
            0 20px 60px rgba(0, 0, 0, 0.4);
        border-color: rgba(0, 255, 100, 0.8);
    }
}

.ime-video-promo video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    aspect-ratio: 16/9;
}

.ime-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.ime-video-overlay:hover {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.8) 0%, rgba(10, 10, 15, 0.85) 100%);
}

.ime-video-overlay svg {
    color: var(--ime-green);
    filter: drop-shadow(0 0 20px rgba(0, 255, 100, 0.5));
    transition: transform 0.3s;
}

.ime-video-overlay:hover svg {
    transform: scale(1.1);
}

.ime-video-overlay span {
    color: var(--ime-text);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.ime-video-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: var(--ime-text);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    max-width: 480px;
}

.ime-video-note svg {
    flex-shrink: 0;
    color: var(--ime-green);
}

.ime-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.ime-btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 14px;
}

.ime-btn-primary {
    background: linear-gradient(135deg, var(--ime-green) 0%, var(--ime-green-dark) 100%);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 255, 100, 0.3);
}

.ime-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 100, 0.4);
}

.ime-btn-secondary {
    background: var(--ime-gray);
    color: var(--ime-text);
    border: 1px solid var(--ime-gray-light);
}

.ime-btn-secondary:hover {
    border-color: var(--ime-green);
    color: var(--ime-green);
}

.ime-training-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ime-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.ime-training-link:hover {
    color: var(--ime-green);
}

.ime-training-link svg {
    opacity: 0.7;
}

.ime-hero-stats {
    display: flex;
    gap: 2.5rem;
}

.ime-stat {
    display: flex;
    flex-direction: column;
}

.ime-stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ime-green);
}

.ime-stat-label {
    font-size: 0.85rem;
    color: var(--ime-text-muted);
}

/* Training Section */
.ime-training {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ime-training-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ime-section-tag {
    display: inline-block;
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.3);
    color: var(--ime-green);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.ime-training-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ime-training-header p {
    color: var(--ime-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Video Theater */
.ime-theater {
    background: var(--ime-surface);
    border: 1px solid var(--ime-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ime-main-video {
    margin-bottom: 2rem;
}

.ime-video-container {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.ime-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--ime-text-muted);
    background: linear-gradient(135deg, var(--ime-surface) 0%, var(--ime-bg) 100%);
}

.ime-video-placeholder svg {
    opacity: 0.5;
}

.ime-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ime-video-info {
    padding: 1.5rem 0.5rem 0.5rem;
}

.ime-video-info h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ime-video-info p {
    color: var(--ime-text-muted);
    font-size: 0.95rem;
}

/* Video Thumbnails Grid */
.ime-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ime-thumbnail {
    background: var(--ime-surface-light);
    border: 1px solid var(--ime-border);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ime-thumbnail:hover {
    border-color: var(--ime-green);
    transform: translateY(-3px);
}

.ime-thumbnail.active {
    border-color: var(--ime-green);
    background: rgba(0, 255, 200, 0.05);
}

.ime-thumb-img {
    position: relative;
    background: linear-gradient(135deg, var(--ime-bg) 0%, var(--ime-surface) 100%);
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ime-green);
    overflow: hidden;
}

.ime-thumb-number {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ime-text-muted);
}

.ime-thumb-img svg {
    opacity: 0.7;
    transition: all 0.3s;
}

.ime-thumbnail:hover .ime-thumb-img svg {
    opacity: 1;
    transform: scale(1.1);
}

.ime-thumb-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.ime-thumb-duration {
    font-size: 0.8rem;
    color: var(--ime-text-muted);
}

/* Quick Links */
.ime-quicklinks {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ime-quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ime-quicklink-card {
    background: var(--ime-surface);
    border: 1px solid var(--ime-border);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.ime-quicklink-card:hover {
    border-color: var(--ime-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ime-quicklink-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 100, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ime-green);
    margin-bottom: 1.25rem;
}

.ime-quicklink-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ime-text);
    margin-bottom: 0.5rem;
}

.ime-quicklink-card p {
    font-size: 0.9rem;
    color: var(--ime-text-muted);
}

/* VINSpot Promo Section - Orange Branding */
.vinspot-promo {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(234, 88, 12, 0.08) 100%);
    border-top: 1px solid rgba(249, 115, 22, 0.2);
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.vinspot-promo-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vinspot-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #f97316;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.vinspot-logo {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    letter-spacing: 1px;
}

.vinspot-promo-text h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.vinspot-gradient-text {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vinspot-promo-text > p {
    color: var(--ime-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.vinspot-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.vinspot-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--ime-text);
}

.vinspot-benefits li svg {
    flex-shrink: 0;
    color: #f97316;
    margin-top: 2px;
}

.vinspot-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.vinspot-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.4);
}

/* VINSpot Video Player */
.vinspot-promo-visual {
    display: flex;
    justify-content: center;
}

.vinspot-video-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.vinspot-video-container video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    aspect-ratio: 16/9;
}

.vinspot-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.vinspot-video-overlay:hover {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.8) 0%, rgba(10, 10, 15, 0.85) 100%);
}

.vinspot-video-overlay svg {
    color: #f97316;
    filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.5));
    transition: transform 0.3s;
}

.vinspot-video-overlay:hover svg {
    transform: scale(1.1);
}

.vinspot-video-overlay span {
    color: var(--ime-text);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .vinspot-promo-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vinspot-promo-text h2 {
        font-size: 2rem;
    }

    .vinspot-benefits {
        display: inline-block;
        text-align: left;
    }

    .vinspot-promo-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .vinspot-video-container {
        max-width: 400px;
    }
}

/* Footer */
.ime-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--ime-border);
    padding: 3rem 2rem;
    background: rgba(10, 14, 23, 0.8);
}

.ime-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.ime-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.ime-footer-icb-logo {
    display: inline-block;
    transition: all 0.3s ease;
}

.ime-footer-icb-logo:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.icb-logo-img {
    max-width: 200px;
    height: auto;
}

.ime-footer-links {
    display: flex;
    gap: 2rem;
}

.ime-footer-links a {
    color: var(--ime-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.ime-footer-links a:hover {
    color: var(--ime-green);
}

.ime-copyright {
    color: var(--ime-text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .ime-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ime-hero-text {
        align-items: center;
    }

    .ime-hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .ime-video-promo {
        max-width: 400px;
    }

    .ime-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ime-quicklinks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ime-header-content {
        padding: 1rem;
    }

    .ime-logo-text {
        display: none;
    }

    .ime-nav a:not(.ime-nav-btn) {
        display: none;
    }

    .ime-hero h1 {
        font-size: 2.2rem;
    }

    .ime-hero-actions {
        width: 100%;
    }

    .ime-btn-large {
        width: 100%;
        justify-content: center;
        padding: 1.25rem 2rem;
        font-size: 1.15rem;
    }

    .ime-training-header h2 {
        font-size: 2rem;
    }

    .ime-theater {
        padding: 1rem;
    }

    .ime-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .ime-thumbnail {
        padding: 0.75rem;
    }

    .ime-quicklinks-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ime-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .ime-btn {
        width: 100%;
        justify-content: center;
    }
}
