/* ==========================================================================
   SurfLink - Premium Tasarım Sistemi & Stil Dosyası
   ========================================================================== */

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

:root {
    /* Renk Paleti */
    --bg-dark: #070a13;
    --bg-card: rgba(17, 24, 39, 0.6);
    --bg-card-hover: rgba(26, 36, 57, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: #6366f1;
    
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #111827;
    
    /* Neon & Canlı Renkler */
    --color-primary: #6366f1; /* Indigo */
    --color-primary-glow: rgba(99, 102, 241, 0.4);
    --color-secondary: #06b6d4; /* Cyan */
    --color-secondary-glow: rgba(6, 182, 212, 0.4);
    --color-accent: #a855f7; /* Purple */
    --color-accent-glow: rgba(168, 85, 247, 0.4);
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    
    /* Fontlar */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Gölgeler ve Yuvarlatmalar */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 15px var(--color-primary-glow);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    
    /* Geçişler */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sıfırlama (Reset) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   LANDING PAGE STİLLERİ
   ========================================================================== */

.landing-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.15) 0px, transparent 50%);
}

/* Header */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 120px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-secondary-glow);
    display: inline-block;
}

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

.nav-link {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 120px 100px;
    gap: 50px;
    z-index: 5;
}

.hero-content {
    flex: 0.9;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-new .pulse {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    width: 100%;
    justify-content: flex-start;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero Mockup Panel */
.hero-mockup-container {
    flex: 1.1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.hero-glow-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
}

/* ==========================================================================
   APP BOARD / WORKSPACE YAPISI (DASHBOARD & BUILDER)
   ========================================================================== */

.app-container {
    display: none; /* JS ile açılacak */
    height: 100vh;
    grid-template-columns: 80px 1fr;
    background-color: #03060d;
    animation: fadeInApp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInApp {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sidebar */
.app-sidebar {
    background-color: rgba(3, 6, 13, 0.95);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    justify-content: space-between;
    z-index: 100;
}

.sidebar-logo {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

.menu-item {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 20px;
    transition: var(--transition-fast);
    position: relative;
}

.menu-item:hover, .menu-item.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--color-secondary);
}

.menu-item::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 64px;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
    transform: translateX(-10px);
}

.menu-item:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

/* Main Workspace */
.app-workspace {
    display: grid;
    grid-template-columns: 1fr 400px;
    height: 100vh;
    overflow: hidden;
}

.workspace-main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    padding: 32px 48px;
    background-image: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.03) 0%, transparent 60%);
}

/* View Panel Animation - smooth slide-up and fade-in when switching tabs */
.view-panel {
    animation: panelFadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelFadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.workspace-title h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.workspace-title p {
    font-size: 14px;
    color: var(--text-muted);
}

.workspace-actions {
    display: flex;
    gap: 12px;
}

/* Dashboard Analytics Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.views { background: rgba(99, 102, 241, 0.1); color: var(--color-primary); }
.stat-icon.clicks { background: rgba(6, 182, 212, 0.1); color: var(--color-secondary); }
.stat-icon.ctr { background: rgba(168, 85, 247, 0.1); color: var(--color-accent); }
.stat-icon.leads { background: rgba(16, 185, 129, 0.1); color: var(--color-success); }

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.stat-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    backdrop-filter: blur(10px);
    height: 350px;
    display: flex;
    flex-direction: column;
}

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

.chart-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.chart-content {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
}

/* Builder Workspace Panel */
.builder-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.builder-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.builder-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    backdrop-filter: blur(10px);
}

