/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/**
 * Remove default margin.
 */
body {
  margin: 0;
}
/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}
/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}
/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}
/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */
a:active,
a:hover {
  outline: 0;
}
/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}
/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}
/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic;
}
/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}
/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9/10.
 */
img {
  border: 0;
}
/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}
/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px;
}
/**
 * Address differences between Firefox and other browsers.
 */
hr {
  box-sizing: content-box;
  height: 0;
}
/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}
/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}
/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}
/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none;
}
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. CUSTOM FOR WEBFLOW: Removed the input[type="submit"] selector to reduce
 *    specificity and defer to the .w-button selector
 */
button,
html input[type="button"],
input[type="reset"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}
/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}
/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal;
}
/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type='checkbox'],
input[type='radio'] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. CUSTOM FOR WEBFLOW: changed from `textfield` to `none` to normalize iOS rounded input
 * 2. CUSTOM FOR WEBFLOW: box-sizing: content-box rule removed
 *    (similar to normalize.css >=4.0.0)
 */
input[type='search'] {
  -webkit-appearance: none;
  /* 1 */
}
/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}
/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}
/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
/* Memory Card and Chat Input Styles - Landing Page Integration */

/* TEMPORARY HIDING - CONSIDER DELETING */
/* Hide "Who It's For" section and its navigation links */
#Who {
    display: none !important;
}

/* Navigation rules moved to navigation.css */

/* Hide "Who It's For" link from top navigation */
a[href="#Who"] {
    display: none !important;
}

/* Hide "Who It's For" link from footer navigation */
.footer-link[href="#Who"] {
    display: none !important;
}

/* Container padding override */
.w-layout-blockcontainer.container.w-container {
    padding: 20px !important;
}

/* Override max-width for hero section to allow full-width scroll animation */
.hero-section .w-layout-blockcontainer.container.w-container {
    max-width: none !important;
    width: 100% !important;
}

/* Logo styling moved to navigation.css */

/* Responsive sticky positioning - push hero heading up to show more content */
.hero-sticky {
    top: 40%;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-sticky {
        top: 40%;
    }
}

/* Hero Content Section */
.hero-content-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 60px 0px 80px 0px;
    min-height: 60vh;
    /* Better vertical distribution */
}

/* Hero Section Wrapper - Center content vertically */
.hero-section-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

/* Hero Content Wrapper - Better spacing */
.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    width: 100%;
    gap: 25px;
}

/* Hero Headline Section - Better spacing */
.hero-headline-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Scroll animation container - holds animated circles with blur effect */
.scroll-animation-container {
    /* Keep original blur effect from white-circle */
    z-index: -999;
    filter: blur(121px);
    border-radius: 0;
    width: 70%;
    height: 40%;
    position: absolute;
    inset: auto auto 10%;
    /* Optimized for scroll animation performance */
    opacity: 1;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    contain: layout style paint;
}

/* Responsive dimensions for scroll-animation-container */
@media (max-width: 1024px) {
    .scroll-animation-container {
        width: 80%;
        height: 50%;
        inset: auto auto 0%;
    }
}

@media (max-width: 768px) {
    .scroll-animation-container {
        width: 130%;
        height: 60%;
        inset: auto auto 0%;
    }
}

.blue-circle,
.red-circle,
.orange-circle,
.violet-circle {
    opacity: 1 !important;
    z-index: 0 !important;
    /* Optimize child circle animations */
    backface-visibility: hidden !important;
    transform-style: preserve-3d !important;
}

/* Keep blue circle pulse effect as requested */
.blue-circle {
    animation: pulse 5s ease-in-out infinite;
    will-change: transform, opacity !important;
}

/* Reduce complex animations during scroll to prevent conflicts */
.red-circle {
    animation: pulse 3.5s ease-in-out infinite, slideRight 8s ease-in-out infinite;
    will-change: transform !important;
    /* Pause complex animations when white circle is scrolling */
    animation-play-state: running;
}

.orange-circle {
    animation: pulse 4.5s ease-in-out infinite, slideLeftRotate 10s ease-in-out infinite;
    will-change: transform !important;
    /* Pause complex animations when white circle is scrolling */
    animation-play-state: running;
}

.violet-circle {
    animation: pulse 3s ease-in-out infinite;
    will-change: transform, opacity !important;
}

/* Pulsing animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Optimized sliding animations with hardware acceleration */
@keyframes slideRight {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(300px, 0, 0);
    }
}

@keyframes slideLeft {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-300px, 0, 0);
    }
}

/* Combined sliding and rotation for orange circle - optimized */
@keyframes slideLeftRotate {
    0% {
        transform: translate3d(0, 0, 0) rotateZ(0deg);
    }
    50% {
        transform: translate3d(-300px, 0, 0) rotateZ(180deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotateZ(360deg);
    }
}

/* Smooth rotation animation */
@keyframes rotateSmooth {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}

/* Ensure hero section has proper z-index layering */
.hero-section {
    z-index: 2 !important;
    padding-bottom: 20px;
}

/* Ensure memory-features-section doesn't interfere */
.memory-features-section {
    z-index: 1 !important;
}

/* Hero color overlay - unified styling with responsive heights */
.hero-color-overlay {
    display: block;
    background-image: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 5, 6, 0.1) 20%, 
        rgba(0, 5, 6, 0.3) 40%, 
        rgba(0, 5, 6, 0.6) 60%, 
        rgba(0, 5, 6, 0.8) 80%, 
        var(--color--color--bg--900) 100%
    );
    width: 100%;
    height: 150px;
    position: absolute;
    bottom: 0%;
}

