/* Project Page Styles */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-tertiary: #1a1f2e;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent-primary: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #60a5fa;
    --border-color: #374151;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--accent-light);
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.back-link:hover {
    color: var(--accent-primary);
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateX(-4px);
}

/* Hero Section */
.project-hero {
    padding: 8rem 1.5rem 5rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 2px solid var(--accent-primary);
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.15), transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.1), transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.app-icon-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.app-icon {
    width: 140px;
    height: 140px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4),
                0 0 0 1px rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
    animation: fadeInScale 0.8s ease both;
}

.app-icon:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.5),
                0 0 0 1px rgba(59, 130, 246, 0.3);
}

.project-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: -0.02em;
}

.project-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.project-badge-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-badge {
    padding: 0.625rem 1.25rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.badge-award {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
}

.badge-award:hover {
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
}

.badge-status {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: var(--text-primary);
}

.badge-status:hover {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Content Sections */
.content-section {
    padding: 6rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.content-section:nth-child(even) {
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
}

.content-section + .content-section {
    margin-top: 4rem;
    padding-top: 6rem;
    position: relative;
}

.content-section + .content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.1) 20%,
        rgba(59, 130, 246, 0.4) 50%,
        rgba(59, 130, 246, 0.1) 80%,
        transparent 100%);
}


.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
    border-radius: 2px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-light);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-tag {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    border: 1px solid var(--accent-primary);
    border-radius: 2rem;
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tech-tag:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

/* Professional Features Section */
.professional-features {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.pro-feature-item {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.02));
    border-left: 4px solid var(--accent-primary);
    padding: 1.75rem 1.5rem 1.75rem 2rem;
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pro-feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-light), var(--accent-primary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pro-feature-item:hover {
    border-left-color: var(--accent-light);
    transform: translateX(12px);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.pro-feature-item:hover::before {
    opacity: 1;
}

.pro-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.pro-feature-item:hover .pro-feature-title {
    color: var(--text-primary);
}

.pro-feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Award Highlight */
.award-highlight {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(245, 158, 11, 0.05));
    border: 2px solid #fbbf24;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.15);
}

.award-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1), transparent 50%);
    pointer-events: none;
}

.award-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(251, 191, 36, 0.25);
    border-color: #f59e0b;
}

.award-title {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.award-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Links Section */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.link-card {
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.link-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.link-icon {
    font-size: 2.5rem;
}

.link-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-light);
}

.link-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Call to Action */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    border-color: var(--accent-primary);
    color: var(--accent-light);
    background-color: rgba(59, 130, 246, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.3);
}

.btn-disabled {
    background-color: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: var(--border-color);
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    border-top: 2px solid var(--border-color);
}

.footer a {
    transition: all 0.3s ease;
}

.footer a:hover {
    text-decoration: underline;
}

/* Demo Access Section */
.demo-access {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.demo-subtitle {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-demo {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 1.5rem 2.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.05rem;
    cursor: pointer;
    border-radius: 14px;
    transition: all 0.4s ease;
    min-width: 240px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-demo:hover::before {
    opacity: 1;
}

.btn-demo:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}

.btn-ios:hover {
    border-color: var(--accent-light);
    box-shadow: 0 12px 32px rgba(96, 165, 250, 0.4);
}

.btn-android:hover {
    border-color: #3ddc84;
    box-shadow: 0 12px 32px rgba(61, 220, 132, 0.3);
}

.platform-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-demo:hover .platform-icon {
    transform: scale(1.1);
}

.btn-ios .platform-icon {
    color: var(--accent-light);
}

.btn-android .platform-icon {
    color: #3ddc84;
}

.btn-demo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.btn-demo-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.btn-demo-sublabel {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1;
}

.demo-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(59, 130, 246, 0.2);
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent-primary);
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-instructions {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.qr-code-container {
    background-color: white;
    padding: 1.75rem;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.qr-code-container:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.qr-code {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.link-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.link-input {
    flex: 1;
    padding: 0.875rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    outline: none;
}

.link-input:focus {
    border-color: var(--accent-primary);
}

.btn-copy {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-copy:hover {
    background: linear-gradient(135deg, var(--accent-hover), #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.modal-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

.modal-note a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.modal-note a:hover {
    color: var(--accent-light);
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .project-title {
        font-size: 2.75rem;
    }

    .project-subtitle {
        font-size: 1.25rem;
    }

    .app-icon {
        width: 120px;
        height: 120px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .project-hero {
        padding: 6rem 1rem 3rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .demo-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-demo {
        width: 100%;
        justify-content: center;
        min-width: auto;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .link-container {
        flex-direction: column;
    }

    .btn-copy {
        width: 100%;
    }

    .qr-code {
        max-width: 180px;
    }
}