.profile-editor-container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.builder-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    color: var(--text-primary);
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.profile-pic-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-pic-preview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #1f2937;
    background-size: cover;
    background-position: center;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.profile-pic-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Theme Grid */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.theme-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.theme-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.theme-card.active {
    border-color: var(--color-secondary);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.theme-swatch {
    height: 48px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-card span {
    font-size: 12px;
    font-weight: 500;
}

/* Components List */
.components-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.component-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.component-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.comp-drag-handle {
    cursor: grab;
    color: var(--text-muted);
    font-size: 16px;
    padding-right: 8px;
}

.comp-details {
    flex: 1;
}

.comp-title {
    font-size: 14px;
    font-weight: 600;
}

.comp-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.comp-actions {
    display: flex;
    gap: 8px;
}

.btn-icon-danger {
    color: var(--color-danger);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-icon-danger:hover {
    background: rgba(239, 68, 68, 0.15);
}

.btn-icon-edit {
    color: var(--color-secondary);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-icon-edit:hover {
    background: rgba(6, 182, 212, 0.15);
}

/* Custom Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 500px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    font-size: 20px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Leads / Submissions Table */
.leads-table-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin-top: 16px;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.leads-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.leads-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.leads-table tr:hover td {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.01);
}

/* ==========================================================================
   CANLI TELEFON ÖNİZLEMESİ (RIGHT PANEL)
   ========================================================================== */

.workspace-preview {
    background-color: #040810;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

.preview-badge {
    position: absolute;
    top: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
}

/* Phone Mockup Case */
.phone-mockup {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(99, 102, 241, 0.2);
    border: 4px solid #1e293b;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Phone Inner Camera Notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background-color: #000;
    border-radius: 20px;
    z-index: 10;
}

/* Phone Bottom Bar */
.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    background: #080f19;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-screen::-webkit-scrollbar {
    display: none !important;
}

.phone-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
}

/* ==========================================================================
   stripe checkout popup / pricing table
   ========================================================================== */

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition-normal);
}

.plan-card.premium {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.04);
    position: relative;
}

.plan-card.premium .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.plan-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.plan-price {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 16px 0;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 24px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.plan-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: '✓';
    color: var(--color-success);
    font-weight: bold;
}

/* Stripe Form Mockup */
.stripe-mock-container {
    padding: 10px 0;
}

.stripe-card-input {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stripe-brand {
    font-weight: 800;
    color: #635bff;
    font-size: 14px;
}

/* ==========================================================================
   TEMA STİLLERİ (ŞABLONLAR İÇİN ORTAK DEKLARASYONLAR)
   ========================================================================== */

/* Bu kısım hem telefon mockup içi hem de ihraç edilecek sayfalar için 
   kullanılacak ortak arka planları ve temaları içerir. */

.theme-glassmorphism {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
}

.theme-cyberpunk {
    background: #0d0e15 !important;
    background-image: 
        linear-gradient(rgba(18, 16, 24, 0.9) 0%, rgba(18, 16, 24, 0.9) 100%),
        radial-gradient(circle at 10% 20%, rgba(244, 63, 94, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%) !important;
}

.theme-sunset {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%) !important;
}

.theme-aurora {
    background: #020617 !important;
    position: relative;
    overflow: hidden;
}

.theme-aurora::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: -50px;
    left: -50px;
    filter: blur(30px);
}

.theme-aurora::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    filter: blur(30px);
}

.theme-minimal {
    background: #fafafa !important;
}

.theme-sakura {
    background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 100%) !important;
}

/* ==========================================================================
   ÖZELLİKLER & ŞABLONLAR SEKTÖRÜ (LANDING PAGE)
   ========================================================================== */

#features {
    padding: 100px 120px;
    background-color: rgba(3, 6, 13, 0.3);
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    flex: 1 1 340px;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.1);
    background: var(--bg-card-hover);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.feature-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

#templates {
    padding: 100px 120px;
    background-color: rgba(3, 6, 13, 0.8);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.template-demo-card {
    background: #0b0f19;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.template-demo-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.2);
}

