/* Root Variables */
:root {
    --primary-color: #5865F2;
    --secondary-color: #FF6B6B;
    --accent-color: #4A5899;
    --dark-bg: #1a1a2e;
    --light-bg: #16213e;
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
    --border-color: #404860;
    --success-color: #00d084;
    --gradient: linear-gradient(135deg, #5865F2 0%, #FF6B6B 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.invite-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.invite-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
}

.invite-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.floating-card {
    position: relative;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 200px;
    text-align: center;
}

.floating-card:nth-child(1) {
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    animation-delay: 2s;
}

.card-icon {
    font-size: 2.5rem;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* Features Section */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(255, 107, 107, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

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

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, rgba(88, 101, 242, 0.05), rgba(255, 107, 107, 0.05));
    margin: 3rem 0;
}

.how-it-works h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 250px;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-muted);
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Tech Stack Section */
.tech-stack {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-stack h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(88, 101, 242, 0.15);
}

.tech-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    padding: 4rem 2rem;
    text-align: center;
    margin: 3rem 2rem;
    border-radius: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
}

.cta .btn:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--success-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 208, 132, 0.3);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 2000;
    font-weight: 600;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: auto;
        min-height: 0;
        gap: 1.5rem;
    }

    .floating-card {
        width: 150px;
        padding: 1.5rem;
        position: relative !important;
    }

    .hero-stats {
        justify-content: space-around;
        width: 100%;
    }

    .stat {
        flex: 1;
    }

    .features h2,
    .how-it-works h2,
    .tech-stack h2 {
        font-size: 2rem;
    }

    .process-container {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-card {
        width: 120px;
    }

    .feature-card,
    .tech-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .toast {
        right: 1rem;
        left: 1rem;
    }
}

/* Thanks/Success Page Styles */
.success-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(255, 107, 107, 0.05));
}

.success-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-in-out infinite;
}

.success-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.success-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.celebration-animation {
    font-size: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.next-steps {
    margin: 4rem 0;
}

.next-steps h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(88, 101, 242, 0.15);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.step-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-box {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(255, 107, 107, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    text-align: left;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-icon {
    font-size: 1.5rem;
}

.info-header h3 {
    margin: 0;
}

.info-box p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.command-box {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.command-box h3 {
    margin-bottom: 1.5rem;
}

.commands-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.command-item {
    background: rgba(88, 101, 242, 0.05);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.command-item code {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    white-space: nowrap;
}

.command-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.tips-section {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    margin: 2rem 0;
}

.tips-section h3 {
    margin-bottom: 1.5rem;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list strong {
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-container {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    background: rgba(88, 101, 242, 0.15);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Responsive for Thanks Page */
@media (max-width: 768px) {
    .success-title {
        font-size: 2.5rem;
    }

    .success-subtitle {
        font-size: 1rem;
    }

    .celebration-animation {
        font-size: 2rem;
        gap: 1rem;
    }

    .next-steps h2 {
        font-size: 1.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .info-box {
        padding: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .commands-list {
        grid-template-columns: 1fr;
    }

    .faq-section {
        padding: 3rem 2rem;
    }

    .faq-section h2 {
        font-size: 2rem;
    }
}
