html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #090A0A;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid #090A0A;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Rubik', -apple-system, sans-serif;
    background: #090A0A;
    color: white;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 80px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-image {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tab-bar {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 100px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    transition: all 0.2s ease;
    line-height: 20px;
}

.tab-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.hero {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 40px 0;
    text-align: center;
}

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

h1 {
    font-size: 56px;
    line-height: 1.1;
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    line-height: 20px;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.primary-button.large {
    padding: 16px 40px;
    font-size: 16px;
}

.secondary-button {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    line-height: 20px;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
}

.portfolio-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
}

.app-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.app-card-link {
    text-decoration: none;
    color: inherit;
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.app-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.app-icon-large {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.app-info {
    flex: 1;
}

.app-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: white;
}

.app-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.app-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.feature-tag {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.view-more {
    color: #667eea;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: white;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* About Section */
.about-section {
    padding: 80px 0;
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 32px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

/* Support Form */
.support-form {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.support-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.support-form input,
.support-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.support-form input:focus,
.support-form textarea:focus {
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.support-form .form-row input {
    flex: 1;
}

.support-status {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* App Hero (Homie page) */
.app-hero {
    text-align: center;
    padding: 60px 0;
}

.app-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.app-icon-hero {
    width: 150px;
    height: 150px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 32px;
}

.app-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.app-download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-store-button, .google-play-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-store-button {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.google-play-button {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.google-play-button.coming-soon {
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    cursor: not-allowed;
}

/* App Features Section */
.app-features-section {
    padding: 80px 0;
}

.app-features-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
}

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

.app-feature {
    text-align: center;
    padding: 24px;
}

.app-feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.app-feature h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: white;
}

.app-feature p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* App Description Section */
.app-description-section {
    padding: 60px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    margin: 40px 0;
}

.app-description-section h2 {
    font-size: 36px;
    margin-bottom: 32px;
}

.app-long-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Legal Section */
.legal-section {
    padding: 60px 0;
    text-align: center;
}

.legal-section h2 {
    font-size: 28px;
    margin-bottom: 32px;
}

.legal-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.legal-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tab-bar {
        display: none;
    }

    h1 {
        font-size: 42px;
    }

    .app-card {
        flex-direction: column;
        padding: 32px;
        text-align: center;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

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

.feature-card,
.app-feature {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1),
.app-feature:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2),
.app-feature:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3),
.app-feature:nth-child(3) { animation-delay: 0.3s; }
.app-feature:nth-child(4) { animation-delay: 0.4s; }
.app-feature:nth-child(5) { animation-delay: 0.5s; }
.app-feature:nth-child(6) { animation-delay: 0.6s; }