/* TIMEPLACEME Figma Frontend Styles */
/* Extracted from HAML templates */

/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@700&display=swap');

/* ===== Base Styles (from layouts/figma.html.haml) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #2D2D2D;
    color: #FFFFFF;
    line-height: 1.6;
    min-height: 100%;
}

/* ===== Sticky Footer Layout ===== */
body.figma-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 144px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ===== Navigation Section (from _navigation.html.haml) ===== */
.navigation-section {
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 195, 74, 0.1);
}

.navigation-container {
    max-width: 1152px;
    margin: 0 auto;
}

.navigation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    height: 96px;
}

.navigation-logo-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navigation-logo-image {
    width: 48px;
    height: 48px;
}

.navigation-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #8BC34A;
    letter-spacing: 0.5px;
}

.navigation-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navigation-nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.navigation-nav-link:hover {
    color: #8BC34A;
}

.navigation-nav-link.active {
    color: #8BC34A;
}

.navigation-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #8BC34A;
}

/* Navigation Dropdown */
.navigation-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.navigation-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    line-height: 1;
}

.navigation-dropdown-arrow {
    transition: transform 0.2s ease;
}

.navigation-dropdown-menu.open .navigation-dropdown-arrow,
.navigation-dropdown.open .navigation-dropdown-arrow {
    transform: rotate(180deg);
}

.navigation-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    margin-top: 12px;
    min-width: 160px;
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    border: 1px solid rgba(139, 195, 74, 0.3);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.navigation-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navigation-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.navigation-dropdown-item:hover {
    color: #8BC34A;
    background: rgba(139, 195, 74, 0.1);
}

.navigation-dropdown-item.active {
    color: #8BC34A;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .navigation-header {
        padding: 20px;
        height: auto;
    }

    .navigation-nav {
        gap: 16px;
    }

    .navigation-nav-link {
        font-size: 12px;
    }

    .navigation-logo-text {
        font-size: 14px;
    }

    .navigation-logo-image {
        width: 40px;
        height: 40px;
    }

    .navigation-dropdown-menu {
        left: auto;
        right: 0;
        transform: translateX(0) translateY(-10px);
    }

    .navigation-dropdown-menu.open {
        transform: translateX(0) translateY(0);
    }
}

/* ===== Hero Section (from _hero_section.html.haml) ===== */
.hero-section {
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-container {
    max-width: 1152px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text-container {
    max-width: 512px;
}

.hero-heading {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.hero-heading-highlight {
    font-family: 'Kalam', cursive;
    font-weight: 700;
    background: linear-gradient(180deg, #5fcb08 0%, #f5f5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    display: inline-block;
    padding-right: 8px;
    overflow: visible;
}

.hero-subheading {
    font-size: 18px;
    color: #CCCCCC;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hero-button-primary {
    background-color: #8BC34A;
    color: #1A1A1A;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.hero-button-primary:hover {
    background-color: #7CB342;
}

.hero-button-secondary {
    background-color: transparent;
    color: #FFFFFF;
    padding: 18px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #8BC34A;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    white-space: nowrap;
}

.hero-button-secondary:hover {
    background-color: rgba(139, 195, 74, 0.1);
}

.hero-button-icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: block;
}

.hero-beta-notice {
    margin-top: 24px;
    padding: 16px 20px;
    background-color: rgba(139, 195, 74, 0.08);
    border-left: 3px solid #8BC34A;
    border-radius: 6px;
    color: #CCCCCC;
    font-size: 14px;
    line-height: 1.6;
    max-width: 560px;
}

.hero-beta-notice strong {
    color: #8BC34A;
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.hero-beta-notice em {
    color: #999999;
    font-style: italic;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mascot {
    width: 384px;
    height: 384px;
    margin-left: 64px;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 48px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 0 48px;
    }

    .hero-heading {
        font-size: 48px;
    }

    .hero-mascot {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-heading {
        font-size: 36px;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
    }

    .hero-mascot {
        width: 280px;
        height: 280px;
    }
}

/* ===== Grant Section (from _grant_section.html.haml) ===== */
.grant-section {
    padding: 80px 144px;
    background-color: #2D2D2D;
}

.grant-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 34px;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1) 0%, rgba(139, 195, 74, 0.05) 100%);
    border: 2px solid rgba(139, 195, 74, 0.3);
    border-radius: 16px;
    position: relative;
}

.grant-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #8BC34A;
    color: #1A1A1A;
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
}

.grant-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.grant-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.grant-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.2) 0%, rgba(139, 195, 74, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.grant-icon {
    width: 48px;
    height: 48px;
}

.grant-text {
    flex: 1;
}

.grant-heading {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.grant-description {
    font-size: 16px;
    color: #CCCCCC;
    margin-bottom: 12px;
}

.grant-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8BC34A;
}

.grant-location-icon {
    width: 20px;
    height: 20px;
}

.grant-button {
    background-color: #8BC34A;
    color: #1A1A1A;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.grant-button:hover {
    background-color: #7CB342;
}

@media (max-width: 1024px) {
    .grant-section {
        padding: 60px 48px;
    }

    .grant-content {
        flex-direction: column;
        align-items: stretch;
    }

    .grant-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .grant-section {
        padding: 40px 20px;
    }

    .grant-container {
        padding: 24px;
    }

    .grant-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .grant-heading {
        font-size: 24px;
    }
}

/* ===== Istanbul Form Section (from _istanbul_form.html.haml) ===== */
.istanbul-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 144px;
}

