/* PandaSlice Marketing Pages - Unified Stylesheet */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-image, .logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #1a1a1a;
}

.mobile-menu-toggle:hover {
    background: #f0f0f0;
    border-radius: 6px;
}

/* Login/Profile Button */
.auth-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* User Avatar */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 2px solid #e5e5e5;
    border-radius: 24px;
    cursor: pointer;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.user-trigger:hover {
    border-color: #1a1a1a;
    background: #f8f9fa;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.user-dropdown.active {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 4px 0;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-link:hover {
    color: #1a1a1a;
    background: #f0f0f0;
}

.nav-link.active {
    color: #1a1a1a;
    font-weight: 700;
    background: #e5e5e5;
}

/* Main Content Areas */
.page-main {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
}

/* Hero Section */
.hero {
    padding: 160px 24px 100px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(26, 26, 26, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(26, 26, 26, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(26, 26, 26, 0.01) 0%, transparent 30%);
    pointer-events: none;
}

.hero-container {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(56px, 10vw, 84px);
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 32px;
    letter-spacing: -3px;
    line-height: 1.05;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 50px;
    font-weight: 300;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Buttons */
.btn-primary {
    background: #1a1a1a;
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: #ffffff;
    color: #1a1a1a;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e5e5e5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    border-color: #1a1a1a;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(26, 26, 26, 0.15);
}

/* Page Sections */
.page-section {
    padding: 120px 24px;
}

.page-section.alt-bg {
    background: #fafafa;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    background: #f5f5f5;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.section-description {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Applications Grid */
.applications {
    padding: 120px 24px;
    background: #ffffff;
}

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

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.app-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 48px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #1a1a1a 0%, #666 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.app-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: all 0.4s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(5deg);
    background: #000000;
}

.app-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.app-description {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 32px;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.app-tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.app-link:hover {
    gap: 12px;
}

.app-status {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #22c55e;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-development {
    background: #f59e0b;
}

.status-planning {
    background: #8b5cf6;
}

/* Tech Stack Section */
.tech-stack {
    padding: 120px 24px;
    background: #fafafa;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.tech-item {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.tech-icon {
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.tech-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Content Sections (About, Contact, etc.) */
.content-section {
    padding: 80px 24px;
    background: #ffffff;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-align: center;
}

.page-subtitle {
    font-size: 20px;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
}

.content-text {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 32px;
}

.content-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 48px 0 24px;
    letter-spacing: -0.5px;
}

.content-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 32px 0 16px;
}

.content-text p {
    margin-bottom: 24px;
}

.content-text ul, .content-text ol {
    margin: 24px 0;
    padding-left: 32px;
}

.content-text li {
    margin-bottom: 8px;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #1a1a1a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-text {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 48px;
    margin: 60px 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 80px 24px 40px;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.footer-description {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

.footer-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 32px;
    color: #888;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid #e5e5e5;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu .auth-button {
        margin: 16px 24px 8px;
        width: calc(100% - 48px);
        justify-content: center;
    }
    
    .nav-menu .user-trigger {
        margin: 16px 24px 8px;
        width: calc(100% - 48px);
        justify-content: center;
    }
    
    .user-name {
        display: none;
    }

    .hero {
        padding: 120px 16px 80px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .page-section,
    .applications,
    .tech-stack,
    .content-section {
        padding: 80px 16px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .app-card {
        padding: 32px 24px;
    }

    .section-title,
    .page-title {
        font-size: 40px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }

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

    .contact-form {
        padding: 32px 24px;
    }

    .footer {
        padding: 60px 16px 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}