/* 
 * MyFinancialTracker CSS
 * Simplified structure with:
 * 1. Variables and base styles
 * 2. Common components
 * 3. Page-specific styles
 * 4. Mobile styles (single media query)
 */

/* ========== VARIABLES & BASE STYLES ========== */
:root {
    /* Colors */
    --primary-color: #2C3E50;
    --secondary-color: #00a651;
    --accent-color: #e0f7fa;
    --hover-color: #FF8C00;
    --text-color: #333;
    --light-text: #ffffff;
    --dark-bg: #000000;
    --light-bg: #ffffff;
    --light-gray-bg: #f5f5f5;
    --medium-gray-bg: #e9e9e9;
    
    /* Effects */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --enhanced-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    
    /* Responsive sizing */
    --header-height: 60px;
    --footer-height: 160px;
    
    /* Typography */
    --base-font-size: 16px;
    --h1-size: 2.8rem;
    --h2-size: 1.8rem;
    --h3-size: 1.4rem;
    
    /* Layout */
    --container-width: 1200px;
    --section-spacing: 3rem;
    --element-spacing: 1.5rem;
}

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

html, body {
    height: 100%;
    font-size: var(--base-font-size);
    overflow: hidden !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Consolidated heading styles */
h1 {
    font-size: var(--h1-size);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}
h2 {
    font-size: var(--h2-size);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}
h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    margin-top: 1.2rem;
}
h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

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

a:hover {
    color: var(--hover-color);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
}

/* ========== COMMON COMPONENTS ========== */

/* Container */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.content-container {
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0.4rem 0.5rem 1rem 0.5rem;
    justify-content: flex-start;
}

.content-container > h1,
h1 {
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: var(--h1-size);
    font-weight: 600;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    font-size: 1rem;
    min-height: 44px;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn.main {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn.secondary {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: 1px solid rgba(32, 52, 72, 0.5);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn:hover {
    background-color: var(--hover-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--hover-color);
}

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

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideLeftOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideRightOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes slideLeftIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRightIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links li {
    margin: 0 0.8rem;
}

.nav-links a {
    color: var(--light-text);
    position: relative;
    padding: 0.3rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    min-height: 36px;
    transition: var(--transition);
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--hover-color);
    transition: var(--transition);
}

.nav-links li.active a::after {
    width: 100%;
    background-color: var(--secondary-color);
}

.login-container {
    margin-left: 1rem;
}

.login-link {
    color: var(--light-text);
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.login-link i {
    margin-right: 0.5rem;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px;
    transition: var(--transition);
}

/* Main Content */
main {
    flex: 1;
    margin-top: var(--header-height);
    position: relative;
    overflow-x: hidden;
    background-color: var(--light-bg);
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    display: flex;
    flex-direction: column;
}

/* Consolidated page styles */
.page {
    display: none;
    min-height: 100%;
    height: auto;
    padding: 1.5rem 1rem;
    background-color: var(--light-bg);
    color: var(--text-color);
    transition: transform 0.5s ease, opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    z-index: 0;
    flex: 1;
    text-align: center;
    overflow: hidden !important;
}

.page.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease forwards;
    opacity: 1;
    z-index: 1;
    position: relative;
    height: auto;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

/* Footer */
footer {
    width: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--dark-bg));
    color: var(--light-text);
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 0.8rem;
    padding: 0.5rem 1rem 0;
    justify-content: space-between;
}

.footer-logo {
    flex: 1.5;
    min-width: 220px;
    margin-bottom: 0.5rem;
    margin-right: 0.8rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.logo-container img {
    margin-bottom: 0.5rem;
}

.logo-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0.5rem 0;
}

.footer-logo p {
    font-size: 0.8rem;
    line-height: 1.3;
    text-align: left;
    margin-left: 0;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: flex-end;
    position: relative;
}

.column-divider {
    width: 1px;
    align-self: stretch;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

.footer-column {
    flex: 0 1 auto;
    min-width: 120px;
}

.footer-column h3 {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.footer-column ul li {
    margin-bottom: 0.1rem;
    font-size: 0.85rem;
    line-height: 1.3;
}

.footer-column a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--hover-color);
}

.footer-social {
    flex: 1;
    min-width: 150px;
    margin-left: 0.3rem;
}

.social-icons {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 0;
    margin-top: 0.8rem;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.8;
    line-height: 1;
}

/* ========== PAGE-SPECIFIC STYLES ========== */

/* Home Page */
#home {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 0;
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    background: #000000;
    background-size: cover;
    background-position: center;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 100%;
    gap: 0;
    padding: 0;
}

