@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

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

:root {
    /* Brand Colors */
    --fs360: #FFA95A;
    --cicekci: #05db64;
    --toptanci: #1eb1a9;
    
    /* Dark Mode Base Colors */
    --bg-main: #0c0c0c;
    --bg-surface: #141414;
    --bg-surface-hover: #1c1c1c;
    --border-color: #262626;
    
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Dynamic Theme Variables (Default: FS360) */
    --theme-accent: var(--fs360);
    --theme-accent-hover: #e89548;
    --theme-surface-active: rgba(255, 169, 90, 0.08);
    --theme-border-active: rgba(255, 169, 90, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

body[data-theme="cicekci"] {
    --theme-accent: var(--cicekci);
    --theme-accent-hover: #04c258;
    --theme-surface-active: rgba(5, 219, 100, 0.08);
    --theme-border-active: rgba(5, 219, 100, 0.3);
}

body[data-theme="toptanci"] {
    --theme-accent: var(--toptanci);
    --theme-accent-hover: #199e97;
    --theme-surface-active: rgba(30, 177, 169, 0.08);
    --theme-border-active: rgba(30, 177, 169, 0.3);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Helper Classes */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.accent-text { 
    color: var(--theme-accent); 
    transition: color 0.4s ease;
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.logo-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.loading-bar-track {
    width: 200px;
    height: 4px;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--theme-accent);
    border-radius: var(--radius-full);
    transition: width 0.3s ease, background-color 0.4s ease;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(12, 12, 12, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.navbar-brand span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.navbar-contact {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.navbar-contact:hover {
    color: var(--theme-accent);
}

/* ===== TRIANGLE SELECTOR HERO ===== */
.hero-section {
    padding: 60px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    transition: opacity 0.3s ease;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    transition: opacity 0.3s ease;
}

.fade-out-text {
    opacity: 0;
}

/* Triangle Structure */
.triangle-container {
    position: relative;
    width: 340px;
    height: 300px;
    margin: 0 auto 40px;
}

.triangle-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.t-node {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.t-node:hover {
    transform: translate(-50%, -55%);
}

.t-node-fs360   { top: 50px; left: 170px; }
.t-node-cicekci { top: 240px; left: 50px; }
.t-node-toptanci{ top: 240px; left: 290px; }

.node-circle {
    width: 76px;
    height: 76px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    transition: all 0.4s ease;
}

.node-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.t-node span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.4s ease;
    text-align: center;
    white-space: nowrap;
}

.t-node.active .node-circle {
    border-color: var(--theme-accent);
    background: var(--bg-surface-hover);
    box-shadow: 0 0 24px var(--theme-surface-active);
    transform: scale(1.1);
}

.t-node.active .node-circle img {
    filter: grayscale(0%) opacity(1);
}

.t-node.active span {
    color: var(--theme-accent);
}

/* ===== DYNAMIC CONTENT AREA ===== */
.dynamic-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 100px;
    min-height: 550px;
}

.content-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.content-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

/* ===== PANEL GRID LAYOUT (FS360 & Toptanci) ===== */
.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.panel-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.panel-info h2 span {
    color: var(--theme-accent);
    transition: color 0.4s ease;
}

.panel-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--theme-accent);
    flex-shrink: 0;
    transition: color 0.4s ease, background-color 0.4s ease;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--theme-accent);
    color: #000000;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.4s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: var(--theme-accent-hover);
    transform: translateY(-2px);
}

.panel-visual {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.panel-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--theme-surface-active) 0%, transparent 70%);
    opacity: 0.5;
    transition: background 0.4s ease;
}

.panel-visual i {
    font-size: 5rem;
    color: var(--theme-accent);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.panel-visual span {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ===== VS GRID LAYOUT (Cicekci Before/After) ===== */
.cicekci-hero-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cicekci-hero-text h2 span { color: var(--theme-accent); }

.cicekci-hero-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.vs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.vs-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: border-color 0.4s ease;
}

.vs-card:hover {
    border-color: var(--theme-border-active);
}

.vs-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.vs-card h4 i {
    color: var(--theme-accent);
    font-size: 1.5rem;
    transition: color 0.4s ease;
}

.badge-new {
    background: var(--theme-accent);
    color: #000;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-left: 8px;
    letter-spacing: 0.5px;
    transition: background-color 0.4s ease;
}

.vs-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.vs-before, .vs-after {
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.5;
}

.vs-before {
    background: rgba(255, 60, 60, 0.04);
    border: 1px solid rgba(255, 60, 60, 0.15);
    color: var(--text-secondary);
}

.vs-after {
    background: var(--theme-surface-active);
    border: 1px solid var(--theme-border-active);
    color: var(--text-primary);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.vs-before span, .vs-after span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.vs-before span { color: #ff5555; }
.vs-after span { color: var(--theme-accent); transition: color 0.4s ease; }

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .vs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .panel-visual {
        grid-row: 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .triangle-container {
        transform: scale(0.85);
        margin: -20px auto 10px;
    }
    
    .navbar {
        padding: 16px 20px;
    }
    
    .vs-compare {
        grid-template-columns: 1fr;
    }
}