.istanbul-container {
    max-width: 1152px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 3;
}

.istanbul-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.istanbul-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.istanbul-content {
    position: relative;
    z-index: 3;
    max-width: 520px;
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.7) 0%, rgba(30, 30, 30, 0.65) 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.istanbul-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #E91E63;
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
}

.istanbul-badge-dot {
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.istanbul-heading {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 24px;
}

.istanbul-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.istanbul-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.istanbul-meta-icon {
    width: 16px;
    height: 16px;
    background-color: #8BC34A;
    border-radius: 50%;
}

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

.istanbul-button {
    display: inline-block;
    background-color: #E91E63;
    color: #FFFFFF;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.4);
}

.istanbul-button:hover {
    background-color: #C2185B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
}

.istanbul-footer-note {
    font-size: 12px;
    color: #AAAAAA;
    margin-top: 24px;
    font-style: italic;
}

@media (max-width: 1024px) {
    .istanbul-section {
        padding: 60px 48px;
        height: auto;
        min-height: 600px;
    }

    .istanbul-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .istanbul-section {
        padding: 40px 20px;
        min-height: 500px;
    }

    .istanbul-content {
        padding: 32px 24px;
    }

    .istanbul-heading {
        font-size: 28px;
    }

    .istanbul-meta {
        flex-direction: column;
    }
}

/* ===== Business Partners Section (from _business_partners.html.haml) ===== */
.business-section {
    padding: 80px 144px;
    background-color: #2D2D2D;
}

.business-container {
    max-width: 1152px;
    margin: 0 auto;
}

.business-header {
    text-align: center;
    margin-bottom: 64px;
}

.business-heading {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.business-subheading {
    font-size: 18px;
    color: #CCCCCC;
}

.business-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.business-feature-card {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1) 0%, rgba(139, 195, 74, 0.05) 100%);
    border: 2px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s;
}

.business-feature-card:hover {
    border-color: rgba(139, 195, 74, 0.4);
    transform: translateY(-4px);
}

.business-feature-card.centered {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.business-feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.3) 0%, rgba(139, 195, 74, 0.15) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.business-feature-icon {
    width: 32px;
    height: 32px;
}

.business-feature-content {
    flex: 1;
}

.business-feature-heading {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.business-feature-description {
    font-size: 14px;
    color: #CCCCCC;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .business-section {
        padding: 60px 48px;
    }

    .business-features {
        grid-template-columns: 1fr;
    }

    .business-feature-card.centered {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .business-section {
        padding: 40px 20px;
    }

    .business-heading {
        font-size: 32px;
    }

    .business-subheading {
        font-size: 16px;
    }
}

/* ===== Business Features Extended (from _business_features.html.haml) ===== */
.business-features-extended {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.business-feature-extended-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 2px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
    min-height: 254px;
    display: flex;
    flex-direction: column;
}

.business-feature-extended-card:hover {
    border-color: rgba(139, 195, 74, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 195, 74, 0.15);
}

.business-feature-extended-header {
    margin-bottom: 16px;
}

.business-feature-extended-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.3) 0%, rgba(139, 195, 74, 0.15) 100%);
    border: 2px solid rgba(139, 195, 74, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.business-feature-extended-icon {
    width: 56px;
    height: 56px;
}

.business-feature-extended-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.4;
}

.business-feature-extended-description {
    font-size: 14px;
    color: #CCCCCC;
    line-height: 1.6;
    flex: 1;
}