.hero-text {
    flex: 1.5;
    text-align: left;
    padding-right: 5%;
}

.hero-image {
    flex: 2.5;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
}

.hero-app-image {
    max-width: 900px;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.hero h1 {
    margin-bottom: 1rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* Features */
#features {
    background: var(--light-gray-bg);
    color: var(--text-color);
    text-align: center;
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
}

.features-detail-slideshow {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    background-color: transparent;
    padding: 0;
}

.slides-container {
    width: 100%;
    position: relative;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--medium-gray-bg);
    box-shadow: var(--enhanced-shadow);
}

.slide {
    display: none;
    padding: 2rem;
    text-align: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    position: relative;
    z-index: 1;
    overflow: visible;
}

.slide.next {
    display: block;
    transform: translateX(100%);
}

.slide.prev {
    display: block;
    transform: translateX(-100%);
}

.slide.slide-left-out { animation: slideLeftOut 0.5s forwards; }
.slide.slide-right-out { animation: slideRightOut 0.5s forwards; }
.slide.slide-left-in { animation: slideLeftIn 0.5s forwards; }
.slide.slide-right-in { animation: slideRightIn 0.5s forwards; }

.feature-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    height: 100%;
    animation: fadeIn 0.5s ease;
    overflow: visible;
}

.feature-content {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    height: calc(100% - 3rem);
    overflow: visible;
}

.feature-image-container {
    flex: 0 0 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: visible;
    position: relative;
    z-index: 3;
}

.feature-content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    overflow: visible;
}

.feature-detail h2 {
    width: 100%;
    margin-bottom: 0.8rem;
    animation: slideInLeft 0.5s ease;
    text-align: left;
}

.feature-detail img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: var(--enhanced-shadow);
    animation: slideInRight 0.5s ease;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.feature-detail img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

.feature-description {
    flex: 1;
    overflow-y: auto;
    font-size: 1rem;
    text-align: left;
}

.feature-description ul {
    margin: 1rem 0;
    padding-left: 1rem;
    list-style-type: disc;
    text-align: left;
}

.feature-description li {
    margin-bottom: 0.5rem;
}

.slide-arrows {
    position: fixed;
    width: calc(100% - 40px);
    left: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    pointer-events: none;
    padding: 0;
    /* Position to match testimonial arrows plus header offset */
    top: calc(var(--header-height) + 400px);
    transform: translateY(-50%);
}

.slide-arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    pointer-events: auto;
    min-width: 44px;
    min-height: 44px;
    position: absolute;
    top: 0;
}

.slide-arrow.prev {
    left: 0;
}

.slide-arrow.next {
    right: 0;
}

.slide-arrow:hover {
    background-color: var(--light-bg);
    color: var(--hover-color);
    transform: scale(1.1);
}

.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    height: 30px;
    position: relative;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 12px;
    min-height: 12px;
}

.dot.active {
    background-color: var(--secondary-color);
}

.dot:hover {
    background-color: var(--primary-color);
}

/* Support Page */
#support {
    background: var(--light-gray-bg);
    color: var(--text-color);
    text-align: center;
    padding-top: 0.5rem;
}

.support-container {
    max-width: 1100px;
    margin: 0 auto;
    min-height: 600px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0.5rem;
}

