/* ==========================================================================
   1. GLOBAL DESIGN VARIABLES
   ========================================================================== */
:root {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

:root {
    --bg: #F4F3EF;          /* Balanced mid-century cream linen tone */
    --card: #ffffff;        /* Pure white for containers */
    --text: #1A1A1A;        /* Crisp off-black structural type */
    --gray: #666666;        /* Balanced readable description neutral */
    --success: #2e7d32;
    --accent: #ff4f00;      /* Your signature polished, rich orange pop */
    --border: #1A1A1A;      /* Heavy, solid architectural lines */
}

/* Scoped Product Override (PDF Ninja Pro - High-Performance Dark Theme) */
.pdf-ninja-page {
    --bg: #F4F3EF;          /* Aligned with Labs mid-century cream linen */
    --card: #ffffff;        /* Aligned with Labs white containers */
    --text: #1A1A1A;        /* Crisp off-black for brand consistency */
    --gray: #666666;        /* Balanced readable description neutral */
    --success: #2e7d32;
    --accent: #e53935;      /* Your signature vivid red */
    --border: #1A1A1A;      /* Heavy architectural lines */
}

/* Scoped Product Override (Freezeframe - Mid-Century Brutalist Utility) */
.freezeframe-page {
    --bg: #F4F3EF;          /* Mid-century cream linen tone */
    --card: #ffffff;        /* Pure white for the brutalist capsules */
    --text: #1A1A1A;        /* Crisp off-black structural type */
    --gray: #666666;        /* Balanced readable description neutral */
    --border: #1A1A1A;      /* Heavy, solid architectural structural lines */
    --accent: #1A1A1A;      /* Primary interactive blocks */
    
    /* App UI Specific Accent Tones */
    --mint-green: #E2EFE0;  /* App's soft recovery green */
    --terracotta: #F0D7D7;  /* App's soft deletion/alert red */
}

/* Scoped Product Override (ClearCut - Industrial Anti-Bloat Utility) */
.clearcut-page {
    --bg: #F4F3EF;          /* Aligned with Labs mid-century cream linen */
    --card: #ffffff;        /* Aligned with Labs white containers */
    --text: #1A1A1A;        /* Crisp off-black for brand consistency */
    --gray: #666666;        /* Balanced readable neutral */
    --accent: #2c3e50;      /* Deep industrial slate blue */
    --border: #1A1A1A;      /* Heavy architectural lines */
    --success: #00c853;
}

/* ==========================================================================
   2. GLOBAL BASE & RESET RULES
   ========================================================================== */
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background 0.2s ease, color 0.2s ease;
}

/* ==========================================================================
   3. NAVIGATION COMPONENT
   ========================================================================== */
nav {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    align-items: center;
    border-bottom: 1px solid var(--border);
    width: 100%;
    background: var(--bg);
}

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

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.logo { 
    font-size: 1.1rem; 
    font-weight: 800; 
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    background: var(--accent);
    color: white;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    font-size: 1.2rem;
    overflow: hidden;
}

.logo-box svg, 
.logo-box i {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-box svg, 
.logo:hover .logo-box i {
    transform: rotate(360deg);
}

.logo span { 
    color: var(--accent); 
}

/* ==========================================================================
   4. DROPDOWN SUB-SYSTEM
   ========================================================================== */
.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
    cursor: pointer;
}

.dropdown-trigger {
    /* Inherits most styles from .nav-links a */
    pointer-events: none; /* Keep this so the parent .dropdown handles hover/click */
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Apply common styles to both nav links and the dropdown trigger */
.nav-links a,
.dropdown-trigger {
    color: var(--gray);
    font-weight: 600;
    transition: color 0.2s ease;
}

.dropdown:hover .dropdown-trigger {
    color: var(--text) !important;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;      
    min-width: 160px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 100;
    padding: 0.4rem 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

.dropdown-menu a {
    color: var(--gray); /* Removed !important */
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.1s ease, color 0.1s ease;
    text-align: left;        
}

.dropdown-menu a.active {
    color: var(--text);
    font-weight: 600;
}

.dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.03) !important;
    color: var(--text) !important;
}

.pdf-ninja-page .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.tools-dropdown:hover .dropdown-menu,
.tools-dropdown:focus-within .dropdown-menu {
    display: flex;
}

