/* ============================================
   LETTERBLACK - PROFESSIONAL PRODUCT PAGE
   ============================================ */

/* Import Variables */
@import 'variables.css';

/* ============================================
   RESET & BASE
   ============================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    font-family: var(--font-main);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */

.product-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(9, 11, 13, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo img {
    height: 28px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--text-primary);
}

.main-nav .btn {
    margin-left: 1rem;
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-meta svg {
    stroke: var(--accent-color);
}

.hero-visual {
    position: relative;
}

.product-screenshot {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */

.problem-section {
    background: linear-gradient(to bottom, transparent, rgba(220, 38, 38, 0.02));
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.problem-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: rgba(220, 38, 38, 0.4);
    background: rgba(220, 38, 38, 0.08);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.15);
    transform: translateY(-4px);
}

.problem-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.problem-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-color);
    stroke-width: 1.5;
}

.problem-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */

.solution-section {
    background: var(--bg-surface);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-color);
    background: rgba(220, 38, 38, 0.05);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.2);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   USE CASES
   ============================================ */

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-case-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.use-case-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 0.4rem 1rem;
    background: var(--accent-color);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    border-radius: 12px;
    letter-spacing: 0.05em;
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.use-case-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.use-case-card ul {
    list-style: none;
    padding: 0;
}

.use-case-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.use-case-card li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ============================================
   SCREENSHOT SHOWCASE
   ============================================ */

.screenshot-section {
    background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.screenshot-item {
    text-align: center;
}

.screenshot-item img {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.screenshot-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.screenshot-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   TRUST & SAFETY
   ============================================ */

.trust-section {
    background: var(--bg-surface);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.trust-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.trust-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.trust-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.trust-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-color);
    stroke-width: 1.5;
}

.trust-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.trust-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   PRICING
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.pricing-featured {
    border-color: var(--accent-color);
    background: rgba(220, 38, 38, 0.08);
    box-shadow: 0 0 40px rgba(220, 38, 38, 0.25);
    transform: scale(1.05);
}

.pricing-featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1rem;
    background: var(--accent-color);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    border-radius: 12px;
    letter-spacing: 0.05em;
}

.pricing-tier {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.pricing-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta-section {
    background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
    text-align: center;
}

.final-cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.final-cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.final-cta-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */

.product-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: rgba(17, 17, 19, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3rem;
    max-width: 480px;
    width: calc(100% - 2rem);
    position: relative;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

.modal-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.modal-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.modal-input:focus {
    border-color: var(--accent-color);
}

.modal-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.modal-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .solution-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-grid,
    .use-cases-grid,
    .screenshot-grid,
    .trust-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid,
    .use-cases-grid,
    .screenshot-grid,
    .trust-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-featured {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
