@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #1a1c1e 0%, #23272a 100%);
    color: #ffffff;
    font-family: 'Inter', 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(114, 137, 218, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(67, 181, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(153, 102, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(32, 34, 37, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 36px;
    width: auto;
    border-radius: 0;
    object-fit: contain;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #b9bbbe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #5865f2;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-login-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.nav-login-btn .discord-icon {
    width: 18px;
    height: 18px;
}

/* ========== Floating Shapes ========== */
.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.1), rgba(67, 181, 129, 0.05));
    animation: float 8s ease-in-out infinite;
}

.shape:nth-child(1) { width: 100px; height: 100px; top: 10%; left: 5%; animation-delay: 0s; }
.shape:nth-child(2) { width: 150px; height: 150px; top: 60%; right: 5%; animation-delay: -2s; }
.shape:nth-child(3) { width: 80px; height: 80px; bottom: 20%; left: 15%; animation-delay: -4s; }
.shape:nth-child(4) { width: 120px; height: 120px; top: 30%; right: 20%; animation-delay: -1s; }
.shape:nth-child(5) { width: 60px; height: 60px; bottom: 40%; right: 30%; animation-delay: -3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    padding: 120px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(114, 137, 218, 0.15);
    border: 1px solid rgba(114, 137, 218, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #7289da;
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 14px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #7289da, #43b581, #faa61a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: #b9bbbe;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.discord-btn.primary {
    background: #5865f2;
    color: white;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.discord-btn.primary:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.discord-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #dcddde;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.discord-btn.secondary svg {
    width: 18px;
    height: 18px;
}

.discord-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 13px;
    color: #72767d;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ========== Hero Visual ========== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-card {
    background: rgba(32, 34, 37, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid #40444b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.preview-card.main-card {
    width: 320px;
    position: relative;
    z-index: 2;
}

.preview-header {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #72767d;
}

.preview-dots span:nth-child(1) { background: #f04747; }
.preview-dots span:nth-child(2) { background: #faa61a; }
.preview-dots span:nth-child(3) { background: #43b581; }

.preview-title {
    font-size: 12px;
    color: #b9bbbe;
    font-weight: 500;
}

.preview-content {
    padding: 16px;
}

.preview-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.preview-user:last-child { margin-bottom: 0; }

.preview-user.gold { background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.02)); border-left: 3px solid #ffd700; }
.preview-user.silver { background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(192, 192, 192, 0.02)); border-left: 3px solid #c0c0c0; }
.preview-user.bronze { background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(205, 127, 50, 0.02)); border-left: 3px solid #cd7f32; }

.preview-user .rank {
    font-size: 20px;
}

.preview-user .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7289da, #5b73c4);
}

.preview-user .user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preview-user .username {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.preview-user .time {
    font-size: 12px;
    color: #72767d;
}

.floating-card {
    position: absolute;
    z-index: 1;
}

.stats-card {
    top: -20px;
    right: -40px;
    padding: 12px 16px;
    animation: floatCard 4s ease-in-out infinite;
}

.chart-card {
    bottom: -30px;
    left: -50px;
    padding: 16px;
    animation: floatCard 4s ease-in-out infinite 1s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #43b581;
    font-size: 13px;
    font-weight: 500;
}

.mini-stat svg {
    width: 16px;
    height: 16px;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
}

.mini-chart .bar {
    width: 12px;
    background: linear-gradient(180deg, #7289da, #5b73c4);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-out forwards;
}

@keyframes barGrow {
    from { height: 0 !important; }
}

/* ========== Animations ========== */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-up.delay-1 { animation-delay: 0.2s; }
.animate-fade-in-up.delay-2 { animation-delay: 0.4s; }
.animate-fade-in-up.delay-3 { animation-delay: 0.6s; }

.animate-float {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }

/* ========== Features Section ========== */
.features-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(67, 181, 129, 0.15);
    border: 1px solid rgba(67, 181, 129, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #43b581;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #b9bbbe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 18px;
    color: #72767d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(32, 34, 37, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid #40444b;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(114, 137, 218, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.feature-icon-wrapper.purple { background: rgba(153, 102, 255, 0.15); color: #9966ff; --accent-color: #9966ff; }
.feature-icon-wrapper.green { background: rgba(67, 181, 129, 0.15); color: #43b581; --accent-color: #43b581; }
.feature-icon-wrapper.blue { background: rgba(114, 137, 218, 0.15); color: #7289da; --accent-color: #7289da; }
.feature-icon-wrapper.orange { background: rgba(250, 166, 26, 0.15); color: #faa61a; --accent-color: #faa61a; }
.feature-icon-wrapper.pink { background: rgba(235, 69, 158, 0.15); color: #eb459e; --accent-color: #eb459e; }
.feature-icon-wrapper.cyan { background: rgba(0, 199, 190, 0.15); color: #00c7be; --accent-color: #00c7be; }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-card > p {
    font-size: 14px;
    color: #8e9297;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 13px;
    color: #72767d;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #43b581;
    font-weight: 600;
}

/* ========== How Section ========== */
.how-section {
    padding: 100px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7289da, #5b73c4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(114, 137, 218, 0.3);
}

.step-content {
    padding-top: 8px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.step-content p {
    font-size: 15px;
    color: #8e9297;
    line-height: 1.6;
}

.step-connector {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, #7289da, rgba(114, 137, 218, 0.2));
    margin-left: 29px;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 80px 40px 120px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-card {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.15), rgba(67, 181, 129, 0.1));
    border: 1px solid rgba(114, 137, 218, 0.2);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(114, 137, 218, 0.1) 0%, transparent 60%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-card p {
    font-size: 18px;
    color: #b9bbbe;
    margin-bottom: 32px;
    position: relative;
}

.cta-btn {
    background: #5865f2;
    color: white;
    padding: 18px 40px;
    font-size: 18px;
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
    position: relative;
}

.cta-btn:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(88, 101, 242, 0.5);
}

/* ========== Footer ========== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.footer-brand .nav-logo {
    width: 40px;
    height: 40px;
}

.footer-text {
    font-size: 14px;
    color: #72767d;
    text-align: center;
}

.footer-links {
    font-size: 13px;
    color: #4f545c;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 24px 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-section,
    .how-section,
    .cta-section {
        padding: 60px 24px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }

    .nav-title {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .discord-btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .discord-btn.secondary {
        width: 100%;
    }
}
