:root {
    --primary: #40E0D0;
    --primary-dark: #2CC1B1;
    --background: #0A0A0A;
    --surface: #1A1A1A;
    --text: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --spacing: 2.5rem;
    --page-width: 210mm;
    --page-height: 297mm;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
}

/* Background decorations */
body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-image: url('../forwards_presentation/assets/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    transform: translate(5%, -15%) rotate(180deg);
}

.container {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 2rem;
    background: var(--surface);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
}

.logo {
    width: 200px;
    height: 40px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.forwards-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.download-btn, .write-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn {
    background: var(--primary);
    color: var(--background);
}

.write-btn {
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.download-btn:hover, .write-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.2);
}

.download-btn:hover {
    background: var(--primary-dark);
}

.write-btn:hover {
    background: rgba(64, 224, 208, 0.1);
}

.download-btn i, .write-btn i {
    font-size: 1.2rem;
}

/* Navigation */
.nav-links {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links ul {
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(64, 224, 208, 0.1);
    border-radius: 4px;
}

/* Sections */
.section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(64, 224, 208, 0.1);
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: rgba(26, 26, 26, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(64, 224, 208, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Lists */
ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(64, 224, 208, 0.1);
}

th {
    background: rgba(64, 224, 208, 0.1);
    color: var(--primary);
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(64, 224, 208, 0.2);
    color: var(--text-secondary);
}

/* Social Box */
.social-box {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--surface);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-link {
    display: block;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.social-link:hover img {
    opacity: 1;
}

/* Watermarks */
.watermark {
    position: fixed;
    pointer-events: none;
    opacity: 0.15;
    z-index: 0;
}

.forwards-watermark {
    bottom: 2rem;
    left: 2rem;
    width: 200px;
    height: 40px;
    background-image: url('assets/forwards.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
}

.rl-watermark {
    bottom: 2rem;
    right: 2rem;
    width: 100px;
    height: 100px;
    background-image: url('assets/rl.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

.copyright-watermark {
    top: 2rem;
    right: 2rem;
    left: auto;
    transform: none;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.5;
    text-align: right;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background-color: rgba(10, 10, 10, 0.5);
    border-radius: 4px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .container {
        box-shadow: none;
        padding: 0;
    }

    .nav-links {
        display: none;
    }

    .section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .social-box {
        display: none;
    }

    .watermark {
        opacity: 0.1;
    }

    .forwards-watermark {
        opacity: 0.15;
    }

    .button-group {
        display: none;
    }
}

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

    .nav-links {
        position: static;
        transform: none;
        margin-bottom: 2rem;
    }

    .nav-links ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.25rem 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .social-box {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin: 2rem 0;
    }

    .watermark {
        display: none;
    }

    .button-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .download-btn, .write-btn {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.version-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
    font-style: italic;
}

/* Email Modal */
.email-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.email-modal {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(64, 224, 208, 0.1);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.email-modal h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.email-modal p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.email-modal form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-modal input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 8px;
    background: rgba(26, 26, 26, 0.5);
    color: var(--text);
    font-size: 1rem;
}

.email-modal input:focus {
    outline: none;
    border-color: var(--primary);
}

.email-modal button {
    background: var(--primary);
    color: var(--background);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-modal button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.2);
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
} 