body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Language display control */
.lang-en, .lang-de {
    display: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for fixed headers */
}

/* Enhance the smoothness perception */
body {
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Smooth momentum scrolling on iOS */
body {
  -webkit-overflow-scrolling: touch;
}

html[lang="en"] .lang-en {
    display: inline-block;
}

html[lang="de"] .lang-de {
    display: inline-block;
}
/* loop landing page specific styles - scoped to .loop-landing */
.loop-landing {
    --loop-black: #ffffff;
    --loop-white: #121212;
    --loop-blue: #3d7eff;
    --loop-gray: #a0a0a0;
    --loop-light-gray: #1e1e1e;
    --loop-dark-gray: #2a2a2a;
    --loop-font: "montserrat", sans-serif;
    --header-height: 90px;
    --container-max: 1200px;
    --section-spacing: 120px;
    margin: 0;
    padding: 0;
    font-family: var(--loop-font);
    color: var(--loop-black);
    background-color: var(--loop-white);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100vw;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* Light mode styles */
.loop-landing.light-mode {
    --loop-black: #000000;
    --loop-white: #ffffff;
    --loop-blue: #0055FF;
    --loop-gray: #666666;
    --loop-light-gray: #f5f5f5;
    --loop-dark-gray: #e5e5e5;
}

/* Noisy/Grainy background overlay */
.loop-landing::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}


.loop-landing .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header styles */
.loop-landing header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(18, 18, 18, 0.70);
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.loop-landing .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.loop-landing .logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--loop-black);
    text-decoration: none;
}

.loop-landing .logo img {
    height: 42px;
    width: auto;
}

.loop-landing nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.loop-landing nav ul li {
    margin: 0;
}

.loop-landing nav ul li a {
    color: var(--loop-gray) !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.loop-landing nav ul li a:hover {
    color: var(--loop-black) !important;
}

.loop-landing .header-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.loop-landing .btn-login {
    color: var(--loop-gray) !important;
    text-decoration: none;
    font-weight: 500;
}

.loop-landing .btn-login:hover {
    color: var(--loop-black) !important;
}

.loop-landing .btn-primary {
    background-color: #5270ff;
    color: var(--loop-white) !important;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.loop-landing .btn-primary:hover {
    background-color: var(--loop-blue);
}

.loop-landing .btn-secondary {
    background-color: var(--loop-dark-gray);
    color: var(--loop-black) !important;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.loop-landing .btn-secondary:hover {
    background-color: #3a3a3a;
}

.loop-landing .mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--loop-black);
    padding: 8px;
    z-index: 1001;
}

.loop-landing .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--loop-white);
    z-index: 1000;
    padding-top: 80px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
}

.loop-landing .mobile-menu.active {
    display: flex;
}

.loop-landing .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loop-landing .mobile-menu ul li {
    margin: 16px 0;
    width: 100%;
    text-align: center;
}

.loop-landing .mobile-menu ul li a {
    color: var(--loop-black);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    padding: 12px;
    display: block;
}

.loop-landing .mobile-menu .mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    width: 80%;
}

.loop-landing .mobile-menu .mobile-buttons a {
    width: 100%;
    text-align: center;
}

.loop-landing .theme-toggle,
.loop-landing .lang-toggle {
    background: none;
    border: none;
    color: var(--loop-gray);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-left: 8px;
}

.loop-landing .theme-toggle:hover,
.loop-landing .lang-toggle:hover {
    background-color: var(--loop-dark-gray);
    color: var(--loop-black);
}

.loop-landing .lang-toggle {
    font-size: 14px;
}

/* Hero section */
.loop-landing .hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    position: relative;
    overflow: visible;
}

/* Background shapes styling */
.loop-landing .background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: visible;
    pointer-events: none;
}

.loop-landing .shape {
    position: absolute;
    opacity: 1;
}


.loop-landing .shape-1 {
    top: -30%;
    right: -30%;
    width: 50%;
    z-index: -1;
}

.loop-landing .shape-2 {
    bottom: 5%;
    left: -10%;
    width: 50%;
    z-index: -1;
}

.loop-landing .shape-3 {
    top: 40%;
    right: -3%;
    width: 50%;
    z-index: -1;
    text-align: center;
}

