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

body {
    background-color: #0b1929;
    color: #e0e0e0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Header */
header {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #1a2d45;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

header img.logo {
    max-height: 80px;
}

.site-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4em;
    letter-spacing: 2px;
    color: #4ecdc4;
    margin-top: 0;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* Hamburger button */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #a0b0c0;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: #a0b0c0;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #4ecdc4;
}

.gold {
    color: #d4a843;
}

/* Header user section */
.header-user {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.header-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.header-avatar-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ecdc4, #1a8a82);
    color: #0b1929;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.65em;
}

/* Typography */
h1 {
    color: #ffffff;
    font-size: 2.2em;
    margin-bottom: 10px;
}

h2 {
    color: #4ecdc4;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6em;
    margin-bottom: 20px;
}

p {
    color: #a0b0c0;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Layout */
.container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto 60px;
    text-align: center;
}

.container-wide {
    max-width: 1100px;
    width: 90%;
    margin: 40px auto;
}

/* Hero */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    width: 90%;
    margin: 70px auto 50px;
}

.hero-content {
    flex: 1;
}

.hero-headline {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8em;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

.hero-headline strong {
    color: #4ecdc4;
    font-weight: 800;
}

.hero-features {
    list-style: none;
    padding: 0;
}

.hero-features li {
    color: #c0cdd8;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.5;
    padding-left: 35px;
    margin-bottom: 14px;
    position: relative;
}

.hero-features li::before {
    content: "♪";
    color: #4ecdc4;
    font-size: 1.3em;
    position: absolute;
    left: 0;
    top: -1px;
}

.hero-image {
    flex-shrink: 0;
}

.hero-image img {
    max-height: 520px;
    width: auto;
}

/* Section divider */
.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #d4a843);
    margin: 0 auto;
    border-radius: 2px;
}

/* Feature sections */
.features-wrapper {
    max-width: 1100px;
    width: 90%;
    margin: 60px auto 0;
}

.feature-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 70px;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex-shrink: 0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-image-balance {
    width: 320px;
    height: 276px;
}

.feature-image-pitch {
    width: 314px;
    height: 392px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.feature-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #4ecdc4;
    border-radius: 2px;
}

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

