@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #070b19;
    --bg-card: #111827;
    --primary: #6366f1;
    --secondary: #8b5cf6; 
    --stage1: #8b5cf6;
    --stage2: #1e40af;
    --stage3: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --nav-bg: rgba(7, 11, 25, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(7, 11, 25, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-mail, .btn-support, .btn-donate {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-mail, .btn-support {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

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

.btn-mail i {
    color: #3b82f6;
}

.btn-support i {
    color: #10b981;
}

.btn-donate {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--bg-dark);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.shape-1 {
    background: var(--primary);
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.shape-2 {
    background: var(--secondary);
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    background: #3b82f6;
    width: 250px;
    height: 250px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(20deg); }
}

.platforms-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-decoration: none;
    color: var(--text-main);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
    z-index: 1;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    filter: blur(60px);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    opacity: 0;
    transition: var(--transition);
    z-index: -2;
}

.platform-card:nth-child(1) .card-glow { background: var(--stage1); }
.platform-card:nth-child(2) .card-glow { background: var(--stage2); }
.platform-card:nth-child(3) .card-glow { background: var(--stage3); }

.platform-card:hover {
    transform: translateY(-15px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.platform-card:hover .card-glow {
    opacity: 0.5;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid;
    transition: var(--transition);
}

.platform-card:nth-child(1) .icon-wrapper {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}
.platform-card:nth-child(2) .icon-wrapper {
    background: rgba(30, 64, 175, 0.1);
    border-color: rgba(30, 64, 175, 0.2);
}
.platform-card:nth-child(3) .icon-wrapper {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.platform-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.platform-card:nth-child(1):hover .icon-wrapper { background: var(--stage1); border-color: var(--stage1); }
.platform-card:nth-child(2):hover .icon-wrapper { background: var(--stage2); border-color: var(--stage2); }
.platform-card:nth-child(3):hover .icon-wrapper { background: var(--stage3); border-color: var(--stage3); }

.icon-wrapper i {
    font-size: 32px;
    transition: var(--transition);
}

.platform-card:nth-child(1) .icon-wrapper i { color: var(--stage1); }
.platform-card:nth-child(2) .icon-wrapper i { color: var(--stage2); }
.platform-card:nth-child(3) .icon-wrapper i { color: var(--stage3); }

.platform-card:hover .icon-wrapper i {
    color: white;
}

.step-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255,255,255,0.05);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

.platform-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.platform-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.enter-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.platform-card:nth-child(1) .enter-link { color: var(--stage1); }
.platform-card:nth-child(2) .enter-link { color: var(--stage2); }
.platform-card:nth-child(3) .enter-link { color: var(--stage3); }

.enter-link i {
    transition: transform 0.3s ease;
}

.platform-card:hover .enter-link i {
    transform: translateX(8px);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .nav-links { display: none; } 
}

@media (max-width: 768px) {
    .cards-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .nav-right .btn-mail, .nav-right .btn-support { display: none; }
}