/* Responsive heights for hero-color-overlay */
@media (max-width: 1024px) {
    .hero-color-overlay {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .hero-color-overlay {
        height: 100px;
    }
}

/* Responsive adjustments for better text distribution */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
    }
    
    .hero-section-wrapper {
        height: 100vh;
        padding: 40px 0px;
    }
    
    .hero-content-section {
        padding: 40px 0px 60px 0px;
        min-height: 50vh;
    }
    
    .hero-content-wrapper {
        gap: 30px;
    }
    
    .hero-headline-section {
        gap: 15px;
        margin-bottom: 15px;
    }
}

.hero-headline-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
}

/* Chat Input Container - Builder.io Style */
.memory-chat-container {
    max-width: 700px;
    min-width: 450px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Example Prompts */
.example-prompts {
    margin-top: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.example-prompts-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 12px;
    text-align: center;
}

.example-prompts-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 600px;
}

.example-prompt {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background-image: linear-gradient(131.9deg, var(--color--gradient-02) 40%, var(--color--color--bg--800));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    opacity: 0.8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    min-height: 56px;
    gap: 12px;
}

.example-prompt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
    opacity: 0.8; /* Keep background opacity at 0.8 always */
}

.example-prompt-text {
    flex: 1;
    white-space: normal;
    line-height: 1.4;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.example-prompt:hover .example-prompt-text {
    opacity: 1; /* Solid white text on hover */
}

/* Mobile responsive styles for example prompts */
@media (max-width: 768px) {
    .example-prompts-grid {
        max-width: 350px;
        padding: 0 20px;
    }
    
    .example-prompt {
        padding: 10px 12px;
        font-size: 13px;
        min-height: 50px;
        text-align: center;
    }
    
    .example-prompt-text {
        text-align: center;
        line-height: 1.3;
    }
}

/* Ensure parent containers don't interfere with centering */
.hero-content-section,
.hero-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
}

/* Override any Webflow container constraints */
.hero-section .w-layout-blockcontainer,
.hero-section .hero-section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
}

/* Additional centering fixes for larger devices */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Ensure the entire section centers its content */
.hero-section .hero-section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


/* Builder.io Style Chat Input - More Spacious */
.memory-chat-input {
    display: flex;
    align-items: center;
    background: #2b2b2b;
    background-image: linear-gradient(131.9deg, #2b2b2b 40%, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 10px 12px;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    min-height: 56px;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.memory-chat-input:focus-within {
    border-color: #60A5FA;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
}

.memory-chat-input textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    padding: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-weight: 400;
    line-height: 1;
    min-height: 24px;
    max-height: 96px;
    resize: none;
    overflow: hidden;
    width: 100%;
    transition: height 0.2s ease;
}

.memory-chat-input textarea:read-only,
.memory-chat-input textarea:disabled,
.memory-chat-input textarea:focus,
.memory-chat-input textarea:not(:placeholder-shown) {
    background: transparent;
    color: #ffffff;
}

.memory-chat-input textarea:disabled {
    opacity: 1;
}

.memory-chat-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Unified Button Style - Used for both Create Memory and Get App buttons */
.unified-button {
    background: linear-gradient(135deg, var(--color--brand--primary) 0%, #4F46E5 50%, #7C3AED 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    height: 48px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
    min-width: 140px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    user-select: none;
    opacity: 1;
    text-decoration: none;
    font-family: var(--font-family);
}

.unified-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #3B82F6 0%, #5B21B6 50%, #9333EA 100%);
    color: white;
    text-decoration: none;
}

.unified-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.unified-button .arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.unified-button:hover .arrow-icon {
    transform: translateX(2px);
}

/* Builder.io Style Button - Bottom Right Position */
.memory-chat-button {
    background: linear-gradient(135deg, var(--color--brand--primary) 0%, #4F46E5 50%, #7C3AED 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    height: 48px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
    min-width: 140px;
    flex-shrink: 0;
    align-self: flex-end;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    user-select: none;
    opacity: 1;
}

.memory-chat-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #3B82F6 0%, #5B21B6 50%, #9333EA 100%);
}

.memory-chat-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.memory-chat-button:disabled:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, var(--color--brand--primary) 0%, #4F46E5 50%, #7C3AED 100%);
}

.memory-chat-button .arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.memory-chat-button:hover .arrow-icon {
    transform: translateX(2px);
}

/* Loading State */
.memory-chat-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 12px;
}

.memory-chat-loading.active {
    display: flex;
}

/* Loading element in memory-card-section - centered */
.memory-card-section .memory-chat-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile responsive styling for loading in memory-card-section */
@media (max-width: 768px) {
    .memory-card-section .memory-chat-loading {
        padding: 10px 16px;
        font-size: 13px;
    }
}

.memory-chat-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Character Counter */
.memory-chat-counter {
    display: none;
    justify-content: center;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Features Carousel */
.features-carousel-container {
    overflow: hidden;
    position: relative;
    padding: 20px;
}

/* NEW FEATURES ROW SYSTEM - Each row is a separate container */
.features-row {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Wide left, narrow right */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 24px auto;
    padding: 0;
}

/* Reversed row - narrow left, wide right */
.features-row-reversed {
    grid-template-columns: 1fr 2fr; /* Narrow left, wide right */
}

/* Equal width row - both cards same width */
.features-row-equal {
    grid-template-columns: 1fr 1fr; /* Equal width columns */
}

/* Card width classes for irregular grid */
.features-row .card-wide {
    grid-column: span 1; /* Takes full width of its column */
}

.features-row .card-narrow {
    grid-column: span 1; /* Takes full width of its column */
}

/* Full-width card that spans entire row */
.features-row .card-full {
    grid-column: 1 / -1; /* Spans all columns */
}

/* Set minimum height for all devices */
.features-row .features-card {
    min-height: 350px;
}

/* Mobile: Single column */
@media (max-width: 768px) {
    .features-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
        margin-bottom: 16px;
    }
    
    .features-row .features-card {
        width: 100%;
    }
}

