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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

/* Background Elements */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ff6b6b, #ee5a24);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #4ecdc4, #44a08d);
    top: 50%;
    right: -150px;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #a8edea, #fed6e3);
    bottom: -125px;
    left: 30%;
    animation-delay: 4s;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 100vh;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease 0.2s forwards;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.badge-icon {
    color: #fbbf24;
}

.badge-arrow {
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.hero-badge:hover .badge-arrow {
    transform: translateX(4px);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin: 0;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.title-line:nth-child(1) {
    animation: slideUp 0.8s ease 0.4s forwards;
}

.title-line:nth-child(2) {
    animation: slideUp 0.8s ease 0.6s forwards;
}

.title-line:nth-child(3) {
    animation: slideUp 0.8s ease 0.8s forwards;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease 1s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease 1.2s forwards;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.primary-btn:hover .btn-icon {
    transform: translateX(4px);
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.play-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-btn:hover .play-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease 1.4s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: white;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.card-1 {
    top: 50px;
    left: -40px;
    width: 240px;
    padding: 20px;
    animation-delay: 1.6s;
}

.card-2 {
    top: 180px;
    right: -60px;
    width: 280px;
    padding: 16px 20px;
    animation-delay: 1.8s;
}

.card-3 {
    top: 320px;
    left: 20px;
    width: 200px;
    padding: 16px;
    animation-delay: 2s;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.avatar-initial {
    position: relative;
    color: white;
    font-weight: 600;
    font-size: 16px;
    z-index: 1;
}

.card-info {
    flex: 1;
}

.card-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.card-status {
    font-size: 12px;
    color: #10b981;
    font-weight: 500;
}

.card-chart {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 60px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
    height: var(--height);
    animation: growBar 1s ease calc(var(--delay, 0) * 0.1s + 2.2s) forwards;
    transform: scaleY(0);
    transform-origin: bottom;
}

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

.notification-icon {
    width: 32px;
    height: 32px;
    background: #fef3c7;
    color: #f59e0b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-text {
    flex: 1;
}

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

.notification-time {
    font-size: 12px;
    color: #6b7280;
}

.team-header {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
    margin-bottom: 12px;
}

.team-members {
    display: flex;
    align-items: center;
    gap: -8px;
}

.member-avatar {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
}

.member-avatar:first-child {
    margin-left: 0;
}

.member-gradient {
    position: absolute;
    inset: 0;
}

.member-initial {
    position: relative;
    color: white;
    font-weight: 600;
    font-size: 12px;
    z-index: 1;
}

.member-more {
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-left: -8px;
}

.main-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    animation: fadeInUp 1s ease 1.4s forwards;
}

.visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #f59e0b; }
.control-dot.green { background: #10b981; }

.visual-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
}

.visual-content {
    padding: 24px;
}

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

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border-radius: 12px;
    background: #f9fafb;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.grid-item.active {
    background: #eff6ff;
    border-color: #3b82f6;
}

.grid-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.item-icon {
    color: #6b7280;
    transition: color 0.3s ease;
}

.grid-item.active .item-icon {
    color: #3b82f6;
}

.item-label {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
    text-align: center;
}

.grid-item.active .item-label {
    color: #1e40af;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 3;
    opacity: 0;
    animation: fadeIn 1s ease 2.5s forwards;
}

.scroll-text {
    font-size: 14px;
    font-weight: 500;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
    color: white;
}

.video-play-icon {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.video-placeholder p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-placeholder small {
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@keyframes growBar {
    to {
        transform: scaleY(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.floating-card {
    transform: translateY(20px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 60px;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .visual-container {
        max-width: 400px;
        height: 500px;
    }
    
    .main-visual {
        width: 250px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 18px;
        max-width: none;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 24px;
    }
    
    .visual-container {
        max-width: 320px;
        height: 400px;
    }
    
    .main-visual {
        width: 200px;
        height: 280px;
    }
    
    .card-1, .card-2, .card-3 {
        width: 180px;
        transform: scale(0.8);
    }
    
    .orb-1, .orb-2, .orb-3 {
        transform: scale(0.6);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .primary-btn, .play-btn {
        font-size: 14px;
        padding: 14px 24px;
    }
    
    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .visual-container {
        max-width: 280px;
        height: 350px;
    }
}