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

html {
    overflow-x: hidden;
}

:root {
    --off-white: #FAFAFA;
    --indigo: #4B4DED;
    --violet: #A78BFA;
    --amber: #F6C177;
    --text-dark: #111214;
    --accent-gray: #E9E9EB;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    line-height: 1.2;
}

.container {
    margin: 0 auto;
    padding: 24px;
    max-width: 100%;
    overflow-x: visible;
}

.section {
    padding: 96px 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: var(--indigo);
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(75, 77, 237, 0.3);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--indigo) 0%, var(--violet) 40%, var(--amber) 70%, transparent 100%);
    opacity: 0.15;
    filter: blur(80px);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    margin-left: 70px;
}

.hero-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 7px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-sizing: content-box;
    order: 0;
}

.process-box {
    background: white;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    border-radius: 20px;
    padding: 32px 40px;
    margin: 32px 0;
    max-width: 600px;
    order: 2.5;
}

.process-box::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--indigo), var(--violet), #F472B6);
    z-index: -1;
}

.process-title {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-list {
    list-style: none;
    counter-reset: process-counter;
    padding: 0;
    margin: 0;
}

.process-list li {
    counter-increment: process-counter;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-left: 36px;
    position: relative;
}

.process-list li::before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.process-list li:last-child {
    margin-bottom: 0;
}

.hero-text h1 {
    font-size: 64px;
    margin-top: 24px;
    order: 1;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 32px;
    color: #555;
    line-height: 1.5;
    order: 2;
}

.hero-text .btn-primary {
    order: 4;
}

.hero-visual {
    position: relative;
    height: 800px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
}

.placeholder {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: #999;
    font-size: 14px;
    border: 2px dashed var(--accent-gray);
}

.hero-placeholder {
    min-width: 450px;
}

/* Section 2 - Reflection Made Effortless */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 48px;
    margin-bottom: 24px;
}

.section-body {
    font-size: 18px;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 700px;
}

.feature-list {
    list-style: unset;
    margin-bottom: 32px;
    padding-left: 15px;
}

.feature-list li {
    margin-bottom: 16px;
    font-size: 16px;
    color: #555;
}

