/* Hide elements with the .hidden class */
.hidden {
    display: none !important;
}

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

:root {
    --primary-color: #0070F3;
    --secondary-color: #FF6B00;
    --background-color: #000000;
    --surface-color: #1A1A1A;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #a0a0a0;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--background-color) 0%, var(--surface-color) 50%, #212121 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header styles */
header {
    padding: 1.5rem 0;
    text-align: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.1), rgba(96, 96, 96, 0.1));
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.15), rgba(96, 96, 96, 0.15));
    border-color: rgba(255, 255, 255, 0.2);
}

.logo-img {
    height: 68px;
    max-width: 325px;
    object-fit: contain;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 2rem 0;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1.2px;
}

/* App store badges */
.app-stores {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #212121 0%, #2c2c2c 100%);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-color), 0.3);
}

.store-badge.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.store-badge:not(.coming-soon) {
    cursor: pointer;
}

.store-badge:not(.coming-soon):hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #262626 0%, #333333 100%);
    border-color: var(--primary-color);
    box-shadow: 0 6px 12px rgba(0, 112, 243, 0.2);
}

.store-badge:not(.coming-soon):active {
    transform: translateY(0);
}

.store-icon {
    width: 32px;
    height: 32px;
    margin-right: 1rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.badge-text strong {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Features section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(var(--primary-color), 0.1) 0%, rgba(var(--secondary-color), 0.1) 100%);
    border-radius: 24px;
    border: 1px solid rgba(var(--secondary-color), 0.3);
}

.feature {
    background: linear-gradient(135deg, #212121 0%, #2c2c2c 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-tertiary);
    margin-top: auto;
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.1) 0%, rgba(255, 107, 0, 0.1) 100%);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    margin: 2rem auto;
}

footer i {
    color: var(--secondary-color);
    font-size: 1.2em;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.1) 0%, rgba(255, 107, 0, 0.1) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 107, 0, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsletter h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 1px;
}

.newsletter p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.2);
}

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

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.submit-btn-admin {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 112, 243, 0.3);
}

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

.form-message {
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.form-message.error {
    background: rgba(255, 107, 0, 0.1);
    color: #ff6b00;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

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

    h2 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

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

    .app-stores {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .store-badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .newsletter {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .newsletter h3 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.logo,
.hero,
.features,
.app-stores,
footer {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Admin Panel Vertical Tabs Layout */
.admin-tabs-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.admin-tabs {
    display: flex;
    flex-direction: column;
    min-width: 220px;
    background: #232323;
    border-radius: 12px;
    padding: 1rem 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-tab {
    background: none;
    border: none;
    color: #e0e0e0;
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.admin-tab:last-child {
    margin-bottom: 0;
}

.admin-tab.active,
.admin-tab:focus {
    background: #333;
    color: #fff;
    outline: none;
}

.admin-tab:hover {
    background: #292929;
    color: #fff;
}

.admin-tab-content {
    flex: 1;
    min-width: 0;
}

/* Add user form row for inline selects */
.form-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Style select fields for dark theme */
.newsletter-form select {
    background: #232323;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border 0.2s;
}

.newsletter-form select:focus {
    border-color: var(--primary-color);
    outline: none;
    background: #292929;
    color: #fff;
}

/* Admin Panel Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.admin-title h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--text-primary);
}

.logout-btn {
    background: #ff4444;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: #ff6666;
}

.logout-btn:active {
    background: #cc3333;
}