/* Design 4: Minimal Elegance - Enhanced */

/* Root Variables - New Limited Color Palette & Fonts */
:root {
    --brand-primary: #5A40F5; /* A refined, deep violet/blue */
    --text-dark: #2C2C30;     /* Very dark charcoal for main text */
    --bg-light: #F8F8F9;      /* Soft off-white background */
    --subtle-accent: #A0A0A0; /* Mid-gray for subtle details/borders */
    --bg-dark: #1E1E22;       /* Rich, deep dark grey/black for contrast sections */
    --white: #ffffff;         /* Pure white for elements on dark backgrounds */

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;

    --spacing-unit: 1.5rem;
    --border-radius: 10px;
    --shadow-light: 0 6px 20px rgba(0, 0, 0, 0.05);
    --shadow-deep: 0 12px 35px rgba(0, 0, 0, 0.2);
    --transition-fast: all 0.25s ease-out;
    --transition-slow: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Basic Reset & Typography */
body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: var(--spacing-unit);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 4.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

h2 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: calc(2.8 * var(--spacing-unit));
}

h3 {
    font-size: 2.1rem;
    font-weight: 700;
}

p {
    margin-bottom: var(--spacing-unit);
    font-size: 1.15rem;
    line-height: 1.7;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--subtle-accent);
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Common Section Styles */
.section-v4 {
    padding: 7rem 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.bg-light-v4 {
    background-color: var(--bg-light);
}

.bg-dark-v4 {
    background-color: var(--bg-dark);
    color: var(--white);
}

.bg-dark-v4 h2, .bg-dark-v4 h3 {
    color: var(--white);
}

.section-description-v4 {
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.8;
}
.bg-dark-v4 .section-description-v4 {
    color: var(--white);
    opacity: 0.9;
}

.text-center-v4 {
    text-align: center;
}

/* Hero Section V4 */
.hero-v4 {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #7E6CFB 100%); /* Subtle gradient */
    color: var(--white);
    padding: 8rem 0 10rem 0; /* More padding at bottom for shape */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%); /* Elegant wave effect */
}

.hero-content-v4 {
    position: relative;
    z-index: 2;
    max-width: 950px;
    padding: 2.5rem 3rem;
    background: rgba(255, 255, 255, 0.08); /* Very subtle transparent background */
    border-radius: var(--border-radius);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px); /* Soft blur effect behind content */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-v4 h1 {
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    line-height: 1.1;
    margin-bottom: 1.5rem; /* Space below headline */
}

.hero-v4 .subtitle-v4 {
    font-size: 2.4rem;
    font-style: italic;
    margin-bottom: 2.5rem; /* More space below subtitle */
    opacity: 0.95;
    font-weight: 400;
    font-family: var(--font-body);
}

.cta-button-v4 {
    display: inline-block;
    background-color: var(--subtle-accent); /* Using subtle accent for CTA initially, might change to primary */
    color: var(--white);
    padding: 1.4rem 3.8rem;
    border-radius: 50px;
    font-size: 1.45rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em; /* Slightly tighter letter spacing */
    transition: var(--transition-slow);
    box-shadow: 0 10px 30px rgba(160, 160, 160, 0.4);
    border: none;
    font-family: var(--font-heading);
}

.cta-button-v4:hover {
    background-color: var(--brand-primary); /* Primary color on hover for emphasis */
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 18px 45px rgba(90, 64, 245, 0.6);
    text-decoration: none;
}

/* Who Is For / Why Choose Us Sections (New Feature Grid & Cards) */
.feature-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1000px; /* Constrain width for cleaner look */
    margin: 2rem auto 3.5rem auto; /* Space around the grid */
}

.feature-card-v4 {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: flex-start;
    text-align: left; /* Align text left within card */
    transition: var(--transition-slow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card-v4:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-primary);
}

.feature-icon-v4 {
    font-size: 2.8rem; /* Larger icons */
    margin-right: 1.5rem;
    flex-shrink: 0; /* Prevent icon from shrinking */
    line-height: 1;
    color: var(--brand-primary); /* Ensure icon color */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for icon */
}

.feature-card-v4 p {
    margin: 0;
    font-size: 1.1rem; /* Slightly smaller than section description */
    line-height: 1.6;
}
.feature-card-v4 p strong {
    color: var(--text-dark); /* Keep strong text dark */
    font-weight: 700;
}


/* How It Works Section V4 (Already good, slight tweaks) */
#how-it-works-v4 .steps-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem;
    padding-top: var(--spacing-unit);
}

.step-card-v4 {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-card-v4:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-primary);
}

.step-number-v4 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.step-number-v4::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background-color: var(--subtle-accent);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.step-card-v4 h3 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 2.2rem;
}

.step-card-v4 p {
    font-size: 1.05rem;
    color: var(--text-dark);
    opacity: 0.85;
}


/* Founder Section V4 (Powerful & Energetic!) */
#founder-section-v4 {
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden; /* Important for background effects */
}

/* Background gradient for energy */
#founder-section-v4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(90, 64, 245, 0.15) 0%, transparent 40%),
                radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: pulseBackground 15s infinite alternate ease-in-out; /* Subtle breathing animation */
}

@keyframes pulseBackground {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.95; }
    100% { transform: scale(1); opacity: 1; }
}


.founder-content-v4 {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding-top: var(--spacing-unit);
    position: relative; /* Ensure content is above ::before */
    z-index: 1;
}

