/* 
 * Feedelize Landing Page Styles
 * Based on design.json requirements
 */

:root {
    /* Brand Palette */
    --primary: #21203e;
    --secondary: #83e4b0;
    --tertiary: #5950f6;

    --primary-rgb: 33, 32, 62;
    --secondary-rgb: 131, 228, 176;
    --tertiary-rgb: 89, 80, 246;

    /* Derived */
    --primary-dark: var(--tertiary);
    /* Accent / hover */
    --primary-light: var(--secondary);
    /* Subtle highlights */
    --secondary-dark: #1f9b65;

    --bg-main: #FFFFFF;
    --bg-secondary: #F5F4FF;
    --bg-dark: #1F2937;

    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;

    --accent-warning: #F59E0B;

    /* Spacing */
    --container-padding: 24px;
    --max-width: 1200px;
    --header-height: 90px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-primary: 0 4px 14px 0 rgba(var(--tertiary-rgb), 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.small-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section {
    padding: 80px 0;
}

.highlight {
    color: var(--tertiary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(var(--secondary-rgb), 0.35);
    z-index: -1;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #322ddd;
    color: white;
    box-shadow: 0 4px 6px rgba(50, 45, 221, 0.2);
}

.btn-primary:hover {
    background-color: #2b25c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(50, 45, 221, 0.28);
}

.btn-secondary {
    background-color: transparent;
    color: #322ddd;
    /* Login normally simpler, but per design secondary is outlined or text */
}

.btn-secondary:hover {
    color: #2b25c0;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid #322ddd;
    color: #322ddd;
}

.btn-outline-primary:hover {
    background: #322ddd;
    color: white;
}

.btn-text {
    color: #322ddd;
    padding: 0;
    font-weight: 600;
}

.btn-text:hover {
    text-decoration: underline;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Landing page: CTA button color override */
.landing-page .btn-primary {
    background-color: #322ddd;
    box-shadow: 0 4px 6px rgba(50, 45, 221, 0.2);
}

.landing-page .btn-primary:hover {
    background-color: #2b25c0;
    box-shadow: 0 6px 12px rgba(50, 45, 221, 0.28);
}

.landing-page .btn-secondary,
.landing-page .btn-outline-primary,
.landing-page .btn-text {
    color: #322ddd;
}

.landing-page .btn-secondary:hover,
.landing-page .btn-text:hover {
    color: #2b25c0;
}

.landing-page .btn-outline-primary {
    border-color: #322ddd;
}

.landing-page .btn-outline-primary:hover {
    background: #322ddd;
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: auto;
    width: auto;
    max-height: 52px;
    max-width: min(320px, 60vw);
    display: block;
    object-fit: contain;
}

.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-menu-overlay {
    display: none;
    /* JS will toggle */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1100;
    flex-direction: column;
    padding: 24px;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 120px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(var(--tertiary-rgb), 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.badge-new {
    display: inline-block;
    background: rgba(var(--secondary-rgb), 0.22);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.small-text {
    font-size: 10px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.small-text i {
    color: var(--tertiary);
}

@media (max-width: 768px) {
    .small-text {
        text-align: center;
        flex-wrap: wrap;
        line-height: 1.4;
    }
}

.trust-badges {
    border-top: 1px solid #E5E7EB;
    padding-top: 24px;
    max-width: 560px;
    margin: 0 auto;
}

.trust-badges p {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.avatar-stack {
    display: flex;
    justify-content: center;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F3F4F6;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.hero-visual {
    position: relative;
    justify-self: center;
    margin-top: 12px;
}

.hero-img {
    width: min(100%, 980px);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 28px 60px rgba(17, 24, 39, 0.18);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -28px;
    right: -28px;
    width: 75%;
    height: 75%;
    background: radial-gradient(circle at 30% 30%, rgba(var(--tertiary-rgb), 0.25), rgba(255, 255, 255, 0));
    z-index: -1;
}

.float-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 4s ease-in-out infinite;
}

.float-card-1 {
    top: 8%;
    left: 12px;
    color: var(--secondary-dark);
}

.float-card-2 {
    bottom: 10%;
    right: 12px;
    animation-delay: 2s;
    color: var(--primary);
}

/* Logo Strip */
.logo-strip {
    padding: 24px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

/* Blog */
.blog-section {
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.blog-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-meta {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.blog-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(var(--secondary-rgb), 0.25);
    color: var(--primary);
}

.scroller {
    max-width: 100%;
}

.scroller-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.client-logo {
    font-size: 24px;
    font-weight: 700;
    color: #9CA3AF;
    white-space: nowrap;
}

/* Features */
.features {
    position: relative;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #ffffff 45%, #f8fafc 100%);
    overflow: hidden;
}

.features::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(var(--tertiary-rgb), 0.18), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(var(--secondary-rgb), 0.14), transparent 45%),
        radial-gradient(circle at 20% 90%, rgba(var(--tertiary-rgb), 0.14), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.features .section-header {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.features-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 52px;
}

.feature-card {
    position: relative;
    padding: 26px 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(var(--tertiary-rgb), 0.18);
    box-shadow: 0 18px 32px -28px rgba(15, 23, 42, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(var(--tertiary-rgb), 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--tertiary-rgb), 0.45);
    box-shadow: 0 24px 36px -28px rgba(15, 23, 42, 0.5);
}

.feature-card:hover::after {
    opacity: 1;
}

.icon-box {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(var(--tertiary-rgb), 0.16), rgba(var(--secondary-rgb), 0.12));
    color: var(--primary);
    border-radius: 14px;
    border: 1px solid rgba(var(--tertiary-rgb), 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Benefit Sections */
.benefit-section {
    padding: 100px 0;
}

.benefit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefit-reversed {
    background-color: var(--bg-secondary);
}

.benefit-reversed .benefit-container {
    direction: rtl;
    /* Simple way to swap columns visually, but need to reset text direction */
    grid-template-columns: 0.7fr 1.3fr;
    gap: 52px;
}

.benefit-reversed .benefit-content,
.benefit-reversed .benefit-image {
    direction: ltr;
}

.benefit-reversed .benefit-image {
    width: 100%;
    justify-self: start;
}

.benefit-image img {
    width: 100%;
    max-width: 520px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.benefit-image-left {
    object-position: left center;
    object-fit: contain;
    max-width: none;
    max-height: none;
    height: auto;
}

/* Stacked benefit layout (text above, image below) */
.benefit-stacked {
    background-color: var(--bg-secondary);
}

.benefit-stacked .benefit-container {
    grid-template-columns: 1fr;
    gap: 40px;
}

.benefit-stacked .benefit-content {
    order: 1;
    text-align: center;
}

.benefit-stacked .benefit-image {
    order: 2;
    display: flex;
    justify-content: center;
}

.benefit-stacked .benefit-content p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-stacked .benefit-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-stacked .benefit-list li {
    justify-content: center;
}

.benefit-stacked .benefit-image img {
    margin: 0 auto;
    width: min(100%, 980px);
    max-width: 980px;
    max-height: none;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 28px 60px rgba(17, 24, 39, 0.18);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.benefit-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.benefit-list {
    margin: 24px 0 32px 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.benefit-list i {
    color: var(--tertiary);
    font-size: 20px;
}

.tooltip-box {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid #F3F4F6;
}

.quote-icon {
    font-size: 32px;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 16px;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 24px;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 14px;
    color: var(--text-primary);
}

.author-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Pricing */
.pricing-section {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 60px auto 40px;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlighted {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
    transform: scale(1.02);
}

.badge-recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: 24px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--text-primary);
    margin: 16px 0 8px;
}

.price .amount {
    font-size: 48px;
    font-weight: 800;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 14px;
}

.features-list {
    margin-bottom: 32px;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.features-list i {
    color: var(--tertiary);
}

.features-grid-list {
    list-style: none;
    margin: 0 auto 34px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    align-items: center;
    width: 100%;
    max-width: 380px;
}

.features-grid-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
    min-height: 28px;
}

.features-grid-list li i {
    color: #22c55e;
    font-size: 18px;
    line-height: 1;
    margin-top: 0;
    flex-shrink: 0;
}

.features-grid-list li span {
    min-width: 0;
    display: block;
}

.custom-plan-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 24px 32px;
    border-radius: 12px;
    border: 1px dashed #E5E7EB;
}

/* FAQ */
.accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.accordion-content p {
    padding-bottom: 20px;
}

/* Legal Pages */
.legal-hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(var(--tertiary-rgb), 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.legal-hero h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.legal-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.legal-updated {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.legal-section {
    padding-top: 40px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

.legal-nav {
    background: #fff;
    border: 1px solid rgba(var(--tertiary-rgb), 0.16);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.legal-nav .label {
    margin-bottom: 12px;
}

.legal-nav a {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 0;
}

.legal-nav a.active {
    color: var(--tertiary);
}

.legal-article h2 {
    font-size: 22px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-article p {
    margin-bottom: 14px;
}

.legal-list {
    list-style: disc;
    margin-left: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-list li {
    margin-bottom: 8px;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Adjust based on content */
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(var(--tertiary-rgb), 0.18);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-logo img {
    height: auto;
    width: auto;
    max-height: 50px;
    max-width: min(260px, 70vw);
    display: block;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer h4 {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(2px);
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive adjustment for footer bottom if needed */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes scroll {
    to {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        justify-self: center;
    }

    .hero-img {
        width: 100%;
        max-width: 720px;
    }

    .hero-cta {
        align-items: center;
    }

    .trust-badges {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefit-image {
        order: -1;
    }

    .benefit-stacked .benefit-content {
        order: 1;
    }

    .benefit-stacked .benefit-image {
        order: 2;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .legal-nav {
        max-width: 320px;
        margin: 0 auto;
        text-align: center;
    }

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

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

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

    .features-grid-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        text-align: center !important;
        align-items: center;
    }

    .features-grid-list li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 18px;
        line-height: 1.55;
        text-align: center;
        width: 100%;
    }

    .features-grid-list li i {
        margin-top: 0;
        font-size: 20px;
    }

    .custom-plan-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

    .hero-content h1 {
        font-size: 36px;
    }

    .legal-hero h1 {
        font-size: 32px;
    }
}

/* Mobile Menu Styles */
.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 20px;
    font-weight: 600;
}

.mobile-nav-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
