/* Reset and base styles */
html.no-transitions * {
    transition: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
    min-height: 100vh;
    font-size: 16px;
    /* Initially hidden to prevent flash */
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    animation-delay: 0.1s;
}

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

/* Dark mode styles */
body.dark-mode {
    color: #e0e0e0;
    background-color: #121212;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

body.dark-mode header {
    background-color: #1a1a1a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin-left: auto;
}

.theme-toggle-container {
    margin-left: 2.5rem;
    display: flex;
    align-items: center;
}

#dark-mode-toggle {
    cursor: pointer;
    border: 2px solid #ccc;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    /* Default to sun icon for dark mode */
    content: "☀️";
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
    border-color: #888;
}

body.dark-mode #dark-mode-toggle {
    border-color: #444;
    color: #e0e0e0;
    background-color: rgba(20, 20, 20, 0.5);
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: inline-block;
}

body.dark-mode .nav-links li a {
    color: #f0f0f0;
}

a {
    text-decoration: none;
}

.nav-links li a:focus {
    outline: none;
}

.nav-links li a:hover {
    color: #93204a;
}

body.dark-mode .nav-links li a:hover {
    color: #ff6b97;
}

/* Removed CTA buttons from navbar */

/* Buttons */
.btn-primary {
    background-color: #93204a;
    color: #fff;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-primary:focus {
    outline: none;
}

.btn-secondary {
    background-color: transparent;
    color: #93204a;
    border: 2px solid #93204a;
    transition: all 0.3s ease;
}

.btn-secondary:focus {
    outline: none;
}

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

/* Removed hover effect */

/* Hero Section */
.hero {
    background: #f9fafb;
    padding: 5rem 0 3.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero {
    background: #121212;
}

.hero::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(147, 32, 74, 0.05) 0%,
        rgba(147, 32, 74, 0) 70%
    );
    z-index: 0;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1 1 450px;
    max-width: 600px;
}

.hero-content h1 {
    font-family: "Outfit", sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #111;
    line-height: 1.1;
    letter-spacing: -0.8px;
}

body.dark-mode .hero-content h1 {
    color: #ffffff;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #444;
    line-height: 1.6;
}

body.dark-mode .hero-content p {
    color: #c0c0c0;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-cta a {
    margin-right: 0;
    text-align: center;
    display: inline-block;
}

.app-store-button {
    height: 50px;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    display: block;
}

.app-store-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.app-store-button-sm {
    height: 40px;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    display: block;
}

.app-store-button-sm:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Hero Image */
.hero-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Removed dashed border box background */

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    transition: transform 0.3s ease;
}

/* Removed hover effect */

/* Features Section */
.features {
    background-color: #f9fafb;
    padding: 3.5rem 0;
    margin-bottom: 0;
}

body.dark-mode .features {
    background-color: #121212;
}

.section-title {
    font-family: "Outfit", sans-serif;
    font-size: 2.7rem;
    margin-bottom: 2rem;
    color: #111;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.6px;
}

body.dark-mode .section-title {
    color: #ffffff;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #93204a;
    transform: translateX(-50%);
}

/* Removed redundant h2 styling as it's now in .section-title */

.features-content-continuous {
    max-width: 64rem;
    margin: 2rem auto 0;
    font-size: 1.08rem;
    color: #333;
    line-height: 1.7;
    padding: 0 1rem;
}

.features-content-continuous p {
    margin-bottom: 0;
    text-align: left;
    line-height: 1.8;
    letter-spacing: 0.01rem;
}

body.dark-mode .features-content-continuous p {
    color: #c0c0c0;
}

body.dark-mode .feature-heading {
    color: #ff6b97;
}

.feature-heading {
    font-family: "Outfit", sans-serif;
    color: #93204a;
    font-size: 1.75rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    line-height: 0;
}

/* Removed first-child margin override */

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .features-content-continuous {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .features-content-continuous p {
        line-height: 1.6;
    }

    .feature-heading {
        font-size: 1.4rem;
        display: block;
        color: #93204a;
        margin-bottom: 0.3rem;
        margin-top: 1rem;
        letter-spacing: -0.3px;
    }

    .feature-heading:first-child {
        margin-top: 0;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 2rem 0 5rem;
    background-color: #f9fafb;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

body.dark-mode .how-it-works {
    background-color: #121212;
}

.how-it-works::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(147, 32, 74, 0.05) 0%,
        rgba(147, 32, 74, 0) 70%
    );
}

.how-it-works::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(147, 32, 74, 0.05) 0%,
        rgba(147, 32, 74, 0) 70%
    );
}

/* Removed redundant styling as it's now using .section-title */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.8rem;
    margin-top: 3rem;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: calc(50% - 2px);
    width: 4px;
    height: calc(100% - 60px);
    background: linear-gradient(to bottom, #93204a, #b5446a);
    z-index: 0;
    display: none;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .steps::before {
        display: block;
    }
}

.step {
    background-color: #ffffff;
    padding: 2.2rem 3.2rem 2.2rem 2.2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

body.dark-mode .step {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .step:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .step-number {
    color: rgba(255, 255, 255, 0.05);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.09);
}

.step:hover .step-number {
    color: rgba(74, 74, 74, 0.13);
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .steps::before {
        display: none;
    }

    .step {
        padding: 2rem 2.5rem 2rem 1.8rem;
        margin-bottom: 1.5rem;
    }

    .step-number {
        font-size: 6.5rem;
        top: -0.6rem;
        right: 0.8rem;
        opacity: 0.09;
    }
}

.step-number {
    font-size: 10.5rem;
    font-weight: 800;
    font-family: "Outfit", sans-serif;
    color: rgba(74, 74, 74, 0.08);
    position: absolute;
    top: -1.2rem;
    right: 0.8rem;
    line-height: 1;
    z-index: 0;
    transition:
        all 0.3s ease,
        transform 0.3s ease,
        color 0.3s ease;
}

/* Removed circular animation */

.step h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.2rem;
    color: #111;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    z-index: 1;
}

