/* CSS Variables - New Color Palette based on #0c253b */
:root {
    /* Ana renk paleti - #0c253b tabanlı */
    --primary-dark-blue: #0c253b;
    --primary-medium-blue: #1a3a52;
    --primary-light-blue: #2d4f6b;
    --primary-lighter-blue: #4a6b85;
    --primary-accent-blue: #5a7a94;
    --primary-light-accent: #7a9bb3;
    
    /* Vurgu renkleri */
    --accent-orange: #ff6b35;
    --accent-gold: #f7931e;
    --accent-light-orange: #ff8c5a;
    
    /* Nötr renkler */
    --neutral-white: #ffffff;
    --neutral-light: #f8fafc;
    --neutral-lighter: #e8f4f8;
    --neutral-medium: #d1e7dd;
    --neutral-dark: #2c3e50;
    --neutral-darker: #1a252f;
    
    /* Semantic color assignments */
    --text-primary: var(--neutral-darker);
    --text-secondary: var(--primary-dark-blue);
    --text-muted: var(--primary-light-blue);
    --text-light: var(--primary-lighter-blue);
    --background-primary: var(--neutral-white);
    --background-secondary: var(--neutral-light);
    --background-accent: var(--neutral-lighter);
    --background-dark: var(--primary-dark-blue);
    --accent-primary: var(--accent-orange);
    --accent-secondary: var(--accent-gold);
    --accent-light: var(--accent-light-orange);
    --border-color: var(--primary-accent-blue);
    --border-light: var(--primary-light-accent);
    --shadow-color: rgba(12, 37, 59, 0.1);
    --shadow-dark: rgba(12, 37, 59, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
    color: white;
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark-blue);
    border: 2px solid var(--primary-dark-blue);
}

.btn-outline:hover {
    background: var(--primary-dark-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 37, 59, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, var(--primary-medium-blue) 0%, var(--primary-light-blue) 100%);
    color: white;
    border: 2px solid var(--primary-medium-blue);
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--primary-light-blue) 0%, var(--primary-medium-blue) 100%);
    border-color: var(--primary-light-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 58, 82, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    background: rgba(12, 37, 59, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-dark);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-logo a:hover {
    transform: translateY(-2px);
    color: var(--primary-dark-blue);
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-link {
    color: var(--neutral-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

.nav-user {
    position: relative;
    display: flex;
    align-items: center;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--neutral-white);
    font-size: 1rem;
    font-weight: 500;
}

.user-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.user-menu-btn i {
    font-size: 1.2rem;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    display: none;
    border: 1px solid var(--border-color);
    min-height: 100px;
    background-color: white !important;
    color: var(--text-primary);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block !important;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.user-dropdown a:hover {
    background-color: var(--background-secondary);
    color: var(--accent-orange);
    transform: translateX(5px);
}

.user-dropdown a i {
    width: 16px;
    text-align: center;
    color: var(--accent-orange);
}

.user-dropdown a:hover i {
    color: var(--primary-dark-blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--neutral-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-accent) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark-blue);
    font-weight: 700;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark-blue);
    font-weight: 700;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--neutral-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-dark);
    border-color: var(--border-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark-blue);
    font-weight: 600;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--background-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark-blue);
}

.step-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--neutral-white);
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-dark);
    border-color: var(--border-color);
}

.pricing-card.featured {
    border: 3px solid var(--accent-orange);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--neutral-white) 0%, var(--background-accent) 100%);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark-blue);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.pricing-action {
    margin-top: auto;
}

/* Story Creation Form */
.story-creation {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.story-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: var(--neutral-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark-blue);
    box-shadow: 0 0 0 3px rgba(12, 37, 59, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

#cancel-story-btn {
    display: none;
}

/* Story Display */
.story-display {
    padding: 5rem 0;
    background: white;
}

.story-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.story-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    color: white;
    text-align: center;
}

.story-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.story-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.story-theme,
.story-age,
.story-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.story-cover {
    text-align: center;
    padding: 2rem;
    background: var(--background-secondary);
}

.story-cover img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-content {
    padding: 2rem;
}

