/* Corporate Color Palette */
:root {
    --primary-navy: #1e3a8a;
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --accent-teal: #0891b2;
    --accent-cyan: #06b6d4;
    --dark-gray: #1e293b;
    --medium-gray: #475569;
    --light-gray: #e2e8f0;
    --lighter-gray: #f1f5f9;
    --white: #ffffff;
    --success-green: #059669;
    --warning-red: #dc2626;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.logo-accent {
    color: var(--accent-teal);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--medium-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--accent-teal);
    outline: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.2s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-links a:focus-visible {
    outline: 2px solid var(--accent-teal);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Navigation Button */
.nav-btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan)) !important;
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
}

.nav-btn-primary::after {
    display: none !important;
}

.nav-btn-primary:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.nav-btn-primary:focus-visible {
    outline: 2px solid white !important;
    outline-offset: 2px !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.35);
    text-decoration: none !important;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary::after {
    display: none !important;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid white;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 44px;
    min-height: 44px;
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(0);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    transition: transform 0.2s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid var(--light-gray);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--medium-gray);
    text-decoration: none;
    border-bottom: 1px solid var(--light-gray);
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--lighter-gray);
    color: var(--accent-teal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?w=1920&q=80') center/cover;
    opacity: 0.15;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

.update-badge {
    display: inline-flex;
    align-items: center;
    background: var(--warning-red);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 10;
    background: white;
}

@media (min-width: 768px) {
    section {
        padding: 5rem 1.5rem;
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--medium-gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Card Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.15);
    border-color: var(--accent-teal);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.card-icon i {
    font-size: 2rem;
}

.card-primary {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
    color: white;
}

.card-accent {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
    color: white;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card p {
    line-height: 1.8;
}

/* Background Variants */
.bg-gray {
    background-color: var(--lighter-gray) !important;
}

.bg-navy {
    background: linear-gradient(135deg, var(--primary-navy), #0f172a) !important;
    color: white;
}

/* Table Styles */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-table thead {
    background: var(--primary-navy);
    color: white;
}

.pricing-table th,
.pricing-table td {
    padding: 1.5rem;
    text-align: left;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--light-gray);
}

.pricing-table tbody tr:hover {
    background: var(--lighter-gray);
}

.pricing-table tfoot {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

/* FAQ Styles */
.faq-item {
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-teal);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--lighter-gray);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--accent-teal);
    font-size: 1.25rem;
}

.faq-icon.active {
    transform: rotate(180deg);
}


.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* Form Styles */
.contact-form {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--medium-gray);
    opacity: 0.6;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Alert Box */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
    margin: 1rem 0;
}

.alert-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-success {
    background: #d1fae5;
    border-color: var(--success-green);
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    border-color: var(--warning-red);
    color: #991b1b;
}


/* Footer */
footer {
    background: var(--primary-navy);
    color: white;
    padding: 3rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto 2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}


/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-teal), var(--accent-cyan));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 0 0 5px white, 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: transform 0.2s ease;
}

.timeline-item:hover .timeline-marker {
    transform: translateX(-50%) scale(1.1);
}


/* B2 Grid Responsive */
.b2-grid {
    grid-template-columns: 2fr 1fr;
}

@media (max-width: 768px) {
    .b2-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .b2-grid > div:last-child {
        margin-top: 1.5rem;
    }
}

/* Comparison Cards Responsive */
.comparison-cards {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 968px) {
    .comparison-cards {
        grid-template-columns: 1fr !important;
    }
}

/* Touch Target Optimization */
@media (hover: none) {
    .btn-primary,
    .btn-secondary,
    .mobile-menu-btn,
    .faq-question {
        min-width: 48px;
        min-height: 48px;
    }
}

/* Footer Hover Effects */
footer a {
    transition: color 0.2s ease, transform 0.2s ease;
}

footer a:hover,
footer a:focus {
    color: var(--accent-teal) !important;
}

footer a:focus-visible {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
    border-radius: 4px;
}

footer .social-link {
    transition: transform 0.2s ease, color 0.2s ease;
}

footer .social-link:hover,
footer .social-link:focus {
    transform: scale(1.1);
    color: var(--accent-teal) !important;
}

footer a[href="#iletisim"] {
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

footer a[href="#iletisim"]:hover,
footer a[href="#iletisim"]:focus {
    background: var(--accent-cyan) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.3);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-navy);
}

.text-accent {
    color: var(--accent-teal);
}

.font-bold {
    font-weight: 700;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

/* Responsive Design */
@media (min-width: 1024px) {
    .advantages-grid-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(0);
    }
    
    .pricing-table {
        font-size: 0.875rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 1.875rem;
    }
    
    footer > div > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .bottom-bar {
        flex-direction: column !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.625rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Form Error Styles */
.error-message {
    display: block;
    color: var(--warning-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--warning-red) !important;
    background-color: #fef2f2;
}

input[type="checkbox"].error {
    outline: 2px solid var(--warning-red);
    outline-offset: 2px;
}

/* IntlTelInput Custom Styles */
.iti {
    width: 100%;
    display: block;
}

.iti__flag-container {
    z-index: 2;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent;
}

.iti__country-list {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--light-gray);
    border-radius: 0.5rem;
    max-height: 250px;
}

.iti__search-input {
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 0.375rem;
    margin: 0.5rem;
    width: calc(100% - 1rem);
}

.iti__country:hover {
    background-color: var(--lighter-gray);
}

.iti__country.iti__highlight {
    background-color: #f0fdfa;
}

.iti__selected-flag:hover,
.iti__selected-flag:focus {
    background-color: var(--lighter-gray);
}

/* Submit Button Loading State */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}