/* =====================================================
   TECH STYLE — Tech kart sistemleri ve dashboard'lar
   ===================================================== */

/* =============== HERO TECH ARKA PLAN =============== */
.hero-tech-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(78, 168, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(78, 168, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.hero-tech-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.tech-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-secondary, #6dd5ff);
    box-shadow: 0 0 16px var(--accent-primary, #4ea8ff);
    animation: tech-particle-float 8s ease-in-out infinite;
}

.tech-particle.tp1 { top: 20%; right: 15%; animation-delay: 0s; }
.tech-particle.tp2 { top: 60%; right: 25%; animation-delay: -2s; }
.tech-particle.tp3 { top: 35%; right: 40%; animation-delay: -4s; }
.tech-particle.tp4 { top: 75%; right: 10%; animation-delay: -6s; opacity: 0.6; }
.tech-particle.tp5 { top: 15%; right: 30%; animation-delay: -3s; opacity: 0.7; }

@keyframes tech-particle-float {
    0%, 100% { transform: translate(0, 0); opacity: 0.8; }
    50% { transform: translate(-30px, -40px); opacity: 1; }
}

.hero-corner-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at top right, rgba(78, 168, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* =============== TECH SECTION HEADER (Ortak) =============== */
.tech-services-section,
.tech-about-section,
.tech-solutions-section {
    padding: 100px 0;
    position: relative;
}

.tech-services-section { background: var(--bg-primary); }
.tech-about-section { background: var(--bg-secondary); position: relative; overflow: hidden; }
.tech-solutions-section { background: var(--bg-primary); }

.tech-about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(78, 168, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.tech-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.tech-label-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.78rem;
    color: var(--accent-secondary, #6dd5ff);
    letter-spacing: 0.15em;
}

.tech-bracket {
    color: var(--accent-primary, #4ea8ff);
    font-weight: 700;
    font-size: 1rem;
}

.tech-section-label {
    color: var(--accent-secondary, #6dd5ff);
    font-weight: 600;
}

.tech-divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-primary, #4ea8ff), transparent);
}

.tech-version {
    padding: 3px 10px;
    background: rgba(78, 168, 255, 0.08);
    border: 1px solid rgba(78, 168, 255, 0.3);
    border-radius: 4px;
    color: var(--accent-primary, #4ea8ff);
    font-size: 0.7rem;
    font-weight: 700;
}

.tech-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary, #fff);
}

.tech-desc {
    font-size: 1.05rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
}

/* =============== HİZMETLER — TECH KART =============== */
.tech-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-card {
    position: relative;
    padding: 28px 24px;
    background: 
        linear-gradient(135deg, rgba(15, 29, 51, 0.8), rgba(10, 20, 36, 0.6));
    border: 1px solid rgba(78, 168, 255, 0.18);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(78, 168, 255, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.tech-card:hover {
    border-color: rgba(78, 168, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(78, 168, 255, 0.15);
}

.tech-card:hover::before {
    opacity: 1;
}

/* Köşe çentikleri */
.tech-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--accent-primary, #4ea8ff);
    border-style: solid;
    border-width: 0;
    transition: all 0.4s;
}

.tech-corner.tc-tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.tech-corner.tc-tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.tech-corner.tc-bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.tech-corner.tc-br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

.tech-card:hover .tech-corner {
    width: 22px;
    height: 22px;
    border-color: var(--accent-secondary, #6dd5ff);
}

/* Scan line */
.tech-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary, #4ea8ff), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.tech-card:hover .tech-scan-line {
    opacity: 1;
    animation: tech-scan 1.5s ease-in-out infinite;
}

@keyframes tech-scan {
    0%, 100% { top: 0; }
    50% { top: 100%; }
}

.tech-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.tech-card-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-secondary, #6dd5ff);
    letter-spacing: 0.12em;
    padding: 3px 8px;
    background: rgba(78, 168, 255, 0.1);
    border-radius: 3px;
}

.tech-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
    animation: status-blink 2s ease-in-out infinite;
}

@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.tech-card-icon-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent-primary, #4ea8ff);
}

.tech-card-icon {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(78, 168, 255, 0.15), rgba(78, 168, 255, 0.05));
    border: 1px solid rgba(78, 168, 255, 0.3);
    font-size: 1.3rem;
    color: var(--accent-primary, #4ea8ff);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 90% 100%, 0 100%);
    transition: all 0.4s;
}

.tech-card:hover .tech-card-icon {
    background: linear-gradient(135deg, rgba(78, 168, 255, 0.3), rgba(109, 213, 255, 0.15));
    color: var(--accent-secondary, #6dd5ff);
    transform: scale(1.08);
}

.tech-hex {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: rgba(78, 168, 255, 0.2);
    transition: all 0.6s;
}

.tech-card:hover .tech-hex {
    transform: rotate(180deg);
    color: rgba(109, 213, 255, 0.5);
}

.tech-card-title {
    font-family: var(--serif, 'Playfair Display');
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s;
}

.tech-card:hover .tech-card-title {
    color: var(--accent-secondary, #6dd5ff);
}

.tech-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.6;
    margin-bottom: 22px;
    min-height: 60px;
}

.tech-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed rgba(78, 168, 255, 0.2);
}

.tech-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-primary, #4ea8ff);
    letter-spacing: 0.08em;
}

.tech-card-arrow i {
    transition: transform 0.3s;
}

.tech-card-arrow i:first-of-type {
    margin-left: 4px;
}

.tech-card:hover .tech-card-arrow i {
    transform: translateX(3px);
    color: var(--accent-secondary, #6dd5ff);
}

.tech-card:hover .tech-card-arrow i:last-of-type {
    transform: translateX(6px);
}

.tech-card-rev {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted, #6b7d96);
    letter-spacing: 0.1em;
}

/* =============== HAKKIMIZDA — TECH DASHBOARD =============== */
.tech-about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.tech-about-info .tech-label-row {
    margin-bottom: 20px;
}

.tech-about-info .tech-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-align: left;
    margin-bottom: 20px;
}

.tech-about-desc {
    color: var(--text-secondary, #94a3b8);
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 0.98rem;
}

.tech-about-desc em {
    color: var(--accent-secondary, #6dd5ff);
    font-style: italic;
}

.tech-modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.tech-module {
    background: rgba(15, 29, 51, 0.6);
    border: 1px solid rgba(78, 168, 255, 0.18);
    border-radius: 4px;
    padding: 16px;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.tech-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent-primary, #4ea8ff);
    transition: height 0.4s;
}

.tech-module:hover {
    border-color: rgba(78, 168, 255, 0.5);
    background: rgba(15, 29, 51, 0.85);
}

.tech-module:hover::before {
    height: 100%;
}

.tech-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tech-module-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted, #6b7d96);
    letter-spacing: 0.1em;
}

.tech-module-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.tech-module-status.online {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.tech-module-status.active {
    background: rgba(78, 168, 255, 0.15);
    color: var(--accent-secondary, #6dd5ff);
    border: 1px solid rgba(78, 168, 255, 0.3);
}

.tech-module-status.verified {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.tech-module-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(78, 168, 255, 0.1);
    color: var(--accent-primary, #4ea8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.tech-module h4 {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin-bottom: 4px;
}

.tech-module p {
    font-size: 0.78rem;
    color: var(--text-muted, #6b7d96);
    line-height: 1.5;
    margin: 0;
}

/* Tech Dashboard (sağ panel) */
.tech-dashboard {
    background: linear-gradient(135deg, rgba(15, 29, 51, 0.95), rgba(10, 20, 36, 0.9));
    border: 1px solid rgba(78, 168, 255, 0.25);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.tech-dash-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(5, 11, 22, 0.6);
    border-bottom: 1px solid rgba(78, 168, 255, 0.15);
}

.tech-dash-dots {
    display: flex;
    gap: 6px;
}

.tech-dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.tech-dash-dots span:nth-child(1) { background: #ff5f57; }
.tech-dash-dots span:nth-child(2) { background: #ffbd2e; }
.tech-dash-dots span:nth-child(3) { background: #28ca42; }

.tech-dash-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted, #6b7d96);
    letter-spacing: 0.05em;
}

.tech-dash-counter {
    padding: 32px 24px 28px;
    text-align: center;
    border-bottom: 1px dashed rgba(78, 168, 255, 0.15);
    position: relative;
}

.tech-counter-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted, #6b7d96);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.tech-counter-value {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 18px;
    line-height: 1;
}

.tech-counter-num {
    font-family: var(--serif, 'Playfair Display');
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4ea8ff 0%, #6dd5ff 50%, #b8e8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 0.9;
}

.tech-counter-plus {
    font-family: var(--serif, 'Playfair Display');
    font-size: 2.5rem;
    color: var(--accent-primary, #4ea8ff);
    margin-top: 8px;
}

.tech-counter-bar {
    width: 100%;
    height: 4px;
    background: rgba(78, 168, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 14px;
}

.tech-counter-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-primary, #4ea8ff), var(--accent-secondary, #6dd5ff));
    border-radius: 2px;
    animation: counter-fill 2.5s ease-out;
}

@keyframes counter-fill {
    from { width: 0%; }
    to { width: 100%; }
}

.tech-counter-sub {
    font-size: 0.78rem;
    color: var(--text-secondary, #94a3b8);
    letter-spacing: 0.05em;
}

.tech-dash-stats {
    padding: 20px 24px;
}

.tech-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    border-bottom: 1px dashed rgba(78, 168, 255, 0.1);
}

.tech-stat-row:last-child {
    border-bottom: none;
}

.tech-stat-label {
    color: var(--text-muted, #6b7d96);
}

.tech-stat-val {
    color: var(--accent-secondary, #6dd5ff);
    font-weight: 700;
    font-size: 1rem;
}

.opacity-50 { opacity: 0.5; }

.tech-dash-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(46, 204, 113, 0.08);
    border-top: 1px solid rgba(46, 204, 113, 0.2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #2ecc71;
    letter-spacing: 0.1em;
}

.tech-status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
    animation: status-blink 2s ease-in-out infinite;
}

/* =============== ÇÖZÜMLER — HUD LİSTE =============== */
.tech-solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tech-solution-row {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    background: linear-gradient(135deg, rgba(15, 29, 51, 0.7), rgba(10, 20, 36, 0.5));
    border: 1px solid rgba(78, 168, 255, 0.18);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tech-solution-row:hover {
    border-color: rgba(78, 168, 255, 0.5);
    transform: translateX(4px);
    background: linear-gradient(135deg, rgba(15, 29, 51, 0.95), rgba(20, 40, 70, 0.7));
}

.tech-sol-number {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary, #4ea8ff);
}

.tech-sol-bracket {
    color: var(--accent-secondary, #6dd5ff);
    opacity: 0.6;
}

.tech-sol-icon {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(78, 168, 255, 0.15), rgba(78, 168, 255, 0.05));
    border: 1px solid rgba(78, 168, 255, 0.3);
    color: var(--accent-primary, #4ea8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.tech-solution-row:hover .tech-sol-icon {
    background: linear-gradient(135deg, rgba(78, 168, 255, 0.35), rgba(109, 213, 255, 0.15));
    color: var(--accent-secondary, #6dd5ff);
    transform: scale(1.05);
}

.tech-sol-content {
    flex: 1;
    min-width: 0;
}

.tech-sol-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.tech-sol-title {
    font-family: var(--serif, 'Playfair Display');
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s;
}

.tech-solution-row:hover .tech-sol-title {
    color: var(--accent-secondary, #6dd5ff);
}

.tech-sol-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 3px;
    letter-spacing: 0.1em;
}

.tech-sol-desc {
    font-size: 0.82rem;
    color: var(--text-muted, #6b7d96);
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tech-sol-arrow {
    color: var(--accent-primary, #4ea8ff);
    font-size: 1rem;
    opacity: 0.6;
    transition: all 0.3s;
    flex-shrink: 0;
}

.tech-solution-row:hover .tech-sol-arrow {
    opacity: 1;
    transform: translateX(4px);
    color: var(--accent-secondary, #6dd5ff);
}

.tech-sol-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(78, 168, 255, 0.08);
    overflow: hidden;
}

.tech-sol-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-primary, #4ea8ff), var(--accent-secondary, #6dd5ff));
    transition: width 0.5s;
}

.tech-solution-row:hover .tech-sol-progress-fill {
    width: 100%;
}

/* =============== TECH BUTONLAR =============== */
.btn-tech-primary,
.btn-tech-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-tech-primary {
    background: linear-gradient(135deg, var(--accent-primary, #4ea8ff), var(--accent-secondary, #6dd5ff));
    color: #050b16;
    border: 1px solid var(--accent-primary, #4ea8ff);
    box-shadow: 0 4px 20px rgba(78, 168, 255, 0.3);
}

.btn-tech-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(78, 168, 255, 0.5);
    color: #050b16;
}

.btn-tech-outline {
    background: transparent;
    color: var(--accent-primary, #4ea8ff);
    border: 1px solid var(--accent-primary, #4ea8ff);
}

.btn-tech-outline:hover {
    background: rgba(78, 168, 255, 0.08);
    color: var(--accent-secondary, #6dd5ff);
    border-color: var(--accent-secondary, #6dd5ff);
}

.btn-tech-primary i,
.btn-tech-outline i {
    transition: transform 0.3s;
}

.btn-tech-primary:hover i,
.btn-tech-outline:hover i {
    transform: translateX(4px);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 992px) {
    .tech-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .tech-services-section,
    .tech-about-section,
    .tech-solutions-section {
        padding: 64px 0;
    }
    
    .tech-services-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-modules-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-counter-num {
        font-size: 3.5rem;
    }
    
    .tech-solution-row {
        grid-template-columns: auto 1fr;
        gap: 14px;
        padding: 16px;
    }
    
    .tech-sol-icon {
        grid-row: span 2;
    }
    
    .tech-sol-arrow {
        display: none;
    }
}
