/* General Body Styles */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* --- NEW: Navigation Bar --- */
.navbar {
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
    font-size: 1.5rem;
    color: #00aaff;
    font-weight: bold;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #00aaff;
    text-decoration: none;
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #e0e0e0;
}


/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

/* Headers */
h1, h2, h3 {
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
    color: #00aaff; /* A striking tech blue */
    font-weight: 500;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.5rem;
    border-bottom: 2px solid #00aaff;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
}

p {
    font-size: 1.1rem;
    color: #b0b0b0;
    text-align: left;
}

a {
    color: #00aaff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- NEW: Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
    margin: 3rem 0;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

.hero-text .subtitle {
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.hero-image {
    flex: 0 0 300px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border: 2px solid #00aaff;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
}

/* --- NEW: Call to Action / Mailing List --- */
.cta-section {
    background-color: #1a1a1a;
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.cta-section h2 {
    border-bottom: none;
    margin-top: 0;
}

.cta-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    text-align: center;
}

.email-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.email-form input[type="email"] {
    padding: 12px;
    min-width: 300px;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
}

.email-form button {
    padding: 12px 25px;
    background-color: #00aaff;
    color: #121212;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}


/* Generic Button */
.button {
    display: inline-block;
    background-color: #00aaff;
    color: #121212;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #4dc3ff;
    text-decoration: none;
}


/* Coming Soon Page Specifics */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.tagline {
    font-size: 1.5rem;
    color: #cccccc;
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
}

/* Book Page Specifics */
.book-hero {
    margin-bottom: 4rem;
}

.book-cover-placeholder {
    width: 250px;
    height: 375px;
    background-color: #333;
    border: 2px solid #00aaff;
    margin: 1rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    font-style: italic;
    color: #888;
}

.book-cover-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buy-button {
    display: inline-block;
    background-color: #00aaff;
    color: #121212;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #4dc3ff;
    text-decoration: none;
}

.section {
    text-align: left;
    margin-bottom: 3rem;
}

.section ul {
    list-style-type: square;
    padding-left: 20px;
}

.section ul li {
    margin-bottom: 10px;
    color: #b0b0b0;
}

/* Book Gallery */
.book-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.book-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.book-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-bottom: 2px solid #00aaff;
}

.book-card-title {
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: #e0e0e0;
    padding: 1rem 1rem 0.5rem 1rem;
    margin: 0;
}

.book-card .button {
    margin: 0.5rem 1rem 1rem 1rem;
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* --- NEW: About Section --- */
.about-section {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    text-align: left;
}

.about-image {
    flex: 0 0 250px;
}

.about-image img {
    width: 100%;
    border-radius: 50%;
    border: 2px solid #00aaff;
}

.about-text {
    flex: 1;
}

/* Footer */
footer {
    border-top: 1px solid #333;
    padding: 2rem 0;
    margin-top: 4rem;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

/* --- MailerLite Form Overrides --- */
.ml-form-embedContainer .ml-form-embedWrapper {
  background-color: transparent !important;
  border-width: 0 !important;
}

.ml-form-embedContainer .ml-form-embedBody .ml-form-fieldRow input.form-control {
  background-color: #222 !important;
  color: #e0e0e0 !important;
  border: 1px solid #444 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.ml-form-embedContainer .ml-form-embedSubmit button.primary {
  background-color: #00aaff !important;
  color: #121212 !important;
  font-weight: bold !important;
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
}

.ml-form-embedContainer .ml-form-embedSubmit button.primary:hover {
  background-color: #4dc3ff !important;
}

.ml-form-successBody .ml-form-successContent h4 {
  color: #00aaff !important;
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
}

.ml-form-successBody .ml-form-successContent p {
  color: #e0e0e0 !important;
  text-align: center;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero, .about-section {
        flex-direction: column;
        text-align: center;
    }

    .hero p, .about-section p {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        position: absolute;
        right: -100%;
        top: 75px; /* Adjust based on navbar height */
        background-color: #1a1a1a;
        width: 100%;
        flex-direction: column;
        align-items: center;
        transition: 0.3s;
        border-top: 1px solid #333;
        z-index: 100; /* Ensure it's on top */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        padding: 1rem 0;
    }

    .hamburger {
        display: block;
    }

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

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

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

    .email-form {
        flex-direction: column;
        align-items: center;
    }

    .email-form input[type="email"] {
        width: 80%;
        min-width: unset;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}
.transmission-fragment {
    font-size: 0.8rem; /* Smaller font size */
    word-wrap: break-word; /* Older browsers */
    overflow-wrap: break-word; /* Standard */
    word-break: break-all; /* Force break for long words */
    white-space: pre-wrap; /* Allow wrapping within pre tag */
    -webkit-user-select: all; /* Allow selecting all text on WebKit */
    -moz-user-select: all; /* Allow selecting all text on Mozilla */
    -ms-user-select: all; /* Allow selecting all text on IE */
    user-select: all; /* Allow selecting all text */
}