/* Landing Page Specific Styles */
:root {
    --hero-padding: 4rem 2rem;
    --section-padding: 4rem 2rem;
}

.landing-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Hero Section */
.hero-section {
    text-align: center;
    margin-top: 0.5rem;
    padding: 1rem 2rem 4rem;
    background: #ffffff;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* Feature Sections */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 2rem;
}

.feature-section.reverse {
    direction: rtl;
}

.feature-section.reverse > * {
    direction: ltr;
}

.feature-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-visual {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-default);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mock Profile Card */
.mock-profile-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    width: 100%;
    max-width: 400px;
}
.mock-profile-header { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: center; }
.mock-avatar { width: 64px; height: 64px; background: #e0e0e0; border-radius: 50%; flex-shrink: 0; object-fit: cover; object-position: center top; }
.mock-info { flex: 1; }
.mock-name { font-weight: 700; font-size: 1.2rem; margin-bottom: 0.25rem; color: #1a1a1a; }
.mock-party { font-size: 0.9rem; color: #ffffff; font-weight: 600; background: #1c3863; padding: 0.2rem 0.5rem; border-radius: 6px; display: inline-block; }
.mock-stats { display: flex; flex-direction: column; gap: 0.5rem; }
.mock-stat-row { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; color: var(--text-secondary); }
.mock-stat-label { width: 100px; }
.mock-stat-bar-bg { flex: 1; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.mock-stat-bar { height: 100%; background: var(--gradient-start); border-radius: 4px; }

/* Mock Relevant Document */
.relevant-document-item.static-mock {
    background: white;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    text-align: left;
    width: 100%;
    max-width: 450px;
}
.document-header { margin-bottom: 1rem; }
.document-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: #1a1a1a; }
.document-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); flex-wrap: wrap; }
.meta-separator { color: #ccc; }

.relevance-explanation {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}
.relevance-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.relevance-logo { height: 28px; width: auto; }
.relevance-text { font-size: 0.9rem; color: #333333; line-height: 1.5; }
.relevance-category.relevance-direct {
    background: #d77a7a;
    color: #000000;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Pricing Section */
.pricing-section {
    background: #f8f9fa;
    border-top: 1px solid var(--border-default);
    padding-bottom: 4rem;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-default);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: #1a1a1a;
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #1a1a1a; }
.price { font-size: 3rem; font-weight: 800; margin-bottom: 2rem; color: #1a1a1a; line-height: 1; }
.price .period { font-size: 1.8rem; color: var(--text-secondary); font-weight: 400; display: inline; margin-left: 0.3rem; }
.price-vat { font-size: 1.2rem; color: var(--text-secondary); font-weight: 400; margin-top: 0.5rem; }
.features-list { list-style: none; margin-bottom: 2.5rem; text-align: left; padding-left: 1rem; flex: 1; }
.features-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; color: var(--text-secondary); }
.features-list li::before { content: "✓"; color: var(--gradient-start); font-weight: bold; }

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    background: #1a1a1a;
    color: white;
    transition: all 0.2s ease;
    width: 100%;
    border: 2px solid #1a1a1a;
    cursor: pointer;
}
.cta-button:hover { background: #333; border-color: #333; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.cta-button.outline { background: transparent; color: #1a1a1a; }
.cta-button.outline:hover { background: #1a1a1a; color: white; }

/* Platform Grid Updates */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.platform-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: #1a1a1a;
}
.platform-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-primary);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #1a1a1a;
}
.platform-card h3 {
    margin-bottom: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}
.platform-card p { display: none; }

/* Product Teaser */
.teaser-section {
    background-color: #ffffff;
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    padding: 4rem 0;
}

.teaser-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-default);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.teaser-badge {
    background: #1a1a1a;
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.founder-image-container {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto 2rem;
    border-radius: 4px; /* Subtle, architectural corners */
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 
                0 2px 8px rgba(0, 0, 0, 0.08); /* Layered shadow for depth */
    border: 1px solid rgba(0, 0, 0, 0.06); /* Subtle definition */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-image-container:hover {
    transform: translateY(-4px); /* Subtle lift */
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.16),
                0 4px 12px rgba(0, 0, 0, 0.12);
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block; /* Remove position: absolute stacking complexity */
}

/* ========================================
   LANDING PAGE MOBILE NAVIGATION
   ======================================== */

/* Hide mobile nav container by default */
.landing-mobile-nav-container {
    display: none;
}

/* Landing hamburger menu */
.landing-hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
}

.landing-hamburger-menu:hover {
    background: var(--hover-bg, #f0f4f8);
}

.landing-hamburger-menu .hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--text-primary, #1a1a1a);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.landing-hamburger-menu .hamburger-line:not(:last-child) {
    margin-bottom: 4px;
}

/* Hamburger animation */
.landing-hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.landing-hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.landing-hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.landing-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile nav panel */
.landing-mobile-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.landing-mobile-menu-overlay.active .landing-mobile-nav {
    transform: translateX(0);
}

/* Mobile nav items */
.landing-mobile-nav-item {
    display: block;
    padding: 1rem 1rem;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.landing-mobile-nav-item:hover {
    background: #f5f5f5;
}

.landing-mobile-nav-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0.5rem 0;
}

.landing-mobile-login {
    color: #1a1a1a;
    font-weight: 600;
}

.landing-mobile-nav-cta {
    display: block;
    padding: 1rem 1.5rem;
    background: #1a1a1a;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.landing-mobile-nav-cta:hover {
    background: #333;
}

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

/* Tablet and below */
@media (max-width: 900px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }
    
    .feature-section.reverse {
        direction: ltr;
    }
    
    .feature-content h2 {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Hide desktop nav, show hamburger */
    .landing-nav-desktop {
        display: none !important;
    }
    
    .landing-mobile-nav-container {
        display: block;
        flex-shrink: 0;
        margin-left: auto;
    }
    
    /* Hide slogan on mobile */
    .header-slogan {
        display: none !important;
    }
    
    /* Adjust header */
    .header-content {
        padding: 0.75rem 1rem;
    }
    
    .header-main {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.5rem;
    }
    
    .header-left {
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    
    .header-left a {
        gap: 0.5rem !important;
        min-width: 0;
    }
    
    .logo-desktop {
        display: none !important;
    }
    
    .logo-mobile {
        display: block !important;
    }
    
    .header-left .logo {
        height: 50px !important;
        flex-shrink: 0;
    }
    
    .header-left h1 {
        font-size: 1.2rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 0.5rem 1rem 2.5rem;
    }
    
    .landing-section {
        padding: 2rem 1rem;
    }
    
    .hero-headline {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subheadline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Platform Grid - 2 columns on mobile */
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 2rem;
    }
    
    .platform-card {
        padding: 1.25rem 1rem;
    }
    
    .platform-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 0.75rem;
    }
    
    .platform-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .platform-card h3 {
        font-size: 0.9rem;
    }
    
    /* Feature Sections */
    .feature-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.5rem 1rem;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-content p {
        font-size: 1rem;
    }
    
    .feature-visual {
        padding: 1.5rem;
    }
    
    /* Mock Profile Card */
    .mock-profile-card {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .mock-avatar {
        width: 50px;
        height: 50px;
    }
    
    .mock-name {
        font-size: 1rem;
    }
    
    .mock-party {
        font-size: 0.8rem;
    }
    
    /* Mock Document Card */
    .relevant-document-item.static-mock {
        padding: 1.25rem;
        max-width: 100%;
    }
    
    .document-title {
        font-size: 1rem;
    }
    
    .document-meta {
        font-size: 0.8rem;
    }
    
    .relevance-explanation {
        padding: 0.75rem;
    }
    
    .relevance-title {
        font-size: 0.85rem;
    }
    
    .relevance-text {
        font-size: 0.85rem;
    }
    
    /* Pricing Section */
    .pricing-section {
        padding: 2.5rem 1rem;
    }
    
    .pricing-section h2 {
        font-size: 1.75rem !important;
        margin-bottom: 2rem !important;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .pricing-card h3 {
        font-size: 1.25rem;
    }
    
    .price {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    
    .price .period {
        font-size: 1.4rem;
    }
    
    .features-list {
        padding-left: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .features-list li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Teaser Section */
    .teaser-section {
        padding: 2.5rem 0;
    }
    
    .teaser-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .teaser-card h2 {
        font-size: 1.5rem;
    }
    
    /* Founder image */
    .founder-image-container {
        width: 280px;
        height: 280px;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem 0.75rem;
    }
    
    .header-main {
        gap: 0.25rem;
    }
    
    .header-left a {
        gap: 0.35rem !important;
    }
    
    .header-left .logo {
        height: 38px !important;
    }
    
    .header-left h1 {
        font-size: 0.95rem !important;
    }
    
    /* Hide title text on very small screens if needed */
    .header-left > a > div {
        min-width: 0;
        flex-shrink: 1;
    }
    
    .header-slogan {
        font-size: 0.75rem !important;
    }
    
    .landing-mobile-nav {
        width: 100%;
    }
    
    .hero-headline {
        font-size: 1.5rem;
    }
    
    .hero-subheadline {
        font-size: 0.95rem;
    }
    
    /* 3x2 grid for platform cards on very small screens */
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .platform-card {
        padding: 1rem 0.75rem;
    }
    
    .platform-icon {
        width: 40px;
        height: 40px;
    }
    
    .platform-card h3 {
        font-size: 0.8rem;
    }
    
    .feature-content h2 {
        font-size: 1.35rem;
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .founder-image-container {
        width: 240px;
        height: 240px;
    }
}
