/* ========================================
   FIGHT CLUB WAREHOUSE MANAGEMENT E-BOOK
   Landing Page Styles
   ======================================== */

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #0A0A0A;
    color: #E0E0E0;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #F5F5F5;
}

h1 {
    font-size: 4.5rem; /* 72px */
    line-height: 1.1;
}

h2 {
    font-size: 3rem; /* 48px */
    line-height: 1.2;
    letter-spacing: 1.5px;
}

h3 {
    font-size: 2.25rem; /* 36px */
    line-height: 1.3;
    letter-spacing: 1px;
}

p {
    font-size: 1.125rem; /* 18px */
    color: #E0E0E0;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(191, 54, 12, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
    overflow: hidden;
}

/* Grunge texture overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    max-width: 1200px;
    width: 100%;
    padding: 48px 24px;
}

.hero-content {
    text-align: left;
    max-width: 560px;
}

.hero-image {
    flex: 0 0 auto;
    max-width: 340px;
    width: 100%;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.6));
}

@media (max-width: 900px) {
    .hero-grid {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-image {
        max-width: 260px;
        order: -1;
    }
}

.hero-title {
    margin-bottom: 24px;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9),
                 0 0 40px rgba(211, 47, 47, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
    color: #D32F2F;
    display: block;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #E0E0E0;
    margin-bottom: 48px;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ========================================
   EMAIL FORM
   ======================================== */

.email-form {
    margin-bottom: 16px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.form-group {
    display: flex;
    gap: 16px;
    max-width: 650px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1 1 300px;
    min-width: 280px;
    padding: 18px 24px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(43, 43, 43, 0.8);
    border: 2px solid #757575;
    color: #F5F5F5;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: #757575;
}

.email-input:focus {
    outline: none;
    border-color: #D32F2F;
    background: rgba(43, 43, 43, 0.95);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.4);
}

.cta-button {
    display: inline-block;
    flex: 0 0 auto;
    padding: 18px 48px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #D32F2F;
    color: #F5F5F5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.cta-button:hover {
    background: #BF360C;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.cta-button:active {
    transform: scale(0.98);
}

.form-disclaimer {
    font-size: 0.875rem;
    color: #757575;
    font-family: 'Courier New', monospace;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ========================================
   TRUST INDICATORS SECTION
   ======================================== */

.trust-section {
    padding: 64px 0;
    background: #2B2B2B;
    border-top: 2px solid #D32F2F;
    border-bottom: 2px solid #D32F2F;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.trust-card {
    padding: 24px;
}

.trust-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: #D32F2F;
    margin-bottom: 8px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.trust-label {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #757575;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   CONTENT SECTION
   ======================================== */

.content-section {
    padding: 96px 0;
    background: #0A0A0A;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
    color: #F5F5F5;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.content-card {
    background: rgba(43, 43, 43, 0.6);
    border: 1px solid rgba(117, 117, 117, 0.3);
    padding: 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #D32F2F;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.content-card:hover {
    background: rgba(43, 43, 43, 0.9);
    border-color: rgba(211, 47, 47, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.content-card:hover::before {
    transform: scaleY(1);
}

.card-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: rgba(211, 47, 47, 0.3);
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #F5F5F5;
}

.card-text {
    font-size: 1rem;
    color: #E0E0E0;
    line-height: 1.7;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 96px 0;
    background: #1A1A1A;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: rgba(43, 43, 43, 0.6);
    border: 1px solid rgba(117, 117, 117, 0.3);
    padding: 32px;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(43, 43, 43, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(211, 47, 47, 0.3);
}

.quote-mark {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: rgba(211, 47, 47, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-style: italic;
    color: #E0E0E0;
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid rgba(117, 117, 117, 0.3);
    padding-top: 16px;
}

.author-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #F5F5F5;
    margin-bottom: 4px;
}

.author-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #757575;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta-section {
    padding: 96px 0;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
    text-align: center;
    border-top: 2px solid #D32F2F;
}

.cta-title {
    margin-bottom: 16px;
    color: #F5F5F5;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #E0E0E0;
    margin-bottom: 48px;
}

.email-form-footer {
    max-width: 650px;
    margin: 0 auto 16px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 48px 0;
    background: #0A0A0A;
    text-align: center;
    border-top: 1px solid rgba(117, 117, 117, 0.3);
}

.footer-text {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #757575;
    margin-bottom: 16px;
}

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

.footer-link {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #D32F2F;
    text-decoration: underline;
}

.footer-separator {
    color: #757575;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    h1 {
        font-size: 3rem; /* 48px */
    }

    h2 {
        font-size: 2.25rem; /* 36px */
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (375px - 767px) */
@media (max-width: 767px) {
    h1 {
        font-size: 2.25rem; /* 36px */
        letter-spacing: 1px;
    }

    h2 {
        font-size: 1.75rem; /* 28px */
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .desktop-only {
        display: none;
    }

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

    .email-input {
        flex: 0 0 auto;
        width: 100%;
        min-width: unset;
    }

    .cta-button {
        width: 100%;
        padding: 18px 32px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .trust-number {
        font-size: 2.5rem;
    }

    .content-section {
        padding: 64px 0;
    }

    .section-title {
        margin-bottom: 48px;
        font-size: 2rem;
    }

    .content-card {
        padding: 24px;
    }

    .testimonials-section {
        padding: 64px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-section {
        padding: 64px 0;
    }
}

/* Extra small devices */
@media (max-width: 374px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    .email-input {
        padding: 16px 20px;
        font-size: 0.9375rem;
    }

    .cta-button {
        padding: 16px 28px;
        font-size: 0.9375rem;
    }
}

/* ========================================
   FORM ERROR STATES (PHASE 2)
   ======================================== */

.email-input.error {
    border-color: #D32F2F;
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.5);
    background: rgba(211, 47, 47, 0.1);
}

.form-error {
    display: block;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #D32F2F;
    text-align: center;
}

/* ========================================
   LOADING SPINNER (PHASE 2)
   ======================================== */

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid rgba(245, 245, 245, 0.3);
    border-top-color: #F5F5F5;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cta-button:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.button-text {
    display: inline-block;
}

/* ========================================
   TOAST NOTIFICATIONS (PHASE 2)
   ======================================== */

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    max-width: 400px;
    padding: 16px 24px;
    background: rgba(43, 43, 43, 0.95);
    border: 2px solid;
    border-radius: 4px;
    color: #F5F5F5;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transform: translateX(500px);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.15);
}

.toast-success::before {
    content: '✓ ';
    font-weight: 700;
    color: #4CAF50;
}

.toast-error {
    border-color: #D32F2F;
    background: rgba(211, 47, 47, 0.15);
}

.toast-error::before {
    content: '✕ ';
    font-weight: 700;
    color: #D32F2F;
}

/* Mobile toast positioning */
@media (max-width: 767px) {
    .toast {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
        font-size: 0.8125rem;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #D32F2F;
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-title,
    .section-title,
    .cta-title {
        text-shadow: none;
    }

    .content-card,
    .testimonial-card {
        border-width: 2px;
    }
}

/* Honeypot anti-spam field — visually hidden from real users, left in the
   layout (not display:none) so unsophisticated bots that skip
   display:none-hidden fields still fill it in. */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