/* ==========================================================================
   5. HERO LAYOUT ELEMENTS
   ========================================================================== */
.hero {
    text-align: center;
    padding: 6rem 10% 4rem;
}

.hero p:first-of-type {
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 600;
    max-width: 650px;
    margin: 0 auto 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto 1.5rem;
}

.hero p:last-of-type {
    margin-bottom: 2.5rem;
}

.hero-logo-container,
.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.hero-logo-wrapper .logo-box {
    width: 64px;
    height: 64px;
    border-radius: 0px;
    padding: 0px;
    box-shadow: 4px 4px 0px var(--border);
}

.hero .hero-logo-box {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent); 
    border-radius: 0px;
    transform: none !important;
    transition: none !important;
    border: 2px solid var(--border);
}

.hero .hero-logo-box svg {
    width: 32px;
    height: 32px;
    animation: shuriken-fast-spin 4s ease-in-out infinite;
}

/* ==========================================================================
   6. FEATURES CARD SYSTEM (RESTORED TO ORIGINAL PROPORTIONS)
   ========================================================================== */
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 10%;
    flex-wrap: wrap; 
}

.feature-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 0px; 
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    border: 2px solid var(--border); 
    text-align: center;
    box-shadow: 4px 4px 0px var(--border);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: auto;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Centering logic for home page cards with inner wrapper div */
.feature-card > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Icon-specific branding for Home Page cards */
.icon-pdf { background-color: #e53935 !important; }
.icon-freezeframe { background-color: #1A1A1A !important; }
.icon-clearcut { background-color: #2c3e50 !important; }

/* ==========================================================================
   7. PRICING LAYOUT COMPONENT
   ========================================================================== */
.pricing {
    padding: 4rem 10%;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.pricing-grid-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.price-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 0px;
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    border: 2px solid var(--border);
    position: relative;
    text-align: center;
    box-shadow: 4px 4px 0px var(--border);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.price-card.featured {
    border-color: var(--accent);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 0px;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-name { 
    font-size: 1.25rem; 
    font-weight: 600; 
    margin-bottom: 0.5rem; 
}

.price-amount { 
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 1.5rem; 
}

.brutalist-checklist {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    text-align: left;
    width: 100%;
}

.brutalist-checklist li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 600;
}

/* ==========================================================================
   8. PRIVACY PROFILE PANELS
   ========================================================================== */
.privacy-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.privacy-box {
    background: var(--card);
    border: 2px solid var(--border);
    color: var(--text);
    padding: 2.5rem;
    border-radius: 0px;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 4px 4px 0px var(--border);
}

.feedback-page .privacy-box {
    text-align: left;
    margin-top: 0;
}

.pdf-ninja-page .privacy-box {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.privacy-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   9. INTERACTIVE ACTION ACTIONS (BUTTONS)
   ========================================================================== */
.btn-small {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 0px;
    font-weight: 600;
    border: 2px solid var(--border);
    box-shadow: 4px 4px 0px var(--border);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-sizing: border-box;
}

.btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--border);
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff; 
    padding: 1rem 2rem;
    border-radius: 0px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--border);
    box-shadow: 4px 4px 0px var(--border);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-large:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--border);
    filter: none;
}

.price-cta {
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 1rem;
    background: var(--accent) !important;
    color: white;
    border: 2px solid var(--border);
    font-weight: 800;
    box-shadow: 4px 4px 0px var(--border);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-sizing: border-box;
}

.price-cta:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--border);
}

/* ==========================================================================
   10. FOOTER ATTRIBUTIONS
   ========================================================================== */
footer {
    text-align: center;
    padding: 4rem 10%;
    font-size: 0.9rem;
    color: var(--gray);
    border-top: 1px solid var(--border);
}

/* ==========================================================================
   11. DATA LAYOUT COMPONENT PIPELINES
   ========================================================================== */
.card-icon-v2 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.roadmap-item {
    list-style: none !important;
    display: flex;
    align-items: center;
    color: #888 !important;
    padding-left: 0 !important;
    margin-top: 8px;
}

.roadmap-item i {
    display: none !important; 
}

.roadmap-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    color: #ffcc00 !important;
}