@media (max-width: 1024px) {
    .business-features-extended {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .business-features-extended {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-feature-extended-card {
        min-height: auto;
    }

    .business-feature-extended-title {
        font-size: 18px;
    }
}

/* ===== Blog Section (from _blog_section.html.haml) ===== */
.blog-section {
    padding: 80px 144px;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
}

.blog-container {
    max-width: 1152px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 64px;
}

.blog-heading {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.blog-subheading {
    font-size: 18px;
    color: #CCCCCC;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.blog-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 2px solid rgba(139, 195, 74, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(139, 195, 74, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 195, 74, 0.15);
}

.blog-card-image-link {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-description {
    font-size: 14px;
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8BC34A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s;
}

.blog-card-link:hover {
    gap: 10px;
}

.blog-card-arrow {
    width: 16px;
    height: 16px;
}

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

.blog-cta-button {
    display: inline-block;
    background-color: transparent;
    color: #FFFFFF;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #8BC34A;
    transition: all 0.3s;
    cursor: pointer;
}

.blog-cta-button:hover {
    background-color: rgba(139, 195, 74, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .blog-section {
        padding: 60px 48px;
    }

    .blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 40px 20px;
    }

    .blog-heading {
        font-size: 32px;
    }

    .blog-subheading {
        font-size: 16px;
    }

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

/* ===== Algorithm Section (from _algorithm_section.html.haml) ===== */
.algorithm-section {
    padding: 80px 144px;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    position: relative;
}

.algorithm-container {
    max-width: 1152px;
    margin: 0 auto;
}

.algorithm-header {
    text-align: center;
    margin-bottom: 64px;
}

.algorithm-heading {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.algorithm-subheading {
    font-size: 18px;
    color: #CCCCCC;
}

.algorithm-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.algorithm-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.algorithm-card {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1) 0%, rgba(139, 195, 74, 0.05) 100%);
    border: 2px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
}

.algorithm-card:hover {
    border-color: rgba(139, 195, 74, 0.4);
    transform: translateX(8px);
}

.algorithm-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.algorithm-card-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.3) 0%, rgba(139, 195, 74, 0.15) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.algorithm-card-icon {
    width: 56px;
    height: 56px;
}

.algorithm-card-heading {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
}

.algorithm-card-description {
    font-size: 14px;
    color: #CCCCCC;
    line-height: 1.6;
    padding-left: 68px;
}

.algorithm-card.blind-spot {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.15) 0%, rgba(139, 195, 74, 0.08) 100%);
    border-color: rgba(139, 195, 74, 0.4);
}

.algorithm-card.blind-spot .algorithm-card-icon-wrapper {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.4) 0%, rgba(139, 195, 74, 0.2) 100%);
}

.algorithm-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
}

.algorithm-phone-mockup {
    width: 253px;
    height: 566px;
    background: rgba(45, 45, 45, 0.8);
    border-radius: 32px;
    border: 3px solid rgba(139, 195, 74, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.algorithm-phone-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8BC34A;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
}

.algorithm-phone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .algorithm-section {
        padding: 60px 48px;
    }

    .algorithm-content {
        grid-template-columns: 1fr;
    }

    .algorithm-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .algorithm-section {
        padding: 40px 20px;
    }

    .algorithm-heading {
        font-size: 32px;
    }

    .algorithm-subheading {
        font-size: 16px;
    }

    .algorithm-card-description {
        padding-left: 0;
    }

    .algorithm-phone-mockup {
        width: 280px;
        height: 600px;
    }
}

/* ===== Footer (from _footer.html.haml) ===== */
.footer {
    padding: 49px 176px;
    background-color: #1A1A1A;
    border-top: 1px solid rgba(139, 195, 74, 0.2);
    flex-shrink: 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1088px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
}

.footer-text {
    font-size: 14px;
    color: #CCCCCC;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-link {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #8BC34A;
}

