@font-face {
    font-family: 'ClaudHeading';
    src: url('claud_heading.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MyOwnFont';
    src: url('myownfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #FAF9F6;
    --text-primary: #2d2d2d;
    --text-secondary: #555555;
    --brand-primary: #C55E3D;
    --brand-secondary: #e28a6f;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'MyOwnFont', 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, .logo, .step-badge {
    font-family: 'ClaudHeading', 'Outfit', sans-serif;
}

/* Background glows */
.background-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    animation: float 10s infinite alternate ease-in-out;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 119, 87, 0.8) 0%, rgba(255,255,255,0) 70%);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.6) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    padding: 80px 24px 60px;
    text-align: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.step-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .step-card {
        flex-direction: row;
        align-items: center;
    }
    
    .step-card.reverse {
        flex-direction: row-reverse;
    }
    
    .step-content {
        flex: 1;
    }
    
    .step-image-container {
        flex: 1.2;
    }
}

.step-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    margin-top: 16px;
    color: var(--brand-primary);
}

.step-content p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.step-content .text-muted {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-badge {
    display: inline-block;
    background: rgba(217, 119, 87, 0.1);
    color: var(--brand-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.code-block {
    background: #f1f1f1;
    border: 1px solid var(--card-border);
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.code-block code {
    font-family: monospace;
    font-size: 1rem;
    color: #6b21a8;
}

.copy-btn {
    background: #e2e8f0;
    border: none;
    color: #334155;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'MyOwnFont', 'Outfit', sans-serif;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #cbd5e1;
}

.styled-list {
    list-style: none;
    margin-top: 16px;
}

.styled-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.styled-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
}

/* Images */
.image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
}

.image-wrapper::after {
    content: '🔍 Click to enlarge';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.image-wrapper:hover::after {
    opacity: 1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--brand-secondary);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 24px;
    margin-bottom: 60px;
    background: linear-gradient(180deg, rgba(217, 119, 87, 0.05) 0%, transparent 100%);
    border-radius: 24px;
    border: 1px solid var(--card-border);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--brand-primary);
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.125rem;
}

.primary-button {
    display: inline-block;
    background: var(--brand-primary);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(197, 94, 61, 0.3);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 94, 61, 0.4);
}

footer {
    text-align: center;
    padding: 40px 24px;
    color: var(--text-secondary);
    border-top: 1px solid var(--card-border);
}

/* Responsive */
@media (max-width: 640px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .step-card {
        padding: 24px;
    }
    
    .step-content h2 {
        font-size: 1.8rem;
    }
}
