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

:root {
    --screen-dark: #1E1E2F;
    --surface-dark: #2A2A3D;
    --surface-dark-border: rgba(255, 255, 255, 0.15);
    --purple: #8B5CF6;
    --pink: #EC4899;
    --indigo: #6366F1;
    --cyan: #22D3EE;
    --success: #22C55E;
    --warning: #F59E0B;
    --white: #FFFFFF;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-30: rgba(255, 255, 255, 0.3);
    
    --primary-gradient: linear-gradient(135deg, var(--purple), var(--pink));
    --screen-gradient: linear-gradient(135deg, #1E1E2F, #2D1B4E, #4C1D95, #6D28D9);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    background: var(--screen-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Base typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--pink);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--purple);
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
    background: rgba(30, 30, 47, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-dark-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--white-90);
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(236, 72, 153, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--surface-dark-border);
}

.btn-outline:hover {
    background: var(--surface-dark);
    border-color: var(--white-30);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: var(--screen-gradient);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: var(--white-90);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Floating Mockup */
.hero-mockup {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1000px;
}

.mockup-frame {
    width: 300px;
    height: 600px;
    background: var(--surface-dark);
    border-radius: 40px;
    border: 8px solid #000;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(139, 92, 246, 0.4);
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.mockup-frame:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--screen-dark);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mockup-header {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mockup-card {
    height: 200px;
    background: var(--surface-dark);
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--surface-dark-border);
}

.mockup-btn {
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 24px;
    margin-top: auto;
}

@keyframes float {
    0% { transform: translateY(0px) rotateY(-15deg) rotateX(5deg); }
    50% { transform: translateY(-20px) rotateY(-15deg) rotateX(5deg); }
    100% { transform: translateY(0px) rotateY(-15deg) rotateX(5deg); }
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--screen-dark);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--surface-dark);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid var(--surface-dark-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(236, 72, 153, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
}

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

.feature-card p {
    color: var(--white-60);
    font-size: 15px;
}

/* KVKK & Security */
.security-banner {
    margin: 100px 0;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.security-banner::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--success);
}

.security-icon {
    font-size: 48px;
    background: rgba(34, 197, 94, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    flex-shrink: 0;
}

.security-text h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.security-text p {
    color: var(--white-90);
    font-size: 16px;
    line-height: 1.7;
}

/* Tech Stack */
.tech-stack {
    padding: 60px 0;
    border-top: 1px solid var(--surface-dark-border);
    text-align: center;
}

.tech-stack p {
    color: var(--white-60);
    margin-bottom: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.tech-logos:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.tech-logo {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
}

.tech-logo i {
    font-size: 24px;
}

/* Layout Pages (Terms, Privacy) */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--surface-dark-border);
    background: var(--screen-dark);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--white-60);
    font-size: 18px;
}

.content-section {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--white);
}

.content-section p {
    margin-bottom: 20px;
    color: var(--white-90);
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--white-90);
}

.content-section ul li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    background: var(--surface-dark);
    padding: 60px 0 40px;
    margin-top: 60px;
    border-top: 1px solid var(--surface-dark-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--white-60);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 16px;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--white-60);
}

.footer-links ul li a:hover {
    color: var(--pink);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--surface-dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white-60);
    font-size: 14px;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-text p {
        margin: 0 auto 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .features-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .security-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .security-banner::before {
        width: 100%;
        height: 4px;
        left: 0; top: 0; bottom: auto;
    }
    
    .tech-logos {
        gap: 20px;
    }
    
    .tech-logo {
        font-size: 16px;
    }
}