.story-info {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.word-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-orange);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.word-count i {
    font-size: 1rem;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    white-space: pre-line;
}

.story-actions {
    padding: 2rem;
    background: var(--background-secondary);
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: var(--primary-dark-blue);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.footer-logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-description {
    color: var(--primary-light-accent);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--primary-light-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-medium-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-medium-blue);
    color: var(--primary-light-accent);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--neutral-white);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 40px var(--shadow-dark);
    border: 1px solid var(--border-light);
}

/* Auth Modal - creative layout */
.auth-modal {
    max-width: 920px;
    padding: 0;
    overflow: hidden;
}
#subscription-modal .auth-modal {padding:20px;}
.auth-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 520px;
}

.auth-visual {
    position: relative;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    color: #fff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1000px 400px at -10% -10%, rgba(255,255,255,0.15), transparent 60%),
                radial-gradient(800px 320px at 120% 110%, rgba(255,255,255,0.12), transparent 60%);
    pointer-events: none;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 10px 14px;
    border-radius: 12px;
    width: fit-content;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.auth-badge i { color: #fff; }
.auth-badge span { font-weight: 700; letter-spacing: .2px; }

.auth-title {
    margin: 18px 0 8px 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
}

.auth-subtitle { color: rgba(255,255,255,0.9); margin-bottom: 18px; }

.auth-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.auth-benefits li { display: flex; align-items: center; gap: 10px; }
.auth-benefits i { color: var(--primary-gold); }

.auth-form-wrap {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-wrap h3 { margin-bottom: 18px; }

.auth-switch { margin-top: 14px; text-align: center; color: var(--text-muted); }
.auth-switch a { color: var(--primary-orange); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

.auth-modal .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

@media (max-width: 992px) {
    .auth-grid { grid-template-columns: 1fr; }
    .auth-visual { min-height: 220px; padding: 36px 28px; }
    .auth-modal { max-width: 560px; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark-blue);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: var(--background-secondary);
    color: var(--accent-orange);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.modal-footer a {
    color: var(--primary-orange);
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.loading-spinner p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .story-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 20px;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 16px 20px;
    min-width: 300px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
    border-left: 4px solid var(--primary-orange);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: var(--primary-gold);
}

.notification-error {
    border-left-color: var(--primary-pink-brown);
}

.notification-warning {
    border-left-color: var(--primary-orange);
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-message {
    color: var(--text-primary);
    font-size: 14px;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    margin-left: 15px;
}

.notification-close:hover {
    color: var(--text-primary);
}

/* Form Validation */
.field-error {
    color: var(--primary-pink-brown);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--primary-medium-blue);
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 82, 0.25);
}

/* Form Progress */
.form-progress {
    margin-bottom: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--background-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-dark-blue));
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Story Cards */
.story-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.story-card-header {
    margin-bottom: 1rem;
}

.story-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark-blue);
    margin-bottom: 0.5rem;
}

.story-card-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.story-card-content {
    margin-bottom: 25px;
    flex-grow: 1;
}

.story-card-content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.story-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    flex-shrink: 0;
}

.story-card-actions .btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Dashboard Section */
.dashboard-section {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--neutral-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-light);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.recent-activity {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.recent-activity h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.activity-list {
    min-height: 100px;
}

.no-activity {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.activity-content {
    flex: 1;
}

.activity-text {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-weight: 500;
}

.activity-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.no-stories {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.no-stories i {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.no-stories h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.no-stories p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* User Stories Section */
.user-stories-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    min-height: 100vh;
}

.user-stories-section .section-title {
    text-align: center;
    color: white;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    margin-bottom: 16px;
}

.user-stories-section .section-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.7);
}

.user-stories-section .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#user-stories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.story-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-dark-blue));
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.story-card-cover {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
}

.story-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-cover-image {
    transform: scale(1.05);
}

/* Default cover için özel stil */
.story-card-cover img[src*="default-cover.svg"] {
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.1);
}