/* Features Card Content Section */
.features-card-content {
    flex-shrink: 0;  /* Content takes natural height */
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 2;  /* Above memory-color-overlay-flipped which has z-index: 1 */
}

/* Features Card Text Content */
.features-card-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Feature cards heading spacing and typography */
.features-card .audience-card-heading {
    margin-top: 0;
    margin-bottom: 0;
    font-size: var(--text-size--h5);
    font-weight: 600;
    line-height: 1.4;
}

/* Remove bottom padding from wide feature cards */

/* Pricing buttons - standard width on tablet breakpoints */
@media (max-width: 1024px) and (min-width: 768px) {
    .price-primary-button,
    .price-secondary-button {
        width: 200px;
        margin: 0 auto;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .features-card-content {
        gap: 12px;
    }
    
    .features-card-text-content {
        gap: 6px;
    }
}

/* Features Card Image Section */
.features-card-image-section {
    flex: 1;  /* Takes remaining space */
    position: relative;  /* Creates positioning context */
    min-height: 150px;  /* Ensure minimum height for image area */
    width: 100%;  /* Ensure full width */
    display: flex;
    align-items: flex-end;  /* Position content at bottom */
    overflow: hidden;  /* Prevent content from overflowing */
}

/* Features Card Image Container */
.features-card-image-container {
    position: relative;  /* Creates positioning context for the wrapper */
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;  /* Take full width of parent */
    height: 200px;  /* Fixed height to ensure container has dimensions */
    overflow: visible;  /* Allow content to overflow */
    /* Images positioned at bottom center */
}

/* Ask AI and Recall Effortlessly - Reduced width and right-aligned on tablet and higher */
@media (min-width: 768px) {
    .ask-ai-image-container,
    .recall-image-container {
        width: 60% !important;
        margin-left: auto;  /* Align to the right */
        margin-right: 0;
    }
    
    /* Ensure parent section allows right alignment */
    .features-card.card-full .features-card-image-section {
        justify-content: flex-end;
    }
}

/* Features Card Image Wrapper */
.features-card-image-wrapper {
    position: absolute;
    border-radius: inherit;
    inset: 0px;  /* Equivalent to top: 0; right: 0; bottom: 0; left: 0; */
    overflow: visible;
}

.features-card-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-position: center center;
    object-fit: contain;
    mask: linear-gradient(to bottom, 
        black 0%, 
        black 80%, 
        transparent 100%
    );
    -webkit-mask: linear-gradient(to bottom, 
        black 0%, 
        black 80%, 
        transparent 100%
    );
}

