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

:root {
    --dark-blue: #1E1B4B; /* Very deep indigo */
    --primary-blue: #4338CA; /* Vibrant Indigo */
    --light-blue: #E0E7FF;
    --orange: #10B981; /* Emerald Green for action */
    --orange-hover: #059669;
    --bg-color: #F8FAFC;
    --white: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-lg: 32px; /* Softer, more modern corners */
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 25px rgba(30, 27, 75, 0.08);
    --shadow-lg: 0 30px 60px rgba(67, 56, 202, 0.15);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; }
a { text-decoration: none; transition: 0.3s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Top Bar */
.top-bar {
    background: var(--dark-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}
.tb-flex { display: flex; justify-content: space-between; align-items: center; }
.tb-right a { color: var(--white); margin-left: 20px; opacity: 0.8; }
.tb-right a:hover { opacity: 1; }

/* Navbar */
#navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0; z-index: 100;
}
.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    height: 80px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.6rem; font-weight: 800; color: var(--dark-blue);
}
.logo-icon {
    background: var(--orange); color: var(--white);
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem;
}
.logo-text { letter-spacing: -0.5px; }
.highlight { color: var(--orange); }
.highlight-text { color: var(--orange); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: var(--text-dark); font-weight: 600;
    position: relative; padding: 5px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0%; height: 2px; background: var(--orange); transition: 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn-login {
    border: 2px solid var(--border-color);
    padding: 10px 20px; border-radius: 50px;
    color: var(--dark-blue); font-weight: 600;
}
.btn-login:hover { border-color: var(--dark-blue); background: var(--light-blue); }

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--bg-color);
    padding: 80px 0 100px;
    overflow: hidden;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0;
}
.blob-1 { width: 600px; height: 600px; background: rgba(26, 54, 93, 0.08); top: -200px; left: -100px; }
.blob-2 { width: 500px; height: 500px; background: rgba(255, 87, 34, 0.08); bottom: -100px; right: -100px; }

.hero-inner {
    display: flex; align-items: center; gap: 60px;
    position: relative; z-index: 10;
}
.hero-text-area { flex: 1; }
.trust-badge {
    display: inline-block; background: rgba(255, 87, 34, 0.1);
    color: var(--orange); padding: 8px 16px; border-radius: 30px;
    font-weight: 700; font-size: 0.9rem; margin-bottom: 24px;
}
.trust-badge i { margin-right: 5px; }
.hero-text-area h1 {
    font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px;
    color: var(--dark-blue); letter-spacing: -1px;
}
.hero-text-area p {
    font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px;
    max-width: 480px;
}
.hero-stats {
    display: flex; gap: 30px;
}
.h-stat {
    display: flex; align-items: center; gap: 15px;
}
.h-stat i { font-size: 2.5rem; color: var(--light-blue); color: var(--primary-blue); }
.h-stat div { font-size: 0.9rem; color: var(--text-muted); line-height: 1.3; }
.h-stat strong { font-size: 1.4rem; color: var(--dark-blue); font-weight: 800; }

/* Giant Quote Widget */
.hero-widget-area { flex: 1; width: 100%; max-width: 500px; }
.quote-widget {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.widget-header {
    background: var(--primary-blue); color: var(--white);
    padding: 20px 30px; text-align: center;
}
.widget-header h3 { font-size: 1.4rem; }
.widget-tabs-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #f8fafc; border-bottom: 1px solid var(--border-color);
}
.w-tab {
    padding: 15px 0; text-align: center; cursor: pointer;
    border-right: 1px solid var(--border-color);
    transition: 0.3s; color: var(--text-muted);
}
.w-tab:last-child { border-right: none; }
.w-tab i { display: block; font-size: 1.5rem; margin-bottom: 5px; }
.w-tab span { font-weight: 600; font-size: 0.85rem; font-family: var(--font-heading); }
.w-tab.active { background: var(--white); color: var(--orange); box-shadow: inset 0 3px 0 var(--orange); }

.widget-body { padding: 30px; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; }
.input-with-icon { position: relative; }
.input-with-icon i {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 1.2rem;
}
.input-with-icon input {
    width: 100%; padding: 16px 16px 16px 50px;
    border: 2px solid var(--border-color); border-radius: var(--radius-md);
    font-size: 1.1rem; font-family: var(--font-body); font-weight: 600;
    transition: 0.3s;
}
.input-with-icon input:focus {
    outline: none; border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}
#plaka { text-transform: uppercase; }

.btn-submit-large {
    width: 100%; padding: 18px; border: none; border-radius: var(--radius-md);
    background: var(--orange); color: var(--white);
    font-size: 1.2rem; font-weight: 800; font-family: var(--font-heading);
    cursor: pointer; transition: 0.3s; margin-top: 10px;
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.2);
}
.btn-submit-large:hover { background: var(--orange-hover); transform: translateY(-2px); }

.kvkk-text { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 20px; }

