/* ========================================
   VESTIGIA LANDING PAGE - STYLES
   Modern + Historical Theme
   ======================================== */

/* CSS Variables */
:root {
    --primary: #C9A227;
    --primary-light: #E8C547;
    --primary-dark: #A68520;
    --bg-dark: #0A0A0F;
    --bg-card: #141420;
    --bg-card-hover: #1C1C2E;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
    --text-muted: #6B6B7B;
    --border: rgba(255, 255, 255, 0.08);
    --gradient-gold: linear-gradient(135deg, #C9A227 0%, #E8C547 50%, #C9A227 100%);
    --gradient-dark: linear-gradient(180deg, #0A0A0F 0%, #12121A 100%);
    --shadow-glow: 0 0 40px rgba(201, 162, 39, 0.15);
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: transparent; /* Allow canvas background to show */
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Animated Background Pattern */
/* Animated Background Pattern removed in favor of star-animation.js */

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--gradient-gold);
    color: var(--bg-dark) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    padding: 0.2rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    border: none;
    background: transparent;
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 100%;
    border: 1px solid rgba(201, 162, 39, 0.4);
}

.hero-badge::before {
    left: 0;
    border-right: none;
}

.hero-badge::after {
    right: 0;
    border-left: none;
}

/* Sub-accent for the brackets to emphasize the 'Corners' */
.hero-badge::before {
    border-radius: 2px 0 0 2px;
}
.hero-badge::after {
    border-radius: 0 2px 2px 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-accent {
    display: block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.3);
}

/* Store Badge Styles */
.store-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border-radius: 12px;
    height: 48px; /* Sabit yükseklik - referans */
    overflow: hidden; /* Parıldama efektini içeride tutar */
}

/* Tüm img'ler için ortak kural: yükseklik %100, genişlik auto */
.store-badge-img {
    height: 100%;
    width: auto;
    display: block;
    /* Gölge vs. artık görselin kendisine değil, linke verilebilir veya SVG olduğu için kaldırılabilir */
}

/* Özel hacklerin HEPSİNİ siliyoruz. */
/* Artık temiz, orijinal SVG'ler var. */

/* Premium Shimmer Effect */
.store-badge-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
}

.store-badge-link:hover::after {
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    100% {
        left: 200%;
    }
}

.store-badge-link:hover {
    transform: translateY(-5px) scale(1.05);
}

.store-badge-link:hover .store-badge-img {
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.3), 0 0 20px rgba(201, 162, 39, 0.4);
    filter: brightness(1.1);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Visual / Phone Mockup */
.hero-visual {
    display: none;
    position: relative;
}

@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-visual {
        display: block;
        width: 350px;
        height: 500px;
    }
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #1a1a2e;
    border-radius: 44px;
    padding: 6px; /* Daha ince bezel */
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 2px rgba(255,255,255,0.05);
    position: relative;
}

/* Gerçekçi notch/dinamik ada */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #0a0a0f;
    border-radius: 14px;
    z-index: 10;
}

/* Hoparlör grili */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #2a2a3e;
    border-radius: 2px;
    z-index: 11;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.5) 100%),
        url('panteon.jpg') center/cover no-repeat;
    border-radius: 38px; /* Bezel ile uyumlu */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.screen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-animation {
    width: 200px;
    height: 200px;
    position: relative;
}

/* Sadece köşe bracket'ları - altın çerçeve yok */
.scan-frame {
    width: 100%;
    height: 100%;
    position: relative;
    /* border kaldırıldı */
}

.scan-frame::before,
.scan-frame::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: rgba(255, 255, 255, 0.8);
    border-style: solid;
}

.scan-frame::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
    border-radius: 4px 0 0 0;
}

.scan-frame::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 4px 0;
}

/* Üst sağ ve alt sol köşeler için ek elementler */
.scan-animation::before,
.scan-animation::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: rgba(255, 255, 255, 0.8);
    border-style: solid;
}

