/* ==========================================================================
   AI Won't Bite - Landing Page Styles
   Color scheme matched to book cover
   ========================================================================== */

/* CSS Custom Properties */
:root {
    /* Primary Colors - from book cover */
    --color-bg-dark: #0a1628;
    --color-bg-medium: #0d2847;
    --color-bg-gradient-start: #0a1628;
    --color-bg-gradient-end: #0d3b4c;

    /* Accent Colors */
    --color-teal: #00a896;
    --color-teal-light: #1dd3b0;
    --color-teal-glow: rgba(0, 168, 150, 0.3);
    --color-green: #2ecc71;
    --color-green-dark: #1a5a3a;

    /* Title Red - from book cover */
    --color-red: #e63946;
    --color-red-dark: #c1121f;

    /* Robot Yellow */
    --color-yellow: #f9c74f;
    --color-yellow-dark: #e5a80d;

    /* Text Colors */
    --color-white: #ffffff;
    --color-gray-light: #e0e0e0;
    --color-gray: #a0a0a0;

    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    background: var(--color-bg-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-teal-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-yellow);
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Container
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.125rem;
    color: var(--color-gray-light);
}

.section-intro em {
    color: var(--color-yellow);
    font-style: normal;
    font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background: var(--color-red-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 168, 150, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-red);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: var(--color-gray-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav a:hover {
    color: var(--color-white);
}

.nav .btn-nav {
    color: var(--color-white);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav {
        gap: 16px;
    }

    .nav a:not(.btn) {
        display: none;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%),
        url('assets/images/circuit-bg.jpg') center/cover;
    background-blend-mode: overlay;
    opacity: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, var(--color-teal-glow) 0%, transparent 50%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--color-bg-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.coming-soon-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(249, 199, 79, 0.2);
    border: 1px solid var(--color-yellow);
    color: var(--color-yellow);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 24px;
}

.coming-soon-badge.large {
    font-size: 1rem;
    padding: 12px 28px;
}

.hero-title {
    margin-bottom: 16px;
    line-height: 0.9;
}

.title-ai {
    display: block;
    color: var(--color-red);
    font-size: clamp(3.5rem, 10vw, 7rem);
    text-shadow: 0 4px 30px rgba(230, 57, 70, 0.3);
}

.title-bite {
    display: block;
    color: var(--color-red);
    font-size: clamp(4rem, 12vw, 8rem);
    text-shadow: 0 4px 30px rgba(230, 57, 70, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-gray-light);
    margin-bottom: 16px;
    font-weight: 500;
    border: 2px solid var(--color-yellow);
    padding: 16px 24px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
}

.hero-author {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-gray-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-book {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-img {
    max-width: 450px;
    width: 100%;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Hero Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        order: 2;
    }

    .hero-book {
        order: 1;
    }

    .book-cover-img {
        max-width: 350px;
    }

    .hero-subtitle {
        display: block;
    }
}

/* ==========================================================================
   Sections Base
   ========================================================================== */

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile) 0;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 168, 150, 0.2);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-medium);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-teal);
    transform: translateY(-4px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    color: var(--color-white);
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   What's Inside Section
   ========================================================================== */

.inside {
    background:
        linear-gradient(180deg, var(--color-bg-medium) 0%, var(--color-bg-dark) 100%),
        url('assets/images/circuit-bg.jpg') center/cover;
    background-blend-mode: overlay;
}

.inside-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.inside-image img {
    max-width: 350px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    border-radius: 8px;
}

.inside-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.inside-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 168, 150, 0.15);
    border-radius: 8px;
    transition: all var(--transition-medium);
}

.inside-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-teal);
}

.inside-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-teal);
    line-height: 1;
    min-width: 60px;
}

.inside-text h4 {
    color: var(--color-white);
    margin-bottom: 8px;
}

.inside-text p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

@media (max-width: 868px) {
    .inside-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .inside-image {
        order: -1;
    }
}

/* ==========================================================================
   Who Is This For Section
   ========================================================================== */

.who-for {
    background: var(--color-bg-dark);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.who-card {
    background: linear-gradient(145deg, rgba(0, 168, 150, 0.08) 0%, rgba(0, 168, 150, 0.02) 100%);
    border: 1px solid rgba(0, 168, 150, 0.2);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition-medium);
}

.who-card:hover {
    border-color: var(--color-yellow);
    transform: translateY(-4px);
}

.who-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.who-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.who-card h4 {
    color: var(--color-white);
    margin-bottom: 12px;
}

.who-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Author Section
   ========================================================================== */

.author {
    background:
        linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%),
        url('assets/images/circuit-bg.jpg') center/cover;
    background-blend-mode: overlay;
}

.author-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.author-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--color-teal);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.author-bio .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.author-name {
    color: var(--color-yellow);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.author-bio p {
    color: var(--color-gray-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.author-bio strong {
    color: var(--color-white);
}

.author-site {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 168, 150, 0.2);
}

.author-site span {
    color: var(--color-teal-light);
    font-weight: 600;
}

@media (max-width: 768px) {
    .author-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-image img {
        margin: 0 auto;
    }

    .author-bio .section-title {
        text-align: center;
    }
}

/* ==========================================================================
   Presale Section
   ========================================================================== */

.presale {
    background: linear-gradient(180deg, var(--color-bg-medium) 0%, var(--color-bg-dark) 100%);
    position: relative;
}

.presale::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--color-teal-glow) 0%, transparent 60%);
    opacity: 0.5;
}

.presale-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.presale-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.presale-text p {
    color: var(--color-gray-light);
    font-size: 1.125rem;
    line-height: 1.7;
}

.presale-text em {
    color: var(--color-yellow);
    font-style: normal;
    font-weight: 600;
}

.presale-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 168, 150, 0.3);
    border-radius: 16px;
    padding: 40px;
}

.presale-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 168, 150, 0.3);
    border-radius: 8px;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.form-group input::placeholder {
    color: var(--color-gray);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px var(--color-teal-glow);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: 8px;
}

@media (max-width: 768px) {
    .presale-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .presale-text {
        text-align: center;
    }

    .presale-text .section-title {
        text-align: center;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--color-bg-dark);
    padding: 60px 0;
    border-top: 1px solid rgba(0, 168, 150, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-red);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--color-gray);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-info p {
    color: var(--color-gray);
    font-size: 0.875rem;
}

.footer-site {
    color: var(--color-teal-light) !important;
    margin-top: 8px;
}

/* ==========================================================================
   Animations & Effects
   ========================================================================== */

/* Fade in on scroll - can be enhanced with JS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow effect for special elements */
.glow {
    box-shadow: 0 0 20px var(--color-teal-glow);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.text-teal {
    color: var(--color-teal-light);
}

.text-yellow {
    color: var(--color-yellow);
}

.text-red {
    color: var(--color-red);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