/* Loading State */
.loader-ring {
    width: 60px; height: 60px; margin: 0 auto;
    border: 6px solid var(--light-blue);
    border-top: 6px solid var(--orange);
    border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.loading-brands { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
.loading-brands span {
    font-size: 0.75rem; font-weight: 800; padding: 4px 10px;
    border-radius: 20px; background: #f1f5f9; color: #94a3b8; transition: 0.3s;
}

/* Results State */
.results-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }
.btn-reset { background: #f1f5f9; border: none; width: 40px; height: 40px; border-radius: 50%; color: var(--text-muted); cursor: pointer; transition: 0.3s; font-size: 1.1rem; }
.btn-reset:hover { background: var(--border-color); color: var(--dark-blue); transform: rotate(-180deg); }

.quote-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px; border: 2px solid var(--border-color); border-radius: var(--radius-md);
    margin-bottom: 15px; transition: 0.3s; position: relative; overflow: hidden;
}
.quote-item:hover { border-color: var(--primary-blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.quote-item.best-price { border-color: #10B981; background: #f0fdf4; }
.quote-item.best-price::after {
    content: 'EN İYİ FİYAT'; position: absolute; top: 10px; right: -30px;
    background: #10B981; color: #fff; font-size: 0.6rem; font-weight: 800;
    padding: 4px 30px; transform: rotate(45deg);
}
.quote-logo { font-weight: 900; font-size: 1.2rem; font-family: var(--font-heading); }
.quote-price { font-weight: 800; font-size: 1.3rem; color: var(--dark-blue); }
.quote-buy-btn {
    background: var(--dark-blue); color: var(--white);
    border: none; padding: 10px 20px; border-radius: var(--radius-sm);
    font-weight: 700; cursor: pointer; transition: 0.3s;
}
.quote-buy-btn:hover { background: var(--primary-blue); }
.quote-item.best-price .quote-buy-btn { background: #10B981; }

/* General Section Styles */
.section-title { font-size: 2.5rem; color: var(--dark-blue); margin-bottom: 10px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 50px; }
.text-center { text-align: center; }

/* Why Us Section */
.why-us-section { padding: 100px 0; background: var(--white); }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
}
.feature-card {
    padding: 40px 30px; border-radius: var(--radius-lg); background: var(--bg-color);
    text-align: center; transition: 0.3s; border: 1px solid transparent;
}
.feature-card:hover { background: var(--white); border-color: var(--border-color); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.f-icon {
    width: 70px; height: 70px; border-radius: 20px;
    display: flex; justify-content: center; align-items: center;
    font-size: 2rem; margin: 0 auto 20px; color: var(--white);
}
.blue-bg { background: #3b82f6; }
.orange-bg { background: #f97316; }
.purple-bg { background: #8b5cf6; }
.green-bg { background: #10b981; }
.feature-card h3 { margin-bottom: 15px; font-size: 1.3rem; color: var(--dark-blue); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Partners Section */
.partners-section { padding: 100px 0; background: var(--bg-color); }
.badge-small {
    display: inline-block; background: var(--light-blue); color: var(--primary-blue);
    padding: 6px 12px; border-radius: 20px; font-weight: 700; font-size: 0.8rem; margin-bottom: 15px;
}
.partners-grid-new {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.p-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 40px 20px;
    text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color);
    transition: 0.4s; position: relative; overflow: hidden; z-index: 1;
}
.p-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0;
    transition: 0.4s; z-index: -1; opacity: 0.05;
}
.p-card:hover::before { height: 100%; }
.p-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: transparent; }
.p-logo { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; letter-spacing: 1px; margin-bottom: 15px; transition: 0.3s; }
.p-desc { font-weight: 600; color: var(--text-muted); font-size: 0.95rem; }

.brand-sompo .p-logo { color: #e60000; } .brand-sompo::before { background: #e60000; }
.brand-hdi .p-logo { color: #004d99; } .brand-hdi::before { background: #004d99; }
.brand-orient .p-logo { color: #f15a22; } .brand-orient::before { background: #f15a22; }
.brand-quick .p-logo { color: #fcc201; } .brand-quick::before { background: #fcc201; }

/* Footer Banner */
.footer-banner { background: var(--primary-blue); padding: 60px 0; }
.banner-inner { display: flex; justify-content: space-between; align-items: center; }
.banner-content h2 { color: var(--white); font-size: 2rem; margin-bottom: 10px; }
.banner-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-text-area p { margin: 0 auto 30px; }
    .hero-stats { justify-content: center; }
    .partners-grid-new { grid-template-columns: repeat(2, 1fr); }
    .banner-inner { flex-direction: column; text-align: center; gap: 30px; }
}
@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-links, .btn-login { display: none; }
    .hero-text-area h1 { font-size: 2.5rem; }
    .widget-tabs-grid { grid-template-columns: repeat(2, 1fr); }
    .w-tab { border-bottom: 1px solid var(--border-color); }
    .partners-grid-new { grid-template-columns: 1fr; }
}
