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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    --bg-primary: #0f0f23;
    --bg-secondary: #1e1e3f;
    --bg-card: #252542;
    --bg-input: #2d2d4a;
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --border-color: #3f3f46;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.container > .header {
    flex: none;
}

.container > .main-content,
.container > .simple-gallery,
.container > .landing-content {
    flex: none;
}

.container > .footer {
    flex: none;
}

.header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

/* Main Navigation - Single Row Design */
.main-nav {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
    margin-bottom: 0;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-trigger:after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    color: currentColor;
}

.dropdown-menu.show + .dropdown-trigger:after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.dropdown-link:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-link.active {
    color: var(--text-primary);
    background: rgba(138, 203, 55, 0.1);
}

.nav-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-group-main {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-group-tools {
    position: relative;
}

.nav-group-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-right: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    min-width: max-content;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.8rem;
    border: 1px solid transparent;
    position: relative;
    background: transparent;
    letter-spacing: 0.02em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(138, 203, 55, 0.08);
    border-color: rgba(138, 203, 55, 0.15);
    font-weight: 600;
}

.nav-link.active::before {
    width: 100%;
    background: var(--primary-color);
}

/* Navigation Mobile Optimization */
@media (max-width: 768px) {
    .main-nav {
        margin-bottom: 0.75rem;
    }
    
    .nav-container {
        gap: 0.25rem;
        padding: 0.5rem;
        margin-bottom: 0.75rem;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
        border-radius: 6px;
    }
    
    .nav-link:hover {
        transform: none;
    }
    
    .dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        border-radius: 12px;
        max-height: 50vh;
        overflow-y: auto;
    }
    
    .dropdown-trigger:after {
        font-size: 0.6rem;
    }
    
    /* Breadcrumb mobile optimization */
    .breadcrumb {
        padding: 0.5rem 0 0.25rem 0;
    }
    
    .breadcrumb ol {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        gap: 0.125rem;
        padding: 0.25rem;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
    }
    
    .nav-container::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.7rem;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
    }
    
    .dropdown-menu {
        left: 5px;
        right: 5px;
        bottom: 5px;
    }
    
    /* Extra small breadcrumb */
    .breadcrumb {
        padding: 0.375rem 0 0.125rem 0;
    }
    
    .breadcrumb ol {
        padding: 0.125rem 0.375rem;
        font-size: 0.7rem;
    }
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.main-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.controls-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    height: fit-content;
    position: sticky;
    top: 2rem;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
}

.control-section {
    margin-bottom: 1rem;
}

.control-section:last-child {
    margin-bottom: 0;
}

.control-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    height: 24px;
}

.label-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.value-display {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-input);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    min-width: 50px;
    text-align: center;
    font-weight: 500;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.text-input {
    width: 100%;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.625rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    max-height: 90px;
    transition: var(--transition);
}

.text-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

.font-select {
    width: 100%;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 0.625rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    height: 40px;
    box-sizing: border-box;
}

.font-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.slider {
    width: 100%;
    height: 6px;
    background: var(--bg-input);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
}

.color-input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
}

