/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background: #000;
}

/* Split Hero Container */
.split-hero {
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Hero Panels */
.hero-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content Panel (Left) */
.content-panel {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 2;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
    pointer-events: none;
}

.panel-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    width: 100%;
    padding: 40px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-mark {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-mark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-letter {
    color: white;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.brand-name {
    color: white;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Animated Badge */
.animated-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    margin-bottom: 24px;
    animation: fadeInUp 0.9s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.badge-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #10b981;
    border-radius: 50%;
    opacity: 0;
    animation: pulseRing 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.badge-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Heading */
.hero-heading {
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out;
}

.heading-top {
    display: block;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 8px;
}

.heading-bottom {
    display: flex;
    gap: 16px;
    align-items: baseline;
}

.text-outline {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px rgba(99, 102, 241, 0.8);
    text-stroke: 2px rgba(99, 102, 241, 0.8);
    letter-spacing: -2px;
}

.text-filled {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    animation: gradientFlow 3s ease-in-out infinite;
}

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

/* Description */
.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    animation: fadeInUp 1.1s ease-out;
}

/* CTA Container */
.cta-container {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 1.2s ease-out;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-primary:hover .cta-arrow {
    transform: translateX(4px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    animation: fadeIn 1.3s ease-out;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-separator {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    animation: fadeIn 1.4s ease-out;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.social-icon {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover .social-icon {
    color: white;
}

/* Corner Decorations */
.corner-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.corner-decoration.top-left {
    top: 20px;
    left: 20px;
    border-top: 2px solid rgba(99, 102, 241, 0.3);
    border-left: 2px solid rgba(99, 102, 241, 0.3);
    animation: fadeIn 1.5s ease-out;
}

.corner-decoration.bottom-right {
    bottom: 20px;
    right: 20px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    border-right: 2px solid rgba(99, 102, 241, 0.3);
    animation: fadeIn 1.5s ease-out;
}

/* Video Panel (Right) */
.video-panel {
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    mix-blend-mode: multiply;
}

.video-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* Floating Content Cards */
.floating-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.preview-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    transition: all 0.3s ease;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    75% { transform: translateY(10px) rotate(-1deg); }
}

.card-project {
    top: 80px;
    right: 60px;
    width: 280px;
    animation-delay: 0s;
}

.card-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 12px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.card-progress {
    width: 100%;
    height: 4px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    animation: progressFill 2s ease-out;
}

@keyframes progressFill {
    from { width: 0; }
    to { width: 70%; }
}

.card-achievement {
    bottom: 200px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation-delay: 2s;
}

.achievement-icon {
    font-size: 32px;
}

.achievement-text {
    display: flex;
    flex-direction: column;
}

.achievement-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.achievement-year {
    font-size: 12px;
    color: #666;
}

.card-review {
    bottom: 60px;
    right: 80px;
    width: 260px;
    animation-delay: 4s;
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.star {
    color: #fbbf24;
    font-size: 16px;
}

.review-text {
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
}

.author-name {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.control-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Panel Separator */
.panel-separator {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 4;
}

.separator-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.separator-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    animation: rotateIcon 10s linear infinite;
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Navigation Dots */
.hero-navigation {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.nav-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    width: 30px;
    border-radius: 5px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Scroll Prompt */
.scroll-prompt {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounceScroll 2s ease-in-out infinite;
}

@keyframes bounceScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
}

.scroll-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Next Section */
.next-section {
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.section-content {
    text-align: center;
}

.section-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.section-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .split-hero {
        flex-direction: column;
    }
    
    .hero-panel {
        min-height: 100vh;
    }
    
    .panel-separator {
        top: -40px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }
    
    .preview-card {
        transform: scale(0.9);
    }
}

@media (max-width: 768px) {
    .panel-content {
        padding: 30px;
    }
    
    .heading-top,
    .text-outline,
    .text-filled {
        font-size: 2.5rem;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .quick-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .floating-content {
        display: none;
    }
    
    .hero-navigation {
        display: none;
    }
}