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

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

/* Glass Hero Container */
.glass-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Animated Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-layer {
    position: absolute;
    width: 150%;
    height: 150%;
    opacity: 0.8;
    filter: blur(100px);
}

.layer-1 {
    background: radial-gradient(circle at 20% 50%, #667eea, transparent 50%);
    animation: gradientShift1 20s ease-in-out infinite;
}

.layer-2 {
    background: radial-gradient(circle at 80% 50%, #764ba2, transparent 50%);
    animation: gradientShift2 25s ease-in-out infinite;
}

.layer-3 {
    background: radial-gradient(circle at 50% 80%, #f093fb, transparent 50%);
    animation: gradientShift3 30s ease-in-out infinite;
}

@keyframes gradientShift1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(100px, -100px) rotate(120deg); }
    66% { transform: translate(-100px, 100px) rotate(240deg); }
}

@keyframes gradientShift2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-100px, 100px) rotate(-120deg); }
    66% { transform: translate(100px, -100px) rotate(-240deg); }
}

@keyframes gradientShift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.2); }
}

.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(at 20% 30%, rgba(99, 102, 241, 0.3) 0px, transparent 50%),
        radial-gradient(at 80% 20%, rgba(118, 75, 162, 0.3) 0px, transparent 50%),
        radial-gradient(at 40% 80%, rgba(240, 147, 251, 0.3) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(79, 172, 254, 0.3) 0px, transparent 50%);
    animation: meshMove 15s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

/* Floating Glass Shapes */
.glass-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.glass-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.shape-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation: floatShape 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation: floatShape 30s ease-in-out infinite;
}

.shape-4 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 20%;
    animation: floatShape 22s ease-in-out infinite reverse;
}

.shape-5 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    animation: floatShape 28s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(60deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(-60deg);
    }
}

/* Glass Header */
.glass-header {
    position: relative;
    z-index: 100;
    margin-bottom: 60px;
    animation: slideDown 0.8s ease-out;
}

.header-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Glass Logo */
.glass-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.icon-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation: rotateGradient 3s linear infinite;
}

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

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Navigation */
.glass-nav {
    display: flex;
    gap: 10px;
}

.nav-item {
    position: relative;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(118, 75, 162, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(118, 75, 162, 0.3));
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.glass-btn:hover .btn-glow {
    width: 150%;
    height: 150%;
}

.glass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Content */
.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

/* Glass Announcement */
.glass-announcement {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.announcement-glow {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    animation: glowSlide 3s ease-in-out infinite;
}

@keyframes glowSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.announcement-badge {
    padding: 4px 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.announcement-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.announcement-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.announcement-link:hover {
    gap: 8px;
}

/* Glass Title */
.glass-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.title-line {
    display: block;
    margin-bottom: 10px;
}

.title-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientAnimation 4s ease infinite;
}

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

.title-normal {
    color: white;
    margin: 0 15px;
}

/* Glass Description */
.glass-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* CTA Group */
.glass-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.glass-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(118, 75, 162, 0.8));
    color: white;
    backdrop-filter: blur(10px);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.glass-cta:hover .cta-gradient {
    left: 100%;
}

.glass-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

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

.glass-cta:hover .cta-icon {
    transform: translateX(3px);
}

/* Feature Pills */
.glass-features {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1s both;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.pill-icon {
    font-size: 18px;
}

.pill-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Glass Cards Grid */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInScale 0.8s ease-out both;
}

.glass-card:nth-child(1) { animation-delay: 0.2s; }
.glass-card:nth-child(2) { animation-delay: 0.3s; }
.glass-card:nth-child(3) { animation-delay: 0.4s; }
.glass-card:nth-child(4) { animation-delay: 0.5s; }
.glass-card:nth-child(5) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.card-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
    animation: cardGradientRotate 10s linear infinite;
}

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

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.card-main {
    grid-column: span 2;
    grid-row: span 2;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 16px;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.card-icon svg {
    position: relative;
    z-index: 1;
    color: #667eea;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.card-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.card-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Card Stats */
.card-stats {
    display: flex;
    gap: 30px;
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* Card Graph */
.card-graph {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
}

.graph-bar {
    flex: 1;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 4px 4px 0 0;
    animation: growBar 1s ease-out both;
}

@keyframes growBar {
    from { height: 0; }
}

/* Card Users */
.card-users {
    display: flex;
    margin-bottom: 15px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: -10px;
}

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

.avatar-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.avatar-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.avatar-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }

.avatar-more {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Progress Circle */
.card-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.progress-circle {
    position: relative;
    display: inline-block;
}

.progress-circle svg {
    transform: rotate(-90deg);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 600;
}

/* Notification */
.card-notification {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 10px;
}

.notif-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: #ff5f57;
    border-radius: 50%;
    animation: notifPulse 2s ease-in-out infinite;
}

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

.notif-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.card-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Bottom */
.hero-bottom {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
}

/* Glass Scroll */
.glass-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
}

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

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.5s ease-in-out infinite;
}

@keyframes wheelScroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

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

/* Social Proof */
.glass-social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.proof-avatars {
    display: flex;
}

.proof-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: -10px;
}

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

.proof-text {
    display: flex;
    gap: 5px;
    font-size: 14px;
}

.proof-number {
    font-weight: 700;
    color: #667eea;
}

.proof-label {
    color: rgba(255, 255, 255, 0.7);
}

/* Glass Actions */
.glass-actions {
    display: flex;
    gap: 10px;
}

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

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

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

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

/* Responsive */
@media (max-width: 1024px) {
    .glass-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .card-main {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .glass-nav {
        display: none;
    }
    
    .glass-title {
        font-size: 2.5rem;
    }
    
    .glass-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .glass-cta {
        width: 100%;
        justify-content: center;
    }