/* ===================================
   WhatsApp Kişisel Asistan - Web Sitesi
   Modern, Responsive, Professional
   =================================== */

/* === CSS Variables === */
:root {
    --primary: #25D366;
    --primary-dark: #128C7E;
    --primary-light: #DCF8C6;
    --accent: #075E54;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafb;
    --bg-dark: #0a1628;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-secondary {
    background: rgba(37, 211, 102, 0.08);
    color: var(--primary-dark);
    border: 1.5px solid rgba(37, 211, 102, 0.25);
}

.btn-secondary:hover {
    background: rgba(37, 211, 102, 0.15);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--primary);
    color: white;
    font-size: 1.1rem;
    padding: 18px 36px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp svg {
    width: 22px;
    height: 22px;
}

.btn-icon {
    font-size: 1.1rem;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 40%, #f0f9ff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 211, 102, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(7, 94, 84, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(37, 211, 102, 0.03) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 40px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,211,102,0.1);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(37,211,102,0.15);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* === Phone Mockup === */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 580px;
    background: #ECE5DD;
    border-radius: 36px;
    border: 8px solid #1a1a2e;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(255,255,255,0.1);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-header {
    background: var(--accent);
    color: white;
    padding: 32px 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.phone-contact strong {
    display: block;
    font-size: 0.9rem;
}

.phone-contact span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.phone-chat {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4cfc4' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.phone-chat::-webkit-scrollbar {
    width: 3px;
}

.phone-chat::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}

.chat-date {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-light);
    background: rgba(255,255,255,0.7);
    padding: 4px 12px;
    border-radius: 8px;
    align-self: center;
    margin: 4px 0;
}

.message {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.4;
    position: relative;
    animation: messageIn 0.3s ease-out;
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.message.user {
    background: var(--primary-light);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.message p {
    margin: 0;
    white-space: pre-line;
}

.message-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: var(--text-light);
    margin-top: 2px;
}

.phone-input {
    background: #f0f0f0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-input span {
    flex: 1;
    color: var(--text-light);
    font-size: 0.85rem;
}

.phone-input input {
    flex: 1;
    border: none;
    background: white;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    outline: none;
    font-family: var(--font);
}

.phone-send {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.phone-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* === Section Styles === */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(37,211,102,0.08);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* === Features === */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37,211,102,0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-example {
    background: var(--bg-secondary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--primary);
}

.example-label {
    font-weight: 600;
    color: var(--primary-dark);
}

/* === How It Works === */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps {
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.step:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step-visual {
    font-size: 2rem;
    margin-left: auto;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 0 52px;
    height: 40px;
}

.connector-line {
    width: 2px;
    height: 100%;
    background: var(--primary);
    opacity: 0.3;
}

/* === Tech Stack === */
.tech-stack {
    padding: 100px 0;
    background: var(--bg-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.tech-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tech-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tech-logo {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tech-card h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.tech-card p {
    font-size: 0.75rem;
    color: var(--text-light);
}

.tech-architecture {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.tech-architecture h3 {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.architecture-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.arch-node {
    background: white;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    min-width: 100px;
    transition: var(--transition);
}

.arch-node:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.arch-node.highlight {
    border-color: var(--primary);
    background: rgba(37,211,102,0.05);
}

.arch-node span {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.arch-node p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.arch-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* === Demo Section === */
.demo-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-phone {
    display: flex;
    justify-content: center;
}

.demo-mockup {
    height: 620px;
}

.demo-suggestions h4 {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.suggestion-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    margin-bottom: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font);
    transition: var(--transition);
    color: var(--text-primary);
}

.suggestion-btn:hover {
    border-color: var(--primary);
    background: rgba(37,211,102,0.04);
    transform: translateX(4px);
}

/* === CTA Section === */
.cta-section {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.cta-step p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
}

.cta-step code {
    background: rgba(37,211,102,0.15);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* === Footer === */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-icon {
    font-size: 1.5rem;
}

.footer-brand .logo-text {
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .demo-container {
        grid-template-columns: 1fr;
    }
    
    .demo-suggestions {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .step {
        flex-wrap: wrap;
    }
    
    .step-visual {
        display: none;
    }
    
    .cta-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .architecture-flow {
        flex-direction: column;
    }
    
    .arch-arrow {
        transform: rotate(90deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        width: 280px;
        height: 520px;
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-card,
.step,
.tech-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* === Selection === */
::selection {
    background: rgba(37,211,102,0.2);
    color: var(--text-primary);
}
