:root {
    --primary-color: #3498DB;
    --secondary-color: #2980B9;
    --accent-color: #E74C3C;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --border-radius: 12px;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.1);
    --bg-color: #fff;
    --nav-height: 70px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

header {
    background: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 40px;
    height: 40px;
}

.logo-section h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #1a1a1a, #2c3e50);
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.highlight-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.highlight-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Example Sections */
.example-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.example-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.example-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.example-image {
    position: relative;
}

.example-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    max-height: 400px;
    object-fit: contain;
}

.example-image p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.prompt-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.prompt-box code {
    display: block;
    background: #2c3e50;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

/* Prompting Guide */
.prompting-guide {
    background: white;
    padding: 100px 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.guide-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.guide-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.prompt-examples {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prompt-level {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.prompt-level h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.prompt-tips {
    margin-top: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.prompt-tips h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.prompt-tips ul {
    list-style: none;
}

.prompt-tips li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.prompt-tips li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Advanced Examples */
.advanced-examples {
    background: var(--light-bg);
    padding: 100px 0;
}

.example-sequence {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.example-details {
    padding: 2rem;
}

.example-details h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tips {
    list-style: none;
    margin-top: 1.5rem;
}

.tips li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.tips li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Best Practices */
.best-practices {
    padding: 100px 0;
    background: white;
}

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

.practice-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.practice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.practice-card ul {
    list-style: none;
}

.practice-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.practice-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .showcase-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .transformation-arrow {
        transform: rotate(90deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-main {
        padding-right: 0;
        text-align: center;
    }
    
    .stats-section {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .example-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .showcase-item img {
        width: 100%;
        max-width: 250px;
        height: auto;
        max-height: 200px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .example-pair {
        grid-template-columns: 1fr;
    }
    
    .text-pair {
        grid-template-columns: 1fr;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .example-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
    }
    
    .practices-grid {
        grid-template-columns: 1fr;
    }
    
    .complexity-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-list {
        grid-template-columns: 1fr;
    }
    
    .framework-steps {
        grid-template-columns: 1fr;
    }
    
    .sequence-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .reference-grid {
        grid-template-columns: 1fr;
    }
    
    .multi-style-grid {
        grid-template-columns: 1fr;
    }
    
    .problem-solution {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
    
    .advanced-example {
        grid-template-columns: 1fr;
    }
    
    .example-sequence {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .showcase-item img {
        width: 200px;
        height: 130px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-links a {
        padding: 0.8rem 1.5rem;
        text-align: center;
        width: 100%;
    }
    
    header {
        padding: 1rem 0;
    }
    
    .sequence-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* SVG Logo Enhancements */
.logo svg,
.footer-logo-img svg {
    height: 100%;
    width: auto;
}

/* Ensure SVG logos scale properly */
@media (max-width: 768px) {
    .logo {
        height: 35px;
        max-width: 140px;
    }
    
    .footer-logo-img {
        height: 35px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 30px;
        max-width: 120px;
    }
    
    .footer-logo-img {
        height: 30px;
        max-width: 120px;
    }
}

.logo {
    height: 40px;
    width: auto;
    max-width: 160px;
}

/* Navigation Active State */
.nav-links a.active {
    background: rgba(255,255,255,0.2);
    color: var(--secondary-color);
}

/* Enhanced Hero Section */
.hero-text {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-visual {
    margin-top: 4rem;
}

.showcase-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.showcase-item {
    position: relative;
    text-align: center;
}

.showcase-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.showcase-label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.transformation-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Enhanced Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Intro Text */
.intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: #666;
}

/* Enhanced Example Grid */
.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.example-card h3 {
    padding: 1.5rem;
    margin: 0;
    background: var(--primary-color);
    color: white;
    font-size: 1.3rem;
}

/* Technique Tips */
.technique-tips {
    background: #e8f4fd;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.technique-tips h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.technique-tips ul {
    list-style: none;
    margin: 0;
}

.technique-tips li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.technique-tips li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Prompting Principles */
.prompt-principles {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
}

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

.principle-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.principle-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Sequence Examples */
.example-sequence {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.sequence-item {
    text-align: center;
}

.sequence-item img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.sequence-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Prompt Levels */
.prompt-level {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.prompt-level.bad {
    border-left-color: var(--accent-color);
    background: #fdf2f2;
}

.prompt-level.good {
    border-left-color: #27ae60;
    background: #f0f9f4;
}

.technique-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Complexity Levels */
.prompt-complexity-levels {
    margin-top: 4rem;
}

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

.complexity-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.complexity-card:hover {
    transform: translateY(-5px);
}

.complexity-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.complexity-card:nth-child(1) {
    background: #d4edda;
    border: 2px solid #27ae60;
}

.complexity-card:nth-child(2) {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.complexity-card:nth-child(3) {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

/* Style Transfer Section */
.style-transfer-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.style-principles {
    margin-bottom: 4rem;
}

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

.principle {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

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

/* Style Examples */
.style-examples {
    display: grid;
    gap: 4rem;
}

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

.reference-item {
    text-align: center;
}

.reference-item img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.reference-label {
    font-weight: 600;
    color: var(--primary-color);
}

.prompt-display {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

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

.style-set {
    text-align: center;
}

.style-set img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.style-label {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Character Consistency Section */
.character-section {
    background: white;
    padding: 100px 0;
}

.consistency-framework {
    margin-bottom: 4rem;
}

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

.step {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    border-top: 4px solid var(--secondary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    background: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

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

/* Character Sequence */
.sequence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sequence-step {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
}

.sequence-step img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.step-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.step-info code {
    display: block;
    background: #2c3e50;
    color: white;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Text Editing Section */
.text-editing-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.text-editing-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: #666;
}

.text-structure {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
    text-align: center;
}

.structure-box {
    background: #e8f4fd;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.text-examples {
    display: grid;
    gap: 4rem;
}

.text-example {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.text-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.text-image {
    position: relative;
    text-align: center;
}

.text-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

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

.text-prompt {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.text-best-practices {
    margin-top: 4rem;
}

.practice {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

/* Advanced Examples Updates */
.advanced-example {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Troubleshooting Section */
.troubleshooting-section {
    background: white;
    padding: 100px 0;
}

.troubleshooting-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: #666;
}

.trouble-categories {
    display: grid;
    gap: 3rem;
}

.trouble-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.trouble-category h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

.problem, .solution {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.problem {
    border-left: 4px solid var(--accent-color);
}

.solution {
    border-left: 4px solid #27ae60;
}

.example-fix {
    background: #f0f9f4;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.general-tips {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
}

/* Enhanced Best Practices */
.practices-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: #666;
}

.practice-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.summary-callout {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 4rem 0;
}

.summary-callout h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.quick-reference {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-top: 4rem;
}

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

.reference-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.reference-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Enhanced Footer */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-main {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
}

.footer-logo h3 {
    color: white;
    margin: 0;
}

.footer-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-stat {
    text-align: center;
}

.footer-stat strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section .footer-nav a {
    color: #ccc;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section .footer-nav a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer-disclaimer {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-credits {
    color: #888;
    font-size: 0.8rem;
}

/* Missing Elements Styles */
.hero-visual {
    margin-top: 4rem;
}

.style-set img:first-child {
    margin-bottom: 0.5rem;
}

.style-set img:last-child {
    margin-bottom: 1rem;
}

.advanced-example img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* Additional Visual Elements */
.before-after-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.prompt-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.technique-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.technique-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.technique-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Additional Image Container Fixes */
.style-example img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--border-radius);
}

/* Ensure all image containers maintain aspect ratio */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix potential layout issues */
.container {
    width: 100%;
    overflow-x: hidden;
}

/* Responsive image handling */
@media (max-width: 480px) {
    .example-image img,
    .sequence-item img,
    .reference-item img,
    .text-image img {
        max-height: 200px;
    }
    
    .showcase-item img {
        max-height: 150px;
    }
}