/* ==========================================
   Fındık Tüccarı SaaS - Landing Page Styles
   Aesthetics tailored for conversion & design
   ========================================== */

/* Hero banner gradients and animations */
.hero-section {
    position: relative;
    padding: 140px 0 80px 0;
    background: radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--accent-purple-light);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 6px 12px;
    border-radius: var(--border-radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
}

@media (max-width: 968px) {
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
}

/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(10, 15, 29, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.nav-logo i {
    color: var(--success);
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple responsive fallback */
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

/* Sections */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.1);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--border-radius-md);
    background-color: var(--accent-purple-light);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.feature-card.success-theme .feature-icon {
    background-color: var(--success-light);
    color: var(--success);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mockup / Dashboard Preview Card */
.mockup-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-panel) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(139, 92, 246, 0.15);
    padding: 24px;
    position: relative;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ef4444;
}

.mockup-dot:nth-child(2) { background-color: #f59e0b; }
.mockup-dot:nth-child(3) { background-color: #10b981; }

.mockup-body {
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-primary);
    padding: 16px;
    font-family: monospace;
    font-size: 12px;
    color: #e2e8f0;
}

/* Live Calculator Widget */
.calc-widget {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
    .calc-widget {
        grid-template-columns: 1fr;
    }
}

.calc-widget-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-widget-results {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.calc-result-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calc-result-row span {
    color: var(--text-secondary);
    font-size: 13px;
}

.calc-result-row strong {
    font-size: 18px;
    font-family: var(--font-heading);
    color: #ffffff;
}

.calc-result-row strong.highlight-val {
    color: var(--success);
    font-size: 22px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
    gap: 32px;
    justify-content: center;
}

.price-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.popular {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-purple);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
    font-size: 12px;
    font-weight: 600;
}

.price-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.price-card p.desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.price-value {
    font-size: 40px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-value span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.price-features li i {
    color: var(--success);
    font-size: 18px;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-family: var(--font-heading);
    color: #ffffff;
    user-select: none;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.2s ease;
}

/* Modals for Register */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 9, 17, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content-landing {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 450px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-overlay.show .modal-content-landing {
    transform: translateY(0);
}

.modal-header-landing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header-landing h3 {
    font-size: 22px;
}

.modal-close-landing {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close-landing:hover {
    color: #ffffff;
}

/* Toast container on landing */
.toast-landing {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    color: #ffffff;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-landing.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-landing.success {
    background-color: var(--success);
}

.toast-landing.danger {
    background-color: var(--danger);
}

/* Footer styling */
.footer-landing {
    background-color: #060911;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 640px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
