body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #fffaf0; /* A very light orange/cream */
    color: #333;
}

/* Header & Navigation */
header {
    background-color: rgba(251, 83, 21, 0.2); /* Primary Orange at 20% opacity */
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.logo a {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo img {
    max-height: 50px; /* Adjust as needed */
    width: auto;
    vertical-align: middle;
    display: block;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FB5315; /* Primary Orange */
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #E14A13; /* Darker Primary Orange */
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #555;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger:hover span {
    background-color: #FB5315;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FB5315, #ff7e4a); /* Primary Orange Gradient */
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    margin-bottom: 60px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.5;
    opacity: 0.9;
}

/* App Store Button */
.app-store-link img {
    height: 60px; /* Adjust as needed */
    width: auto;
    transition: transform 0.2s ease;
}

.app-store-link:hover img {
    transform: scale(1.05);
}

/* Social Follow in Hero */
.social-follow {
    margin-top: 30px;
    font-size: 1.1rem;
}

.instagram-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.instagram-link:hover {
    background-color: #ffffff;
    color: #FB5315;
}


/* Story Sections */
.story-section {
    max-width: 1000px;
    margin: 0 auto 80px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    line-height: 1.7;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.story-section.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.story-section.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.story-section h2 {
    color: #FB5315; /* Primary Orange */
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.8rem;
    font-weight: 700;
}

.story-section p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Software in Mind link with icon */
.softwareinmind-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.softwareinmind-link:hover {
    transform: translateY(-2px);
}

.softwareinmind-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.softwareinmind-link:hover .softwareinmind-icon {
    opacity: 1;
}

/* How It Works - Feature Items */
.how-it-works .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
    text-align: center;
    padding: 30px;
    background-color: #fcfdff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.how-it-works .feature-item h3 {
    color: #FB5315; /* Primary Orange */
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.how-it-works .feature-item img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    margin-top: 30px;
    border: 1px solid #eee;
}

/* Privacy Policy Page */
.privacy-policy {
    text-align: left;
    max-width: 900px;
}

.privacy-policy h1 {
    color: #FB5315;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.privacy-policy h2 {
    color: #FB5315;
    font-size: 1.8rem;
    margin-top: 35px;
    margin-bottom: 15px;
}

.privacy-policy p {
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.8;
}

.privacy-policy ul {
    margin: 20px 0;
    padding-left: 40px;
}

.privacy-policy ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.privacy-policy a {
    color: #FB5315;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy a:hover {
    color: #E14A13;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #FB5315; /* Primary Orange */
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    margin-top: 80px;
    font-size: 1rem;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fffaf0; /* Lighter cream */
    text-decoration: underline;
}

.footer-privacy-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-privacy-link:hover {
    color: #fffaf0;
    text-decoration: underline;
}

.social-links {
    margin-bottom: 15px;
}

.social-links a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fffaf0; /* Lighter cream */
    text-decoration: underline;
}

/* Back to Top Button */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 30px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #FB5315; /* Primary Orange */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#backToTopBtn:hover {
    background-color: #E14A13; /* Darker Primary Orange */
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero .subtitle {
        font-size: 1.2rem;
    }
    .story-section h2 {
        font-size: 2.2rem;
    }
    .how-it-works .feature-item h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 0 15px;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fffaf0; /* Same as main area background */
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        padding: 0;
    }

    .nav-links.active {
        max-height: 300px;
        padding: 20px 0;
    }

    .nav-links li {
        margin: 12px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px 20px;
    }
    .hero {
        padding: 80px 15px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .subtitle {
        font-size: 1rem;
    }
    .story-section {
        margin-bottom: 50px;
        padding: 25px;
    }
    .story-section h2 {
        font-size: 1.9rem;
    }
    .story-section p {
        font-size: 1rem;
    }
    .app-store-link img {
        height: 50px;
    }
    .how-it-works .feature-item img {
        max-width: 100%;
    }
    #backToTopBtn {
        padding: 12px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .subtitle {
        font-size: 0.9rem;
    }
    .story-section h2 {
        font-size: 1.6rem;
    }
    .how-it-works .feature-item h3 {
        font-size: 1.6rem;
    }
}