/* CrowByt Landing Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff9d;
    --secondary-color: #00d4ff;
    --dark-bg: #000000;
    --card-bg: rgba(0, 0, 0, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-red: #ff3b3b;
    --accent-blue: #3b82f6;
    --accent-gold: #fbbf24;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 14, 26, 0.7) 0%,
        rgba(10, 14, 26, 0.85) 50%,
        rgba(10, 14, 26, 0.95) 100%
    );
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    padding: 3rem 0;
    animation: fadeInDown 1s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-image {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .logo-image {
        max-width: 200px;
    }
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.company {
    font-size: 1rem;
    color: var(--text-secondary);
}

.company a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.company a:hover {
    color: var(--secondary-color);
}

.header .hero-subtitle {
    margin-top: 1.5rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 2rem 0 4rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
    margin-top: 16rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px currentColor);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem auto;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
}

.feature-icon-img {
    width: 200%;
    height: auto;
    margin-left: -50%;
    margin-top: -10%;
}

.image-card {
    padding: 0;
    overflow: hidden;
    max-width: 350px;
    margin: 0 auto;
}

.card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Beta Access Section */
.beta-access-section {
    max-width: 600px;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.9s both;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Form Styles */
.beta-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #000000;
}

.form-group select {
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #000000 !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff9d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.25rem !important;
    padding-right: 3rem !important;
}

.form-group select option {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 0.75rem;
}

.form-group select option:first-child {
    color: #8892b0 !important;
}

.form-group select option:checked {
    background: linear-gradient(135deg, #00ff9d, #00d4ff) !important;
    color: #0a0e27 !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    color: var(--dark-bg);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Tech Stack Section */
.tech-stack-section {
    text-align: center;
    padding: 4rem 0;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.tech-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    animation: fadeIn 1s ease-out 1.5s both;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.separator {
    color: var(--text-secondary);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.social-links {
    margin-top: 1.5rem;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
    background: linear-gradient(135deg, #4752C4, #5865F2);
}

.discord-link svg {
    width: 24px;
    height: 24px;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.success-message.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.success-content {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    backdrop-filter: blur(20px);
    animation: scaleIn 0.3s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
}

.success-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.close-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.close-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* 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 fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2.5rem;
    }

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

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

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

    .beta-access-section {
        padding: 2rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }
}

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

    .logo h1 {
        font-size: 2rem;
    }

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

    .tagline {
        font-size: 1.125rem;
    }
}
