/* ========== PAGES - SHARED STYLES ========== */

/* Page Hero */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 40%, #0d1b2a 100%);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 99, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 99, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}
.page-hero .hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}
.page-hero .hero-glow-1 {
    background: var(--primary);
    top: -200px;
    right: -100px;
}
.page-hero .hero-glow-2 {
    background: var(--accent);
    bottom: -200px;
    left: -100px;
}
.page-hero-content {
    position: relative;
    z-index: 2;
}
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}
.page-breadcrumb a {
    color: var(--text-muted-light);
    text-decoration: none;
    transition: color var(--transition);
}
.page-breadcrumb a:hover {
    color: var(--primary-light);
}
.page-breadcrumb .separator {
    color: rgba(255,255,255,0.3);
}
.page-breadcrumb .current {
    color: var(--accent);
    font-weight: 500;
}
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.page-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero p.lead {
    font-size: 1.15rem;
    color: var(--text-muted-light);
    max-width: 640px;
    line-height: 1.7;
}

/* Page Content Sections */
.page-section {
    padding: 80px 0;
}
.page-section.alt {
    background: var(--gray-bg);
}
.page-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.page-section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}
[data-theme="dark"] .page-section-title {
    color: var(--text-light);
}
[data-theme="dark"] .page-section-subtitle {
    color: var(--text-muted-light);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.feature-card {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .feature-card {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}
.feature-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .feature-grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .feature-grid--4col {
        grid-template-columns: 1fr;
    }
}
/* Sector Link Grid */
.sector-link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
    list-style: none;
}
.sector-link-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}
.sector-link-grid a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.sector-link-grid a::after {
    content: '\2192';
    opacity: 0;
    margin-left: 8px;
    transition: opacity var(--transition);
}
.sector-link-grid a:hover::after {
    opacity: 1;
}
[data-theme="dark"] .sector-link-grid a {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: var(--text-light);
}
[data-theme="dark"] .sector-link-grid a:hover {
    color: var(--accent);
    border-color: var(--accent);
}
@media (max-width: 1024px) {
    .sector-link-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .sector-link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .sector-link-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.feature-card--link:hover {
    border-color: var(--primary);
}
.feature-card--link h3 {
    color: var(--primary);
}
.feature-card--link p {
    color: var(--text-muted);
}
[data-theme="dark"] .feature-card--link p {
    color: var(--text-muted-light);
}
.feature-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(0, 212, 170, 0.08));
}
.feature-card .icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 1.5;
}
.feature-card .icon.accent svg {
    stroke: var(--accent);
}
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}
[data-theme="dark"] .feature-card h3 {
    color: var(--text-light);
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}
[data-theme="dark"] .feature-card p {
    color: var(--text-muted-light);
}

/* Benefits List */
.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--glass-bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border-light);
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}
[data-theme="dark"] .benefits-list li {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: var(--text-light);
}
.benefits-list .check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.benefits-list .check svg {
    width: 12px;
    height: 12px;
    stroke: white;
    stroke-width: 3;
    fill: none;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-3));
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent 70%);
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.cta-section p {
    color: var(--text-muted-light);
    margin-bottom: 32px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Sector Grid (for KOBİ/Sektörler listing) */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.sector-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: all var(--transition);
}
.sector-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}
[data-theme="dark"] .sector-card {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: var(--text-light);
}
.sector-card .sector-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(0, 212, 170, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sector-card .sector-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 1.5;
}
.sector-card .sector-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.sector-card .sector-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}
[data-theme="dark"] .sector-card .sector-info p {
    color: var(--text-muted-light);
}
.sector-card .arrow {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition);
    flex-shrink: 0;
}
.sector-card .arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2;
}
.sector-card:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
    counter-reset: step;
}
.process-step {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}
.process-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}
.process-step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}
[data-theme="dark"] .process-step h3 {
    color: var(--text-light);
}
.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
[data-theme="dark"] .process-step p {
    color: var(--text-muted-light);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    .page-section {
        padding: 60px 0;
    }
    .cta-section {
        padding: 60px 0;
    }
    .feature-grid,
    .benefits-list,
    .sector-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Button Outline Light (CTA sections) */
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Clickable cards */
a.feature-card,
a.sector-card {
    cursor: pointer;
}