.feature-list li {
    color: #c0cdd8;
    font-size: 1.1em;
    line-height: 1.6;
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    color: #4ecdc4;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* Download section */
.download-section {
    max-width: 1100px;
    width: 90%;
    margin: 20px auto 60px;
}

.download-card {
    background: linear-gradient(135deg, #0f2035 0%, #122640 100%);
    border: 1px solid #1a2d45;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
}

.download-card h2 {
    color: #ffffff;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.download-card .platform-label {
    color: #4ecdc4;
    font-size: 1.15em;
    font-weight: 600;
    margin-bottom: 25px;
}

.app-store-badge {
    display: inline-block;
    margin-bottom: 30px;
}

.app-store-badge img {
    height: 54px;
    transition: opacity 0.2s;
}

.app-store-badge:hover img {
    opacity: 0.85;
}

.android-notice {
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 12px;
    padding: 20px 30px;
    display: inline-block;
    max-width: 600px;
}

.android-notice p {
    color: #c0cdd8;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 0;
}

.android-notice strong {
    color: #d4a843;
}

.android-notice a {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
}

.android-notice a:hover {
    text-decoration: underline;
}

/* Coming Soon (legacy) */
.coming-soon {
    background: linear-gradient(135deg, #0f2035 0%, #122640 100%);
    border: 1px solid #1a2d45;
    border-radius: 16px;
    padding: 45px;
}

.coming-soon h2 {
    font-size: 1.8em;
    font-weight: 700;
}

.coming-soon p {
    color: #a0b0c0;
    font-size: 1.1em;
    line-height: 1.6;
}

.coming-soon a {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
}

.coming-soon a:hover {
    text-decoration: underline;
}

.coming-soon-link {
    color: #4ecdc4;
    text-decoration: none;
    font-size: 1.1em;
    word-break: break-all;
}

.coming-soon-link:hover {
    text-decoration: underline;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #a0b0c0;
    margin-bottom: 6px;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #0f2035;
    border: 1px solid #1a2d45;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1em;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
}

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

/* Buttons */
button.submit-btn {
    background-color: #4ecdc4;
    color: #0b1929;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

button.submit-btn:hover {
    background-color: #3dbdb5;
}

.continue-btn {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    background-color: #4ecdc4;
    color: #0b1929;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.continue-btn:hover {
    background-color: #3dbdb5;
}

/* Messages */
.success-message {
    background-color: #0f2035;
    border: 1px solid #4ecdc4;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    color: #4ecdc4;
}

.success-message a {
    color: #4ecdc4;
    font-weight: 600;
    text-decoration: underline;
}

.success-message a:hover {
    color: #3dbdb5;
}

.error-message {
    color: #e74c3c;
    margin-bottom: 15px;
}

/* Text pages */
.text-left {
    text-align: left;
}

.text-left h3 {
    color: #4ecdc4;
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
}

.last-updated {
    color: #607080;
    font-size: 0.9em;
    margin-bottom: 25px;
}

/* About */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    width: 90%;
    margin: 60px auto;
}

.about-image {
    flex-shrink: 0;
}

.about-image img {
    max-height: 350px;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    color: #c0cdd8;
    font-size: 1.15em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
}

.about-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    width: 100%;
    margin-top: auto;
    padding: 30px 0;
    border-top: 1px solid #1a2d45;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer-logo {
    max-height: 36px;
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: #4ecdc4;
}

.footer-copy {
    font-size: 0.85em;
    color: #607080;
    margin-bottom: 6px;
}

.footer-link {
    color: #4ecdc4;
    font-size: 0.85em;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Admin */
.admin-card {
    background-color: #0f2035;
    border: 1px solid #1a2d45;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #ffffff;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-pending {
    background-color: #c9a84c33;
    color: #d4a843;
}

.badge-granted {
    background-color: #4ecdc433;
    color: #4ecdc4;
}

.badge-revoked {
    background-color: #e74c3c33;
    color: #e74c3c;
}

.admin-card-body p {
    margin-bottom: 6px;
    font-size: 0.95em;
}

.admin-card-body strong {
    color: #a0b0c0;
}

.admin-form {
    margin-top: 15px;
    border-top: 1px solid #1a2d45;
    padding-top: 15px;
}

.admin-form-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.admin-form-row .form-group {
    margin-bottom: 10px;
}

.admin-notes {
    flex: 1;
}

.admin-form select {
    padding: 10px;
    background-color: #0b1929;
    border: 1px solid #1a2d45;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 0.95em;
}

.admin-form select:focus {
    outline: none;
    border-color: #4ecdc4;
}

.admin-actions {
    margin-top: 10px;
}

.admin-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.admin-delete-form {
    text-align: right;
}

.delete-btn {
    background-color: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s;
}

.delete-btn:hover {
    background-color: #e74c3c22;
}

.admin-nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.admin-nav-link {
    display: block;
    background-color: #0f2035;
    border: 1px solid #1a2d45;
    border-radius: 12px;
    padding: 25px 35px;
    color: #4ecdc4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: border-color 0.2s;
}

.admin-nav-link:hover {
    border-color: #4ecdc4;
}

.admin-nav-link.logout {
    background-color: transparent;
    border-color: #e74c3c;
    color: #e74c3c;
    padding: 12px 25px;
    font-size: 0.95em;
}

.admin-nav-link.logout:hover {
    background-color: #e74c3c22;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.back-link {
    color: #4ecdc4;
    text-decoration: none;
    font-size: 0.95em;
}

.back-link:hover {
    text-decoration: underline;
}

.device-info {
    color: #a0b0c0;
    font-size: 0.9em;
}

.device-details {
    background-color: #0b1929;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
}

.device-details p {
    margin-bottom: 4px;
    font-size: 0.9em;
}

/* Beta Testers Table */
.testers-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.platform-filter {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid #1a2d45;
    background-color: #0f2035;
    color: #a0b0c0;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
}

.filter-btn:hover {
    border-color: #4ecdc4;
    color: #e0e0e0;
}

.filter-btn.active {
    border-color: #4ecdc4;
    background-color: #4ecdc418;
    color: #4ecdc4;
}

.testers-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #1a2d45;
}

.testers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.testers-table th {
    background-color: #0f2035;
    color: #a0b0c0;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    white-space: nowrap;
    border-bottom: 1px solid #1a2d45;
}

.testers-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #1a2d4580;
    color: #e0e0e0;
    vertical-align: top;
}

.testers-table tbody tr:hover {
    background-color: #0f203580;
}

.testers-table td:nth-child(7),
.testers-table td:nth-child(8) {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.platform-form select {
    padding: 6px 10px;
    background-color: #0b1929;
    border: 1px solid #1a2d45;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 0.9em;
    cursor: pointer;
}

.platform-form select:focus {
    outline: none;
    border-color: #4ecdc4;
}

.add-tester-heading {
    margin-top: 40px;
    margin-bottom: 16px;
    color: #ffffff;
}

.add-tester-form {
    background-color: #0f2035;
    border: 1px solid #1a2d45;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
}

.add-tester-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.add-tester-grid .full-width {
    grid-column: 1 / -1;
}

.add-tester-grid label {
    display: block;
    margin-bottom: 6px;
    color: #a0b0c0;
    font-size: 0.9em;
}

.add-tester-grid input,
.add-tester-grid select,
.add-tester-grid textarea {
    width: 100%;
    padding: 10px;
    background-color: #0b1929;
    border: 1px solid #1a2d45;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 0.95em;
    box-sizing: border-box;
}

.add-tester-grid input:focus,
.add-tester-grid select:focus,
.add-tester-grid textarea:focus {
    outline: none;
    border-color: #4ecdc4;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .hero-section {
        gap: 40px;
        margin: 50px auto 40px;
    }

    .hero-headline {
        font-size: 2.2em;
    }

    .hero-image img {
        max-height: 440px;
    }

    .feature-section {
        gap: 35px;
    }

    .feature-image-balance {
        width: 270px;
        height: 233px;
    }

    .feature-image-pitch {
        width: 265px;
        height: 331px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column-reverse;
        gap: 30px;
        margin: 30px auto 40px;
    }

    .hero-headline {
        font-size: 1.9em;
        text-align: center;
    }

    .hero-features li {
        font-size: 1.05em;
    }

    .hero-image {
        margin-right: -5px;
    }

    .hero-image img {
        max-height: 450px;
    }

    .feature-section,
    .feature-section.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }

    .feature-image-balance {
        width: 320px;
        height: 276px;
        margin: 0 auto;
    }

    .feature-image-pitch {
        width: 314px;
        height: 392px;
        margin: 0 auto;
    }

    .feature-content {
        text-align: center;
    }

    .feature-title {
        font-size: 1.5em;
        text-align: center;
    }

    .feature-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-list li {
        text-align: left;
    }

    .download-card {
        padding: 35px 25px;
    }

    .download-card h2 {
        font-size: 1.6em;
    }

    .hamburger {
        display: flex;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0b1929;
        border-bottom: 1px solid #1a2d45;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-left: 0;
        padding: 10px 0;
        z-index: 1000;
    }

    .header-nav.open {
        display: flex;
    }

    .header-nav .nav-link {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        font-size: 1.05em;
    }

    .header-nav .nav-link:hover {
        background-color: #0f2035;
    }

    .header-nav .header-user {
        flex-direction: column;
        gap: 0;
        width: 100%;
        white-space: normal;
        padding: 8px 0;
        border-top: 1px solid #1a2d45;
        margin-top: 4px;
    }

    .header-nav .header-user .nav-link {
        width: 100%;
    }

    header {
        position: relative;
    }

    .android-notice {
        padding: 15px 20px;
    }

    .coming-soon {
        padding: 30px 25px;
    }

    .about-section {
        flex-direction: column;
        gap: 30px;
        margin: 30px auto;
    }

    .about-image img {
        max-height: 280px;
    }

    .about-content h2 {
        text-align: center;
    }
}