.template-preview-area {
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

/* Şablon Kart İçi Demo Stilleri */
.demo-btn {
    width: 80%;
    height: 28px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    margin-top: 8px;
}

.template-info-area {
    padding: 16px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.template-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.template-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-select-template {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    width: 100%;
    transition: var(--transition-fast);
}

.template-demo-card:hover .btn-select-template {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

#pricing {
    background-color: rgba(3, 6, 13, 0.6);
    padding: 100px 120px;
    border-top: 1px solid var(--border-color);
}

.landing-footer {
    padding: 40px 120px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background-color: rgba(3, 6, 13, 0.9);
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 1200px) {
    .landing-header { padding: 24px 60px; }
    .hero-section { 
        padding: 40px 60px 100px; 
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    #features, #templates { padding: 80px 60px; }
    #pricing { padding: 80px 60px; }
    .landing-footer { padding: 40px 60px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .templates-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-mockup-container {
        transform: scale(0.95);
        margin-top: 0px;
        margin-bottom: 0px;
        transform-origin: center center;
    }
}

@media (max-width: 992px) {
    .pricing-plans {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 40px auto 0;
        gap: 32px;
    }
    .plan-card.premium {
        transform: none !important;
    }
    
    /* Workspace Responsive Split Layout */
    .app-workspace {
        grid-template-columns: 1fr;
        height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .workspace-preview {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 40px 20px 80px;
        background-color: #03060d;
    }
    
    /* Workspace Sidebar to Bottom-Nav Navigation Bar */
    .app-container {
        grid-template-columns: 1fr;
        height: calc(100vh - 60px);
        margin-bottom: 60px;
    }
    .app-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 60px;
        flex-direction: row;
        padding: 0 20px;
        justify-content: space-between;
        border-right: none;
        border-top: 1px solid var(--border-color);
        background-color: rgba(3, 6, 13, 0.96);
        backdrop-filter: blur(10px);
        z-index: 1000;
    }
    .sidebar-logo, .sidebar-footer {
        display: none !important;
    }
    .sidebar-menu {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        gap: 0;
    }
    .menu-item {
        width: 44px;
        height: 44px;
        margin: 0;
    }
    .menu-item::after {
        display: none !important; /* Disable hover tooltips on mobile tap */
    }
    
    .workspace-main {
        padding: 20px 16px 40px;
        height: auto;
        overflow-y: visible;
    }
    .workspace-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .workspace-actions {
        width: 100%;
        display: flex;
        gap: 12px;
    }
    .workspace-actions button {
        flex: 1;
        justify-content: center;
    }
    
    /* Stats & Analytics grids stack */
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .landing-header { padding: 20px 24px; }
    .nav-links { display: none !important; } /* Prevents header overflow completely */
    .hero-section { 
        padding: 30px 24px 80px; 
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .features-grid { grid-template-columns: 1fr; }
    .templates-grid { grid-template-columns: repeat(2, 1fr); }
    #features, #templates { padding: 60px 24px; }
    #pricing { padding: 60px 24px; }
    .landing-footer { padding: 40px 24px; }
    .landing-footer > div {
        flex-direction: column;
        gap: 16px;
    }
    .hero-mockup-container {
        transform: scale(0.8);
        margin-top: -40px;
        margin-bottom: -50px;
        transform-origin: center center;
    }
}

@media (max-width: 640px) {
    .profile-editor-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .profile-editor-container > div:last-child {
        width: 100%;
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 576px) {
    .modal-box {
        width: calc(100% - 32px);
        margin: 16px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-stats {
        gap: 32px;
    }
    .hero-mockup-container {
        transform: scale(0.6);
        margin-top: -85px;
        margin-bottom: -110px;
        transform-origin: center center;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .builder-card {
        padding: 16px;
    }
    .builder-card-title {
        margin-bottom: 16px;
    }
    .workspace-preview {
        padding: 30px 10px 60px;
    }
}

@media (max-width: 360px) {
    .phone-mockup {
        transform: scale(0.9);
        transform-origin: center top;
        margin-bottom: -60px;
    }
}
