/* ================================================
   ILO ROBOT - MODERN TUTORIAL STYLES
   Clean, Readable, Step-by-Step
   ================================================ */

:root {
    /* Colors */
    --ilo-blue: #24b4b1;
    --ilo-blue-hover: #1d9996;
    --ilo-black: #17272d;
    --ilo-dark-grey: #4a5568;
    --ilo-grey: #8d9da8;
    --ilo-light-grey: #e2e8f0;
    --ilo-white: #ffffff;
    --ilo-bg-light: #f8fafc;
    
    /* Gradients */
    --ilo-gradient-hero: linear-gradient(180deg, #f1f7fb 0%, #ffffff 100%);
    --ilo-gradient-accent: linear-gradient(135deg, #24b4b1 0%, #1d9996 100%);
    
    /* Shadows & Effects */
    --ilo-shadow-sm: 0 4px 6px rgba(23, 39, 45, 0.02);
    --ilo-shadow-hover: 0 10px 25px rgba(23, 39, 45, 0.08);
    
    /* Radius */
    --ilo-radius-md: 20px;
    --ilo-radius-lg: 32px;
    
    /* Transitions */
    --ilo-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'poppins', sans-serif;
    color: var(--ilo-black);
    background-color: var(--ilo-white);
    margin: 0;
    line-height: 1.8;
}

/* ---------- Typography ---------- */
h1, h2, h3 { 
    margin: 0; 
    font-weight: 700; 
    color: var(--ilo-black);
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 20px;
    color: var(--ilo-dark-grey);
}

a {
    color: var(--ilo-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a:hover {
    color: var(--ilo-blue-hover);
    text-decoration: underline;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ilo-ease);
    cursor: pointer;
    border: none;
    text-decoration: none !important;
    letter-spacing: 0.01em;
    margin: 10px 0;
}

.btn--primary {
    background: var(--ilo-gradient-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(36, 180, 177, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 180, 177, 0.4);
    color: white;
}

/* ---------- Layout Wrapper ---------- */
.tutorial-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

/* ---------- HERO SECTION ---------- */
.tutorial-hero {
    text-align: center;
    padding: 140px 20px 60px;
    background: var(--ilo-gradient-hero);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 60px;
}

.tutorial-hero__title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tutorial-hero__text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ---------- FOOTER CTA (New Full Width) ---------- */
.tutorial-footer {
    background: var(--ilo-bg-light); 
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
    margin-top: 60px;
}

.tutorial-footer p {
    max-width: 800px;
    margin: 30px auto 0;
    font-size: 1.1rem;
}

/* ---------- SECTIONS & CONTENT ---------- */
.tutorial-section {
    margin-bottom: 60px;
}

.tutorial-sub-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ilo-light-grey);
    display: inline-block;
}

/* Points / Labs styles */
.tutorial-point {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.tutorial-the-point {
    color: var(--ilo-blue);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Images */
.tutorial-img {
    width: 100%;
    height: auto;
    border-radius: var(--ilo-radius-md);
    box-shadow: var(--ilo-shadow-sm);
    margin: 30px 0;
    border: 1px solid var(--ilo-light-grey);
}

.tutorial-img--contain {
    object-fit: contain;
    background: var(--ilo-bg-light);
}

/* Flexible Layout (Text + Image side by side) */
.tutorial-split {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
}

.tutorial-split__content { flex: 1; }
.tutorial-split__visual { flex: 1; }

.tutorial-split--reverse { flex-direction: row-reverse; }

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.store-buttons img {
    height: 60px;
    transition: transform 0.2s;
}

.store-buttons a:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .tutorial-hero { padding-top: 100px; }
    .tutorial-hero__title { font-size: 2.2rem; }
    .tutorial-split { flex-direction: column; }
    .tutorial-split--reverse { flex-direction: column; }
    .store-buttons img { height: 50px; }
    .tutorial-footer { padding: 60px 20px; }
}
