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

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

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.8;
    padding: 0;
    font-size: 18px;
}

.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-top: 50px;
}

.login-link {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s;
    z-index: 10;
}

.login-link:hover {
    background-color: #0052a3;
}

header .logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: block;
}

header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

header .tagline {
    font-size: 16px;
    color: #6c6c6c;
    font-weight: 400;
    font-style: normal;
}

.home-link {
    color: #1a1a1a;
    text-decoration: none;
}

.home-link:hover {
    color: #0066cc;
}

main {
    padding: 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    margin-top: 40px;
    letter-spacing: -0.5px;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    margin-top: 30px;
}

p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.8;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.intro .subtitle {
    font-size: 20px;
    color: #6c6c6c;
    font-style: normal;
    font-weight: 400;
}

.subheading {
    font-size: 18px;
    font-style: italic;
    color: #6c6c6c;
    margin-top: 5px;
    margin-bottom: 30px;
}

.signup-section {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin: 40px 0;
}

.why-108 {
    margin-bottom: 60px;
}

.pattern-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pattern-item {
    margin-bottom: 0;
    padding: 30px 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border-left: none;
    position: relative;
    text-align: center;
}

.pattern-number {
    font-size: 64px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 15px;
    display: block;
    line-height: 1;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

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

.pattern-content strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.pattern-content p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    text-align: center;
}

.join-pack {
    margin-bottom: 40px;
    background-color: transparent;
    padding: 0;
}

.pack-features {
    margin-top: 30px;
}

.pack-feature {
    margin-bottom: 25px;
    padding: 0;
    border-bottom: none;
}

.pack-feature strong {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.pack-feature p {
    margin-bottom: 0;
    color: #1a1a1a;
    line-height: 1.8;
    font-size: 18px;
}

.cta {
    text-align: center;
    margin: 40px 0 30px;
}

.cta h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    font-style: italic;
}

footer {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    color: #6c6c6c;
    font-size: 16px;
}

footer p {
    margin-bottom: 8px;
    font-size: 16px;
}

footer a {
    color: #0066cc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Privacy Page Styles */
.privacy-content {
    padding: 0;
}

.privacy-content p {
    margin-bottom: 20px;
}

.privacy-content h3 {
    margin-top: 50px;
    margin-bottom: 20px;
}

.privacy-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content code {
    background-color: #f6f6f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #1a1a1a;
}

.privacy-content ul {
    margin: 20px 0 20px 40px;
    padding: 0;
}

.privacy-content li {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.8;
}

.privacy-content a {
    color: #0066cc;
    text-decoration: underline;
}

.privacy-content a:hover {
    color: #004999;
}

.back-link {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.back-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
}

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

/* MailerLite Form Overrides */
#mlb2-30550707.ml-form-embedContainer {
    max-width: 100% !important;
}

#mlb2-30550707 .ml-form-embedWrapper {
    background-color: transparent !important;
    border: none !important;
}

#mlb2-30550707 .ml-form-embedContent h4 {
    font-size: 28px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    color: #1a1a1a !important;
}

#mlb2-30550707 .ml-form-embedContent p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #1a1a1a !important;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 40px 20px;
    }
    
    header .logo {
        width: 80px;
        height: 80px;
    }
    
    .login-link {
        position: static;
        display: block;
        margin: 0 auto 20px;
        width: fit-content;
    }
    
    header h1 {
        font-size: 24px;
    }
    
    header .tagline {
        font-size: 14px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .intro h2 {
        font-size: 30px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    h4 {
        font-size: 18px;
    }
    
    p, .pack-feature p, .pattern-content p {
        font-size: 16px;
    }
    
    .pattern-item {
        padding-left: 50px;
    }
    
    .pattern-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pattern-item {
        padding: 25px 15px;
    }
    
    .pattern-number {
        font-size: 56px;
    }
    
    .pattern-content strong {
        font-size: 18px;
    }
    
    .pattern-content p {
        font-size: 15px;
    }
    
    .cta h2 {
        font-size: 36px;
    }
    
    .pack-feature strong, .pattern-content strong {
        font-size: 18px;
    }
}

/* Authentication Pages Styles */
.auth-section {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 0;
}

.auth-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-size: 16px;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    margin-bottom: 10px;
}

.btn-primary {
    background-color: #0066cc;
    color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
    background-color: #0052a3;
}

.btn-secondary {
    background-color: #6c6c6c;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #555555;
}

.btn-danger {
    background-color: #cc0000;
    color: #ffffff;
}

.btn-danger:hover:not(:disabled) {
    background-color: #a30000;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    background-color: #ffe6e6;
    border-left: 4px solid #cc0000;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #cc0000;
    font-size: 15px;
}