.support-form {
    background-color: var(--medium-gray-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    box-shadow: var(--enhanced-shadow);
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 600px;
    height: auto;
    overflow: visible;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: var(--light-bg);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group select {
    height: 3rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(32, 52, 72, 0.2);
}

.support-form button[type="submit"] {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-text);
    font-size: 1rem;
    width: 100%;
    max-width: 200px;
    margin: 0.5rem auto 0;
    display: block;
    min-height: 44px;
}

.support-form button[type="submit"]:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Pricing Section */
#signup {
    background: var(--light-gray-bg);
    color: var(--text-color);
    text-align: center;
    padding-top: 0.5rem;
}

.signup-container {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.2rem;
    gap: 0.8rem;
}

.pricing-toggle span {
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Remove styling differences for selected and unselected states */
.pricing-toggle .monthly-option.selected,
.pricing-toggle .yearly-option.selected,
.pricing-toggle .monthly-option:not(.selected),
.pricing-toggle .yearly-option:not(.selected) {
    font-weight: 500;
    color: var(--text-color);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--secondary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.discount-message {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    margin: 0 0 1rem;
}

.pricing-plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.pricing-plan {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 1.2rem 1rem;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 470px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--enhanced-shadow);
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.pricing-plan.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.pricing-plan.featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.3rem 1.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 120px;
}

.pricing-plan h2 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-container {
    margin: 0.3rem 0;
    height: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.price.monthly, .price.yearly {
    font-size: 2.5rem;
    font-weight: 700;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.price.yearly {
    opacity: 0;
    transform: translate(30%, -50%);
    pointer-events: none;
}

.yearly-pricing .price.monthly {
    opacity: 0;
    transform: translate(-130%, -50%);
    pointer-events: none;
}

.yearly-pricing .price.yearly {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.period {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-top: 0.2rem;
}

.features-list {
    margin: 0.3rem 0;
    flex-grow: 1;
    text-align: left;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 1rem;
}

.features-list li {
    margin-bottom: 0.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.plan-button-container {
    margin-top: auto;
    padding-top: 0.5rem;
    width: 100%;
    position: relative;
}

.pricing-plan .btn {
    width: 100%;
}

/* Free Plan Special Styling */
.pricing-plan.free {
    background: linear-gradient(135deg, var(--light-bg), var(--light-bg));
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.pricing-plan.free::before {
    content: 'Free Forever';
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pricing-plan.free .btn {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.pricing-plan.free .btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--light-bg);
    color: var(--text-color);
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--enhanced-shadow);
}

.subscription-modal-content {
    max-width: 600px;
}

.close, .subscription-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.selected-plan-info {
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    padding: 0.5rem;
    background-color: rgba(0, 166, 81, 0.1);
    border-radius: 5px;
    text-align: center;
}

/* Thank You Modal */
#thankYouModal .modal-content {
    text-align: center;
    padding: 3rem 2rem;
}

#thankYouModal h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

#thankYouModal p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Utility classes */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--element-spacing); }
.mt-2 { margin-top: calc(var(--element-spacing) * 1.5); }
.mt-3 { margin-top: calc(var(--element-spacing) * 2); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--element-spacing); }
.mb-2 { margin-bottom: calc(var(--element-spacing) * 1.5); }
.mb-3 { margin-bottom: calc(var(--element-spacing) * 2); }

.mx-auto { margin-left: auto; margin-right: auto; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--element-spacing); }
.pt-2 { padding-top: calc(var(--element-spacing) * 1.5); }
.pt-3 { padding-top: calc(var(--element-spacing) * 2); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--element-spacing); }
.pb-2 { padding-bottom: calc(var(--element-spacing) * 1.5); }
.pb-3 { padding-bottom: calc(var(--element-spacing) * 2); }

/* ========== MOBILE STYLES ========== */
@media (max-width: 768px) {
    /* Variable overrides for mobile */
    :root {
        --header-height: 50px;
        --footer-height: auto;
        --base-font-size: 14px;
        --h1-size: 2rem;
        --h2-size: 1.4rem;
        --h3-size: 1.2rem;
        --section-spacing: 2rem;
        --element-spacing: 1rem;
    }
    
    /* Navigation adjustments */
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 50%;
        height: calc(100% - var(--header-height));
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        background-color: var(--primary-color);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .burger {
        display: block;
    }
    
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.toggle .line2 {
        opacity: 0;
    }
    
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Content adjustments */
    .slides-container {
        height: 500px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 2rem;
        max-width: 100%;
        flex: initial;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-text {
        text-align: center;
        order: 1;
        padding-right: 0;
    }
    
    .hero-app-image {
        max-width: 600px;
        width: 100%;
        border-radius: 20px;
    }
    
    .feature-content {
        flex-direction: column;
    }
    
    .feature-image-container {
        flex: 0 0 auto;
        max-height: 250px;
        width: 100%;
        margin-bottom: 1rem;
        justify-content: center;
    }
    
    .feature-detail img {
        max-height: 250px;
        margin: 0 auto;
    }
    
    .feature-description {
        text-align: center;
    }
    
    /* Pricing adjustments */
    .pricing-plan {
        min-width: 100%;
        height: auto;
        min-height: 440px;
    }
    
    .pricing-plans {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
    
    /* Slideshow navigation */
    .slide-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
    
    .slide-arrow.prev {
        left: 10px;
    }
    
    .slide-arrow.next {
        right: 10px;
    }
    
    .slide-arrows,
    .testimonial-slide-arrows {
        top: calc(var(--header-height) + 350px);
        width: calc(100% - 20px);
        left: 10px;
    }
    
    /* Footer adjustments */
    footer {
        height: auto;
        min-height: 90px;
        position: relative;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0 0.5rem;
    }
    
    .footer-logo {
        text-align: center;
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .logo-container {
        align-items: flex-start;
    }
    
    .logo-container img {
        align-self: flex-start;
    }
    
    .footer-logo p {
        text-align: left;
        margin-top: 0.5rem;
        margin-left: 0;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    text-align: center;
        gap: 0.5rem;
    }
    
    .column-divider {
        width: 80%;
        height: 1px;
        margin: 0.5rem 0;
    }
    
    .footer-column {
        min-width: 100%;
    }
    
    .footer-column ul {
    display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem 0.6rem;
}

    .footer-column ul li {
    margin-bottom: 0;
        display: inline-block;
    }
    
    .footer-bottom {
        padding-top: 0.1rem;
        margin-top: 0.1rem;
    }
    
    main {
        padding-bottom: 0;
    }
    
    .support-container {
        min-height: auto;
        height: auto;
        padding: 2rem 0;
    }
    
    .support-form {
        max-width: 100%;
        padding: 1.2rem;
        height: auto;
        min-height: auto;
    }
    
    .support-intro {
        margin-bottom: 1.5rem;
        max-width: 90%;
        margin-top: 0.2rem;
    }
    
    #support h1 {
        margin-bottom: 0.3rem;
    }
    
    .support-container {
        padding-top: 1rem;
    }
    
    .faq-container, .legal-container {
        max-width: 100%;
        padding: 1.2rem;
    }
}

/* Special small screen adjustments */
@media (max-width: 480px) {
    .slide-arrow, .testimonial-slide-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .slide-arrow.prev, .testimonial-slide-arrow.prev {
        left: 0;
    }
    
    .slide-arrow.next, .testimonial-slide-arrow.next {
        right: 0;
    }
    
    .support-container {
        padding: 1.5rem 0;
    }
    
    .support-form {
        padding: 1rem;
        height: auto;
        min-height: auto;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
    }
    
    .support-intro {
        margin-bottom: 1rem;
        margin-top: 0.2rem;
    }
    
    #support h1 {
        margin-bottom: 0.2rem;
    }
    
    .hero-app-image {
        max-width: 450px;
        width: 100%;
    }
    
    .faq-container, .legal-container {
        padding: 1rem;
    }
}

/* Testimonials */
#testimonials {
    background: var(--light-gray-bg);
    color: var(--text-color);
    text-align: center;
    padding-top: 0.5rem;
}

.testimonial-slides-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px;
    min-height: 600px;
}