.coming-soon-pill {
    margin-left: auto;
    font-size: 0.65rem;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: #ffcc00;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.roadmap-item::before {
    content: "•"; 
    margin-right: 12px;
    color: var(--gray);
}

/* ==========================================================================
   12. ANIMATION TIMINGS & SEQUENCE MECHANICS
   ========================================================================== */
@keyframes shuriken-fast-spin {
    0%, 85% { transform: scale(1) rotate(0deg); }
    88% { transform: scale(1.2) rotate(-30deg); }
    92% { transform: scale(1.2) rotate(740deg); }
    96%, 100% { transform: scale(1) rotate(720deg); }
}

/* ==========================================================================
   13. FEEDBACK FRAME DATA OVERLAYS
   ========================================================================== */
.feedback-page main {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.feedback-page .feedback-hero {
    padding-top: 0;
}

.feedback-page .form-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.feedback-page form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

.feedback-banner {
    padding: 4rem 10%;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    margin-top: 2rem;
}

.feedback-content {
    max-width: 650px;
    margin: 0 auto;
}

.feedback-content h2 {
    color: var(--text);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feedback-content p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ==========================================================================
   14. SPECIFIC PRODUCT OVERRIDES (PDF NINJA HOVER & LAYOUT ALIGNMENT FIX)
   ========================================================================== */
.pdf-ninja-page .hero-logo-box {
    width: 64px;
    height: 64px;
    background-color: #e53935;
    box-shadow: 4px 4px 0px var(--border);
    border: 2px solid var(--border);
    animation: slow-spin 15s linear infinite;
}

@keyframes slow-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pdf-ninja-page .pricing {
    border-top: none !important;
}

.pdf-ninja-page .brutalist-checklist li::before {
    display: none !important; /* Removes stray ellipses/bullets */
}

/* ==========================================================================
   15. PRODUCT OVERRIDES: FREEZEFRAME PIPELINE
   ========================================================================== */
.freezeframe-page .hero-logo-box {
    background: #1A1A1A;
    width: 64px;
    height: 64px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
    border: 2px solid #1A1A1A;
}

.freezeframe-page .logo-box {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}

.freezeframe-page .highlight {
    color: var(--accent);
}

.freezeframe-page .btn-primary {
    background: var(--accent) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 0px !important;
    padding: 14px 28px;
    font-family: "Courier New", Courier, monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.freezeframe-page .btn-primary:hover {
    background: #2D2D2D !important;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.15);
}

.freezeframe-page .feature-card {
    background: var(--card);
    border: 2px solid var(--border) !important;
    border-radius: 0px !important;
    box-shadow: 4px 4px 0px var(--border) !important;
}

.freezeframe-page .feature-card:first-of-type {
    border-top: 6px solid var(--mint-green) !important;
}

.freezeframe-page .feature-card:last-of-type {
    border-top: 6px solid var(--terracotta) !important;
}

.freezeframe-page .feature-card h3 {
    font-family: "Courier New", Courier, monospace;
    font-weight: 900;
    text-transform: uppercase;
}

.freezeframe-page .privacy-box {
    background: #E7E5DF !important;
    border: 2px solid var(--border) !important;
    border-radius: 0px !important;
    box-shadow: 4px 4px 0px var(--border) !important;
}

.freezeframe-page .privacy-box h3 {
    font-family: "Courier New", Courier, monospace;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   16. PRODUCT OVERRIDES: CLEARCUT (STARK INDUSTRIAL)
   ========================================================================== */
.clearcut-page .hero-logo-box {
    background: var(--accent);
    width: 64px;
    height: 64px;
    box-shadow: 4px 4px 0px var(--border);
    border: 2px solid var(--border);
}

.clearcut-page .logo-box {
    background: var(--accent) !important;
    border-color: var(--border) !important;
}

.clearcut-page .highlight {
    background: var(--accent);
    color: #ffffff; /* White text on dark accent */
    padding: 0 4px;
}

.clearcut-page .hero-logo-box i {
    color: #ffffff !important; /* Ensure icon is white on dark accent */
}

.clearcut-page .feature-card,
.clearcut-page .price-card {
    border-width: 2px;
    box-shadow: 6px 6px 0px var(--border);
    transition: transform 0.1s ease;
}

.clearcut-page .feature-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--border);
}