/* Font Declaration */
@font-face {
    font-family: "BB Condensed";
    src: url("https://db.onlinewebfonts.com/t/857c87f9e1434e30f777d7aaa316e8b8.eot");
    src: url("https://db.onlinewebfonts.com/t/857c87f9e1434e30f777d7aaa316e8b8.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/857c87f9e1434e30f777d7aaa316e8b8.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/857c87f9e1434e30f777d7aaa316e8b8.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/857c87f9e1434e30f777d7aaa316e8b8.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/857c87f9e1434e30f777d7aaa316e8b8.svg#BB Condensed")format("svg");
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    font-family: "BB Condensed", Arial, sans-serif;
    background-color: #f4f5f3;
    color: #000000;
    line-height: 1.2;
    font-weight: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #000000;
    padding: 20px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile #userName {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.5px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: none;
}

.nav-links a:hover {
    text-decoration: underline;
}

.btn {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    padding: 12px 24px;
    font-family: "BB Condensed", Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 0;
    transition: none;
}

.btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-outline {
    background-color: transparent;
    color: #000000;
    border: 1px solid #000000;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background-color: #f4f5f3;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: #f100b2;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 20px;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.download-btn-hero {
    background-color: #f100b2 !important;
    color: #ffffff !important;
    border: 1px solid #f100b2 !important;
    font-size: 18px !important;
    padding: 20px 40px !important;
    margin-bottom: 15px !important;
    transition: all 0.2s ease !important;
    letter-spacing: 1px;
}

.download-btn-hero:hover {
    background-color: #ffffff !important;
    color: #f100b2 !important;
    border: 1px solid #f100b2 !important;
    transform: translateY(-2px) !important;
}