.success-message {
    background-color: #e6f7e6;
    border-left: 4px solid #00cc00;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #006600;
    font-size: 15px;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.auth-links p {
    margin-bottom: 8px;
    font-size: 16px;
}

.auth-links a {
    color: #0066cc;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Register Page Styles */
/* Register Page Styles */
.register-intro {
    margin-bottom: 20px;
    text-align: center;
}

.register-section {
    max-width: 600px;
}

.register-section h2 {
    margin-bottom: 15px;
}

.register-section .lead-text {
    font-size: 16px;
    margin-bottom: 15px;
}

.register-section .signup-section {
    max-width: 100%;
    background-color: transparent;
    padding: 0;
    margin: 20px 0;
}

.register-section .auth-links {
    margin-top: 20px;
    padding-top: 15px;
}

.register-content {
    margin-top: 30px;
}

.lead-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.steps-list {
    margin: 20px 0 30px 20px;
    padding-left: 20px;
}

.steps-list li {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.6;
}

.app-store-buttons {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.app-store-buttons h3 {
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.app-store-link {
    display: inline-block;
    text-decoration: none;
}

.app-badge {
    width: 180px;
    height: auto;
    transition: transform 0.2s;
}

.app-store-link:hover .app-badge {
    transform: scale(1.05);
}

.note {
    font-size: 14px;
    color: #6c6c6c;
    font-style: italic;
}

.why-mobile {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.why-mobile h3 {
    margin-bottom: 15px;
}

/* Warning and Success Boxes */
.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.warning-box h3 {
    color: #cc6600;
    margin-bottom: 15px;
    margin-top: 0;
}

.warning-box ul {
    margin: 15px 0 15px 20px;
    padding-left: 20px;
}

.warning-box li {
    margin-bottom: 10px;
    color: #1a1a1a;
}

.success-box {
    background-color: #e6f7e6;
    border-left: 4px solid #00cc00;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
}

.success-box h3 {
    color: #006600;
    margin-bottom: 20px;
}

.success-box p {
    margin-bottom: 15px;
}

/* Responsive adjustments for auth pages */
@media (max-width: 768px) {
    .auth-section {
        padding: 20px 0;
    }
    
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .app-badge {
        width: 160px;
    }
    
    .app-store-buttons {
        padding: 20px;
    }
}

/* Dashboard Styles */
.main-nav {
    background-color: #d4e3f0;
    padding: 0;
    margin: 0 0 40px 0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 15px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-right: 1px solid #b8d0e8;
    transition: background-color 0.2s;
}

.main-nav a:last-child {
    border-right: none;
}

.main-nav a:hover {
    background-color: #c0d8ed;
}

.main-nav a.active {
    background-color: #7f9bb8;
    color: #ffffff;
}

.player-info {
    margin-bottom: 30px;
}

.player-info h2 {
    margin-bottom: 10px;
}

.player-subtitle {
    font-size: 16px;
    color: #6c6c6c;
}

.current-week {
    margin-bottom: 30px;
}

.week-info {
    margin-top: 20px;
}

.week-info p {
    margin-bottom: 15px;
}

/* Tables */
.data-table,
.pattern-table,
.stats-table,
.mini-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #ffffff;
}

.data-table thead,
.pattern-table thead,
.mini-table thead {
    background-color: #d4e3f0;
}

.data-table th,
.pattern-table th,
.mini-table th,
.stats-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 2px solid #7f9bb8;
}

.data-table td,
.pattern-table td,
.mini-table td,
.stats-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.data-table tbody tr:hover,
.pattern-table tbody tr:hover,
.mini-table tbody tr:hover {
    background-color: #f8f8f8;
}

.stats-table {
    border: 1px solid #e0e0e0;
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stat-value {
    font-weight: 700;
    text-align: right;
    color: #1a1a1a;
}

.completed {
    color: #00aa00;
    font-weight: 600;
}

.pending {
    color: #999999;
}

.table-note {
    margin-top: 10px;
    font-size: 14px;
}

.table-note a {
    color: #0066cc;
    text-decoration: none;
}

.table-note a:hover {
    text-decoration: underline;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 30px 0;
}

.stats-box,
.leaderboard-box {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 4px;
}

.stats-box h3,
.leaderboard-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Challenge Box */
.challenge-box {
    background-color: #fff9e6;
    border-left: 4px solid #ffaa00;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.challenge-box h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #cc6600;
}

.challenge-status {
    font-weight: 600;
    color: #cc6600;
    margin-top: 15px;
}

.btn-link {
    display: inline-block;
    margin-top: 15px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

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

/* Loading State */
#loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c6c6c;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
    }
    
    .main-nav a {
        border-right: none;
        border-bottom: 1px solid #b8d0e8;
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .data-table,
    .pattern-table,
    .mini-table {
        font-size: 14px;
    }
    
    .data-table th,
    .data-table td,
    .pattern-table th,
    .pattern-table td,
    .mini-table th,
    .mini-table td {
        padding: 8px 6px;
    }
}

