/* ------------------- */
/* --- FEATURES THEME & BASE --- */
/* ------------------- */
:root {
    --bg-color: #ffffff;
    --bg-alt-section: #f9fafb;
    --text-color: #4b5563;
    --heading-color: #111827;
    --primary-accent: #007BFF; /* Professional Blue */
    --border-color: #e5e7eb;
    --shadow-md: 0 4px 15px -3px rgba(17, 24, 39, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Helvetica Neue", Arial, Helvetica, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ------------------- */
/* --- LAYOUT & TYPOGRAPHY --- */
/* ------------------- */
.container { max-width: 1100px; margin: 0 auto; padding: 100px 20px; }
h1, h2, h3 { font-weight: 700; color: var(--heading-color); line-height: 1.3; letter-spacing: -0.5px; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
h1 + p { text-align: center; font-size: 1.2rem; max-width: 700px; margin: 20px auto 0 auto; color: #374151;}
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; }
h3 { font-size: 1.4rem; color: var(--heading-color); margin-top: 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px;}
h3::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--primary-accent);
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /></svg>');
}
p { font-size: 1.1rem; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ------------------- */
/* --- FEATURE BLOCK LAYOUT --- */
/* ------------------- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}
.feature-block:nth-child(even) .feature-visual { order: -1; }

.feature-visual {
    background: var(--bg-alt-section);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

/* ------------------- */
/* --- VISUALS FOR EACH BLOCK --- */
/* ------------------- */
/* Visual Constructor */
.constructor-visual .block { position: absolute; border-radius: 8px; background: #fff; border: 1px solid var(--border-color); box-shadow: var(--shadow-md); transition: all 0.5s ease-out; }
.block-1 { top: 20%; left: 15%; width: 120px; height: 120px; animation: pop-1 4s infinite alternate ease-in-out; }
.block-2 { top: 40%; left: 55%; width: 150px; height: 60px; animation: pop-2 4s infinite alternate ease-in-out; }
.block-3 { top: 65%; left: 25%; width: 200px; height: 50px; animation: pop-3 4s infinite alternate ease-in-out; }
@keyframes pop-1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(10px, -10px) scale(1.05); } }
@keyframes pop-2 { from { transform: translate(0, 0) scale(1) rotate(0deg); } to { transform: translate(-10px, 10px) scale(1.05) rotate(-5deg); } }
@keyframes pop-3 { from { transform: translate(0, 0) scale(1); background-color: #fff;} to { transform: translate(5px, 5px) scale(1.05); background-color: #dbeafe;} }

/* Content Filling */
.content-visual .icon { position: absolute; width: 60px; height: 60px; background: #fff; border-radius: 50%; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: var(--shadow-md); animation: fly-in 1.5s ease-out forwards; opacity: 0;}
@keyframes fly-in { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }

/* Business Tools */
.business-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 80%; }
.business-visual .bar { background-color: var(--primary-accent); border-radius: 4px; animation: grow-bar 2s infinite ease-in-out alternate; }
@keyframes grow-bar { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }

/* Sharing Tech */
.sharing-visual { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.sharing-visual .tech-icon { font-size: 3rem; color: var(--primary-accent); animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } }

/* ------------------- */
/* --- FINAL CTA --- */
/* ------------------- */
#final-cta { text-align: center; }
#final-cta p { margin: 20px auto 30px; }

/* ------------------- */
/* --- RESPONSIVENESS --- */
/* ------------------- */
@media (max-width: 992px) {
    .feature-block { grid-template-columns: 1fr; gap: 40px; }
    .feature-block:nth-child(even) .feature-visual { order: 1; }
    .feature-visual { height: 350px; margin-top: 40px; }
}
@media (max-width: 768px) {
    .container { padding: 80px 20px; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}