.testimonial-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    height: 600px;
    min-height: 600px;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 20;
}

.testimonial-arrow {
    background: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(32,52,72,0.12);
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s, transform 0.2s;
    user-select: none;
}

.testimonial-arrow:hover {
    background: var(--secondary-color);
    transform: scale(1.08);
}

.testimonial-dots-container {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.7rem;
    z-index: 30;
}

.testimonial-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--medium-gray-bg);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}

.testimonial-dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    height: 524px;
}

.testimonial-card {
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--enhanced-shadow);
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* Cards that span 2 columns should be the same height */
.testimonial-card.purple,
.testimonial-card.teal, 
.testimonial-card.dark-gray {
    height: 250px;
}

/* Card that spans 2 rows should be taller */
.testimonial-card.white:nth-of-type(3) {
    height: 524px;
}

.testimonial-card.white:nth-of-type(3):hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* Purple testimonial with large quote */
.testimonial-card.purple {
    background-color: #733FC8;
    color: white;
    grid-column: span 2;
}

.testimonial-card.purple .testimonial-content p {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.testimonial-card.purple::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 160px;
    color: rgba(255, 255, 255, 0.15);
    font-family: serif;
    line-height: 0.8;
    z-index: 0;
}

/* Gray testimonial */
.testimonial-card.gray {
    background-color: #48556A;
    color: white;
}