.founder-card-v4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-dark);
    padding: 3.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4); /* Deeper initial shadow */
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.8s ease;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Slightly more prominent white border */
    /* Add an internal glow */
    box-shadow: 0 0 0 5px rgba(90, 64, 245, 0.1) inset, var(--shadow-deep);
}

.founder-card-v4:hover {
    transform: translateY(-15px) scale(1.02); /* More lift and slight scale */
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 8px var(--brand-primary) inset; /* Deeper shadow, stronger internal glow */
    border-color: var(--brand-primary); /* Border shifts to primary */
}

.founder-photo-v4 {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2.5rem;
    border: 8px solid var(--subtle-accent); /* Start with subtle border */
    box-shadow: 0 0 0 0 rgba(90, 64, 245, 0); /* Initial zero glow */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother transition */
    filter: grayscale(100%) brightness(80%); /* Stronger grayscale, slightly darker */
}

.founder-card-v4:hover .founder-photo-v4 {
    filter: grayscale(0%) brightness(100%); /* Full color and brightness */
    border-color: var(--brand-primary); /* Strong primary border on hover */
    box-shadow: 0 0 0 10px rgba(90, 64, 245, 0.8); /* Stronger primary glow */
    transform: scale(1.05); /* Slight photo pop */
}

.founder-text-v4 {
    flex-grow: 1;
    color: var(--white);
}

.founder-text-v4 h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
    font-weight: 800; /* Bolder for more power */
    letter-spacing: -0.02em;
}

.quote-wrapper-v4 {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for the quote */
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem; /* Space from title */
    border-left: 5px solid var(--brand-primary); /* Strong brand primary left border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.founder-bio-v4 {
    font-size: 1.15rem;
    line-height: 1.8; /* Tighter line height for quote */
    opacity: 0.95; /* Slightly less opaque */
    font-weight: 400; /* Regular weight for readability in quote */
    margin: 0; /* Remove default paragraph margin */
}

/* Footer V4 (No changes needed here for requested sections) */
.footer-v4 {
    background-color: var(--bg-dark);
    color: var(--subtle-accent);
    text-align: center;
    padding: 3.5rem 0;
    font-size: 0.95rem;
    border-top: 6px solid var(--brand-primary);
}

.footer-v4 .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.footer-text-v4 {
    margin: 0;
    opacity: 0.8;
}

/* Animations (for initial load only) */
@keyframes animateFadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes animateScaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes animateSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: animateFadeIn 1s ease-out forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: animateScaleIn 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: animateSlideUp 1s ease-out forwards;
    opacity: 0;
}

/* Staggered delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }


/* Responsive Design V4 */
@media (min-width: 769px) {
    .founder-card-v4 {
        flex-direction: row; /* Side-by-side on larger screens */
        text-align: left;
        padding: 4.5rem;
        gap: 4rem;
    }
    .founder-photo-v4 {
        margin-bottom: 0;
        margin-right: 2.5rem;
    }
    .founder-text-v4 {
        text-align: left;
    }
}

@media (max-width: 1024px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 2.8rem; }
    h3 { font-size: 1.8rem; }
    p { font-size: 1.05rem; }
    .hero-v4 .subtitle-v4 { font-size: 2rem; }
    .cta-button-v4 { padding: 1.2rem 3.2rem; font-size: 1.3rem; }
    .step-number-v4 { font-size: 3.5rem; }

    .section-description-v4 { font-size: 1.15rem; }
    .feature-grid-v4 { gap: 2rem; }
    .feature-card-v4 { padding: 2rem; }
    .feature-icon-v4 { font-size: 2.5rem; margin-right: 1.2rem;}
    .feature-card-v4 p { font-size: 1.05rem; }
}

@media (max-width: 768px) {
    .hero-v4 {
        padding: 6rem 0 8rem 0;
        min-height: 60vh;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    }

    .hero-v4 h1 { font-size: 3.2rem; }
    .hero-v4 .subtitle-v4 { font-size: 1.6rem; }
    .cta-button-v4 { padding: 1rem 2.5rem; font-size: 1.1rem; }

    h2 { font-size: 2.5rem; margin-bottom: calc(1.8 * var(--spacing-unit)); }
    .section-v4 { padding: 4.5rem 0; }
    .steps-grid-v4 { grid-template-columns: 1fr; }
    .step-card-v4 { padding: 2.5rem; }

    .section-description-v4 { font-size: 1.05rem; }
    .feature-grid-v4 { grid-template-columns: 1fr; gap: 1.8rem; margin: 1.5rem auto 2rem auto; }
    .feature-card-v4 { padding: 2rem; }
    .feature-icon-v4 { font-size: 2.2rem; margin-right: 1rem; }
    .feature-card-v4 p { font-size: 1rem; }


    .founder-card-v4 { padding: 2.5rem; flex-direction: column; gap: 2rem; }
    .founder-photo-v4 { width: 200px; height: 200px; margin-bottom: 2rem; }
    .founder-text-v4 h2 { font-size: 2.2rem; }
    .founder-bio-v4 { font-size: 1.05rem; }
    .quote-wrapper-v4 { padding: 1.5rem 2rem; }
}

@media (max-width: 480px) {
    .hero-v4 h1 { font-size: 2.6rem; }
    .hero-v4 .subtitle-v4 { font-size: 1.4rem; }
    .cta-button-v4 { padding: 0.9rem 2.2rem; font-size: 1rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.8rem; }
    .step-card-v4 { padding: 2rem; }
    .step-number-v4 { font-size: 3rem; }
    .founder-photo-v4 { width: 160px; height: 160px; }
}
