:root {
    /* Luxurious Black & White Theme */
    --primary-black: #0a0a0a;
    --primary-white: #ffffff;
    --background-grey-light: #f5f5f5;
    --background-grey-dark: #e9e9e9;
    --border-color: #dcdcdc;
    --text-dark: #1c1c1c;
    --text-secondary: #555555;
    --text-on-dark: #f0f0f0;
    --glow-color: rgba(0, 0, 0, 0.08);
    --side-nav-width: 80px;
    --border-radius: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-grey-light);
    overflow-x: hidden;
    line-height: 1.7;
    padding-left: var(--side-nav-width);
}

body.blog-page {
    padding-left: 0;
}

body.modal-open {
    overflow: hidden;
}

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

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

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

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes color {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes fontChange {
  0% {
    font-family: 'Major Mono Display', monospace;
  }
  20% {
    font-family: 'Kaushan Script', cursive;
  }
  40% {
    font-family: 'Lobster', cursive;
  }
  60% {
    font-family: 'Ranchers', cursive;
  }
  80% {
    font-family: 'Bitter', serif;
  }
  100% {
    font-family: 'Major Mono Display', monospace;
  }
}


/* General */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.section {
    padding: 100px 0;
    animation: fadeIn 1s ease-out;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
#hero { min-height: 100vh; }

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--side-nav-width);
    background-color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}
.side-nav-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.side-nav-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.side-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
}
.side-nav a svg {
    width: 24px;
    height: 24px;
    stroke: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}
.side-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.side-nav a:hover svg {
    stroke: var(--primary-white);
}
.side-nav a.active {
    background-color: var(--primary-white);
}
.side-nav a.active svg {
    stroke: var(--primary-black);
}

/* Tooltip */
.side-nav a::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 120%;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}
.side-nav a:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: var(--side-nav-width);
    width: calc(100% - var(--side-nav-width));
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.blog-page .main-header {
    left: 0;
    width: 100%;
}
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo svg {
    width: 36px;
    height: 36px;
}
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}
.logo-fill-dark {
    fill: var(--text-dark);
}
.header-login-btn {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-black);
}
.header-login-btn:hover {
    background: var(--primary-white);
    color: var(--primary-black);
}

/* Hero Section */
.hero {
    padding-top: 80px;
    background-color: var(--primary-white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease-out;
    color: var(--text-secondary);
}
.main-cta {
    display: inline-block;
    background: var(--primary-black);
    border: 1px solid var(--primary-black);
    color: var(--primary-white);
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out;
    letter-spacing: 0.5px;
}
.main-cta:hover {
    background: var(--primary-white);
    color: var(--primary-black);
}

.intelligent-gradient {
  color: transparent;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(238, 100, 10, 1) 7%,
    rgba(210, 169, 39, 1) 14%,
    rgba(234, 252, 62, 1) 21%,
    rgba(134, 248, 82, 1) 28%,
    rgba(99, 245, 156, 1) 35%,
    rgba(87, 241, 215, 1) 42%,
    rgba(75, 216, 237, 1) 49%,
    rgba(66, 158, 239, 1) 56%,
    rgba(57, 74, 241, 1) 63%,
    rgba(126, 45, 244, 1) 70%,
    rgba(162, 84, 247, 1) 77%,
    rgba(229, 117, 249, 1) 84%,
    rgba(251, 103, 164, 1) 91%,
    rgba(253, 127, 190, 1) 97%,
    rgba(255, 0, 191, 1) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 500%;
  animation: color 10s linear infinite;
}

#changing-word-container {
    display: inline-block;
    position: relative;
    height: 5rem;
    vertical-align: bottom;
}

.font-changing-text {
    font-size: 4rem; /* Match the h1 font size */
    color: #eb3486; /* Fallback color */
    animation-name: fontChange, gradient-animation; /* Apply both animations */
    animation-duration: 4s, 10s; /* Different durations */
    animation-iteration-count: infinite, infinite;
    
    /* Gradient for the animated words */
    background: linear-gradient(90deg, #ff8a00, #e52e71, #4b32a8, #007bff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Logos Section */
.logos-section {
    padding: 60px 0;
    background-color: var(--background-grey-dark);
}
.logos-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-align: center;
}
.logos-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.logos-slider::before,
.logos-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}
.logos-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--background-grey-dark), transparent);
}
.logos-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--background-grey-dark), transparent);
}
.logos-container {
    display: flex;
    width: fit-content;
    animation: scroll 60s linear infinite;
}
.logos-container svg {
    height: 90px;
    max-width: 280px;
    filter: grayscale(100%) contrast(0%) brightness(1.2);
    opacity: 0.6;
    transition: all 0.4s ease;
    flex-shrink: 0;
    margin: 0 40px;
}
.logos-container svg:hover {
    opacity: 1;
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.1);
}

