/* ============================================================
   RESET & BASE STYLES
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

h1, h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

/* ============================================================
   INTRO HERO SECTION
============================================================ */
.intro-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #fff;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.intro-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.intro-animation svg {
    width: 100%;
    height: 100%;
}

.price-line {
    fill: none;
    stroke: #22c55e;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: draw 5s ease-out forwards;
    filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.6));
}

.ma-line {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: draw linear infinite;
}

.ma-line.ema {
    stroke: #38bdf8;
    animation-duration: 7s;
    opacity: 0.85;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

.ma-line.sma {
    stroke: #facc15;
    animation-duration: 11s;
    opacity: 0.55;
    filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.5));
}

.intro-text {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.intro-text h1 {
    font-size: 3rem;
    margin-bottom: 7rem;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.2rem;
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 25px;
}

.intro-text .btn-primary {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    background: #3B82F6; /* simplified color */
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.intro-text .btn-primary:hover {
    background: #3B82F6;
    transform: translateY(-2px);
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

/* ============================================================
   FEATURE SECTIONS
============================================================ */
.feature-section {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-section .feature-image {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(16,185,129,0.08));
    position: relative;
    overflow: hidden;
}

.feature-section .feature-image::before,
.feature-section .feature-image::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(79,70,229,0.15);
    width: 60px;
    height: 60px;
    top: -20px;
    left: -20px;
    animation: floatAround 8s ease-in-out infinite alternate;
}

.feature-section .feature-image::after {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: -10px;
    right: -10px;
    background: rgba(16,185,129,0.15);
    animation-duration: 10s;
}

@keyframes floatAround {
    0% { transform: translate(0,0) rotate(0deg); }
    50% { transform: translate(15px, 10px) rotate(45deg); }
    100% { transform: translate(0,0) rotate(0deg); }
}

/* Slogan Text */
.feature-image .slogan-text {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #4f46e5, #4f46e5);
    background-clip: text;          /* standard */
    -webkit-background-clip: text;  /* Chrome / Safari */
    color: transparent;             /* replaces -webkit-text-fill-color */
    text-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1;
    animation: popIn 1s ease-out forwards;
}


@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    80% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

/* Feature Text */
.feature-section .feature-text {
    flex: 1;
}

.feature-section .feature-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-section .feature-text p {
    font-size: 1.1rem;
    color: #555;
}

.feature-section .feature-text .btn-primary {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: #374151; /* simplified button color */
    color: #fff;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.feature-section .feature-text .btn-primary:hover {
    background: #8b929f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ============================================================
   FINAL CALL-TO-ACTION
============================================================ */
.final-cta {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.final-cta-container {
    background-color: #f3f4f6;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.final-cta-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.final-cta-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.final-cta-container p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.final-cta-container .btn-primary {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    background: #4f46e5;
    border-radius: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.final-cta-container .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background: #3730a3;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
    .intro-hero, .feature-section {
        flex-direction: column;
        gap: 30px;
    }

    .intro-hero .intro-text h1 {
        font-size: 2.2rem;
    }

    .feature-section .feature-text h2 {
        font-size: 1.7rem;
    }

    .feature-section .feature-image {
        min-height: 140px;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .final-cta-container {
        padding: 2rem 1rem;
    }

    .feature-section .feature-image .slogan-text {
        font-size: 1.6rem;
    }
}