/* Teal testimonial */
.testimonial-card.teal {
    background-color: #19212E;
    color: white;
    grid-column: span 2;
}

/* White testimonial */
.testimonial-card.white {
    background-color: white;
    color: var(--text-color);
}

/* Third testimonial position */
.testimonial-card.white:nth-of-type(3) {
    grid-row: span 2;
    grid-column: 4;
}

/* Fifth testimonial - dark gray, spans 2 columns */
.testimonial-card.dark-gray {
    background-color: #19212E;
    color: white;
    grid-column: span 2;
}

/* Light purple testimonial */
.testimonial-card.light-purple {
    background-color: #996ED9;
    color: white;
}

/* Light blue testimonial */
.testimonial-card.light-blue {
    background-color: #62B5E5;
    color: white;
}

/* Green testimonial */
.testimonial-card.green {
    background-color: #4BA890;
    color: white;
}

/* Green testimonial in slide 2 */
.testimonial-slide:nth-child(2) .testimonial-card.green {
    height: 524px;
    grid-row: span 2;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-content p {
    font-size: 1.02rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
        align-items: center;
    margin-top: auto;
    position: relative;
    bottom: 0;
}

.testimonial-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    object-position: center top;
}

.author-details h3 {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
}

.author-details p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.7;
}

/* Responsive adjustments for the testimonial grid */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 250px);
        height: 524px;
    }
    
    .testimonial-card.white:nth-of-type(3) {
        grid-row: auto;
        grid-column: span 1;
    }
    
    .testimonial-slides-container,
    .testimonial-slide {
        height: 600px;
        min-height: 600px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
        padding: 1rem;
        height: 798px; /* 3 rows + 2 gaps */
    }
    
    .testimonial-card.purple,
    .testimonial-card.teal,
    .testimonial-card.dark-gray {
        grid-column: span 2;
    }
    
    .testimonial-card.white:nth-of-type(3) {
        grid-column: span 1;
    }
    
    .testimonial-slide-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
    
    .testimonial-slide-arrow.prev {
        left: 10px;
    }
    
    .testimonial-slide-arrow.next {
        right: 10px;
    }
    
    .testimonial-slides-container,
    .testimonial-slide {
        height: 850px;
        min-height: 850px;
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 300px);
        height: 1640px; /* 5 rows + 4 gaps */
    }
    
    .testimonial-card {
        grid-column: span 1 !important;
    }
    
    .testimonial-slides-container,
    .testimonial-slide {
        height: 1700px;
        min-height: 1700px;
    }
}