.color-input {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.color-input:hover {
    border-color: var(--primary-color);
}

.color-hex {
    flex: 1;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 0.625rem;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
    height: 40px;
    min-width: 0;
    box-sizing: border-box;
}

.color-hex:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.preset-section {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0.375rem;
    height: 108px;
}

.preset-btn {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0;
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preset-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.action-buttons {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    height: 44px;
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    width: 100%;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-btn:active {
    transform: translateY(0);
}

.reset-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-btn:hover {
    border-color: var(--error-color);
    color: var(--error-color);
    background: rgba(239, 68, 68, 0.1);
}

.preview-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: fit-content;
}

.preview-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    height: 464px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.preview-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.text-preview {
    position: relative;
    z-index: 1;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 368px;
    height: 432px;
    background: #8ACB37;
    transition: var(--transition-slow);
    overflow: hidden;
}

.generated-text {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: none;
    white-space: pre-wrap;
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: var(--transition-slow);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}

.preview-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.info-card {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-card .info-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    font-size: 0.8rem;
}

.info-card .info-content {
    font-size: 0.75rem;
    line-height: 1.4;
}

.keyboard-shortcuts {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.875rem;
    box-shadow: var(--shadow);
    margin-top: 1rem;
}

.shortcuts-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
}

.shortcuts-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.375rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.shortcut-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shortcut-key {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.125rem 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
}


@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 360px 1fr;
        gap: 1.5rem;
    }
    
    .controls-panel {
        max-width: 360px;
        padding: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .controls-panel {
        position: static;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        padding: 1.5rem;
    }
    
    .control-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .preset-buttons {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: 88px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
        height: 108px;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0.75rem;
    }
    
    .controls-panel {
        padding: 1rem;
        max-width: 100%;
        margin: 0;
    }
    
    .main-content {
        padding: 0;
    }
    
    .color-input-wrapper {
        gap: 0.375rem;
    }
    
    .color-input {
        width: 36px;
        height: 36px;
    }
    
    .color-hex {
        height: 36px;
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .font-select {
        height: 36px;
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .preview-container {
        padding: 1rem;
        height: 280px;
        max-width: 100%;
    }
    
    .text-preview {
        width: 280px;
        height: 200px;
    }
    
    .preview-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .keyboard-shortcuts {
        padding: 0.75rem;
    }
    
    .shortcuts-list {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .simple-gallery {
        padding: 1rem 0;
    }
    
    .simple-carousel {
        padding: 0 50px;
    }
    
    .sample-image {
        width: 160px;
        height: 160px;
        font-size: 1.4rem;
    }
    
    .how-to-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases {
        grid-template-columns: 1fr;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
    
    .landing-content {
        padding: 2rem 0;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .controls-panel {
        padding: 0.875rem;
        margin: 0;
    }
    
    .control-row {
        gap: 0.5rem;
    }
    
    .color-input {
        width: 32px;
        height: 32px;
    }
    
    .color-hex {
        height: 32px;
        padding: 0.25rem 0.375rem;
        font-size: 0.7rem;
    }
    
    .font-select {
        height: 32px;
        padding: 0.25rem 0.375rem;
        font-size: 0.75rem;
    }
    
    .preview-container {
        height: 240px;
        padding: 0.75rem;
    }
    
    .text-preview {
        width: 220px;
        height: 165px;
    }
    
    .preset-buttons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        height: 108px;
    }
    
    .info-card,
    .keyboard-shortcuts {
        padding: 0.625rem;
    }
    
    .shortcuts-title {
        font-size: 0.75rem;
    }
}

.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Breadcrumb Navigation */
/* Modern Breadcrumb - Positioned below navigation */
.breadcrumb {
    padding: 0.5rem 0 0.75rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: flex-start;
    animation: slideDown 0.3s ease-out 0.15s both;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0.25rem 0.75rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 0.375rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    padding: 0.125rem 0.375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.breadcrumb-link:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.125rem 0.375rem;
}

/* Simple Gallery Styles */
.simple-gallery {
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.simple-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1rem;
}

.sample-image {
    width: 200px;
    height: 200px;
    background: #8ACB37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-transform: lowercase;
    word-wrap: break-word;
    padding: 0.5rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sample-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Landing Page Content Styles */
.landing-content {
    background: var(--bg-primary);
    padding: 1.5rem 0;
    color: var(--text-primary);
}

.main-content-article {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.7;
}

.content-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.content-intro {
    font-size: 1.1rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.content-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.content-section ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.how-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    margin-top: 0;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.use-cases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.use-case {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.use-case h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.faq-section {
    margin-top: 2rem;
}

.faq-item {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
}

.faq-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.content-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-section ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.use-cases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.use-case {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.use-case h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    color: white;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    color: white;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.footer {
    background: var(--bg-secondary);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Gallery Section */
.gallery-section {
    padding: 2rem 0;
    background: var(--card-background);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gallery-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* Share Modal Styles */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.share-modal-content {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--primary-color);
    animation: slideIn 0.3s ease;
}

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

.share-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.share-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.share-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.share-btn {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.share-btn:hover {
    border-color: var(--primary-color);
    background: rgba(138, 203, 55, 0.1);
    color: var(--primary-color);
}

.share-btn.twitter:hover {
    border-color: #1DA1F2;
    background: rgba(29, 161, 242, 0.1);
    color: #1DA1F2;
}

.share-btn.facebook:hover {
    border-color: #4267B2;
    background: rgba(66, 103, 178, 0.1);
    color: #4267B2;
}

.share-btn.instagram:hover {
    border-color: #E4405F;
    background: rgba(228, 64, 95, 0.1);
    color: #E4405F;
}

.share-btn.tiktok:hover {
    border-color: #FF0050;
    background: rgba(255, 0, 80, 0.1);
    color: #FF0050;
}

.share-btn.copy:hover {
    border-color: var(--primary-color);
    background: rgba(138, 203, 55, 0.1);
    color: var(--primary-color);
}

.share-tips {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(138, 203, 55, 0.05);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.instagram-instructions,
.tiktok-instructions {
    color: var(--text-secondary);
}

.instagram-instructions ol,
.tiktok-instructions ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.instagram-instructions li,
.tiktok-instructions li {
    margin-bottom: 0.5rem;
}

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

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Responsive Rules */

@media (max-width: 480px) {
    .simple-carousel {
        padding: 0 40px;
    }
    
    .sample-image {
        width: 140px;
        height: 140px;
        font-size: 1.2rem;
    }
    
    .how-to-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
        margin-top: 3rem;
    }
    
    .content-title {
        font-size: 1.6rem;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Related Tools Component */
.related-tools {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.related-tools-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.related-tool-link {
    display: block;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.related-tool-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s;
}

.related-tool-link:hover::before {
    left: 100%;
}

.related-tool-link:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.related-tool-link.current {
    background: rgba(138, 203, 55, 0.1);
    border-color: rgba(138, 203, 55, 0.3);
    color: var(--text-primary);
    cursor: default;
    transform: none;
}

.related-tool-link.current:hover {
    transform: none;
    background: rgba(138, 203, 55, 0.1);
    border-color: rgba(138, 203, 55, 0.3);
    color: var(--text-primary);
}

/* Mobile responsive for related tools */
@media (max-width: 768px) {
    .related-tools {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .related-tools-title {
        font-size: 1.5rem;
    }
    
    .related-tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.75rem;
    }
    
    .related-tool-link {
        padding: 0.875rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .related-tools {
        padding: 1rem;
    }
    
    .related-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .related-tool-link {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
}