.scan-animation::before {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
    border-radius: 0 4px 0 0;
}

.scan-animation::after {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 4px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    animation: scanMove 2s ease-in-out infinite;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(100, 200, 255, 0.5);
}

@keyframes scanMove {
    0%, 100% { top: 5%; opacity: 0.5; }
    50% { top: 90%; opacity: 1; }
}

.landmark-preview {
    display: none; /* Artık fotoğraf var, emoji gizlendi */
}


.floating-card {
    position: absolute;
    background: rgba(10, 10, 15, 0.7); /* Çok hafif koyu zemin */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.9rem; /* Daha kompakt */
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #E2E8F0;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Yumuşak gölge */
    z-index: 10;
    min-width: auto; /* Genişlik içeriğe göre */
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Kutu/Arkaplan kaldırıldı */
    background: transparent; 
    border: none;
    padding: 0;
}

.card-1 {
    top: 60px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    top: 160px;
    left: -30px;
    animation-delay: 0.4s;
}

.card-3 {
    top: 260px;
    right: -15px; /* Daha içeride */
    animation-delay: 0.8s;
}

.card-4 {
    top: 360px;
    left: -30px;
    animation-delay: 1.2s;
}

.card-5 {
    top: 460px;
    right: -15px; /* Daha içeride */
    animation-delay: 1.6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    font-size: 1.2rem;
}


/* Features Section - Museum Collection Style */
.features {
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20, 20, 32, 0.4) 0%, transparent 100%);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header .hero-badge {
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3rem;
    position: relative;
}

/* Elegant Grid Connectors (Desktop only) */
@media (min-width: 1024px) {
    .features-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border), transparent);
        z-index: 0;
    }
}

.feature-card {
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 1;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    stroke-width: 1.25;
    fill: none;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
}

.feature-card:hover .feature-icon svg {
    stroke: var(--bg-dark);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin: 0;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

/* Timeline-like Divider between cards */
.feature-card::after {
    display: none;
}

/* ========================================
   Badge Carousel Section
   ======================================== */
.badge-carousel-section {
    padding: 2rem 0 3rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.badge-carousel-label {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.badge-carousel-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.badge-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Fade edges */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.badge-carousel-track {
    display: flex;
    gap: 1.2rem;
    width: max-content;
    animation: badgeScroll 40s linear infinite;
}

.badge-carousel-wrapper:hover .badge-carousel-track {
    animation-play-state: paused;
}

.badge-carousel-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.badge-carousel-item:hover {
    transform: translateY(-2px);
}

.badge-carousel-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid color-mix(in srgb, var(--badge-color) 50%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-carousel-icon i {
    font-size: 14px;
    color: var(--badge-color);
}

.badge-carousel-item span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.badge-carousel-item:hover span {
    color: var(--badge-color);
}

@keyframes badgeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* App Gallery Section */
.app-gallery {
    padding: 2rem 2rem 6rem; /* Top padding azaldı */
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.02) 0%, transparent 100%);
    overflow: hidden;
}

.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 100%;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 auto;
    width: 220px;
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: scale(1.05);
}

.screenshot-img {
    width: 100%;
    aspect-ratio: 1284 / 2778; /* iPhone 6.5" Ratio */
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.carousel-btn {
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }
    
    .carousel-slide {
        width: 180px;
    }
}

/* Download Section */
.download {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(201, 162, 39, 0.03) 100%);
}

.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.download-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.store-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.store-btn.coming-soon {
    opacity: 0.6;
    pointer-events: none;
}

.store-icon {
    width: 28px;
    height: 28px;
    fill: var(--text-primary);
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.download-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-brand .logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links a:not(.btn-nav) {
        display: none;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .features, .download {
        padding: 4rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }

    .feature-card p {
        max-width: 100%;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Founder Section Mobile Fix */
    .founder-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    .founder-info .section-title,
    .founder-info h3 {
        text-align: center !important;
    }
}
