/* 
   Almaba Yazılım - Premium SaaS Design System
   Style: Light Mode
   Primary Color: #2563EB (Blue)
   Secondary Color: #06B6D4 (Turquoise)
*/

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

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --secondary: #06B6D4;
    --navy: #0F172A;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --grad-primary: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section { padding: 5rem 0; }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary { background: var(--grad-primary); color: var(--white); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--primary); border: 1px solid var(--border); }
.btn-whatsapp { background: #25D366; color: white; }

.cta-panel {
    text-align: center;
    background: var(--grad-primary);
    color: white;
    border-radius: 3rem;
    margin: 0 1.5rem 5rem;
    padding: 4rem 2rem;
}
.cta-title {
    color: white;
    font-size: 2.5rem;
}
.cta-lead {
    font-size: 1.2rem;
    opacity: 0.9;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-whatsapp {
    color: var(--primary);
    border: none;
}
.cta-mail {
    border: 2px solid white;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .section-title h2 { font-size: 2rem; }
    .pricing-table { display: block; overflow-x: auto; white-space: nowrap; }
    .cta-panel { margin: 0 1rem 3rem; padding: 3rem 1rem; }
    .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    section { padding: 3rem 0; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .hero h1 { font-size: 2rem; }
    .section-title h2 { font-size: 1.75rem; }
    .cta-title { font-size: 1.9rem; }
    .cta-lead { font-size: 1rem; }
    .cta-actions .btn { width: 100%; }
    .btn { padding: 0.65rem 1.1rem; }
}

@media (max-width: 640px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .container { padding: 0 1rem; }
}

/* Cards & Components */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-premium); border-color: var(--primary); }

.section-title { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-title h2 { font-size: 2.5rem; font-weight: 800; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    margin-bottom: 1rem;
}

footer { background: var(--navy); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-bottom { border-top: 1px solid #1E293B; text-align: center; padding-top: 2rem; color: #64748B; }

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

/* Mobile Menu & Overlay Styles */
@media (max-width: 1023px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
        padding: 5px;
        background: transparent;
        border: 0;
        appearance: none;
    }
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--navy);
        border-radius: 3px;
        transition: 0.3s;
    }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
        z-index: 999;
        display: flex !important;
        pointer-events: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Table Responsiveness */
.pricing-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}
.pricing-table {
    min-width: 600px;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem;
    }
}


.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }
