/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #ff2d2d;
    --secondary-red: #ff4444;
    --accent-red: #ff6666;
    --dark-red: #cc2222;
    --neon-red: #ff0080;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --text-dim: #888888;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 45, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 68, 68, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 128, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-darker) 0%, #1a0a0a 25%, #0a0a1a 50%, #1a0a0a 75%, var(--bg-darker) 100%);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-red), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--accent-red), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--neon-red), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--secondary-red), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--primary-red), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particle-float 20s linear infinite;
    opacity: 0.6;
}

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

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 45, 45, 0.3) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.2) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.25) 0%, transparent 70%);
    bottom: 20%;
    left: 60%;
    animation-delay: -10s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.logo-container {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 45, 45, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: logo-pulse 3s ease-in-out infinite;
}

.logo-icon {
    font-size: 5rem;
    color: var(--primary-red);
    text-shadow: 
        0 0 20px rgba(255, 45, 45, 0.8),
        0 0 40px rgba(255, 45, 45, 0.6),
        0 0 60px rgba(255, 45, 45, 0.4);
    animation: logo-float 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.logo-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.logo-particles::before,
.logo-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 50%;
    animation: particle-orbit 8s linear infinite;
}

.logo-particles::before {
    animation-delay: 0s;
    box-shadow: 
        0 0 10px var(--primary-red),
        0 0 20px var(--primary-red);
}

.logo-particles::after {
    animation-delay: -4s;
    box-shadow: 
        0 0 8px var(--accent-red),
        0 0 16px var(--accent-red);
}

.main-title {
    position: relative;
    margin-bottom: 20px;
}

.title-text {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-red), var(--neon-red), var(--accent-red));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 45, 45, 0.5);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.title-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-red), var(--neon-red), var(--accent-red));
    background-size: 200% 200%;
    filter: blur(20px);
    opacity: 0.3;
    animation: gradient-shift 3s ease-in-out infinite;
    z-index: 1;
}

.subtitle {
    position: relative;
    margin-bottom: 40px;
}

.subtitle-text {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(255, 102, 102, 0.6);
    position: relative;
    z-index: 2;
}

.subtitle-underline {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    animation: underline-expand 2s ease-out 1s forwards;
}

.description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.description-line {
    display: block;
    margin-bottom: 8px;
    opacity: 0;
    animation: fade-in-up 0.8s ease-out forwards;
}

.description-line:nth-child(1) { animation-delay: 0.5s; }
.description-line:nth-child(2) { animation-delay: 0.7s; }
.description-line:nth-child(3) { animation-delay: 0.9s; }

.description-line.highlight {
    color: var(--accent-red);
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 102, 102, 0.3);
}

/* CTA Section */
.cta-section {
    margin-bottom: 80px;
    position: relative;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border: none;
    padding: 20px 40px;
    border-radius: 60px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(255, 45, 45, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
    z-index: 2;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 45, 45, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ff3333 0%, #dd2222 100%);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 45, 45, 0.3) 0%, transparent 70%);
    border-radius: 60px;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-button:hover .button-glow {
    opacity: 1;
}

.button-icon {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button:hover .button-icon {
    transform: translateX(6px) scale(1.1);
}

.cta-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    pointer-events: none;
}

.cta-particles::before,
.cta-particles::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 50%;
    animation: cta-particle-float 4s ease-in-out infinite;
}

.cta-particles::before {
    left: 20%;
    animation-delay: 0s;
    box-shadow: 0 0 8px var(--primary-red);
}

.cta-particles::after {
    right: 20%;
    animation-delay: -2s;
    box-shadow: 0 0 8px var(--accent-red);
}

/* Features Section */
.features-section {
    width: 100%;
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.title-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-red);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--neon-red), var(--primary-red));
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.feature-card:hover .card-glow {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 45, 45, 0.5);
    box-shadow: 
        0 20px 60px rgba(255, 45, 45, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.feature-icon i {
    font-size: 3rem;
    color: var(--primary-red);
    text-shadow: 
        0 0 20px rgba(255, 45, 45, 0.6),
        0 0 40px rgba(255, 45, 45, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.icon-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 45, 45, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-ring {
    width: 100px;
    height: 100px;
    border-color: rgba(255, 45, 45, 0.6);
    box-shadow: 0 0 20px rgba(255, 45, 45, 0.3);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 
        0 0 30px rgba(255, 45, 45, 0.8),
        0 0 60px rgba(255, 45, 45, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .card-particles {
    opacity: 1;
}

.card-particles::before,
.card-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 50%;
    animation: card-particle-float 3s ease-in-out infinite;
}

.card-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    box-shadow: 0 0 6px var(--primary-red);
}

.card-particles::after {
    bottom: 20%;
    right: 20%;
    animation-delay: -1.5s;
    box-shadow: 0 0 6px var(--accent-red);
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 45, 45, 0.2);
    width: 100%;
    position: relative;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 45, 45, 0.1);
    border: 1px solid rgba(255, 45, 45, 0.3);
    border-radius: 50%;
    color: var(--accent-red);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.4rem;
    position: relative;
    overflow: hidden;
}

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

.social-link:hover .social-glow {
    opacity: 1;
}

.social-link:hover {
    background: rgba(255, 45, 45, 0.2);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(255, 45, 45, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer-divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    margin: 0 auto 25px;
    box-shadow: 0 0 10px var(--primary-red);
}

.footer-text {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-highlight {
    color: var(--accent-red);
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 102, 102, 0.3);
}

/* Animations */
@keyframes particle-float {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-30px) translateX(30px); }
    66% { transform: translateY(30px) translateX(-20px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.1); }
    50% { transform: translate(-10px, -20px) scale(0.9); }
    75% { transform: translate(-30px, 10px) scale(1.05); }
}

@keyframes logo-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(2deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes particle-orbit {
    0% { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

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

@keyframes underline-expand {
    0% { width: 0; }
    100% { width: 100px; }
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes cta-particle-float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

@keyframes card-particle-float {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.4; }
    50% { transform: translateY(-15px) translateX(10px); opacity: 0.8; }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .logo-icon {
        font-size: 4rem;
    }
    
    .title-text {
        font-size: 3.5rem;
    }
    
    .subtitle-text {
        font-size: 1.8rem;
    }
    
    .description {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .cta-button {
        padding: 18px 36px;
        font-size: 1.1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .orb-1, .orb-2, .orb-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .title-text {
        font-size: 2.8rem;
    }
    
    .subtitle-text {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        font-size: 3.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-red), var(--accent-red));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff3333, #ff5555);
}

/* Selection */
::selection {
    background: rgba(255, 45, 45, 0.3);
    color: var(--text-light);
}

/* Focus styles */
.cta-button:focus,
.social-link:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}