/*======================================================
  IMPORT PIRULEN FONT
======================================================*/
/* Pointing to your local fonts folder - change .ttf if yours is .otf */
@font-face {
    font-family: 'Pirulen';
    src: url('../fonts/pirulen.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Base Google fallback */
@import url('https://fonts.googleapis.com/css2?family=Jura:wght@400;700&display=swap');

/*======================================================
  ROOT VARIABLES & COLOR THEME 
======================================================*/
:root {
    --bg-black: #000000;
    --bg-tech-dark: #070a12;
    --neon-blue: #00c3ff;
    --neon-red: #ff002f;
    --tech-grey: #8a96aa;
    --text-white: #ffffff;
    
    --primary-font: 'Pirulen', 'Jura', sans-serif;
    --body-font: 'Jura', sans-serif;
}

/*======================================================
  RESET & GLOBAL
======================================================*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--body-font);
    line-height: 1.6;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(0, 195, 255, 0.05) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(255, 0, 47, 0.05) 0%, transparent 40%);
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .btn {
    font-family: var(--primary-font);
    letter-spacing: 1px;
}

a { text-decoration: none; transition: 0.3s; }

/*======================================================
  TYPOGRAPHY & BUTTONS
======================================================*/
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s;
}

.btn-red {
    background: transparent;
    border: 2px solid var(--neon-red);
    color: var(--text-white);
    box-shadow: 0 0 10px rgba(255, 0, 47, 0.2);
}

.btn-red:hover {
    background: var(--neon-red);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 0, 47, 0.8);
}

.btn-blue {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--text-white);
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.2);
}

.btn-blue:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.8);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--tech-grey);
    color: var(--tech-grey);
}
.btn-outline:hover {
    border-color: var(--text-white);
    color: var(--text-white);
}

/*======================================================
  HEADER NAVIGATION
======================================================*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0,0,0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo { font-size: 1.5rem; color: var(--text-white); text-transform: uppercase; }
.logo span { color: var(--tech-grey); }

nav ul { list-style: none; display: flex; gap: 40px; }
nav ul li a {
    color: var(--tech-grey);
    font-family: var(--primary-font);
    font-size: 12px;
}
nav ul li a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 195, 255, 0.6);
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-white);
}

/*======================================================
  HERO SECTION
======================================================*/
.hero {
    min-height: 100vh;
    padding: 140px 8% 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(0,0,0,1) 30%, rgba(7,10,18,0.7) 100%), url('../images/hero-bg.jpg') center/cover;
}


.hero-text { flex: 1; max-width: 650px; z-index: 2; }
.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-white);
    text-shadow: 2px 2px 0 var(--neon-blue), -2px -2px 0 var(--neon-red);
}
.hero-text p {
    font-size: 1.2rem;
    color: var(--tech-grey);
    margin-bottom: 40px;
    font-family: var(--body-font);
    font-weight: 700;
}

.hero-image-wrapper { flex: 1; display: flex; justify-content: flex-end; }
.hero-image-wrapper img {
    max-width: 450px;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0, 195, 255, 0.1), 0 0 60px rgba(255, 0, 47, 0.1);
}

.logo-image-wrapper img {
    max-width: 450px;
    width: 100%;
    border-radius: 4px;
   }

/*======================================================
  RABBIT SECTION SEPARATOR
======================================================*/
.separator { text-align: center; padding: 20px 0; position: relative; }
.separator::before, .separator::after {
    content: ''; position: absolute; top: 50%; width: 35%; height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.separator::before { left: 5%; }
.separator::after { right: 5%; }

.separator img {
    width: 60px; height: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
    transition: transform 0.4s ease;
}
.separator img:hover { transform: scale(1.1) rotate(5deg); }

/*======================================================
  LATEST RELEASE
======================================================*/
.latest-release {
    padding: 100px 8%;
    background-color: var(--bg-tech-dark);
}

.release-container { display: flex; gap: 80px; max-width: 1200px; margin: 0 auto; align-items: center; }

.book-content-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.book-text-left {
    flex: 1;
    text-align: left;
}

.book-cover-large {
    flex-shrink: 0;
}

.book-cover-large img {
    max-width: 380px; width: 100%;
    border-radius: 8px; border: 2px solid rgba(255,255,255,0.05);
}

.book-info h2 { font-size: 2.8rem; margin-bottom: 10px; }
.tech-bar {
    width: 100px; height: 4px; margin-bottom: 30px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-red));
}
.book-info p { margin-bottom: 25px; color: var(--tech-grey); font-size: 1.1rem; }