/* Features Section */
.section#features {
    background-color: var(--primary-white);
}
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 3rem; margin-bottom: 1rem; }
.section-title p { color: var(--text-secondary); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* NEW -- Feature Showcase Styles */
.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.feature-row.reversed {
    flex-direction: row-reverse;
}

.feature-image-container {
    flex: 1 1 50%;
    transition: transform 0.3s ease;
}
.feature-image-container:hover {
    transform: scale(1.03);
}

.feature-image-container img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px var(--glow-color);
    border: 1px solid var(--border-color);
}

.feature-text-container {
    flex: 1 1 50%;
}

.feature-text-container h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.feature-text-container p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* NEW -- Secondary Features Section Styles */
.secondary-features-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-top: 8rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.secondary-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.secondary-feature-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.secondary-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #bbb;
}

.secondary-feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.secondary-feature-card h4 svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-dark);
}

.secondary-feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--background-grey-dark);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}


/* Pricing Section */
.section#pricing {
    background-color: var(--background-grey-light);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}
.pricing-card {
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}
.pricing-card:hover, .pricing-card.recommended {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--glow-color);
}
.pricing-card.recommended {
    border-color: var(--primary-black);
    border-width: 2px;
}
.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 5px 15px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 700;
}
.pricing-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.pricing-card .card-subtitle { color: var(--text-secondary); margin-bottom: 1.5rem; min-height: 40px; }
.price { font-size: 3rem; font-weight: 700; margin-bottom: 0.5rem; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-secondary); }
.plan-features { list-style: none; padding: 0; margin: 2rem 0; flex-grow: 1; }
.plan-features li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: var(--text-secondary); }
.plan-features li.included { color: var(--text-dark); }
.plan-features li svg { width: 20px; height: 20px; flex-shrink: 0; }
.plan-features li.included svg { color: var(--primary-black); }
.plan-features li .text-gray-400 { color: #adb5bd; }

.pricing-card .cta-button {
    margin-top: auto;
    display: block;
    text-align: center;
    width: 100%;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}
.pricing-card.recommended .cta-button {
    background: var(--primary-black);
    color: var(--primary-white);
    border: 1px solid var(--primary-black);
}
.pricing-card.recommended .cta-button:hover {
    background: var(--primary-white);
    color: var(--primary-black);
}
.pricing-card:not(.recommended) .cta-button {
    background: var(--primary-white);
    color: var(--primary-black);
    border: 1px solid var(--border-color);
}
.pricing-card:not(.recommended) .cta-button:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    border-color: var(--primary-black);
}
.pricing-disclaimer {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.pricing-disclaimer a {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.pricing-disclaimer a:hover {
    text-decoration: underline;
}

/* Testimonials Section */
@keyframes testimonial-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 2)); }
}
.section#testimonials {
    background-color: var(--primary-white);
    padding: 100px 0;
}
.testimonial-slider {
    width: 100%;
    overflow: hidden;
}
.testimonial-track {
    display: flex;
    width: fit-content;
    animation: testimonial-scroll 40s linear infinite;
}
.testimonial-track:hover {
    animation-play-state: paused;
}
.testimonial-card {
    background: var(--background-grey-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 1rem;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    width: 90vw;
    max-width: 700px;
}
.testimonial-card::before, .testimonial-card::after {
    content: '“';
    font-family: 'Montserrat', sans-serif;
    font-size: 10rem;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.05;
    position: absolute;
    z-index: 1;
}
.testimonial-card::before { top: -2rem; left: 1rem; }
.testimonial-card::after { content: '”'; bottom: -6rem; right: 1rem; }
.testimonial-card blockquote {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}
.testimonial-author { 
    font-weight: 600; 
    font-style: normal;
    color: var(--text-dark); 
    margin-top: 2rem;
    z-index: 2;
    position: relative;
}
.testimonial-author span { color: var(--text-secondary); font-weight: 400; display: block; margin-top: 0.25rem; }

/* Why Us Section */
.section#why-us {
    background-color: var(--background-grey-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-us-card {
    background: var(--primary-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--glow-color);
    border-color: var(--primary-black);
}

.why-us-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background-color: var(--background-grey-light);
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.why-us-card:hover .why-us-icon {
    background-color: var(--primary-black);
    color: var(--primary-white);
    transform: scale(1.1) rotate(10deg);
}

.why-us-icon svg {
    width: 32px;
    height: 32px;
}

.why-us-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.why-us-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}


/* Blog Section */
.section#blog {
    background-color: var(--primary-white);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--glow-color); }
.blog-card-image { width: 100%; height: 200px; object-fit: cover; }
.blog-card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-date { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; flex-grow: 1; color: var(--text-dark); }
.blog-card p { color: var(--text-secondary); margin-bottom: 1.5rem; }
.blog-card a { color: var(--text-dark); text-decoration: none; font-weight: 700; margin-top: auto; }
.blog-card a:hover { color: var(--primary-black); }

/* FAQ Section */
.faq-section {
    background-color: var(--background-grey-light);
}
.faq-container { max-width: 800px; width: 100%; margin: 0 auto; }
.faq-item {
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-icon { font-size: 1.5rem; transition: transform 0.3s ease; color: var(--text-dark); }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; }
.faq-answer p { padding: 0 1.5rem 1.5rem; margin: 0; color: var(--text-secondary); }