/* Left and Right Shadows for Features Carousel - DISABLED */
.left-shadow {
    z-index: 2;
    background-image: linear-gradient(90deg, var(--color--color--bg--900), #1d1d1d00);
    width: 10%;
    height: 100%;
    position: absolute;
    inset: 0% 0% auto -.5%;
    pointer-events: none;
    display: none; /* DISABLED */
}

.right-shadow {
    background-image: linear-gradient(90deg, #1d1d1d00, var(--color--color--bg--900));
    width: 10%;
    height: 100%;
    position: absolute;
    inset: 0% -.5% 0% auto;
    pointer-events: none;
    display: none; /* DISABLED */
}

.features-carousel-track {
    display: flex;
    /* animation: features-slide 30s linear infinite; DISABLED */
    gap: 20px;
    width: max-content;
    padding: 20px 0;
}

.features-carousel-track:hover {
    /* animation-play-state: paused; DISABLED */
}

.features-card {
    /* Updated to use testimonial-card styling */
    background-image: linear-gradient(131.9deg, var(--color--gradient-02) 40%, var(--color--color--bg--800));
    border-radius: 20px;
    padding: 20px;  /* 20px on all sides */
    min-height: 350px;  /* Increased to ensure proper flex layout */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Hover effects removed */

@keyframes features-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Testimonial Carousel Animation */
@keyframes testimonial-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes testimonial-slide-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Testimonial Carousel Styling */
.testimonial-carousel-track {
    display: flex;
    animation: testimonial-slide 40s linear infinite;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

/* Animation for each row */
#testimonial-carousel-1 {
    animation: testimonial-slide 40s linear infinite;
    animation-delay: 0s;
}

#testimonial-carousel-2 {
    animation: testimonial-slide-reverse 40s linear infinite;
    animation-delay: 0s;
}

#testimonial-carousel-3 {
    animation: testimonial-slide 40s linear infinite;
    animation-delay: 0s;
}

/* Remove opacity-0 class that was hiding the first row */
.vertical-wrapper.opacity-0 {
    opacity: 1 !important;
}

.memory-chat-counter.show {
    display: flex;
}

.memory-chat-counter.warning {
    color: rgba(255, 255, 255, 0.8);
}

.memory-chat-counter.limit {
    color: rgba(255, 255, 255, 0.8);
}

.memory-chat-counter.min-warning {
    color: rgba(255, 255, 255, 0.8);
}

.memory-chat-counter.error {
    color: rgba(255, 255, 255, 0.8);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Memory Card Container */
.memory-card-container {
    width: 400px;
    max-width: 400px;
    min-width: 400px;
    margin: 20px auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: block;
    position: relative;
    overflow: visible;
}

/* Ensure the memory-card-container centers its content */
#memory-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
}

/* Override grid layout for the specific div-block containing memory card */
.memory-features-section .memory-card-section {
    display: none !important; /* Hidden by default */
    justify-content: center !important;
    align-items: center !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-column-gap: 0 !important;
    grid-row-gap: 0 !important;
    grid-auto-columns: auto !important;
    position: relative;
    width: 100%;
    overflow: visible !important;
}

/* Show memory card section when triggered - more specific selector */
.memory-features-section .memory-card-section.visible {
    display: flex !important;
}

/* Ensure parent containers don't clip the logos */
.memory-features-section {
    overflow: visible !important;
}

.memory-card-container.show {
    opacity: 1;
    transform: translateY(0);
}

.memory-card {
    width: 100%;
    background: var(--color--gradient-02);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Memory Card Header */
.memory-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.memory-card-icon {
    width: 24px;
    height: 24px;
    background: #9CA3AF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.memory-card-icon svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.memory-card-content-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.memory-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.3;
    width: 100%;
    text-align: left;
}

.memory-card-description {
    font-size: 14px;
    color: #D1D5DB;
    margin: 0 0 0 0;
    line-height: 1.4;
    padding-left: 0;
    width: 100%;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.memory-card-timestamp {
    color: #9CA3AF;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 6px;
}

.memory-card-timestamp:hover {
    color: #D1D5DB;
    background: rgba(107, 114, 128, 0.1);
    transform: translateY(-1px);
}

/* Memory Card Footer with Badges */
.memory-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.memory-card-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: 28px;
}

.memory-card-collections {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto;
}

.memory-card-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.memory-card-type-badge.note {
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
}

.memory-card-type-badge.note:hover {
    background: rgba(59, 130, 246, 0.3);
    color: #93C5FD;
    transform: translateY(-1px);
}

.memory-card-type-badge.task {
    background: rgba(249, 115, 22, 0.2);
    color: #FB923C;
}

.memory-card-type-badge.task:hover {
    background: rgba(249, 115, 22, 0.3);
    color: #FDBA74;
    transform: translateY(-1px);
}

.memory-card-type-badge.event {
    background: rgba(147, 51, 234, 0.2);
    color: #C084FC;
}

.memory-card-type-badge.event:hover {
    background: rgba(147, 51, 234, 0.3);
    color: #DDD6FE;
    transform: translateY(-1px);
}

.memory-card-priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.memory-card-priority-badge.high {
    background: rgba(239, 68, 68, 0.2);
    color: #F87171;
}

.memory-card-priority-badge.high:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
    transform: translateY(-1px);
}

.memory-card-priority-badge.medium {
    background: rgba(245, 158, 11, 0.2);
    color: #FBBF24;
}

.memory-card-priority-badge.medium:hover {
    background: rgba(245, 158, 11, 0.3);
    color: #FDE047;
    transform: translateY(-1px);
}

.memory-card-priority-badge.low {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
}

.memory-card-priority-badge.low:hover {
    background: rgba(16, 185, 129, 0.3);
    color: #6EE7B7;
    transform: translateY(-1px);
}

.memory-card-collection-badge {
    background: rgba(107, 114, 128, 0.2);
    color: #9CA3AF;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.memory-card-collection-badge:hover {
    background: rgba(107, 114, 128, 0.3);
    color: #D1D5DB;
    transform: translateY(-1px);
}

/* Default Memory Card Styles (Expanded) */
.memory-card {
    max-height: 300px;
    overflow-y: auto;
}

.memory-card .memory-card-description {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 6);
}

/* Collapsed state removed - memory cards always stay expanded */

.memory-card-expanded-content {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.memory-card-quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.memory-card-action-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 80px;
}

.memory-card-action-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.memory-card-action-button:active {
    transform: translateY(0);
}

.memory-card-action-icon {
    width: 14px;
    height: 14px;
}

.memory-card-action-button.primary {
    background: rgba(102, 126, 234, 0.3);
    color: #60A5FA;
}

.memory-card-action-button.primary:hover {
    background: rgba(102, 126, 234, 0.5);
}

/* Action Cards Styling - Using existing audience-card classes */
.audience-card[id^="action-"] {
    cursor: pointer;
    transition: all 0.3s ease;
}

.audience-card[id^="action-"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.audience-card[id^="action-"]:active {
    transform: translateY(0);
}

/* Ensure SVG icons work properly in audience cards */
.audience-card[id^="action-"] .audience-icon {
    width: 32px;
    height: 32px;
    color: var(--color--text--headings);
}

/* Feature cards icon styling */
.features-card .audience-icon {
    width: 24px;
    height: 24px;
    color: #ffffffb8;
    transition: all 0.3s ease;
}

/* ========================================
   RESPONSIVE ICON CONTAINER SYSTEM
   ======================================== */

/* Common icon container styles */
.audience-icon-holder,
.testimonial-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 20%;
    padding: 20px;
}

/* Responsive padding for smaller containers */
@media (max-width: 1279px) {
    .audience-icon-holder,
    .testimonial-icon-wrapper {
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .audience-icon-holder,
    .testimonial-icon-wrapper {
        padding: 12px;
    }
}

/* Responsive icon sizing */
.audience-icon-holder .audience-icon,
.testimonial-icon-wrapper .testimonial-icon {
    flex-shrink: 0;
    max-width: 24px;
    max-height: 24px;
    width: auto;
    height: auto;
}

/* Specific styling for SVG images in audience section */
.audience-card .audience-icon-holder .audience-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* iOS Safari specific fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Ensure proper rendering on iOS */
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
    /* Force hardware acceleration */
    will-change: transform;
    /* Fallback for missing images */
    background-color: transparent;
    border: none;
    outline: none;
}