blockquote {
    font-size: 1.1rem; color: var(--neon-blue);
    border-left: 3px solid var(--neon-red);
    padding-left: 20px; font-style: italic;
    margin-bottom: 40px; background: rgba(0,0,0,0.4); padding: 15px 20px;
}
.action-buttons { display: flex; gap: 20px; }

/*======================================================
  NEWSLETTER FORM & MESSAGES 
======================================================*/
.newsletter-section {
    padding: 120px 8%;
    text-align: center;
    background-color: #03050a;
    position: relative;
    border-top: 1px solid rgba(0, 195, 255, 0.1);
    border-bottom: 1px solid rgba(255, 0, 47, 0.1);
}

.newsletter-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.newsletter-content h2 { font-size: 2.4rem; margin-bottom: 20px; color: var(--text-white); }
.newsletter-content p { color: var(--tech-grey); margin-bottom: 40px; }

/* Contact Form Input Logic */
.email-form { display: flex; gap: 15px; justify-content: center; position: relative; }

/* Hide Honeypot fully out of regular page flow */
.honey-field { position: absolute; left: -9999px; top: -9999px; }

.email-form input[type="email"] {
    flex: 1; background: #000; border: 1px solid var(--neon-blue);
    padding: 18px; color: #fff; font-family: var(--primary-font); font-size: 14px;
}
.email-form input:focus { outline: none; box-shadow: 0 0 10px rgba(0,195,255,0.3); }

/* Form Submit Dynamic Box states */
.success-message {
    display: none; padding: 30px; margin-top: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.2);
}
.success-message h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--neon-blue); text-shadow: 0 0 5px rgba(0, 195, 255, 0.5);}
.success-message p { margin-bottom: 0;}

/*======================================================
  ABOUT SECTION
======================================================*/
.about-section { padding: 100px 8%; background-color: var(--bg-black); }

.about-container { display: flex; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }

.author-image { flex: 1; position: relative; }
.author-image img { width: 100%; max-width: 450px; display: block; position: relative; z-index: 2; filter: grayscale(80%) contrast(1.2); }
.author-image::before {
    content: ''; position: absolute; top: -10px; left: -10px; width: 50%; height: 50%;
    border-top: 4px solid var(--neon-blue); border-left: 4px solid var(--neon-blue); z-index: 1;
}
.author-image::after {
    content: ''; position: absolute; bottom: -10px; right: -10px; width: 50%; height: 50%;
    border-bottom: 4px solid var(--neon-red); border-right: 4px solid var(--neon-red); z-index: 1;
}

.author-bio { flex: 1; }
.author-bio h2 { font-size: 2.2rem; margin-bottom: 20px; color: var(--text-white); }
.author-bio p { color: var(--tech-grey); font-size: 1.1rem; margin-bottom: 20px; }

/*======================================================
  FOOTER
======================================================*/
footer {
    padding: 50px 8% 30px;
    background: var(--bg-tech-dark); text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo { font-family: var(--primary-font); font-size: 1.8rem; margin-bottom: 30px; }

.socials { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.socials a { color: var(--tech-grey); font-size: 1.5rem; transition: all 0.3s; }
.socials a:hover { color: var(--neon-blue); transform: translateY(-5px); }
footer p { font-size: 0.9rem; color: #555; }

/*======================================================
  RESPONSIVE QUERIES
======================================================*/
@media(max-width: 1024px) {
    .release-container, .about-container { flex-direction: column; text-align: center; }
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-image-wrapper { margin-top: 40px; justify-content: center; }
    .action-buttons { justify-content: center; }
    .author-image img { margin: 0 auto; }
    .book-content-layout { flex-direction: column; }
    .book-cover-large { order: -1; width: 100%; text-align: center; }
    .book-cover-large img { max-width: 320px; }
    .book-text-left { text-align: center; }
}

@media(max-width: 768px) {
    .hero-text h1 { font-size: 2.5rem; text-shadow: none; }
    .mobile-toggle { display: block; }
    
    nav ul {
        display: none; flex-direction: column;
        background: #000; position: absolute; top: 100%; left: 0; width: 100%;
        padding: 20px 0; text-align: center; border-bottom: 2px solid var(--neon-blue);
    }
    nav ul.active { display: flex; gap: 25px; }
    .email-form { flex-direction: column; }
    .separator::before, .separator::after { width: 25%; }
}