:root {
    --primary-color: #ff6b00;
    --primary-glow: rgba(255, 107, 0, 0.4);
    --secondary-color: #7b2cbf;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: rgba(255, 255, 255, 0.05);
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-outfit: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-inter);
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 100px;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(123, 44, 191, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 107, 0, 0.1) 0%, transparent 25%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 1200px;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    max-width: 95%;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    gap: 40px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
}

.logo-image {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.navbar-menu {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    font-family: var(--font-outfit);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link.active {
    color: #000;
    background: var(--primary-color);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-link svg {
    width: 14px;
    height: 14px;
}

/* Background Grids */
.grid-highlights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 150px 150px;
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.grid-cell {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), transparent);
    border: 1px solid rgba(255, 107, 0, 0.2);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    box-shadow: inset 0 0 20px rgba(255, 107, 0, 0.05);
}

.grid-cell.active {
    opacity: 1;
}

/* Hero Section */
.container {
    text-align: center;
    z-index: 1;
    position: relative;
    padding: 40px 20px;
    max-width: 1200px;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.1);
    backdrop-filter: blur(10px);
}

.main-title {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    background: linear-gradient(135deg, #ff6b00 0%, #ff9e00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
}

.subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
}

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.btn {
    font-family: var(--font-outfit);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    background: #ff7b1a;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.features-title,
.integrations-title,
.stats-title,
.cta-title,
.testimonials-title,
.tools-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    text-align: center;
}

.features-subtitle,
.testimonials-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 25px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 107, 0, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: rotateY(180deg);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.feature-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Integrations & stats shared styles */
.integrations-section,
.stats-section,
.cta-section,
.testimonials-section,
.tools-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.integrations-content,
.stats-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.integrations-label,
.stats-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.integrations-title,
.stats-title {
    text-align: left;
}

.integrations-description,
.stats-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.integrations-features,
.stats-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stats-features {
    flex-direction: row;
    gap: 40px;
}

.integration-feature,
.stats-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats-feature {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.feature-icon-small,
.stats-feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 1px solid var(--glass-border);
}

.integration-feature h4,
.stats-feature-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}

.stats-feature-title {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Carousel (Integrations) */
.integrations-carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    background: radial-gradient(circle at center, rgba(123, 44, 191, 0.1) 0%, transparent 70%);
}

.carousel-track {
    display: flex;
    gap: 20px;
    height: 100%;
    justify-content: center;
}

.carousel-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.1s linear;
}

.carousel-column:nth-child(1) {
    transform: translateY(-200px);
}

.carousel-column:nth-child(2) {
    transform: translateY(-50px);
}

.carousel-column:nth-child(3) {
    transform: translateY(-280px);
}

.carousel-item {
    width: 130px;
    height: 130px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Stats Cards */
.stats-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    padding: 30px;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-color: rgba(255, 107, 0, 0.3);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.stat-description {
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA */
.cta-card {
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(255, 107, 0, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.cta-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ff9e00);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

/* Testimonials & Tools Slider Layouts */
.testimonials-container,
.tools-carousel-container {
    overflow: hidden;
    margin-bottom: 40px;
    width: 100%;
    padding: 20px 0;
    /* padding for shadow space */
}

/* IMPORTANT: Gaps here MUST match index.js logic (30px) */
.testimonials-track,
.tools-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Testimonial Cards */
.testimonial-card {
    width: calc((100% - 30px) / 2);
    min-width: calc((100% - 30px) / 2);
    padding: 40px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 2px;
}

.testimonial-role {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Tools Cards */
.tool-card-new {
    min-width: calc((100% - 60px) / 3);
    width: calc((100% - 60px) / 3);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tool-card-new:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.tool-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tool-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 25px;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex: 1;
}

.tool-features li {
    font-size: 14px;
    color: #ccc;
    padding: 8px 0 8px 30px;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff6b00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: 0 center;
}

.tool-card-btn {
    font-family: var(--font-outfit);
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.tool-card-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Nav Buttons (Testimonials / Tools) */
.tools-carousel-nav,
.testimonials-nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.tools-nav-btn,
.testimonial-nav-btn {
    font-family: var(--font-outfit);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.tools-nav-btn:hover,
.testimonial-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.tools-nav-btn:disabled,
.testimonial-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: transparent;
}

/* Newsletter */
.newsletter-section {
    padding: 100px 40px;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    background: radial-gradient(circle, rgba(40, 40, 40, 0.5), rgba(10, 10, 10, 0.8));
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.newsletter-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    filter: blur(80px);
    opacity: 0.5;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: border 0.3s;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
}

.newsletter-btn {
    font-family: var(--font-outfit);
    padding: 15px 30px;
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-btn:hover {
    background: #ff7b1a;
}

.newsletter-success {
    margin-top: 15px;
    color: #2ecc71;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.newsletter-success.show {
    opacity: 1;
}

/* Tool.html specific styles */
.tool-page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 30px;
    transition: color 0.3s;
    padding: 0;
}

.back-button:hover {
    color: var(--primary-color);
}

.tool-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tool-form-card {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(15px);
}

.tool-page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tool-page-description {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.tool-input {
    width: 100%;
    padding: 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s;
    outline: none;
}

.tool-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.tool-submit-btn {
    font-family: var(--font-outfit);
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.tool-submit-btn:hover {
    background: #ff7b1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.tool-video-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {

    .tools-carousel-container,
    .testimonials-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .testimonials-track,
    .tools-carousel {
        width: max-content;
    }

    .tool-card-new,
    .testimonial-card {
        scroll-snap-align: center;
        width: 300px;
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 48px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .integrations-content,
    .stats-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .carousel-column {
        display: none;
    }

    /* Hide complicated carousel on mobile if needed or adjust */
    .integrations-carousel {
        height: auto;
        mask-image: none;
        background: none;
    }

    .carousel-track {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 20px;
        justify-content: flex-start;
    }

    .carousel-column:nth-child(2) {
        display: flex;
        transform: none !important;
        flex-direction: row;
    }

    .stats-features {
        flex-direction: column;
    }

    /* Ensure mobile nav looks okay */
    .navbar {
        width: 95%;
        top: 10px;
    }

    .nav-link span {
        display: none;
    }

    .nav-link svg {
        width: 20px;
        height: 20px;
    }

    .navbar-content {
        padding: 10px 20px;
    }
}

/* Custom Notifications (Toast) */
.custom-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a1a1a;
    border: 1px solid var(--glass-border);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.custom-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.custom-notification.success {
    border-left: 4px solid #2ecc71;
}

.custom-notification.error {
    border-left: 4px solid #e74c3c;
}