/* Responsive - Small phones */
@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.5em;
    }

    .hero-features li {
        font-size: 0.95em;
    }

    .hero-image img {
        max-height: 380px;
    }

    .feature-image-balance {
        width: 260px;
        height: 224px;
    }

    .feature-image-pitch {
        width: 255px;
        height: 318px;
    }

    .feature-title {
        font-size: 1.3em;
    }

    .feature-list li {
        font-size: 1em;
    }

    .site-title {
        font-size: 1.8em;
    }
}

/* FAQ page */
.faq-page h2 {
    margin-bottom: 30px;
}

.faq-toc {
    margin-bottom: 40px;
}

.faq-toc h3 {
    color: #4ecdc4;
    font-size: 1.1em;
    margin: 20px 0 8px;
}

.faq-toc h3:first-child {
    margin-top: 0;
}

.faq-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-toc li {
    padding: 4px 0;
}

.faq-toc a {
    color: #a0b0c0;
    text-decoration: none;
    transition: color 0.2s;
}

.faq-toc a:hover {
    color: #4ecdc4;
}

.faq-divider {
    border: none;
    border-top: 1px solid #1a2d45;
    margin: 0 0 40px;
}

.faq-answers h3 {
    margin: 40px 0 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1a2d45;
}

.faq-answers h3:first-child {
    margin-top: 0;
}

.faq-qa {
    margin-bottom: 30px;
    scroll-margin-top: 100px;
}

.faq-qa h4 {
    color: #e0e0e0;
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 8px;
}

.faq-qa p {
    color: #a0b0c0;
    line-height: 1.7;
    margin: 0;
}

.faq-qa a {
    color: #4ecdc4;
}