/* Debug fallback for missing SVG images on iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .audience-card .audience-icon-holder .audience-icon:not([src]) {
        background-color: #ffffffb8;
        border-radius: 50%;
        min-width: 24px;
        min-height: 24px;
    }
}

/* iOS Safari specific fixes for SVG images */
@supports (-webkit-touch-callout: none) {
    .audience-card .audience-icon-holder .audience-icon {
        /* Force re-render on iOS Safari */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        /* Ensure proper scaling */
        -webkit-transform-origin: center center;
        transform-origin: center center;
        /* Fix potential rendering issues */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Additional debugging for missing icons */
.audience-card .audience-icon-holder {
    /* Ensure container is visible for debugging */
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ensure icons are visible even if SVG fails to load */
.audience-card .audience-icon-holder .audience-icon {
    /* Fallback background for debugging */
    background-color: rgba(255, 255, 255, 0.1);
    min-width: 20px;
    min-height: 20px;
}

/* Tablet (768px - 1279px) - 22px max size icons */
@media (max-width: 1279px) {
    .audience-icon-holder .audience-icon,
    .testimonial-icon-wrapper .testimonial-icon {
        max-width: 22px;
        max-height: 22px;
    }
}

/* Mobile (below 768px) - 20px max size icons */
@media (max-width: 767px) {
    .audience-icon-holder .audience-icon,
    .testimonial-icon-wrapper .testimonial-icon {
        max-width: 20px;
        max-height: 20px;
    }
}

/* Responsive container sizing */
.audience-icon-holder,
.testimonial-icon-wrapper {
    width: 70px;
    height: 70px;
}

/* Tablet (768px - 1279px) */
@media (max-width: 1279px) {
    .audience-icon-holder,
    .testimonial-icon-wrapper {
        width: 60px;
        height: 60px;
    }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
    .audience-icon-holder,
    .testimonial-icon-wrapper {
        width: 50px;
        height: 50px;
    }
}


/* Feature cards paragraph typography */
.features-card .audience-paragrapg {
    font-size: var(--text-size--paragraph-16px);
    /* Use paragraph-16px size */
    line-height: 1.5;
}


/* Padding for memory features section */
.memory-features-section {
    padding: 20px 0;
}

/* Section padding - How It Works, Testimonial, Pricing, FAQ */
.how-it-work-section {
    padding: 40px 0 20px 0;
}

/* Desktop and higher - How It Works Section with increased bottom padding */
@media (min-width: 1024px) {
    .how-it-work-section {
        padding: 40px 0 60px 0;
    }
}

/* Footer logo - container-based approach */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 35px;
    overflow: hidden;
    padding: 4px 8px;
}

.footer-logo .image-2 {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.testimonial-section {
    padding: 40px 0 20px 0;
}

.pricing-section {
    padding: 40px 0 20px 0;
}

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

.faq-section {
    padding: 40px 0 20px 0;
}

/* Memory Card Section - Builder.io Style */
.memory-card-section {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 20px 20px 80px 20px;
    /* Add padding to accommodate wider logo spread */
}

/* Show memory card section when triggered */
.memory-card-section.visible {
    display: flex !important;
}

/* More specific selector for memory-features-section context */
.memory-features-section .memory-card-section.visible {
    display: flex !important;
}


.integration-logo {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1000;
}

.integration-logo:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.integration-logo svg {
    width: 40px;
    height: 40px;
    color: #ffffff;
}

/* Logo positions and colors - positioned relative to memory card */
.memory-card-container .integration-logo.notion {
    left: calc(50% - 350px);
    top: calc(50% - 80px);
    transform: translate(-50%, -50%);
    animation: notion-flash 8s ease-in-out infinite;
    background: rgba(187, 100, 255, 0.2);
    border-color: rgba(187, 100, 255, 0.3);
}

.memory-card-container .integration-logo.notion svg {
    color: #bb64ff;
}

.memory-card-container .integration-logo.slack {
    left: calc(50% + 270px);
    top: 50%;
    transform: translate(-50%, -50%);
    animation: slack-flash 8s ease-in-out infinite 4s;
    background: rgba(41, 151, 255, 0.2);
    border-color: rgba(41, 151, 255, 0.3);
}

.memory-card-container .integration-logo.slack svg {
    color: #2997ff;
}

.memory-card-container .integration-logo.todoist {
    left: calc(50% + 20px);
    top: calc(50% + 170px);
    transform: translate(-50%, -50%);
    animation: todoist-flash 8s ease-in-out infinite 3s;
    background: rgba(242, 65, 107, 0.2);
    border-color: rgba(242, 65, 107, 0.3);
}

.memory-card-container .integration-logo.todoist svg {
    color: #f2416b;
}

.memory-card-container .integration-logo.google-calendar {
    left: calc(50% + 240px);
    top: calc(50% + 150px);
    transform: translate(-50%, -50%);
    animation: google-calendar-flash 8s ease-in-out infinite 1s;
    background: rgba(67, 185, 185, 0.2);
    border-color: rgba(67, 185, 185, 0.3);
}

.memory-card-container .integration-logo.google-calendar svg {
    color: #43b9b9;
}

.memory-card-container .integration-logo.ios-calendar {
    left: calc(50% - 210px);
    top: calc(50% + 160px);
    transform: translate(-50%, -50%);
    animation: ios-calendar-flash 8s ease-in-out infinite 5s;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.memory-card-container .integration-logo.ios-calendar svg {
    color: #ffffff;
}

/* Action Icons */
.memory-card-container .integration-logo.chat-action {
    left: calc(50% - 360px);
    top: calc(50% + 80px);
    transform: translate(-50%, -50%);
    animation: chat-action-flash 8s ease-in-out infinite 0.5s;
    /* Flash animation, 0.5s delay */
    background: rgba(41, 151, 255, 0.2);
    border-color: rgba(41, 151, 255, 0.3);
}

.memory-card-container .integration-logo.chat-action svg {
    color: #2997ff;
    /* Blue from color scheme */
}

.memory-card-container .integration-logo.reminder-action {
    left: calc(50% + 280px);
    top: calc(50% - 160px);
    transform: translate(-50%, -50%);
    animation: reminder-action-flash 8s ease-in-out infinite 1.5s;
    /* Flash animation, 1.5s delay */
    background: rgba(255, 165, 0, 0.2);
    border-color: rgba(255, 165, 0, 0.3);
}

.memory-card-container .integration-logo.reminder-action svg {
    color: #ffa500;
    /* Orange color */
}

/* Flash animations - logos disappear and reappear with staggered timing */
@keyframes notion-flash {

    0%,
    62.5% {
        opacity: 1;
        transform: scale(1);
    }

    37.5% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slack-flash {

    0%,
    62.5% {
        opacity: 1;
        transform: scale(1);
    }

    37.5% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes todoist-flash {

    0%,
    62.5% {
        opacity: 1;
        transform: scale(1);
    }

    37.5% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes google-calendar-flash {

    0%,
    62.5% {
        opacity: 1;
        transform: scale(1);
    }

    37.5% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ios-calendar-flash {

    0%,
    62.5% {
        opacity: 1;
        transform: scale(1);
    }

    37.5% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes chat-action-flash {

    0%,
    62.5% {
        opacity: 1;
        transform: scale(1);
    }

    37.5% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes reminder-action-flash {

    0%,
    62.5% {
        opacity: 1;
        transform: scale(1);
    }

    37.5% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .memory-card-section {
        height: 400px;
        margin-top: 50px;
        margin-bottom: 50px;
        padding: 20px;
        /* Reduced padding for mobile */
    }

    .integration-logo {
        width: 60px;
        height: 60px;
    }

    .integration-logo svg {
        width: 30px;
        height: 30px;
    }

    .memory-card-container .integration-logo.notion {
        left: calc(50% - 120px);
        top: calc(50% - 220px);
        transform: translate(-50%, -50%);
    }

    .memory-card-container .integration-logo.slack {
        left: calc(50% + 120px);
        top: calc(50% + 150px);
        transform: translate(-50%, -50%);
    }

    .memory-card-container .integration-logo.todoist {
        left: calc(50% + 20px);
        top: calc(50% + 145px);
        transform: translate(-50%, -50%);
    }

    .memory-card-container .integration-logo.google-calendar {
        left: calc(50% - 80px);
        top: calc(50% + 155px);
        transform: translate(-50%, -50%);
    }

    .memory-card-container .integration-logo.ios-calendar {
        left: calc(50% - 15px);
        top: calc(50% - 200px);
        transform: translate(-50%, -50%);
    }

    /* Action Icons - Mobile */
    .memory-card-container .integration-logo.chat-action {
        left: calc(50% - 180px);
        top: calc(50% + 140px);
        transform: translate(-50%, -50%);
    }

    .memory-card-container .integration-logo.reminder-action {
        left: calc(50% + 100px);
        top: calc(50% - 220px);
        transform: translate(-50%, -50%);
    }
}

/* Task-specific styles */
.memory-card.task .memory-card-icon {
    background: #F59E0B;
}

.memory-card.note .memory-card-icon {
    background: #3B82F6;
}

.memory-card.event .memory-card-icon {
    background: #8B5CF6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-section {
        padding: 50px 0px 30px 0px;
        /* Standard padding for tablet */
    }

    .hero-content-wrapper {
        max-width: 800px;
        gap: 25px;
    }

    .hero-headline-section {
        gap: 15px;
    }

    .memory-chat-container {
        max-width: 100%;
        min-width: 550px;
    }

    .memory-chat-input {
        padding: 10px 12px;
        min-height: 68px;
        align-items: flex-end;
    }

    .memory-chat-input textarea {
        line-height: 1.6;
        min-height: 48px;
        max-height: 96px;
        /* 2 lines on tablet */
    }
}

@media (max-width: 768px) {
    .hero-content-section {
        padding: 40px 0px 20px 0px;
        /* Standard padding for mobile */
    }

    .hero-content-wrapper {
        gap: 20px;
    }

    .hero-headline-section {
        gap: 12px;
    }

    .memory-chat-container {
        padding: 0;
        max-width: 100%;
        min-width: 380px;
    }

    .memory-chat-input {
        padding: 10px 12px;
        min-height: 80px;
    }

    .memory-chat-input textarea {
        font-size: 16px;
        line-height: 1.6;
        min-height: 60px;
        max-height: 90px;
        /* 3 lines on mobile */
    }
}

@media (max-width: 480px) {
    .hero-content-section {
        padding: 30px 0px 15px 0px;
        /* Standard padding for small mobile */
    }

    .hero-content-wrapper {
        gap: 15px;
    }

    .hero-headline-section {
        gap: 10px;
    }

    .memory-chat-container {
        padding: 0;
        max-width: 100%;
        min-width: 300px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .memory-chat-input {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        padding: 10px 12px;
        min-height: 80px;
    }

    .memory-chat-input textarea {
        font-size: 15px;
        padding: 6px 0;
        min-height: 60px;
        /* 3 lines on mobile */
        max-height: 90px;
        /* Max 4 lines on mobile */
    }

    .memory-chat-button {
        margin-left: 0;
        height: 44px;
        /* Increased from 34px for better touch target */
        font-size: 12px;
        padding: 8px 16px;
        /* Increased padding for better touch area */
        justify-content: center;
        align-self: stretch;
        min-width: 44px;
        /* Ensure minimum touch target size */
        min-height: 44px;
        /* Ensure minimum touch target size */
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        /* Add tap highlight for mobile */
        touch-action: manipulation;
        /* Optimize for touch */
    }

    .memory-card-container {
        width: 100%;
        max-width: 100%;
        min-width: 300px;
        padding: 0 20px;
    }

    .features-card {
        width: 100%;
        padding: 16px;  /* 16px on all sides */
        /* Updated to work with flexbox layout */
    }

    .features-carousel-track {
        gap: 16px;
    }
}

.memory-card {
    padding: 12px;
}

.memory-card-title {
    font-size: 13px;
}

.memory-card-description {
    font-size: 11px;
}

.memory-card-header {
    gap: 10px;
}

.memory-card-icon {
    width: 20px;
    height: 20px;
}

.memory-card-icon svg {
    width: 14px;
    height: 14px;
}

.memory-card-timestamp {
    font-size: 10px;
}

.memory-card-type-badge {
    font-size: 8px;
}

.memory-card-priority-badge {
    font-size: 8px;
}

.memory-card-collection-badge {
    font-size: 8px;
}

.memory-card-action-button {
    font-size: 10px;
    padding: 4px 6px;
}

.memory-card-type-badge {
    padding: 3px 6px;
    border-radius: 6px;
}

.memory-card-priority-badge {
    padding: 3px 6px;
    border-radius: 6px;
}

.memory-card-collection-badge {
    padding: 3px 6px;
    border-radius: 6px;
}

@media (max-width: 480px) {
    .memory-card-container {
        min-width: 280px;
        padding: 0 12px;
    }

    .memory-card {
        max-height: 350px;
    }
}

/* Error State */
.memory-card-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
}

/* Success Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInUpScale {
    from {
        opacity: 0;
        transform: translateY(80px) scale(1.1);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.memory-card-container.show {
    animation: slideInUp 0.5s ease-out;
}

/* Feature Card Hover and Click Effects */
.features-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Desktop hover effects - scaling and blue border */
@media (min-width: 1025px) {
    .features-card:hover,
    .features-card:active,
    .features-card.active {
        border-color: #60A5FA; /* Blue border only */
        transform: scale(1.05); /* Keep size increase */
    }
}

/* Tablet and mobile - no hover effects at all */
@media (max-width: 1024px) {
    .features-card:hover,
    .features-card:active,
    .features-card.active {
        border-color: inherit; /* Keep original border color */
        transform: none; /* No scaling on tablet/mobile */
    }
}

/* Icon and text color changes removed */

/* ========================================
   FOCUS STATES FOR ACCESSIBILITY
   ======================================== */

/* Memory Card Focus States */
.memory-card:focus {
    outline: 2px solid #60A5FA;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}

/* Chat Input Focus States - Removed individual input focus */

/* Button Focus States */
.memory-chat-button:focus,
.memory-card-quick-action:focus,
.memory-card-action-button:focus {
    outline: 2px solid #60A5FA;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}

/* Integration Logo Focus States */
.integration-logo:focus {
    outline: 2px solid #60A5FA;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
    border-radius: 8px;
}

/* Features Card Focus States */
.features-card:focus {
    outline: 2px solid #60A5FA;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}

/* Remove default focus outline for elements that have custom focus styles */
.memory-card:focus,
#memory-chat-input:focus,
.memory-chat-button:focus,
.memory-card-quick-action:focus,
.memory-card-action-button:focus,
.integration-logo:focus,
.features-card:focus {
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {

    .memory-card:focus,
    #memory-chat-input:focus,
    .memory-chat-button:focus,
    .memory-card-quick-action:focus,
    .memory-card-action-button:focus,
    .integration-logo:focus,
    .features-card:focus {
        outline: 3px solid #000000;
        outline-offset: 1px;
    }
}

/* CTA Middle Section */
.cta-middle-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.cta-middle-wrapper {
    background: transparent;
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.cta-middle-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-middle-heading {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(84.46deg, var(--color--text--headings) 67%, var(--color--text--heading-gradient));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}


.cta-middle-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 0;
    padding: 0;
}

/* Add glow and pop-up effects to nav-button in CTA section */
.cta-middle-button-wrapper .nav-button {
    box-shadow: 0 8px 24px rgba(41, 151, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-middle-button-wrapper .nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(41, 151, 255, 0.4);
}


/* Navigation Button Text Padding */
.nav-button-text {
    padding: 0 10px;
}

/* Responsive Design for CTA Middle Section */
@media (max-width: 768px) {
    .cta-middle-section {
        padding: 60px 0;
    }

    .cta-middle-wrapper {
        padding: 40px 20px;
    }

    .cta-middle-heading {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 16px;
    }

    .cta-middle-button-wrapper {
        margin-top: 32px;
    }

}

@media (max-width: 480px) {
    .cta-middle-section {
        padding: 40px 0;
    }

    .cta-middle-wrapper {
        padding: 32px 16px;
    }

    .cta-middle-heading {
        font-size: clamp(20px, 7vw, 28px);
        margin-bottom: 12px;
    }

    .cta-middle-button-wrapper {
        margin-top: 24px;
    }

}

/* New FAQ Questions Styles */
.faq-question-06,
.faq-question-07,
.faq-question-08 {
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    display: flex;
    padding: 24px;
    border-radius: 0;
    border: 1px #000;
    background-color: rgba(255, 255, 255, 0);
    min-height: 1px;
}

/* Responsive padding for ALL FAQ questions on mobile */
@media (max-width: 767px) {
    .faq-question,
    .faq-question-02,
    .faq-question-03,
    .faq-question-04,
    .faq-question-05,
    .faq-question-06,
    .faq-question-07,
    .faq-question-08 {
        padding: 1rem 1.25rem;
    }
    
    /* Ensure FAQ answers stay collapsed on mobile */
    .faq-answer {
        height: 0px !important;
        overflow: hidden !important;
    }
    
    /* Only allow our custom JavaScript to override this */
    .faq-answer[style*="height: auto"],
    .faq-answer[style*="height: 38px"],
    .faq-answer[style*="height: 39px"],
    .faq-answer[style*="height: 40px"],
    .faq-answer[style*="height: 41px"],
    .faq-answer[style*="height: 42px"] {
        height: auto !important;
    }
}

/* FAQ Gradient Styles for ALL FAQ cards (01-08) */
.faq-gradient,
.faq-gradient-02,
.faq-gradient-03,
.faq-gradient-04,
.faq-gradient-05,
.faq-gradient-06,
.faq-gradient-07,
.faq-gradient-08 {
    background-image: linear-gradient(90deg, var(--color--color--bg--900), var(--color--text--heading-gradient) 79%);
    width: 100%;
    height: 1px;
    display: flex;
}

/* FAQ Header Container Initial State - Hidden until animation */
.faq-grid > .faq-header {
    opacity: 0;
    transform: translateY(80px) scale(1.1);
}

/* FAQ Header Container Animation - Triggered when in view */
.faq-grid > .faq-header.animate-in {
    animation: slideInUpScale 0.5s ease-out forwards;
}

/* FAQ Accordion Initial State - Hidden until animation */
.faq-accordion {
    opacity: 0;
    transform: translateY(30px);
}

/* FAQ Accordion Animation - Triggered when in view */
.faq-accordion.animate-in {
    animation: slideInUp 0.5s ease-out forwards;
}

/* Features Card Initial State - Hidden until animation */
.features-card {
    opacity: 0;
    transform: translateY(30px);
}

/* Features Card Animation - Triggered when in view */
.features-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Ensure hover scaling works after animation - desktop only */
@media (min-width: 1025px) {
    .features-card.animate-in:hover {
        transform: scale(1.05);
    }
}

/* Tablet and mobile - no scaling after animation */
@media (max-width: 1024px) {
    .features-card.animate-in:hover {
        transform: none;
    }
}

/* Features Section Container - needs relative positioning for gradient */
.features-section .w-layout-blockcontainer {
    position: relative;
}

/* Features Gradient Background */
.features-gradient {
    z-index: -1;
    background-color: var(--color--brand--primary);
    filter: blur(200px);
    border-radius: 100%;
    width: 15%;
    height: 35%;
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
}

/* Testimonial Section - Hidden but kept in code */
.testimonial-section {
    display: none;
}

/* Mobile responsive adjustments for features gradient */
@media (max-width: 767px) {
    .features-gradient {
        width: 25%;
        height: 20%;
    }
}

/* Memory Card Section Container - needs relative positioning for gradient */
.memory-card-section {
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    display: none; /* Hidden by default */
}

/* Show memory card section when triggered */
.memory-card-section.visible {
    display: block !important;
}

/* Memory Features Section - needs relative positioning for flipped overlay */
.memory-features-section {
    position: relative;
}

/* Flipped memory color overlay - positioned at top of memory-features-section */
.memory-color-overlay-flipped {
    display: block;
    background-image: linear-gradient(0deg, 
        transparent 0%, 
        rgba(0, 5, 6, 0.1) 20%, 
        rgba(0, 5, 6, 0.3) 40%, 
        rgba(0, 5, 6, 0.6) 60%, 
        rgba(0, 5, 6, 0.8) 80%, 
        var(--color--color--bg--900) 100%
    );
    width: 100%;
    height: 150px;
    position: absolute;
    top: 0%;
    z-index: 1;
    pointer-events: none;  /* Allow interactions to pass through */
}

/* Responsive heights for memory-color-overlay-flipped */
@media (max-width: 1024px) {
    .memory-color-overlay-flipped {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .memory-color-overlay-flipped {
        height: 100px;
    }
}

/* Memory Card Gradient Background */
.memory-card-gradient {
    z-index: -1;
    background-color: white;
    filter: blur(100px);
    border-radius: 100%;
    width: 25%;
    height: 15%;
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    animation: heartbeat 2s ease-in-out infinite;
}

/* Mobile responsive gradient sizing */
@media (max-width: 768px) {
    .memory-card-gradient {
        width: 40%;
        height: 30%;
    }
}

/* Navigation unified button - smaller width only */
.nav-menu .unified-button,
.mobile-nav-container .unified-button {
    min-width: 100px;
}

/* Hide Get App button in dropdown menu on tablet and mobile */
@media (max-width: 991px) {
    .nav-menu .mobile-margin-top-10 {
        display: none;
    }
}

/* Mobile responsive unified button */
@media (max-width: 768px) {
    .unified-button {
        height: 44px;
        font-size: 12px;
        padding: 8px 16px;
        min-width: 100px;
        margin-left: 0;
        align-self: center;
    }
    
    .mobile-nav-container .unified-button {
        margin-right: 12px;
        min-width: 80px;
    }
}

/* Heartbeat Animation */
@keyframes heartbeat {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    14% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    28% {
        transform: translate(-50%, -50%) scale(1);
    }
    42% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    70% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* "Designed for Real Minds, Not Perfect Systems" heading styling */
.testimonial-header .audience-heading {
    text-align: center;
    margin-bottom: 30px;
}

/* Mobile: Remove bottom margin */
@media (max-width: 767px) {
    .testimonial-header .audience-heading {
        margin-bottom: 0px;
    }
}