.mockup-container {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.mockup-frame {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mockup-frame:hover {
    transform: translateY(-4px);
}

/* Section 3 - Your Mind Made Visible */
.stacked-mockups {
    position: relative;
    margin: auto;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

.stacked-layer {
    position: absolute;
    width: 80%;
    height: 400px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--accent-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stacked-layer:nth-child(1) {
    z-index: 3;
    opacity: 1;
}

.stacked-layer:nth-child(2) {
    z-index: 2;
    opacity: 0.7;
    transform: translateY(20px) scale(0.95);
}

.stacked-layer:nth-child(3) {
    z-index: 1;
    opacity: 0.4;
    transform: translateY(40px) scale(0.9);
}

.gradient-bg-indigo {
    background: linear-gradient(180deg, var(--indigo) 0%, var(--off-white) 100%);
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.centered-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.centered-content .btn-primary {
    margin-top: 32px;
}

/* Section 3.5 - Skills Abundance */
.skills-abundance {
    background: linear-gradient(180deg, var(--off-white) 0%, rgba(246, 193, 119, 0.05) 100%);
}

.skills-constellation {
    max-width: 1200px;
    margin: 48px auto;
    padding: 0 24px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(75, 77, 237, 0.02), rgba(167, 139, 250, 0.02));
    border-radius: 16px;
    border: 2px solid var(--accent-gray);
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-item img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--accent-gray);
}

.skill-name {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* Animated state */
.skills-constellation.animated .skill-item {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Section 4 - Paths of Growth */
.violet-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(255, 255, 255, 0));
    z-index: -1;
    filter: blur(60px);
}

.paths-stack {
    position: relative;
    width: 55%;
    height: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.path-card {
    position: absolute;
    width: 80%;
    max-width: 380px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

.path-card-1 {
    z-index: 3;
    transition-delay: 0s;
}

.path-card-2 {
    z-index: 4;
    transition-delay: 0.15s;
}

.path-card-3 {
    z-index: 3;
    transition-delay: 0.3s;
}

/* Animated state when cards are visible */
.paths-stack.animated .path-card {
    opacity: 1;
}

.paths-stack.animated .path-card-1 {
    transform: translateX(-80px) translateY(-15px) rotate(-6deg);
}

.paths-stack.animated .path-card-2 {
    transform: translateX(0) translateY(0) rotate(0deg);
}

.paths-stack.animated .path-card-3 {
    transform: translateX(80px) translateY(15px) rotate(6deg);
}

/* Section 5 - How It Works */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px!important;
    max-width: 1500px;
    margin: auto;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--accent-gray);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-visual {
    background: var(--off-white);
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-caption {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.tagline {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 32px;
}

/* Section 6 - Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--accent-gray);
}

.testimonial-quote {
    font-size: 16px;
    font-style: italic;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--indigo));
    margin-bottom: 16px;
}

/* Section 7 - Integration of the Self */
.philosophical-moment {
    background: linear-gradient(135deg, rgba(246, 193, 119, 0.1), rgba(167, 139, 250, 0.1));
    padding: 120px 0;
    text-align: center;
}

.philosophical-moment h2 {
    font-size: 56px;
    margin-bottom: 32px;
}

.philosophical-moment p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    line-height: 1.7;
}

/* Section 8 - Final CTA */
.final-cta {
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--indigo) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(60px);
    z-index: -1;
}

.final-cta h2 {
    font-size: 56px;
    margin-bottom: 24px;
}

.final-cta p {
    font-size: 20px;
    color: #555;
    margin-bottom: 40px;
}

.final-cta .btn-primary {
    padding: 20px 56px;
    font-size: 18px;
}

/* Footer */
footer {
    text-align: center;
    padding: 48px 0;
    border-top: 1px solid var(--accent-gray);
}

.footer-text {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--indigo);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content,
    .two-column {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Mobile hero section layout */
    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        display: contents; /* Makes children participate in parent flex layout */
        margin-left: 0; /* Remove left margin on mobile */
    }

    .hero-logo {
        order: 0;
        align-self: center;
    }

    .hero-text h1 {
        font-size: 30px;
        order: 1;
    }

    .hero-text p {
        font-size: 18px;
        order: 2;
        margin-bottom: 0px;
    }

    .process-box {
        order: 3 !important;
        text-align: left;
        align-self: center;
        padding: 24px 28px;
        margin: 24px 0;
        max-width: 100%;
    }

    .hero-visual {
        order: 4;
        height: 400px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-placeholder {
        min-width: 0;
        width: 100%;
        font-size: 12px;
        padding: 16px;
    }

    .hero-video {
        border-radius: 31px !important;
    }

    .hero-text .btn-primary {
        order: 5;
        align-self: center;
    }

    .process-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .process-list li {
        font-size: 14px;
        padding-left: 32px;
        margin-bottom: 10px;
    }

    .process-list li::before {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .section-title {
        font-size: 40px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .philosophical-moment h2,
    .final-cta h2 {
        font-size: 40px;
    }

    /* Ensure no horizontal overflow */
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    .mockup-frame,
    .stacked-layer {
        width: 100%;
    }

    /* Path cards responsive - same tilted stack as desktop */
    .paths-stack {
        width: 90%;
        height: 90%;
    }

    .path-card {
        width: 90%;
        max-width: 280px;
    }

    /* Smaller spread and tilt on mobile */
    .paths-stack.animated .path-card-1 {
        transform: translateX(-25px) translateY(-10px) rotate(-6deg);
    }

    .paths-stack.animated .path-card-2 {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    .paths-stack.animated .path-card-3 {
        transform: translateX(25px) translateY(10px) rotate(6deg);
    }

    .mockup-container {
        min-height: 450px;
        max-width: 100%;
        padding: 0px 30px;
    }

    /* Skills grid responsive */
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 24px;
    }

    .skill-item img {
        width: 60px;
        height: 60px;
    }

    .skill-name {
        font-size: 11px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out;
}