/* Varsayılan kapak resmi için fallback stil - SVG yüklenemezse */
.story-card-cover:has(img[src*="default-cover.svg"]) {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-card-cover:has(img[src*="default-cover.svg"])::before {
    content: '📚';
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    z-index: 1;
}

.story-card-cover:has(img[src*="default-cover.svg"])::after {
    content: 'Story';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.story-card-header {
    margin: 20px 20px 15px 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    flex-shrink: 0;
}

.story-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.story-card-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-dark-blue));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.story-card-content {
    margin: 0 20px 20px 20px;
    flex-grow: 1;
}

.story-card-content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.story-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 20px 20px 20px;
    margin-top: auto;
    flex-shrink: 0;
}

.story-card-actions .btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.story-card-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--primary-pink-brown), var(--primary-medium-blue));
    border: 2px solid var(--primary-pink-brown);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--primary-medium-blue), var(--primary-pink-brown));
    border-color: var(--primary-medium-blue);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-dark-blue));
    border: 2px solid var(--accent-orange);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark-blue), var(--accent-orange));
    border-color: var(--primary-dark-blue);
}

.no-stories {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    grid-column: 1 / -1;
}

.no-stories i {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
    display: block;
}

.no-stories h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-stories p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.no-stories .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
}

/* Story Display Section */
.story-display {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-dark-blue) 100%);
    min-height: 100vh;
}

.story-display .section-title {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.story-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.story-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-dark-blue));
}

.story-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--border-color);
}

.story-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.story-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.story-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-dark-blue));
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
}

.story-meta-item i {
    font-size: 1.2rem;
}

.story-cover {
    text-align: center;
    margin-bottom: 40px;
}

.cover-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    max-height: 400px;
    object-fit: cover;
}

.story-content {
    margin-bottom: 40px;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: justify;
    white-space: pre-wrap;
}

/* Story ad box */
.story-ad {
    margin: 20px 0 0 0;
}

.story-ad-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(237,120,23,0.12), rgba(8,23,37,0.12));
    border: 1px dashed rgba(237,120,23,0.45);
}

.story-ad-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-dark-blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(8,23,37,0.25);
    flex-shrink: 0;
}

.story-ad-icon i { font-size: 1.2rem; }

.story-ad-text h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.story-ad-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.story-ad .ad-cta {
    margin-left: auto;
}

@media (max-width: 768px) {
    .story-ad-inner { flex-direction: column; align-items: stretch; gap: 12px; }
    .story-ad .ad-cta { width: 100%; text-align: center; }
}

.story-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 3px solid var(--border-color);
}

.story-controls .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.story-controls .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.back-to-stories {
    background: linear-gradient(135deg, var(--primary-pink-brown), var(--primary-medium-blue));
    border: 2px solid var(--primary-pink-brown);
    color: white;
}

.back-to-stories:hover {
    background: linear-gradient(135deg, var(--primary-medium-blue), var(--primary-pink-brown));
    border-color: var(--primary-medium-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    #user-stories {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .story-card {
        padding: 20px;
    }
    
    .story-card-title {
        font-size: 1.2rem;
    }
    
    .story-card-actions {
        flex-direction: column;
    }
    
    .story-card-actions .btn {
        width: 100%;
    }
    
    .story-container {
        padding: 25px;
        margin: 20px;
    }
    
    .story-title {
        font-size: 2rem;
    }
    
    .story-meta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .story-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .story-controls .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .user-stories-section {
        padding: 40px 15px;
    }
    
    .user-stories-section .section-title {
        font-size: 2rem;
    }
    
    .story-card {
        padding: 15px;
    }
    
    .story-container {
        padding: 20px;
        margin: 15px;
    }
    
    .story-title {
        font-size: 1.8rem;
    }
    
    .story-text {
        font-size: 1.1rem;
    }
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Scroll Effect */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-color);
}

/* Mobile Menu Active State */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Error Notification */
.error-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-pink-brown);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(199, 148, 138, 0.3);
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

/* General Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
    font-weight: 500;
}

.notification-info {
    background: var(--primary-medium-blue);
    color: white;
    box-shadow: 0 4px 20px rgba(12, 37, 59, 0.3);
}

.notification-success {
    background: var(--primary-gold);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(229, 194, 141, 0.3);
}

.notification-warning {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 20px rgba(237, 120, 23, 0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
