/* ========== FEATURES.CSS - SADECE FEATURES İÇERİĞİ İÇİN ========== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #000;
    color: #fff;
    padding-top: 56px; /* Header için boşluk */
}

/* Main Content */
.main-content {
    padding: 0;
    max-width: none;
    margin: 0;
}

.features-header {
    text-align: center;
    padding: 40px 24px 60px;
    max-width: 900px;
    margin: 0 auto;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
}

.features-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
}

/* Feature Sections */
.feature-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-grid.reverse {
    direction: rtl;
}

.feature-grid.reverse .feature-content {
    direction: ltr;
}

.feature-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 16px;
}

.feature-visual {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.code-demo {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Code Demo Colors */
.code-demo .comment {
    color: #6b7280;
    margin-bottom: 8px;
}

.code-demo .keyword {
    color: #82aaff;
}

.code-demo .type {
    color: #c792ea;
}

.code-demo .string {
    color: #82aaff;
}

.code-demo .property {
    opacity: 0.6;
}

.code-demo .success {
    color: #4ade80;
}

.code-demo .blockchain-block {
    margin-top: 16px;
    padding: 8px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 4px;
}

.ai-suggestion {
    background: rgba(102, 126, 234, 0.1);
    border-left: 2px solid #667eea;
    padding: 8px 12px;
    margin: 16px 0;
    color: #a5b4fc;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

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

.feature-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

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

.cta-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 32px;
    margin-top: -30px;
    color: #e5e5ff;
    line-height: 1.3;
}

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

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* Font Styles */
.navbar,
.navbar .nav-link,
.nav-actions .download-btn,
.user-button,
.mobile-menu .mobile-nav-link {
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar .nav-link,
.mobile-menu .mobile-nav-link {
    font-weight: 600;
    letter-spacing: .2px;
}

.nav-actions .download-btn {
    font-weight: 700;
    letter-spacing: .2px;
}

.user-button {
    font-weight: 500;
}

.brand-img {
    font-family: inherit;
}

/* User Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions .user-button {
    width: 40px;
    height: 40px;
    margin-left: 6px;
    border-radius: 6px;
    border: 1px solid #333;
    background: transparent;
    color: #ff3b30 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
}

.nav-actions .user-button i {
    font-size: 11px !important;
    line-height: 1;
}

.nav-actions .user-button:hover,
.nav-actions .user-button:focus {
    border-color: #ff3b30;
    color: #ff6b60;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 59, 48, .15) inset;
}

.nav-actions .user-button,
.nav-actions .user-button i {
    color: #ff3b30 !important;
}

.mobile-user-actions {
    display: none;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 12px 24px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

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

/* Social Icons */
.social-icons {
    margin-bottom: 15px;
}

.social-icons a {
    margin-right: 12px;
    font-size: 1.2rem;
    color: #aaa;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff;
}

/* Footer */
.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    margin-bottom: 30px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

.footer-bottom .social-icons {
    margin-bottom: 12px;
}

/* Mobile Responsive */
@media (max-width: 1100px) {
    /* Account section */
    .mobile-menu .account-card,
    .mobile-menu .user-card,
    .mobile-menu .account,
    .mobile-menu .user,
    .menu-drawer .account-card,
    .menu-drawer .user-card,
    .menu-drawer .account,
    .menu-drawer .user,
    .mobile-menu > div:last-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 4px !important;
        padding: 8px 12px !important;
        margin: 8px 0 0 0 !important;
        width: 100% !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    .mobile-menu .account-card > *,
    .mobile-menu .user-card > *,
    .menu-drawer .account-card > *,
    .menu-drawer .user-card > * {
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-menu .account-card .email,
    .menu-drawer .account-card .email {
        font-size: 12px !important;
        opacity: .7 !important;
    }

    .mobile-menu .account-card a,
    .menu-drawer .account-card a {
        color: rgba(255, 255, 255, .75) !important;
        text-decoration: none !important;
    }

    .mobile-menu .account-card a:hover,
    .menu-drawer .account-card a:hover {
        color: #fff !important;
    }

    /* Mobile Menu */
    .mobile-menu {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 12px 20px 96px;
        background: #000;
        overflow-y: auto;
    }

    .mobile-menu .menu-list,
    .mobile-menu .nav-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    .mobile-menu .nav-link,
    .mobile-menu a {
        display: block;
        margin: 0;
        padding: 8px 12px;
        font-size: 18px;
        line-height: 1.15;
        border-radius: 8px;
    }

    .mobile-menu li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-menu .account-card {
        margin-top: 14px;
        position: sticky;
        bottom: 12px;
    }

    /* User Actions Mobile */
    .nav-actions .user-button {
        display: none;
    }

    /* Mobile user actions - Header'dan gelir, override etme */

    /* Features Mobile */
    .nav-links {
        display: none;
    }

    .features-title {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-grid.reverse {
        direction: ltr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}