.hero-download-subtitle {
    font-size: 14px !important;
    color: #f100b2 !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Grid Section */
.grid-section {
    padding: 60px 0;
    background-color: #f4f5f3;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: #000000;
    border: 1px solid #000000;
}

.card {
    background-color: #ffffff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    border: none;
    border-radius: 0;
}

.card-header {
    font-size: 12px;
    color: #666666;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: normal;
}

.card-content {
    flex: 1;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eeeeee;
    padding-top: 15px;
}

.revenue {
    font-size: 14px;
    color: #f100b2;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.hero-badge {
    
    color: var(--primary);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.35rem 1.1rem;
    margin-bottom: 2.2rem;
    
    text-align: center;
}

.category {
    font-size: 12px;
    color: #666666;
    letter-spacing: 0.5px;
    text-align: right;
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hover Effects */
.card:hover {
    background-color: #f9f9f9;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 80px 0;
}

.loading p {
    font-size: 18px;
    color: #666666;
    letter-spacing: 1px;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background-color: #000000;
    color: #ffffff;
}

.download-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-content h2 {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.download-content p {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.download-btn {
    background-color: #f100b2;
    color: #ffffff;
    border: 1px solid #f100b2;
    font-size: 20px;
    padding: 20px 40px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.download-btn:hover {
    background-color: #ffffff;
    color: #f100b2;
    border: 1px solid #ffffff;
    transform: translateY(-2px);
}

.download-subtitle {
    font-size: 14px;
    color: #f100b2;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0 !important;
}

/* Product Details Page */
.product-details-section {
    padding: 60px 0;
    background-color: #f4f5f3;
    min-height: 100vh;
}

.product-content {
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-content .founder-info {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #000000;
}

.product-content .founder-name {
    font-size: 48px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-content .founder-title {
    font-size: 18px;
    color: #666666;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.product-content h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.product-content h3 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.back-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #000000;
    text-align: center;
}

.error-content {
    text-align: center;
    padding: 80px 40px;
    background-color: #ffffff;
    border: 1px solid #000000;
    max-width: 600px;
    margin: 0 auto;
}

.error-content h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.error-content p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 20px;
    }

    .auth-section {
        width: 100%;
        justify-content: center;
    }

    .user-profile {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav-links {
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }
    
    .download-btn-hero {
        font-size: 16px !important;
        padding: 16px 32px !important;
    }
    
    .hero-download-subtitle {
        font-size: 12px !important;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 240px;
        padding: 20px;
    }

    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .category {
        text-align: left;
        max-width: 100%;
    }

    /* Download Section Mobile */
    .download-section {
        padding: 60px 0;
    }
    
    .download-content h2 {
        font-size: 24px;
    }
    
    .download-content p {
        font-size: 16px;
    }
    
    .download-btn {
        font-size: 18px;
        padding: 16px 32px;
    }

    /* Product Details Mobile */
    .product-content {
        padding: 20px;
        margin: 0 20px;
    }
    
    .product-content .founder-name {
        font-size: 32px;
    }
    
    .product-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .grid-section {
        padding: 40px 0;
    }

    .nav-links {
        display: none;
    }

    .user-profile #userName {
        font-size: 12px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .auth-content h2 {
        font-size: 24px;
    }

    .auth-content p {
        font-size: 14px;
    }
    
    .download-btn-hero {
        font-size: 14px !important;
        padding: 14px 28px !important;
    }
    
    .hero-download-subtitle {
        font-size: 11px !important;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 1000;
    overflow-y: auto;
}

.modal-overlay.active {
    display: block;
}

.modal-content {
    background-color: #ffffff;
    max-width: 1000px;
    margin: 50px auto;
    border: 1px solid #000000;
    border-radius: 0;
    position: relative;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #000000;
    display: flex;
    justify-content: flex-end;
}

.close-btn {
    background: none;
    border: 1px solid #000000;
    color: #000000;
    font-size: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-family: "BB Condensed", Arial, sans-serif;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

.modal-body {
    padding: 40px;
}

.founder-info {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #000000;
}

.founder-avatar {
    width: 120px;
    height: 120px;
    background-color: #f4f5f3;
    border: 2px solid #000000;
    border-radius: 0;
    flex-shrink: 0;
}

.founder-details {
    flex: 1;
}

.founder-name {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.founder-title {
    font-size: 18px;
    color: #666666;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.revenue-badge {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-radius: 0;
}

.product-story {
    margin-bottom: 40px;
}

.product-story h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.product-story p {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    letter-spacing: 0.3px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-bottom: 40px;
    background-color: #000000;
    border: 1px solid #000000;
}

.detail-box {
    background-color: #ffffff;
    padding: 25px;
    border: none;
    border-radius: 0;
}

.detail-box h4 {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.detail-box p {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.detail-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-box ul li {
    font-size: 14px;
    color: #000000;
    padding: 5px 0;
    border-bottom: 1px solid #eeeeee;
    letter-spacing: 0.3px;
}

.detail-box ul li:last-child {
    border-bottom: none;
}

.lessons-learned {
    margin-bottom: 40px;
}

.lessons-learned h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.lessons-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background-color: #000000;
    border: 1px solid #000000;
}

.lesson-item {
    background-color: #ffffff;
    padding: 20px;
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    letter-spacing: 0.3px;
    border-radius: 0;
}

.contact-section h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-links {
    display: flex;
    gap: 20px;
}

.contact-link {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    border: 1px solid #000000;
    border-radius: 0;
    transition: none;
}

.contact-link:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Authentication Modal */
.auth-modal-content {
    max-width: 500px;
    text-align: center;
}

.auth-content {
    padding: 20px 0;
}

.auth-content h2 {
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.auth-content p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.auth-subtitle {
    font-size: 14px;
    color: #f100b2;
    margin-top: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

#authSignInBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: #000000;
    color: #ffffff;
    border: none;
    transition: all 0.2s ease;
}

#authSignInBtn:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

#authSignInBtn svg {
    fill: #ffffff;
}

/* Modal Mobile Responsiveness */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        max-width: none;
    }

    .auth-modal-content {
        margin: 40px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .founder-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .founder-avatar {
        width: 100px;
        height: 100px;
        align-self: flex-start;
    }
    
    .founder-name {
        font-size: 24px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-link {
        text-align: center;
    }
} 