/* For mobile view, adjust card heights */
@media (max-width: 576px) {
    .testimonial-card {
        height: 300px;
    }
    
    .testimonial-card.purple, 
    .testimonial-card.teal,
    .testimonial-card.dark-gray {
        height: 320px;
    }
    
    .testimonial-card.white:nth-of-type(3) {
        height: 300px;
    }
}

/* FAQ, Privacy, Terms Pages */
#faq, #privacy, #terms {
    background: var(--light-gray-bg);
    color: var(--text-color);
    text-align: center;
    padding-top: 0.5rem;
}

.faq-container, .legal-container {
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--medium-gray-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--enhanced-shadow);
    text-align: left;
    width: 100%;
}

.legal-content {
    max-width: 100%;
}

.legal-date {
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.legal-content h2 {
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* FAQ Accordion Styles */
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #fff5eb;
    border-color: #ff6b00;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: #ff6b00;
}

.faq-toggle {
    color: #666;
    transition: all 0.3s ease;
}

.faq-question:hover .faq-toggle {
    color: #ff6b00;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 20px;
    background: #fff;
}

.faq-question.active + .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
    border-top: 1px solid #e0e0e0;
}

.faq-question.active {
    background: #fff5eb;
    border-color: #ff6b00;
}

.faq-question.active h3 {
    color: #ff6b00;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
    color: #ff6b00;
}

/* Light orange testimonial */
.testimonial-card.light-orange {
    background-color: #F8A055;
    color: white;
}

.support-intro {
    margin-bottom: 2rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.3rem;
}

.support-intro h2 {
    margin-bottom: 1rem;
}

/* Cards Stack Styles - Generic for both About and Testimonials */
.cards-stack-container {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    z-index: 2;
}

.card-stack-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90vw;
    max-width: 520px;
    min-height: 220px;
    background: var(--light-bg);
    box-shadow: 0 8px 32px rgba(32,52,72,0.18), 0 1.5px 6px rgba(0,0,0,0.08);
    border-radius: 22px;
    padding: 2.2rem 2rem 2.5rem 2rem;
    opacity: 1;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.95) rotate(var(--stack-rotate, 0deg)) translate(var(--stack-x, 0px), var(--stack-y, 0px));
    transition: transform 0.7s cubic-bezier(.7,-0.2,.3,1.2), z-index 0.2s, opacity 0.5s, background 0.4s;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
}

.card-stack-item.inactive-grey {
    background: var(--stack-grey, #e0e0e0) !important;
    transition: background 0.4s, transform 0.7s cubic-bezier(.7,-0.2,.3,1.2), z-index 0.2s, opacity 0.5s;
}

.card-stack-item.active {
    pointer-events: auto;
    z-index: 10;
    background: #fff !important;
    transform: translate(-50%, -50%) scale(1.08) rotate(var(--stack-rotate, 0deg)) translate(0, 0);
    box-shadow: 0 12px 40px rgba(32,52,72,0.22), 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.4s, transform 0.7s cubic-bezier(.7,-0.2,.3,1.2), z-index 0.2s, opacity 0.5s;
}

.card-stack-item.move-out-right,
.card-stack-item.move-out-left {
    transition: transform 0.5s cubic-bezier(.7,-0.2,.3,1.2), opacity 0.5s, background 0.4s;
    transform: scale(1.13) translate(120%, -50%) rotate(var(--stack-rotate, 0deg));
    opacity: 0;
    z-index: 30 !important;
}

.card-stack-item.move-out-left {
    transform: scale(1.13) translate(-120%, -50%) rotate(var(--stack-rotate, 0deg));
}

.card-stack-item.move-back-in {
    transition: transform 0.5s cubic-bezier(.7,-0.2,.3,1.2), background 0.4s;
    opacity: 1;
}

/* Testimonial specific styles */
.testimonial-stack .card-stack-item {
    min-height: 280px;
}

.testimonial-stack .testimonial-content {
    margin-bottom: 20px;
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-stack .testimonial-content p {
    font-size: 1.02rem;
    line-height: 1.6;
}

.testimonial-stack .testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    position: relative;
    bottom: 0;
}

.testimonial-stack .testimonial-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    object-position: center top;
}

