/* General Body Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, #ff00cc, #3333ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff007f;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff00cc 100%);
    color: #fff;
    text-align: center;
    padding: 120px 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

#hero > p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
    opacity: 0.9;
    max-width: 600px;
}

.code-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    animation: zoomIn 1s ease-out 0.4s both;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#inviteCode {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
}

#copyButton {
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 204, 0.3);
}

#copyButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 204, 0.4);
}

#copyButton:active {
    transform: translateY(-1px);
}

.seo-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-top: 30px;
}

/* General Section Styles */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(255, 0, 204, 0.1), rgba(51, 51, 255, 0.1));
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: -1;
}

section::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(51, 51, 255, 0.1), rgba(255, 0, 204, 0.1));
    border-radius: 50%;
    bottom: -75px;
    left: -75px;
    z-index: -1;
}

section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    border-radius: 2px;
}

/* About Section */
#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

#about p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    border-radius: 50%;
}

/* Features Section */
#features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

#features ul li {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px 25px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

#features ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ff00cc, #3333ff);
    transition: all 0.4s ease;
}

#features ul li:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

#features ul li:hover::before {
    width: 100%;
    opacity: 0.1;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 25px;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    transition: all 0.3s ease;
}

.faq-item h3::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.faq-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    padding-left: 30px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff00cc, #3333ff);
}

/* Animations */
@keyframes fadeInDown {
    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 zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 0, 204, 0.4), rgba(51, 51, 255, 0.4));
    filter: blur(10px);
    z-index: -1;
}

.float-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation: float 15s ease-in-out infinite;
}

.float-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 5%;
    animation: float 18s ease-in-out infinite reverse;
}

.float-3 {
    width: 80px;
    height: 80px;
    bottom: 10%;
    left: 20%;
    animation: float 12s ease-in-out infinite 2s;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 10px 20px;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    #hero {
        padding: 100px 20px 80px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #inviteCode {
        font-size: 2rem;
    }

    section {
        padding: 60px 20px;
    }

    section h2 {
        font-size: 2.2rem;
    }
    
    .floating-element {
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    #hero {
        padding: 80px 15px 60px;
    }
    
    #hero h1 {
        font-size: 2rem;
    }

    #hero > p {
        font-size: 1rem;
    }

    .code-container {
        flex-direction: column;
        padding: 20px;
    }

    #inviteCode {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    #copyButton {
        width: 100%;
    }

    section {
        padding: 40px 15px;
        margin-bottom: 30px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    #features ul {
        gap: 20px;
    }

    #features ul li {
        padding: 20px 15px;
        font-size: 1rem;
    }

    .faq-item h3 {
        font-size: 1.2rem;
    }
    
    .faq-item p {
        font-size: 0.95rem;
    }
}



/* Additional Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 0.5s ease-in-out;
}

.copied {
    background: linear-gradient(45deg, #00cc44, #00aa44) !important;
    box-shadow: 0 4px 15px rgba(0, 204, 68, 0.4) !important;
}


/* Particle Animation */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Code Container Hover Effect */
.code-container {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Navigation Link Hover Effect */
nav ul li a {
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(to right, #ff00cc, #3333ff);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    box-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
}

/* Additional Hover Effects */
#features ul li, .faq-item {
    cursor: pointer;
}

.faq-item:hover h3 {
    color: #ff00cc;
}

/* Button Hover Animation */
#copyButton {
    position: relative;
    overflow: hidden;
}

#copyButton::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.7s ease;
}

#copyButton:hover::before {
    left: 100%;
}


/* Highlight Text */
.highlight {
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ff00cc, #3333ff);
    transition: all 0.4s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.benefit-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    z-index: 1;
}

.benefit-item p {
    color: #555;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Enhanced Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-code {
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(45deg, #ff00cc, #3333ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .benefits-grid {
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .benefit-item {
        padding: 20px 15px;
    }
    
    .benefit-item h3 {
        font-size: 1.2rem;
    }
    
    .footer-code {
        font-size: 1.3rem;
    }
}

