/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

:root {
    --content-left: 95px;
    --content-right: 95px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    line-height: 2.25rem;
    font-size: 1rem;
    letter-spacing: 0.03125rem;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #ffb8b8, #f2f2f2);
}

.hero-background picture {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-decoration {
    position: absolute;
    right: 0;
    top: 11%;
    width: min(36.86%, 533px);
    height: auto;
    max-height: 88%;
    object-fit: contain;
    opacity: 0.5;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 128px 101px 110px;
    box-sizing: border-box;
}

.hero-content {
    width: 864px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 90px;
}

.hero-text {
    width: 100%;
    text-align: left;
}

.hero-title {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 60px;
    margin-bottom: 0;
    color: #000;
}

.hero-subtitle {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 60px;
    margin-bottom: 0;
    color: #000;
}

.cta-button-wrap {
    align-self: center;
    transform: translateX(-64px);
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    background: linear-gradient(90deg, #f6aeae 30.29%, #52b888 100%);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 0 24px;
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.25;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: min(400px, 100%);
    height: 90px;
    margin: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Landing page (Figma: My frist precious website) */
.landing-page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 72px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.version-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.gradient-heading {
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1140px;
    padding: 0 10px;
    box-sizing: border-box;
}

.gradient-heading-line {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 44px;
    background: linear-gradient(90deg, #ff4c4c 0%, #52b888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: max-content;
    max-width: 100%;
}

.gradient-heading-line--subtitle {
    white-space: nowrap;
    font-size: clamp(1.75rem, 2.35vw, 2.5rem);
}

.gradient-heading--faq .gradient-heading-line {
    background: linear-gradient(180deg, #ff4c4c 0%, #52b888 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.section-label--center {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 44px;
}

.plan-card {
    width: 100%;
    border-radius: 24px;
    background: linear-gradient(180deg, #eaeaea 1.44%, #f8e6e6 99%);
    padding: 38px 48px 48px;
    box-sizing: border-box;
}

.plan-card--free {
    max-width: 1140px;
}

.plan-card--pro {
    max-width: 752px;
    padding: 44px 58px 32px 82px;
}

.plan-card-title {
    font-size: 2rem;
    font-weight: 500;
    line-height: 44px;
    margin-bottom: 24px;
    color: #000;
}

.plan-card-title--center {
    text-align: center;
    margin-bottom: 40px;
}

.plan-card-lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    color: #000;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 30px;
}

.feature-block,
.feature-row {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

.feature-check {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    margin-top: 2px;
    display: block;
}

.feature-block-title,
.feature-row-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    color: #000;
}

.feature-block-desc {
    font-size: 1rem;
    font-weight: 300;
    line-height: 36px;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    color: #000;
}

.feature-list-pro {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    max-width: 606px;
    margin: 0 auto;
}

.billing-toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    background: #dbd8d8;
    border-radius: 25px;
    padding: 3px;
    width: 100%;
    max-width: 612px;
    margin: 0 auto 15px;
}

.billing-option {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    color: #52b888;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 44px;
    padding: 3px 12px;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
}

.billing-option.is-active {
    background: linear-gradient(180deg, #f7e1e1 0%, #bfd1ba 100%);
}

.pricing-display {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 4px;
    color: #000;
}

.pricing-billing {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 0;
    color: #000;
}

.faq-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 31px;
    padding-bottom: 40px;
}

.faq-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 31px;
}

.faq-item {
    width: 100%;
    background: #eaeaea;
    border-radius: 40px;
    padding: 10px 30px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    min-height: 67px;
    text-align: left;
    padding: 0;
}

.faq-question-text {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 44px;
    color: #000;
}

.faq-chevron {
    flex-shrink: 0;
    width: 34px;
    height: 44px;
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-divider {
    border: none;
    border-top: 2px solid rgba(0, 0, 0, 0.35);
    margin: 0 0 20px;
}

.faq-answer {
    padding: 0 0 20px;
}

.faq-answer p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 44px;
    color: #000;
    margin-bottom: 0;
}

.faq-answer p + p {
    margin-top: 8px;
}

.faq-answer[hidden] {
    display: none;
}

.carousel-container--free {
    width: min(1002px, 100%);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.carousel-container--free .carousel-dots {
    flex: 0 0 auto;
    width: 60px;
    height: 12px;
    margin: 0;
    padding: 0;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.carousel-container--free .carousel-dots .dot {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin: 0;
}

.carousel-container--pro {
    width: min(930px, 100%);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.carousel-container--free .screenshot-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 452px;
    flex: 0 0 auto;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.carousel-container--pro .screenshot-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 452px;
    flex: 0 0 auto;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.carousel-container--free .screenshot {
    width: min(750px, 100%);
    height: min(370px, calc(100% - 20px));
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-container--pro .screenshot {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 370px;
    margin: 0;
    object-fit: contain;
    object-position: center center;
}

.carousel-container--pro .carousel-dots {
    flex: 0 0 auto;
    width: 84px;
    height: 12px;
    margin: 0;
    padding: 0;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.carousel-container--pro .carousel-dots .dot {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin: 0;
}

.carousel-dots--free .dot.active,
.carousel-dots--pro .dot.active {
    background-color: #ff4c4c;
}

.carousel-dots--free .dot,
.carousel-dots--pro .dot {
    background-color: #d6d6d6;
}

.carousel-dots--free .dot:hover,
.carousel-dots--pro .dot:hover {
    background-color: #ff8c8c;
}

/* Plan Sections */
.plan-section {
    padding: 4rem 0;
    max-width: 1440px;
    margin: 0 auto;
}

.plan-header {
    text-align: left;
    margin-bottom: 3rem;
    padding-left: var(--content-left);
    padding-right: var(--content-right);
}

.plan-title {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 2.75rem;
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 2.75rem;
    color: #666;
}

.section-label {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 2.75rem;
    color: #000;
    padding-left: var(--content-left);
    padding-right: var(--content-right);
    margin-top: 2rem; /* carousel下边距(2rem) + 这里(2rem) = 4rem，与其他标题间距一致 */
    margin-bottom: 1.5rem;
    text-align: left;
}

.pro-section {
    background-color: #fff;
    padding-top: 1px !important; /* 覆盖默认的4rem上边距，设置为20px */
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.screenshot-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.screenshot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.screenshot.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: auto;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 5px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ff4c4c;
}

.dot:hover {
    background-color: #ff8c8c;
}

/* Features Container */
.features-container {
    display: flex;
    gap: 4rem;
    padding: 0 var(--content-right) 0 var(--content-left);
    margin: 2rem 0; /* 减少margin从3rem到2rem，让整体更紧凑 */
}

.features-left, .features-right {
    flex: 1;
}

/* Fix alignment - right content should align with left content lines */
/* User icon (48px) + icon margin (12px) + User title (36px) + title margin (16px) = 112px */
.features-content-right {
    margin-top: 112px;
}

/* Ensure right side content aligns with left side feature items */
.features-right .features-content-right .features-list {
    padding-top: 0;
    margin-top: 0;
}

/* Additional users section doesn't need margin adjustment as both sides have user-icon and user-title */

/* Workflow Diagram Space */
.workflow-diagram-space {
    text-align: center;
    padding: 1px 0; /* 从15px缩小到8px（约一半） */
    margin: 0; /* 移除额外margin */
}

.workflow-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.pro-diagram {
    padding: 1px 0; /* Pro版本也缩小到8px（约一半） */
}

/* Additional Users Section */
.additional-users-section {
    display: flex;
    gap: 4rem;
    padding: 0 var(--content-right) 0 var(--content-left);
    margin: 2rem 0 0 0; /* 移除下边距，只保留上边距 */
    /* 移除max-width限制，让内容更好地适应屏幕 */
}

.additional-users-left {
    flex: 1;
    /* 移除max-width和transform限制，使用更稳定的布局 */
    min-width: 0; /* 确保flex item能够正确收缩 */
    display: flex;
    flex-direction: column;
}

.additional-users-right {
    flex: 1;
    /* 移除max-width和transform限制，使用更稳定的布局 */
    min-width: 0; /* 确保flex item能够正确收缩 */
    display: flex;
    flex-direction: column;
}

.user-icon {
    width: 48px;
    height: 48px;
    background: url('../assets/user-icon.png') no-repeat center;
    background-size: contain;
    margin-bottom: 0.75rem;
}

.user-title {
    font-size: 1rem;
    font-weight: 500;
    color: #ff4c4c;
    line-height: 2.25rem;
    letter-spacing: 0.03125rem;
    margin-bottom: 1rem;
    height: 36px;
}

.features-list {
    margin-bottom: 2rem;
}

/* Ensure right side content aligns with left side feature items */
.features-right .features-content-right .features-list {
    padding-top: 0;
    margin-top: 0;
}

.feature-item {
    font-size: 1rem;
    font-weight: 500;
    line-height: 2.25rem;
    letter-spacing: 0.03125rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.feature-description {
    font-size: 1rem;
    font-weight: 400; /* 从300 (light) 改为400 (regular) */
    line-height: 2.25rem;
    letter-spacing: 0.03125rem;
    margin-bottom: 1rem;
    color: #666;
}

/* Diagram Section */
.diagram-section {
    position: relative;
    height: 820px;
    margin: 4rem 0;
    overflow: hidden;
}

.diagram-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1863px;
    height: 820px;
    object-fit: contain;
}

/* Pricing Section */
.pricing-section {
    padding: 10px 0 4rem 0; /* 上边距改为10px，下边距保持4rem */
    background-color: #fff;
    max-width: 1440px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 2.75rem;
    margin-bottom: 3rem;
    padding-left: var(--content-left);
    padding-right: var(--content-right);
    text-align: left;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--content-right) 0 var(--content-left);
}

.pricing-card {
    background: #f9eded;
    border-radius: 50px;
    padding: 1.5rem 2rem;
    min-height: 215px; /* ensure a comfortable base size while allowing content to grow */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden; /* prevent visual overflow when content grows */
    box-sizing: border-box;
}

.pricing-card.lifetime {
    grid-column: 1 / -1;
}

.plan-name {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.15; /* tighter line-height to avoid vertical overflow */
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.plan-price {
    margin-bottom: 0.5rem;
    width: 100%;
}

.price {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.1; /* tighten to keep within the card */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.period {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 300;
}

.billing-info {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 300;
}

.billing-info.discount {
    color: #00b800;
    font-weight: 400;
}

/* Footer */
.footer {
    background: #d9d9d9;
    padding: 1.5rem 0 1rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 var(--content-left);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    min-height: 312px;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo .logo {
    width: 312px;
    height: 312px;
    object-fit: contain;
    display: block;
}

.footer-nav {
    display: flex;
    align-items: flex-start;
    gap: 9rem;
    flex: 0 0 auto;
    margin-left: auto;
}

.footer-links {
    flex: 0 0 auto;
    text-align: left;
    min-width: 130px;
}

.footer-copyright {
    width: 100%;
    margin: 1rem 0 0;
    padding: 0.75rem 1rem 0;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02rem;
    color: rgba(0, 0, 0, 0.66);
    margin-bottom: 0;
}

.footer-title {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.03125rem;
    margin-bottom: 0.25rem;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin: 0;
}

.footer-link {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 2.25rem;
    letter-spacing: 0.03125rem;
    color: rgba(0, 0, 0, 0.66);
    transition: color 0.3s ease;
    display: block;
    text-decoration: none;
}

.footer-link:hover {
    color: #FF4C4C;
}

.legal-page .footer {
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
}

.legal-page .footer-inner {
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 901px) and (max-width: 1200px) {
    .footer-content {
        min-height: 200px;
    }

    .footer-logo .logo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 900px) {
    .footer-inner {
        padding-right: var(--content-left);
    }

    .footer-content {
        min-height: 0;
    }
}

/* Legal Pages */
.legal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    max-width: 1440px;
    margin: 0 auto;
}

.legal-title {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.75rem;
    letter-spacing: 0.03125rem;
}

.legal-content {
    flex: 1;
    padding: 2.5rem 150px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.legal-text {
    font-size: 1rem;
    line-height: 1.75rem;
    color: #000;
}

.legal-text h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 2rem 0 1rem 0;
}

.legal-text h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.75rem;
}

.legal-text ul {
    margin: 1rem 0 1rem 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.75rem;
}

.legal-text a {
    color: #007bff;
    text-decoration: underline;
}

.legal-text a:hover {
    color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-inner {
        padding: 80px 24px 64px;
        min-height: 520px;
    }

    .hero-decoration {
        opacity: 0.35;
        width: 55%;
    }

    .hero-content {
        gap: 40px;
        align-items: stretch;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.35;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.5;
    }
    
    .cta-button-wrap {
        transform: none;
        width: 100%;
        max-width: 400px;
    }

    .cta-button {
        width: 100%;
        max-width: 400px;
        font-size: 1.25rem;
        line-height: 1.25;
        height: 72px;
        padding: 0 16px;
    }

    .gradient-heading-line {
        font-size: 1.75rem;
        line-height: 1.3;
        width: auto;
    }

    .gradient-heading-line--subtitle {
        white-space: normal;
    }

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

    .plan-card--pro {
        padding: 32px 24px;
    }

    .billing-option {
        font-size: 0.875rem;
        padding: 6px 8px;
    }
    
    .carousel-container--free .screenshot-wrapper {
        height: min(370px, 70vw);
    }

    .carousel-container--pro .screenshot-wrapper {
        height: min(452px, 56vw);
    }

    .carousel-container--pro .screenshot {
        max-height: min(370px, 48vw);
    }

    .carousel-container--free .screenshot {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .carousel-container--pro .screenshot {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }
    
    .features-container,
    .additional-users-section {
        flex-direction: column;
        padding: 0 2rem;
        gap: 2rem;
    }
    
    .plan-header,
    .section-label {
        padding: 0 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 2rem;
    }
    
    .footer-inner {
        padding: 0 2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
        min-height: 0;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-left: 0;
    }

    .footer-links {
        text-align: center;
    }

    .footer-copyright {
        margin-top: 0.75rem;
        padding-top: 0.5rem;
    }

    .footer-logo .logo {
        width: 150px;
        height: 150px;
    }
    
    .legal-content {
        padding: 2rem;
    }

    /* Reset margin on small screens for features alignment */
    .features-content-right {
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .plan-title,
    .plan-subtitle,
    .section-label,
    .section-title {
        font-size: 1.75rem;
    }
    
    .carousel-container {
        width: 95%;
    }
    
    .screenshot-wrapper {
        height: 250px;
    }
}