.loop-landing .shape-4 {
    top: -5%;
    right: -30%;
    width: 50%;
    z-index: -1;
}

.loop-landing .shape-5 {
    bottom: -80%;
    left: -10%;
    width: 50%;
    z-index: -1;
    transform: rotate(90deg);
    text-align: center;
}

.loop-landing .hero h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
}

.loop-landing .hero p {
    font-size: 24px;
    color: var(--loop-gray);
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.loop-landing .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.loop-landing .hero-image {
    max-width: 100%;
    border-radius: 16px;
    margin: 0 auto;
}


/* Features section */
.loop-landing .features {
    padding: var(--section-spacing) 0;
}

.loop-landing .features-header {
    text-align: center;
    margin-bottom: 80px;
}

.loop-landing .features-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.loop-landing .features-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.loop-landing .features-tab {
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.loop-landing .features-tab.active {
    background-color: #5270ff;
    color: var(--loop-white);
}

.loop-landing .feature-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.loop-landing .feature-content.active {
    display: grid;
}

.loop-landing .feature-text h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.loop-landing .feature-text p {
    font-size: 18px;
    color: var(--loop-gray);
    margin-bottom: 32px;
}

.loop-landing .feature-image {
    border-radius: 16px;
    overflow: hidden;
}

.loop-landing .feature-image img {
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: auto;
    display: block;
}

/* Templates section */
.loop-landing .templates {
    padding: var(--section-spacing) 0;
    background-color: #0a0a0a;
}

.loop-landing .templates-header {
    text-align: center;
    margin-bottom: 60px;
}

.loop-landing .templates-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.loop-landing .templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.loop-landing .template-card {
    background-color: rgba(18, 18, 18, 0.70);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loop-landing .template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.loop-landing .template-number {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(82, 112, 255, 0.1);
    overflow: hidden;
}

.loop-landing .template-number span {
    font-size: 48px;
    font-weight: 700;
    color: var(--loop-blue);
}

.loop-landing .template-info {
    padding: 24px;
}

.loop-landing .template-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.loop-landing .template-info p {
    color: var(--loop-gray);
    margin-bottom: 0;
}

.loop-landing .templates-more {
    text-align: center;
    margin-top: 40px;
}

/* Comparison section styles */
.loop-landing .comparison {
    padding: var(--section-spacing) 0;
}

.loop-landing .comparison-header {
    text-align: center;
    margin-bottom: 60px;
}

.loop-landing .comparison-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.loop-landing .comparison-header p {
    font-size: 20px;
    color: var(--loop-gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

.loop-landing .comparison-cta {
    text-align: center;
    margin-bottom: 60px;
}

.loop-landing .comparison-metrics-row {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.loop-landing .comparison-column {
    flex: 1;
}

.loop-landing .comparison-column h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.loop-landing .comparison-sub {
    font-size: 16px;
    color: var(--loop-gray);
    margin-bottom: 60px;
    line-height: 1.5;
}

.loop-landing .bar-wrapper {
    display: flex;
    height: 320px;
    justify-content: space-between;
    align-items: flex-end;
}

.loop-landing .bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.loop-landing .bar-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.loop-landing .loop-name {
    font-weight: 600;
    color: var(--loop-blue);
    margin-bottom: 4px;
}

.loop-landing .duration-text {
    font-size: 14px;
    color: var(--loop-gray);
}

.loop-landing .bar3 {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.loop-landing .regular-bar {
    border-top: 6px solid var(--loop-gray);
    background: linear-gradient(to bottom, rgba(160, 160, 160, 0.1), transparent);
}

.loop-landing .loop-bar {
    border-top: 6px solid var(--loop-blue);
    background: linear-gradient(to bottom, rgba(74, 108, 247, 0.1), transparent);
}

/* Light mode styles for comparison section */
.loop-landing.light-mode .comparison-metrics-row {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.loop-landing.light-mode .regular-bar {
    border-top: 6px solid var(--loop-gray);
    background: linear-gradient(to bottom, rgba(30, 30, 30, 0.1), transparent);
}

/* Responsive styles for comparison section */
@media (max-width: 768px) {
    .loop-landing .comparison-header h2 {
        font-size: 28px;
    }
    
    .loop-landing .comparison-header p {
        font-size: 16px;
    }
    
    .loop-landing .comparison-metrics-row {
        flex-direction: column;
        gap: 60px;
    }
    
    
    .loop-landing .comparison-column h3 {
        font-size: 20px;
    }
}

/* Trusted By section with logo carousel */
.loop-landing .trusted-by {
    padding: var(--section-spacing) 0;
}

.loop-landing .trusted-by .container {
    padding: 0px !important;
    overflow-x: visible !important;
    max-width: 100%;
}

.loop-landing .trusted-by-header {
    text-align: center;
}

.loop-landing .trusted-by-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.loop-landing .logo-strip-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.loop-landing .logo-strip {
    display: flex;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.loop-landing .logo-strip img {
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    width: auto;
    object-fit: contain;
    /* Individual heights are set inline for each logo */
}

.loop-landing .logo-strip img[alt="bangertprojects"] {
    opacity: 0.3;
}

.loop-landing .logo-strip img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

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


/* Responsive styles for trusted by section */
@media (max-width: 768px) {
    .loop-landing .trusted-by {
        padding: 60px 0;
    }
    
    .loop-landing .trusted-by-header h2 {
        font-size: 28px;
    }
    
    .loop-landing .logo-strip {
        animation: scroll 20s linear infinite;
    }
    
    .loop-landing .logo-strip img {
        margin: 0 20px;
        /* Heights are set inline for each logo, but we scale them down proportionally */
        transform: scale(0.75);
    }
}

/* Testimonials section */
.loop-landing .testimonials {
    padding: var(--section-spacing) 0;
}

.loop-landing .testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.loop-landing .testimonials-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.loop-landing .testimonials-header p {
    font-size: 20px;
    color: var(--loop-gray);
    max-width: 600px;
    margin: 0 auto;
}

.loop-landing .testimonials-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.loop-landing .testimonials-logos img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.loop-landing .testimonials-logos img:hover {
    opacity: 1;
}

.loop-landing .testimonial-card {
    background-color: var(--loop-dark-gray);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
}

.loop-landing .testimonial-text {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.6;
}

.loop-landing .testimonial-author {
    display: flex;
    align-items: center;
}

.loop-landing .testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 16px;
    background-color: #ddd;
    overflow: hidden;
}

.loop-landing .testimonial-author-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
}

.loop-landing .testimonial-author-info p {
    font-size: 14px;
    color: var(--loop-gray);
    margin: 0;
}

/* CTA section */
.loop-landing .cta {
    padding: var(--section-spacing) 0 170px 0;
    color: var(--loop-black);
    text-align: center;
    background: var(--loop-white);
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    border-bottom: 1px solid var(--loop-dark-gray);
}

.loop-landing .cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.loop-landing .cta p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Footer */
.loop-landing footer {
    background-color: var(--loop-light-gray);
    padding: 80px 0 40px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.05); */
}

.loop-landing .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.loop-landing .footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

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

.loop-landing .footer-links a {
    color: var(--loop-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.loop-landing .footer-links a:hover {
    color: var(--loop-blue) !important;
}

.loop-landing .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.loop-landing .footer-copyright {
    color: var(--loop-gray);
    font-size: 14px;
}

.loop-landing .footer-legal {
    display: flex;
    gap: 24px;
}

.loop-landing .footer-legal a {
    color: var(--loop-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.loop-landing .footer-legal a:hover {
    color: var(--loop-blue) !important;
}



/* Adjust noise opacity for light mode */
.loop-landing.light-mode::before {
    opacity: 0.03;
}


.loop-landing.light-mode header {
    background-color: rgba(255, 255, 255, 0.70);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.loop-landing.light-mode .features-tab.active {
    background-color: var(--loop-black);
}

.loop-landing.light-mode .templates .bento-card{
    background-color: var(--loop-white);
}

.loop-landing.light-mode .templates {
    background-color: var(--loop-light-gray);
}

.loop-landing.light-mode .template-card {
    background-color: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.loop-landing.light-mode .template-number {
    background-color: rgba(0, 85, 255, 0.05);
}

.loop-landing.light-mode .testimonial-card {
    background-color: var(--loop-light-gray);
}

.loop-landing.light-mode .features-tab.active {
    background-color: #5270ff;
    color: var(--loop-white);
}


.loop-landing.light-mode .btn-secondary:hover {
    background-color: #d9d9d9;
}

.loop-landing.light-mode footer {
    background-color: var(--loop-light-gray);
}

.loop-landing.light-mode .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .loop-landing .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .loop-landing .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .loop-landing .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    
    .loop-landing .feature-content {
        grid-template-columns: 1fr;
    }
    
    .loop-landing .feature-text {
        order: 2;
    }
    
    .loop-landing .feature-image {
        order: 1;
        margin-bottom: 32px;
    }
    
    .loop-landing .features-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .loop-landing .features {
        padding: 60px 0;
    }
    
    .loop-landing .features-header {
        margin-bottom: 40px;
    }
    
    .loop-landing .features-header h2 {
        font-size: 28px;
    }
    
    .loop-landing .features-tabs {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .loop-landing .features-tab {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .loop-landing .feature-text h3 {
        font-size: 24px;
    }
    
    .loop-landing .feature-text p {
        font-size: 16px;
    }
    .loop-landing .hero h1 {
        font-size: 36px;
        margin-top: 0;
    }
    
    .loop-landing .hero p {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .loop-landing .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .loop-landing .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .loop-landing .hero-image {
        margin-top: 40px;
    }
    
    .loop-landing nav ul {
        display: none;
    }
    
    .loop-landing .mobile-menu-button {
        display: block;
    }
    
    .loop-landing .header-buttons {
        display: none;
    }
    
    .loop-landing .templates {
        padding: 60px 0;
    }
    
    .loop-landing .templates-header {
        margin-bottom: 40px;
    }
    
    .loop-landing .templates-header h2 {
        font-size: 28px;
    }
    
    .loop-landing .templates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .loop-landing .template-card {
        max-width: 100%;
    }
    
    .loop-landing .template-number {
        height: 160px;
    }
    
    .loop-landing .template-number span {
        font-size: 36px;
    }
    
    .loop-landing .templates-more {
        margin-top: 32px;
    }
    
    .loop-landing .templates-more a {
        width: 100%;
        text-align: center;
    }
    
    .loop-landing footer {
        padding: 60px 0 30px;
    }
    
    .loop-landing .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }
    
    .loop-landing .footer-column {
        text-align: center;
    }
    
    .loop-landing .footer-column h4 {
        margin-bottom: 16px;
    }
    
    .loop-landing .footer-links li {
        margin-bottom: 10px;
    }
    
    .loop-landing .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 30px;
    }
    
    .loop-landing .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    
    .loop-landing .mobile-toggles {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 24px;
    }
    
    .loop-landing .hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 40px;
    }
    
    /* Adjust shape positioning for mobile */
    .loop-landing .shape-1 {
        top: -5%;
        right: -10%;
        width: 35%;
    }
    
    .loop-landing .shape-2 {
        bottom: 2%;
        left: -15%;
        width: 40%;
    }
    
    .loop-landing .shape-3 {
        top: 50%;
        right: -10%;
        width: 30%;
    }

    .loop-landing .shape-4 {
        top: 50%;
        right: -10%;
        width: 50%;
    }

    .loop-landing .shape-5 {
        top: 50%;
        right: -10%;
        width: 50%;
    }
    
    .loop-landing .cta {
        padding: 60px 0;
    }
    
    .loop-landing .cta h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .loop-landing .cta p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .loop-landing .cta .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .loop-landing .cta .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .loop-landing .container {
        padding: 0 16px;
    }
    
    .loop-landing header {
        height: 70px;
    }
    
    .loop-landing .logo img {
        height: 32px;
    }
}

@media (max-width: 480px) {
    /* Further adjust shape positioning for small screens */
    .loop-landing .shape-1 {
        top: -2%;
        right: -15%;
        width: 40%;
    }
    
    .loop-landing .shape-2 {
        bottom: 5%;
        left: -20%;
        width: 45%;
    }
    
    .loop-landing .shape-3 {
        top: 40%;
        right: -15%;
        width: 35%;
    }

    .loop-landing .shape-4 {
        top: 40%;
        right: -15%;
        width: 35%;
    }

    .loop-landing .shape-5 {
        top: 40%;
        right: -15%;
        width: 35%;
    }
    .loop-landing .hero h1 {
        font-size: 28px;
    }
    
    .loop-landing .hero p {
        font-size: 16px;
    }
    
    .loop-landing .features-header h2,
    .loop-landing .templates-header h2,
    .loop-landing .cta h2 {
        font-size: 24px;
    }
    
    .loop-landing .feature-text h3 {
        font-size: 20px;
    }
    
    .loop-landing .features-tab {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .loop-landing .features-tabs {
        gap: 8px;
        margin-bottom: 32px;
    }
    
    .loop-landing .template-info h3 {
        font-size: 18px;
    }
    
    .loop-landing .template-info p {
        font-size: 14px;
    }
    
    .loop-landing .mobile-menu ul li a {
        font-size: 20px;
        padding: 10px;
    }
}

#login-pop {
    position: fixed;       /* stays on top */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;         /* center content */
    justify-content: center;
    align-items: center;
    background: var(--loop-black);
    backdrop-filter: blur(8px);      /* blur the background */
}


.bento-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-grid .bento-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 300px;
}

.bento-grid .bento-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.bento-grid .bento-card.span-1 {
    grid-column: span 1;
}

.bento-grid .bento-card.span-2 {
    grid-column: span 2;
}

.bento-grid .bento-card-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.bento-grid .bento-card-icon {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.bento-grid .bento-card-title {
    font-size: 20px;
    font-weight: 600;
}

.bento-grid .bento-card-description {
    position: relative;
    z-index: 10;
    opacity: 0.6;
    font-size: 14px;
    margin-bottom: 16px;
}

.bento-grid .bento-card-cta {
    position: relative;
    z-index: 10;
    color: var(--loop-black) !important;
    opacity: 0.8;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bento-grid .card-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Marquee Animation */
.bento-grid .bento-marquee-container {
    position: absolute;
    top: 100px;
    left: 80px;
    right: 0;
    overflow: hidden;
    mask-image: linear-gradient(to top, transparent 40%, #000 100%);
}

.bento-grid .marquee {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: marquee 20s linear infinite;
}

.bento-grid .marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.bento-grid .bento-file-card {
    width: 200px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 0 auto;
    filter: blur(1px);
    transition: all 0.3s ease;
}

.bento-grid .bento-file-card:hover {
    filter: blur(0);
    background: rgba(255, 255, 255, 0.08);
}

.bento-grid .bento-file-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.bento-grid .bento-file-body {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* Notification List */
.bento-grid .bento-notification-list {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 90%;
    max-width: 300px;
    mask-image: linear-gradient(to top, transparent 10%, #000 100%);
}

.bento-grid .notification {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    animation: slideIn 0.5s ease;
}

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

.bento-grid .notification-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.bento-grid .notification-body {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Beam Animation */
.bento-grid .beam-container {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 90%;
    height: 300px;
    mask-image: linear-gradient(to top, transparent 10%, #000 100%);
}

.bento-grid .beam-node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-grid .beam-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    animation: beam 2s ease-in-out infinite;
}

@keyframes beam {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Calendar */
.bento-grid .calendar-container {
    position: absolute;
    top: 150px;
    right: 0;
    transform: scale(0.75);
    transform-origin: top;
    mask-image: linear-gradient(to top, transparent 40%, #000 100%);
    transition: transform 0.3s ease;
}

.bento-card:hover .calendar-container {
    transform: scale(0.9);
}

.bento-grid .calendar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    width: 280px;
}

.bento-grid .calendar-header {
    text-align: center;
    font-weight: 600;
    margin-bottom: 12px;
}

.bento-grid .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.bento-grid .calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
}

.bento-grid .calendar-day:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bento-grid .calendar-day.selected {
    background: rgba(99, 102, 241, 0.5);
}

.bento-grid .calendar-day.header {
    font-weight: 600;
    opacity: 0.5;
    cursor: default;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.span-1,
    .bento-card.span-2 {
        grid-column: span 1;
    }
}