.footer-social {
    width: 36px;
    height: 36px;
    background: rgba(139, 195, 74, 0.1);
    border: 2px solid rgba(139, 195, 74, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social:hover {
    background: rgba(139, 195, 74, 0.2);
    border-color: rgba(139, 195, 74, 0.5);
    transform: translateY(-2px);
}

.footer-social-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .footer {
        padding: 40px 48px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 32px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 16px;
    }
}

/* ===== Common Content Sections ===== */
.content-section {
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    padding: 80px 32px;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-height: 100%;
}

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

.page-header {
    text-align: center;
    margin-bottom: 64px;
}

.page-heading {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-subheading {
    font-size: 20px;
    color: #CCCCCC;
    line-height: 1.6;
}

/* ===== Privacy Page Styles ===== */
.privacy-section {
    padding: 80px 32px 120px;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-block {
    margin-bottom: 48px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(139, 195, 74, 0.1);
}

.section-heading {
    font-size: 32px;
    font-weight: 700;
    color: #8BC34A;
    margin-bottom: 24px;
    line-height: 1.3;
}

.subsection-heading {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin-top: 24px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.text-content {
    font-size: 16px;
    color: #CCCCCC;
    line-height: 1.8;
    margin-bottom: 16px;
}

.text-list {
    list-style: none;
    padding-left: 0;
    margin: 16px 0;
}

.text-list li {
    font-size: 16px;
    color: #CCCCCC;
    line-height: 1.8;
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.text-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #8BC34A;
    font-weight: 600;
}

/* ===== Mission Page Styles ===== */
.mission-section {
    padding: 80px 32px 120px;
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.mission-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.mission-card:hover {
    background: rgba(139, 195, 74, 0.05);
    border-color: rgba(139, 195, 74, 0.4);
    transform: translateY(-4px);
}

.mission-icon {
    width: 64px;
    height: 64px;
    background: rgba(139, 195, 74, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.mission-icon .icon {
    width: 32px;
    height: 32px;
    color: #8BC34A;
}

.mission-card-heading {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.mission-card-text {
    font-size: 16px;
    color: #CCCCCC;
    line-height: 1.6;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1) 0%, rgba(139, 195, 74, 0.05) 100%);
    border: 1px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #8BC34A;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #CCCCCC;
    font-weight: 500;
}

/* ===== Team Page Styles ===== */
.team-section {
    padding: 80px 32px 120px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    background: rgba(139, 195, 74, 0.05);
    border-color: rgba(139, 195, 74, 0.4);
    transform: translateY(-8px);
}

.team-member-image-container {
    margin-bottom: 24px;
}

.team-member-image {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 195, 74, 0.3);
    transition: border-color 0.3s ease;
}

.team-card:hover .team-member-image {
    border-color: #8BC34A;
}

.team-member-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-member-name {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
}

.team-member-role {
    font-size: 16px;
    color: #8BC34A;
    font-weight: 500;
}

.team-member-description {
    font-size: 14px;
    color: #CCCCCC;
    margin-bottom: 16px;
}

.team-member-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8BC34A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.team-member-linkedin:hover {
    color: #A5D96A;
}

.linkedin-icon {
    width: 20px;
    height: 20px;
}

/* ===== Contacts Page Styles ===== */
.contacts-section {
    padding: 80px 32px 120px;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(139, 195, 74, 0.05);
    border-color: rgba(139, 195, 74, 0.4);
    transform: translateY(-4px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(139, 195, 74, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon .icon {
    width: 32px;
    height: 32px;
    color: #8BC34A;
}

.contact-card-content {
    flex: 1;
}

.contact-card-heading {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.contact-card-text {
    font-size: 16px;
    color: #CCCCCC;
    line-height: 1.6;
}

.contact-link {
    color: #8BC34A;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #A5D96A;
    text-decoration: underline;
}

.map-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-heading {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
    text-align: center;
}

.map-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Responsive Styles for Content Pages ===== */
@media (max-width: 1024px) {
    .content-section {
        padding: 60px 24px;
    }

    .page-heading {
        font-size: 40px;
    }

    .mission-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }

    .contacts-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 40px 20px;
    }

    .page-heading {
        font-size: 32px;
    }

    .page-subheading {
        font-size: 18px;
    }

    .section-heading {
        font-size: 26px;
    }

    .subsection-heading {
        font-size: 20px;
    }

    .privacy-block {
        padding: 24px;
    }

    .mission-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .contacts-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info-grid {
        gap: 16px;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        min-height: 300px;
    }
}

/* ===== Share Event Page Styles ===== */
.share-event-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 32px;
}

.share-event-card {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.1) 0%, rgba(139, 195, 74, 0.05) 100%);
    border: 2px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 40px;
}

.share-event-category {
    display: inline-block;
    background: rgba(139, 195, 74, 0.2);
    color: #8BC34A;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.share-event-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 28px;
}

.share-event-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.share-event-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #CCCCCC;
}

.share-event-detail-icon {
    width: 20px;
    height: 20px;
    color: #8BC34A;
    flex-shrink: 0;
}

.share-event-description {
    font-size: 16px;
    color: #CCCCCC;
    line-height: 1.7;
    margin-bottom: 28px;
}

.share-event-divider {
    height: 1px;
    background: rgba(139, 195, 74, 0.2);
    margin-bottom: 28px;
}

.share-event-cta {
    text-align: center;
}

.share-event-cta-text {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 500;
    margin-bottom: 20px;
}

.share-event-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.share-event-store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 24px;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s;
}

.share-event-store-button:hover {
    border-color: rgba(139, 195, 74, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.share-event-store-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.share-event-store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.share-event-store-label {
    font-size: 11px;
    color: #AAAAAA;
    line-height: 1.2;
}

.share-event-store-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .share-event-container {
        padding: 0 20px;
    }

    .share-event-card {
        padding: 28px 24px;
    }

    .share-event-title {
        font-size: 26px;
    }

    .share-event-buttons {
        flex-direction: column;
    }

    .share-event-store-button {
        justify-content: center;
    }
}