.testimonial-stack .author-details h3 {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
}

.testimonial-stack .author-details p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.7;
}

/* Stack Navigation */
.stack-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 20;
}

.stack-arrow {
    background: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(32,52,72,0.12);
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s, transform 0.2s;
    user-select: none;
}

.stack-arrow:hover {
    background: var(--secondary-color);
    transform: scale(1.08);
}

.stack-dots-container {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.7rem;
    z-index: 30;
}

.stack-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--medium-gray-bg);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}

.stack-dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .card-stack-item {
        max-width: 98vw;
        padding: 1.2rem 0.7rem 1.7rem 0.7rem;
    }
    .cards-stack-container {
        min-height: 60vh;
    }
    .content-container {
        padding: 0.2rem 0.1rem 0.7rem 0.1rem;
    }
    .content-container > h1,
    h1 {
        margin-top: 0.1rem;
        margin-bottom: 0.3rem;
    }
}

.features-stack .card-stack-item {
    max-width: 800px;
}

.features-stack .card-stack-item .feature-content {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    height: calc(100% - 3rem);
    overflow: visible;
    flex-direction: row;
}

.features-stack .card-stack-item.image-right .feature-content {
    flex-direction: row-reverse;
}

#about .content-container {
    /* padding-top: 1rem; */
    /* padding-bottom: 1rem; */
}

/* Remove any About-specific header spacing */
#about h1 {
    /* No unique margin or padding rules */
}

/* Consolidated section header styles */
.content-container > h1,
h1 {
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: var(--h1-size);
    font-weight: 600;
    line-height: 1.2;
}

/* Remove any centering styles from page-specific containers if needed */
#about .content-container,
#features .content-container,
#testimonials .content-container,
#support .content-container,
#signup .content-container,
#faq .content-container,
#privacy .content-container,
#terms .content-container,
#account .content-container {
    justify-content: flex-start;
}

/* All other pages use the same background and no extra top padding */
.page:not(#home) {
    background: var(--light-gray-bg);
    color: var(--text-color);
    padding-top: 0;
}

/* Remove section-specific padding-top and background rules */
#features,
#testimonials,
#support,
#signup,
#faq,
#privacy,
#terms {
    background: unset;
    color: unset;
    padding-top: unset;
}

/* Legal Accordion Styles (Privacy/Terms) */
.legal-accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}
.legal-accordion-question {
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: all 0.3s ease;
}
.legal-accordion-question:hover {
    background: #fff5eb;
    border-color: #ff6b00;
}
.legal-accordion-question h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s ease;
}
.legal-accordion-question:hover h2 {
    color: #ff6b00;
}
.legal-toggle {
    color: #666;
    transition: all 0.3s ease;
}
.legal-accordion-question:hover .legal-toggle {
    color: #ff6b00;
}
.legal-accordion-answer {
    display: none;
    padding: 0 20px;
    background: #fff;
    transition: none;
}
.legal-accordion-question.active + .legal-accordion-answer {
    display: block;
    padding: 0 20px 20px;
    border-top: 1px solid #e0e0e0;
}
.legal-accordion-question.active {
    background: #fff5eb;
    border-color: #ff6b00;
}
.legal-accordion-question.active h2 {
    color: #ff6b00;
}
.legal-accordion-question.active .legal-toggle {
    transform: rotate(45deg);
    color: #ff6b00;
}
.legal-date {
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    background: none;
    border: none;
    padding: 0;
}
.legal-intro {
    margin-bottom: 1.2rem;
    color: #333;
    font-size: 1.05rem;
    background: none;
    border: none;
    padding: 0;
} 