:root {
    --blue: #007BFF;
    --green: #28C76F;
    --orange: #FF7A00;
    --light: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-gray: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--light);
    color: var(--text-dark);
    overflow-x: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
}
.shape1 {
    width: 300px; height: 300px;
    top: -100px; left: -100px;
    background: var(--blue);
    animation: float 8s infinite ease-in-out;
}
.shape2 {
    width: 200px; height: 200px;
    bottom: 100px; right: -80px;
    background: var(--green);
    animation: float 7s infinite ease-in-out;
}
.shape3 {
    width: 250px; height: 250px;
    top: 50%; left: 50%;
    background: var(--orange);
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(-20px) }
}

.gradient-text {
    background: linear-gradient(90deg, var(--blue), var(--green), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 10%;
    min-height: 100vh;
    align-items: center;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h2 {
    color: var(--blue);
    font-size: 1.5rem;
    min-height: 40px;
}

.hero p {
    margin: 20px 0;
    color: var(--text-gray);
    font-size: 1rem;
}

.btn-primary {
    background: var(--blue);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary:hover {
    background: var(--green);
}

.hero-code {
    flex: 1;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    font-family: monospace;
    overflow-x: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    animation: floatCode 5s infinite ease-in-out;
}

@keyframes floatCode {
    0%, 100% { transform: translateY(0px) }
    50% { transform: translateY(-10px) }
}

.overview, .features, .cta {
    padding: 60px 10%;
    text-align: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: var(--orange);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn-secondary:hover {
    background: var(--green);
}

footer {
    padding: 20px;
    background: var(--light-gray);
    text-align: center;
    color: var(--text-gray);
}

.fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade.in-view {
    opacity: 1;
    transform: translateY(0px);
}
.code-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 320px;
    overflow-y: auto;
    margin-top: 1.5rem;
}
.code-block {
    background: #eceaea;
    color: #84888a;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: 1em;
    min-width: 260px;
    overflow-x: auto;
    white-space: pre;
    box-shadow: 0 2px 6px rgba(161, 161, 161, 0.27);
    margin: 0;
}