body.dark-mode .step h3 {
    color: #ffffff;
}

.step h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #93204a;
}

.step p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    max-width: 90%;
}

body.dark-mode .step p {
    color: #c0c0c0;
}

/* Pricing Section */
.pricing {
    background-color: #ffffff;
    padding: 4.5rem 0;
}

body.dark-mode .pricing {
    background-color: #1a1a1a;
}

/* Removed redundant h2 styling as it's now using .section-title */

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: #fff;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

body.dark-mode .pricing-card {
    background-color: #1a1a1a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .pricing-card.featured {
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

body.dark-mode .pricing-card.featured:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
}

.pricing-card.featured {
    border: 2px solid #93204a;
}

.pricing-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #111;
    font-weight: 600;
}

/* Removed hover effect */

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #93204a;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.pricing-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3.5rem;
    align-items: flex-start;
}

.pricing-left {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
}

.pricing-right {
    flex: 2 1 450px;
}

/* Removed pricing-header as we no longer need it */

.price {
    font-size: 4.2rem;
    font-weight: 700;
    color: #93204a;
    letter-spacing: -1px;
    font-family: "Outfit", sans-serif;
    line-height: 1;
    margin-bottom: 1.5rem;
}

body.dark-mode .price {
    color: #f5f5f5;
}

.price span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    margin-left: 0.3rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    color: #555;
    padding-left: 0;
}

body.dark-mode .pricing-features {
    color: #b0b0b0;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #93204a;
    font-weight: 700;
}

.pricing-features .feature-highlight {
    color: #93204a;
}

body.dark-mode .pricing-features li::before {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-cta {
    display: block;
    text-align: left;
    margin-top: 2rem;
}

.pricing-note {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    max-width: 220px;
}

body.dark-mode .pricing-note {
    color: #aaa;
}

/* Removed display classes as we now have a single download button */

/* FAQ Section */
.faq {
    background-color: #f9fafb;
    padding: 4.5rem 0 5rem 0;
    margin-top: 0;
}

body.dark-mode .faq {
    background-color: #121212;
    background-image: linear-gradient(to bottom, #121212, #131313);
}

/* Removed redundant h2 styling as it's now using .section-title */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 3.5rem auto 1rem;
}

.faq-item h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    color: #93204a;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

body.dark-mode .faq-item h3 {
    color: #ff6b97;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

body.dark-mode .faq-item p {
    color: #c0c0c0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #93204a 0%, #7a1a3e 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-radius: 16px;
    margin: 0rem auto 4rem 4rem;
    max-width: 1100px;
    box-shadow: 0 20px 40px rgba(147, 32, 74, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    pointer-events: none;
}

.cta-heading {
    font-family: "Outfit", sans-serif;
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.7px;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-section a {
    display: inline-block;
    margin: 0 auto;
}

body.dark-mode .cta-section {
    background: linear-gradient(135deg, #93204a 0%, #7a1a3e 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.cta-section .cta-feedback {
    color: #ffffff;
}

.cta-section .cta-feedback a {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #222;
    color: #ffffff;
    padding: 1.5rem 0 0 0;
    font-size: 0.9rem;
}

.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 36px;
    margin-bottom: 0.8rem;
}

.footer-logo p {
    color: #bbb;
    font-size: 0.9rem;
    max-width: 300px;
}

.legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
}

.legal a {
    color: #ffffff;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.legal a:hover {
    color: #b5446a;
}

.legal p {
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 3.5rem 0 2.5rem 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        text-align: center;
        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 1.15rem;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    /* Hero image after element already removed */

    .nav-links {
        display: flex;
        justify-content: center;
        position: relative;
    }

    .theme-toggle-container {
        position: absolute;
        right: 0;
        top: 0;
        margin-left: 0;
    }

    nav {
        justify-content: center;
        padding: 1rem 1rem;
    }

    .logo {
        margin: 0 auto;
    }

    .section-title {
        font-size: 2.3rem;
        letter-spacing: -0.5px;
    }

    .cta-heading {
        font-size: 2.4rem;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .cta-section {
        padding: 3.5rem 1rem;
        margin: 3.5rem auto;
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .container {
        width: 92%;
    }

    /* Removed mobile display classes */

    #dark-mode-toggle {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1001;
        background-color: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }

    body.dark-mode #dark-mode-toggle {
        background-color: rgba(25, 25, 25, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .theme-toggle-container {
        position: static;
    }

    .hero {
        padding: 3rem 0 2.5rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: -0.4px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-cta a {
        margin: 0 auto;
        display: inline-block;
    }

    .app-store-button {
        height: 45px;
    }

    .app-store-button-sm {
        height: 38px;
    }

    .feature-item {
        padding-left: 0.8rem;
        border-left-width: 2px;
    }

    .pricing-cards {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .pricing-cta {
        margin-top: 1rem;
    }

    .pricing-content {
        flex-direction: column;
    }

    .pricing-note {
        max-width: none;
    }

    .footer-simple {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .steps {
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-item h3 {
        font-size: 1.4rem;
        letter-spacing: -0.3px;
    }

    .faq-item p {
        font-size: 1rem;
    }
}
