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

body{
    background: linear-gradient(135deg, #d1fae5 0%, #bfdbfe 25%, #dbeafe 50%, #e0e7ff 65%, #ddd6fe 80%, #e9d5ff 100%);
    background-attachment: fixed;
    padding: 40px;
    min-height: 100vh;
}

/*This is to style the first section */
.header{
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.initialTitle{
    font-size: 36px;
    font-family: 'Franklin Gothic Medium', Arial;
    font-weight: 600;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hero{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    animation: fadeIn 1s ease-out;
}

.textContent{
    flex: 1 1 55%;
}

.textContent h1{ 
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.textContent p{
    margin-top: 20px;
    font-size: 20px;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #475569;
    max-width: 85%;
}

.imageContainer {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imageContainer img {
    width: 100%;
    max-width: 620px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.imageContainer img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/*This is to style the second section */
.rectangle-section{
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.rectangle{
    flex: 1 1 250px;
    min-width: 250px;
    min-height: 250px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rectangle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.rectangle:hover::before {
    left: 100%;
}

.rectangle:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(139, 92, 246, 0.3);
}

.rectangle h2{
    font-size: 25px;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 700;
}

.rectangle p{
    font-size: 20px;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #475569;
    max-width: 85%;
}

.rectangle img{
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    animation: floatBounce 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.rectangle:hover img{
    animation: spinScale 0.6s ease-in-out;
    transform: scale(1.1);
}

.rectangle:nth-child(1) img {
    animation-delay: 0s;
}

.rectangle:nth-child(2) img {
    animation-delay: 0.5s;
}

.rectangle:nth-child(3) img {
    animation-delay: 1s;
}

.features .features-title{
    text-align: center;
    width: 100%;
}

.features .features-title h1{
    padding-top: 55px;
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

/*This is to style the third section */
.app-intro{
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    animation: fadeIn 1.2s ease-out;
}

.app-intro-text{
    flex: 1;
}

.app-intro-text h1{
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.app-intro-text p{
    margin-top: 20px;
    font-size: 20px;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #475569;
    max-width: 85%;
}

.app-intro .app-intro-title h1{
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    padding-bottom: 35px;
}

/* New wrapper for image and text */
.app-intro-body{
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
    padding-left: 24px;
}

.app-intro-image{
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-intro-image img{
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-intro-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.app-intro-title{
    margin-left: 24px;
}

.app-intro-image{
    margin-left: 24px;
}

.app-intro-text ul{
    margin-top: 18px;
    padding-left: 1.2rem;
}

.app-intro-text li{
    margin-top: 20px;
    font-size: 20px;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #475569;
    max-width: 85%;
    transition: transform 0.2s ease, color 0.2s ease;
}

.app-intro-text li:hover {
    transform: translateX(5px);
    color: #6366f1;
}

/* This is the styling for my fourth section */
.journey-section {
    padding: 60px 20px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.journey-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.journey-hero {
    text-align: center;
    color: black;
    margin-bottom: 60px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

.journey-hero h1 {
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.journey-hero p {
    font-size: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.journey-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.journey-feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out backwards;
}

.journey-feature-card:nth-child(1) { animation-delay: 0.1s; }
.journey-feature-card:nth-child(2) { animation-delay: 0.2s; }
.journey-feature-card:nth-child(3) { animation-delay: 0.3s; }

.journey-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.journey-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.journey-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: journey-float 3s ease-in-out infinite;
}

.journey-feature-icon img{
    width: 40px;
    height: 40px;
}

.journey-feature-card h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 700;
}

.journey-feature-card p {
    margin-top: 20px;
    font-size: 18px;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #475569;
    max-width: 85%;
}

.journey-cta-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: fadeInUp 1.2s ease-out;
}

.journey-cta-section h2 {
    font-size: 1.8rem;
    padding-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.journey-cta-section p {
    color: #4a5568;
    font-size: 1.5rem;
    font-family: 'Georgia', serif;
    margin-bottom: 35px;
}

.journey-download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.journey-download-btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.7rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.journey-btn-waitlist {
    background: #000;
    color: white;
}

.journey-btn-waitlist:hover {
    background: #333;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.journey-step-indicator {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    line-height: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Styling for last section */
.last-section{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 20px 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.col-item{
    transition: transform 0.3s ease;
}

.col-item:hover {
    transform: translateY(-5px);
}

.col-item h2{
    font-size: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.col-item p{
    margin-top: 20px;
    font-size: 20px;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #475569;
    max-width: 85%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes floatBounce {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    50% { 
        transform: translateY(-15px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

@keyframes spinScale {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1.1) rotate(360deg);
    }
}

@keyframes journey-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.journey-feature-card:nth-child(2) .journey-feature-icon {
    animation-delay: 0.5s;
}

.journey-feature-card:nth-child(3) .journey-feature-icon {
    animation-delay: 1s;
}

/* Responsive design */
@media (max-width: 900px) {
    body {
        padding: 20px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .textContent p {
        max-width: 100%;
    }
    
    .app-intro-body {
        flex-direction: column;
        text-align: center;
    }
    
    .app-intro-image img {
        width: 100%;
        max-width: 420px;
    }
    
    .app-intro-text {
        max-width: 100%;
    }
    
    .app-intro .app-intro-title h1{
        text-align: center;
    }
    
    .app-intro-body{
        justify-content: center;
        padding-left: 0;
    }
    
    .app-intro-image{
        margin-left: 0;
    }

    .journey-hero h1 {
        font-size: 2rem;
    }

    .journey-hero p {
        font-size: 1rem;
    }

    .journey-features {
        grid-template-columns: 1fr;
    }

    .journey-download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .journey-download-btn {
        width: 100%;
        justify-content: center;
    }

    .journey-cta-section h2 {
        font-size: 1.8rem;
    }
    
    /* Last section responsive tweaks */
    .last-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 12px;
    }
    
    .col-item {
        background: transparent;
        padding: 6px 0 6px 12px;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
    }
    
    .col-item h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .col-item p {
        font-size: 16px;
        max-width: 100%;
        margin-top: 8px;
    }
}