:root {
    --primary-color: #27AE60;
    --primary-light: #2ecc71;
    --primary-color-rgb: 39, 174, 96;
    --dark-color: #12181f;
    --light-color: #f4f7fc;
    --text-color: #aeb9c5;
    --heading-color: #ffffff;
    --card-bg: rgba(30, 40, 51, 0.75);
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body { font-family: 'Poppins', sans-serif; background-color: var(--dark-color); color: var(--text-color); line-height: 1.7; overflow-x: hidden; position: relative; }

.background-blobs { position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: -1; }

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(40px, -60px) rotate(45deg); }
    50% { transform: translate(20px, 80px) rotate(90deg); }
    75% { transform: translate(-50px, -30px) rotate(135deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; animation: drift 50s infinite linear alternate; }
.blob1 { width: 500px; height: 500px; background: var(--primary-color); top: -150px; left: -150px; }
.blob2 { width: 400px; height: 400px; background: #3498db; bottom: -100px; right: -100px; animation-duration: 60s; }
.blob3 { width: 300px; height: 300px; background: #9b59b6; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-duration: 40s; }

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

/* --- Header --- */
.main-header { padding: 20px 0; position: sticky; top: 0; z-index: 100; background: rgba(18, 24, 31, 0.7); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: #fff; display: flex; align-items: center; text-decoration: none; }
.logo i { margin-right: 10px; color: var(--primary-light); }

/* --- Buttons --- */
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; font-size: 1rem; border: none; }
.btn-primary { background: linear-gradient(90deg, var(--primary-light), var(--primary-color)); color: #fff; box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5); }

/* --- Hero Section & Parallax --- */
.hero { padding: 100px 0; }
.hero .container { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; text-align: left; }
.hero-content h1 { font-size: 3.8rem; line-height: 1.2; color: var(--heading-color); font-weight: 800; margin-bottom: 25px; }
.hero-content .subtitle { font-size: 1.2rem; max-width: 550px; margin-bottom: 40px; }
.hero-image-container { flex: 1; position: relative; min-height: 450px; }

/* Parallax element base styles */
.parallax-el { position: absolute; transition: transform 0.2s ease-out; }
.hero-image-main { position: relative; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4); border: 1px solid var(--border-color); }
.hero-ui-card { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.15); background: rgba(30, 40, 51, 0.5); backdrop-filter: blur(8px); }
.hero-ui-card.card1 { width: 45%; bottom: -10%; left: -15%; }
.hero-ui-card.card2 { width: 35%; top: -5%; right: -10%; }

/* --- Features Section --- */
.features { padding: 120px 0; }
.features h2 { text-align: center; font-size: 2.8rem; margin-bottom: 60px; color: var(--heading-color); font-weight: 700; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.feature-card { background: var(--card-bg); backdrop-filter: blur(10px); padding: 40px; border-radius: 16px; border: 1px solid var(--border-color); transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature-card:hover { transform: translateY(-8px); border-color: rgba(var(--primary-color-rgb), 0.5); }
.feature-icon-wrapper { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; background-color: rgba(var(--primary-color-rgb), 0.1); border-radius: 50%; margin-bottom: 25px; }
.feature-icon-wrapper i { font-size: 2.5rem; color: var(--primary-light); }
.feature-card h3 { font-size: 1.5rem; color: var(--heading-color); margin-bottom: 15px; }
.feature-card p { font-size: 0.95rem; line-height: 1.6; }
.feature-card.large-card { grid-column: span 2; }

/* --- Final CTA Section --- */
.final-cta { padding: 120px 0; text-align: center; }
.final-cta h2 { font-size: 2.8rem; margin-bottom: 15px; color: var(--heading-color); font-weight: 700; }
.final-cta p { font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* --- Footer --- */
.main-footer { padding: 40px 0; border-top: 1px solid var(--border-color); margin-top: 50px; }
.footer-content { display: flex; justify-content: center; align-items: center; }
.footer-text { text-align: center; }
.footer-text p { color: var(--text-color); opacity: 0.7; margin: 0; }
.credits { font-size: 0.9rem; margin-top: 5px; }
.credits a { color: var(--primary-light); text-decoration: none; font-weight: 500; transition: text-decoration 0.2s; }
.credits a:hover { text-decoration: underline; }

/* --- Reveal Animation --- */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s, transform 1s; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content { text-align: center; }
    .hero-content .subtitle { margin-left: auto; margin-right: auto; }
    .hero-image-container { min-height: auto; margin-top: 40px; }
    .hero-ui-card { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card.large-card { grid-column: span 1; }
}
@media (max-width: 768px) {
    .hero-content h1, .features h2, .final-cta h2 { font-size: 2.2rem; }
    .hero, .features, .final-cta { padding: 60px 0; }
    /* Responsive Header Fix */
    .main-header .container { flex-direction: row; gap: 20px; }
    .footer-content { flex-direction: column; gap: 10px; }
}