/* CTA Section */
.cta-section-container {
    background-color: var(--primary-white);
    padding: 0;
}
.cta-section {
    background: var(--primary-black);
    color: var(--text-on-dark);
    padding: 80px 40px;
    text-align: center;
    border-radius: var(--border-radius);
    margin: 0 auto;
    max-width: 1140px;
    position: relative;
    overflow: hidden;
}
.cta-section .container {
    position: relative;
    z-index: 1;
}
.cta-section h2 { font-size: 2.5rem; color: var(--primary-white); margin-bottom: 1rem; }
.cta-section p { color: #ccc; margin-bottom: 2rem; font-size: 1.1rem; }
.cta-section .main-cta {
    background: var(--primary-white);
    color: var(--primary-black);
    border-color: var(--primary-white);
}
.cta-section .main-cta:hover {
    background: transparent;
    color: var(--primary-white);
}

/* Footer */
.main-footer {
    background: var(--primary-black);
    color: #a0a0a0;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}
.footer-content-wrapper {
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-column .footer-logo { margin-bottom: 1.5rem; }
.footer-column .footer-logo .logo-text { color: var(--primary-white); }
.footer-logo .logo-fill-dark { fill: var(--primary-white); }
.footer-column p { margin-bottom: 1.5rem; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { color: #a0a0a0; transition: color 0.3s ease; }
.social-icons a:hover { color: var(--primary-white); }
.social-icons svg { width: 24px; height: 24px; }
.footer-column h4 { font-size: 1.25rem; font-weight: 700; color: var(--primary-white); margin-bottom: 1.5rem; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 1rem; }
.footer-column ul a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-column ul a:hover { color: var(--primary-white); }
.footer-column ul a svg { width: 20px; height: 20px; flex-shrink: 0; }
.newsletter-form { display: flex; margin-top: 1rem; }
.newsletter-form input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #444;
    background: #222;
    color: var(--primary-white);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
}
.newsletter-form button {
    padding: 12px 20px;
    border: none;
    background: var(--primary-white);
    color: var(--primary-black);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.newsletter-form button:hover { background-color: #ddd; }
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #a0a0a0;
}
.footer-legal {
     margin-top: 1rem;
     display: flex;
     justify-content: center;
     gap: 1.5rem;
     flex-wrap: wrap;
}
.footer-legal a { color: #a0a0a0; text-decoration: none; transition: color 0.3s ease; cursor: pointer; }
.footer-legal a:hover { color: var(--primary-white); }
.footer-note {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}


/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--primary-white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    z-index: 1051;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title { font-size: 1.75rem; font-weight: 700; color: var(--text-dark); }
.modal-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}
.modal-close-btn:hover { color: var(--text-dark); }
.modal-content { padding: 2rem; overflow-y: auto; }
.modal-content h3 { font-size: 1.4rem; margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--text-dark); }
.modal-content p, .modal-content li { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.7; }
.modal-content ul { list-style: inside; padding-left: 1rem; }
.modal-content strong { color: var(--text-dark); font-weight: 700; }
.legal-disclaimer {
    background-color: #f8f9fa;
    border-left: 4px solid #dee2e6;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    color: #495057;
}
.legal-disclaimer strong { color: #212529; }

/* Responsive */
@media (max-width: 991px) { /* Adjusted breakpoint for new features layout */
    .feature-row, .feature-row.reversed {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
}


@media (max-width: 767px) {
    body { padding-left: 0; padding-bottom: var(--side-nav-width); }
    .side-nav {
        width: 100%;
        height: var(--side-nav-width);
        bottom: 0;
        top: auto;
        flex-direction: row;
        border-top: 1px solid #222;
        border-right: none;
        justify-content: center;
        padding: 0 1rem;
    }
    .side-nav-wrapper { flex-direction: row; justify-content: space-around; width: 100%; }
    .side-nav ul { flex-direction: row; gap: 0; justify-content: space-around; flex-grow: 1; align-items: center; }
    .side-nav a { width: 45px; height: 45px; }
    .side-nav a svg { width: 20px; height: 20px; }
    .side-nav a::after { display: none; }
    .main-header, .blog-page .main-header { left: 0; width: 100%; }
    .header-content { padding: 0.75rem 1rem; }
    .logo svg { width: 32px; height: 32px; }
    .logo-text { font-size: 1.5rem; }
    .header-login-btn { padding: 8px 16px; font-size: 0.9rem; }
    .hero h1, .font-changing-text { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    #changing-word-container { height: 3rem; }
    .testimonial-track:hover { animation-play-state: running; }
    .testimonial-card { width: 85vw; padding: 2rem; margin: 0 1rem; }
    .testimonial-card blockquote { font-size: 1.6rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons, .footer-column ul, .newsletter-form { justify-content: center; }
    .cta-section { padding: 60px 20px; }
    .modal-content { padding: 1.5rem; }
    .modal-title { font-size: 1.25rem; }
}