:root {
    --primary-color: #fff;
    --secondary-color: #ccc;
    --text-color: #aaa;
    --accent-color: #333;
    --background-color: black;
    --content-width: 80%;
    --section-spacing: 140px;
    --gradient-red: linear-gradient(135deg, #ff0000, #ff3333);
    color-scheme: dark only;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body { 
    font-family: 'Urbanist', sans-serif; 
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    overflow-x: hidden;
}


.text-xl {
    font-size: clamp(3rem, 8vw, 6.5em);
    font-weight: 700;
    line-height: 1.1;
}

.text-lg {
    font-size: clamp(2.5rem, 5vw, 5em);
    font-weight: 600;
    line-height: 1.2;
}

.text-md {
    font-size: clamp(1.8rem, 4vw, 3.5em);
    font-weight: 400;
    line-height: 1.2;
}

.text-base {
    font-size: clamp(1rem, 1.5vw, 1.3em);
    line-height: 1.5;
}

.text-sm {
    font-size: clamp(0.9rem, 1.2vw, 1.1em);
    line-height: 1.6;
}

.container {
    width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

.spacing-div {
    height: 200px;
    width: 100%;
    background-color: var(--background-color);
}


section:not(.hero-section) {
    background-color: var(--background-color);
    position: relative;
    z-index: 1;
}

.content-padding {
    padding: 80px 20px;
}

.video-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.video-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.video-banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
}

.video-banner .desktop-video {
    display: block;
}

.video-banner .mobile-video {
    display: none;
}

@media (max-width: 768px) {
    .video-banner .desktop-video {
        display: none;
    }
    
    .video-banner .mobile-video {
        display: block;
    }
}

.hero-section {
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-section {
        height: 800px;
        align-items: center;
    }
}
.hero-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    padding: 80px 60px;
    position: relative;
    z-index: 10;
}

.logo-container { 
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    padding: 0 60px;
    z-index: 10;
}

.logo-content {
    font-size: clamp(2rem, 15vw, 12rem);
    font-weight: 300;
    color: white;
    line-height: 1;
    text-transform: lowercase;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-family: 'Urbanist', sans-serif;
}

.ai-letter {
    background: linear-gradient(45deg, #ff0000, #ff3333, #ff6666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.hero-title {
    margin: 0;
    color: white;
    overflow: visible;
    text-align: left;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: block;
    position: relative;
    z-index: 100;
    font-weight: 600;
}


.hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.8em);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
    overflow: visible;
    text-align: left;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: block;
    position: relative;
    z-index: 100;
}



@property --border-angle-1 {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0deg;
}
@property --border-angle-2 {
    syntax: "<angle>";
    inherits: true;
    initial-value: 90deg;
}
@property --border-angle-3 {
    syntax: "<angle>";
    inherits: true;
    initial-value: 180deg;
}
:root {
    --bright-blue: rgb(0, 100, 255);
    --bright-green: rgb(0, 255, 0);
    --bright-red: rgb(255, 0, 0);
    --gradient-red: rgb(255, 0, 0);
    --gradient-white: rgb(255, 255, 255);
    --border-size: 2.5px;
    --border-radius: 2.5em;
    --background: black;
    --foreground: #fff;
}
@supports (color: color(display-p3 1 1 1)) {
    :root {
        --bright-blue: color(display-p3 0 0.2 1);
        --bright-green: color(display-p3 0.4 1 0);
        --bright-red: color(display-p3 1 0 0);
        --gradient-red: color(display-p3 1 0 0);
        --gradient-white: color(display-p3 1 1 1);
    }
}
@keyframes rotateBackground {
    to { --border-angle-1: 360deg; }
}
@keyframes rotateBackground2 {
    to { --border-angle-2: -270deg; }
}
@keyframes rotateBackground3 {
    to { --border-angle-3: 540deg; }
}
.hero-button {
    position: relative;
    z-index: 10;
    background: transparent;
    border: 0;
    padding: 20px 40px;
    display: flex;
    width: max-content;
    border-radius: 0;
    cursor: pointer;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
    font-size: 1.1rem;
    margin: 0;
    opacity: 1;
    transform: none;
    visibility: visible;
    color: black !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
}
.hero-button::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 0;
    background-image: conic-gradient(
        from var(--border-angle-1) at 10% 15%,
        transparent,
        var(--gradient-red) 10%,
        transparent 30%,
        transparent
    ),
    conic-gradient(
        from var(--border-angle-2) at 70% 60%,
        transparent,
        var(--gradient-white) 10%,
        transparent 60%,
        transparent
    ),
    conic-gradient(
        from var(--border-angle-3) at 50% 20%,
        transparent,
        var(--gradient-red) 10%,
        transparent 50%,
        transparent
    );
    animation:
        rotateBackground 3s linear infinite,
        rotateBackground2 8s linear infinite,
        rotateBackground3 13s linear infinite;
    filter: blur(16px);
    opacity: 0.45;
    z-index: -2;
    pointer-events: none;
}
.hero-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0;
    background: white;
    z-index: 0;
    pointer-events: none;
}

.hero-button.clipped-corners {
    background: var(--gradient-red);
    color: black;
    z-index: 10;
    transition: color 0.3s ease;
}

.hero-button.clipped-corners::before {
    display: none;
}

.hero-button.clipped-corners::after {
    background: white;
    clip-path: polygon(0% 0%, 95% 0%, 100% 5%, 100% 100%, 5% 100%, 0% 95%);
    clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 20px 100%, 0% calc(100% - 20px));
    z-index: -1;
    transition: transform 0.3s ease;
}

.hero-button.clipped-corners:hover {
    color: var(--gradient-red) !important;
}

.hero-button.clipped-corners:hover::after {
    transform: translate(10px, -10px);
}

.image-showcase {
    width: var(--content-width);
    margin: 0 auto;
    height: 85vh;
    min-height: 550px;
    border-radius: 25px;
    position: relative;
    padding: 0;
    margin-bottom: 160px;
    overflow: visible;
    background-color: var(--background-color);
    z-index: 1;
}

.app-image {
    position: absolute;
    max-width: 50%;
    max-height: 80%;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.2s ease;
}

.app-image[data-position="1"]:hover,
.app-image[data-position="3"]:hover {
    transform: scale(1.03) translateY(-2px);
    cursor: pointer;
}

.app-image[data-position="2"]:hover {
    transform: scale(1.02);
}

.download-banner {
    position: absolute;
    bottom: -120px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
    padding: 30px 0;
}

.download-text {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.download-badge {
    height: 20px;
    transition: transform 0.3s ease;
}

.download-badge:hover {
    transform: scale(1.05);
}

.section-padding {
    padding: 0 60px;
}

.main-description {
    max-width: 60%;
    margin-left: auto;
    margin-right: 0;
    text-align: left;
    line-height: 1.3;
    font-weight: 400;
}

.word {
    display: inline-block;
    color: #ddd;
    transition: none;
}


#ai-metrics {
    width: 100%;
    background-color: var(--background-color);
    position: relative;
    z-index: 1;
}


.metrics-heading {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.metric-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: transparent;
    min-height: 280px;
}

.metric-item:nth-child(3n) {
    border-right: none;
}

.metric-item:nth-child(n+4) {
    border-bottom: none;
}

.metric-item:hover:not(.clipped-hover) {
    background: #ffffff;
}


.metric-item:hover .metric-number,
.metric-item:hover .metric-description {
    color: #000000;
}

.metric-item:hover .metric-unit {
    color: #ff0000;
}

.metric-value {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    text-align: left;
}

.metric-number {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
}

.metric-unit {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #ff0000;
    line-height: 1;
    margin-left: 5px;
}

.metric-description {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.5;
    text-align: right;
    align-self: flex-end;
    max-width: 60%;
}

#services {
    width: 100%;
    background-color: var(--background-color);
    position: relative;
    z-index: 1;
}


.services-heading {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.services-accordion {
    display: flex;
    flex-direction: row;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-accordion-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    flex: 0 0 200px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.service-accordion-item:last-child {
    border-right: none;
}

.service-accordion-item.active {
    flex: 1;
}

.service-header {
    min-width: 200px;
    width: 200px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    text-align: center;
    gap: 20px;
}

.service-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.service-accordion-item.active .service-header {
    background: #ffffff;
}

.service-accordion-item.active .service-title {
    color: #000000;
}

.service-accordion-item.active .service-tagline {
    color: #ff0000;
}

.service-title {
    color: var(--primary-color);
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    white-space: nowrap;
    transform: rotate(180deg);
}

.service-tagline {
    font-size: 0.9rem;
    color: #ff0000;
    font-style: italic;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    white-space: nowrap;
    transform: rotate(180deg);
}

.service-content {
    width: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-accordion-item.active .service-content {
    flex: 1;
    padding: 50px 40px;
    opacity: 1;
}

.service-description {
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.8em;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features li {
    position: relative;
    padding-left: 30px;
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.7;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0.2em;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1;
}

.how-it-works-heading {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3em);
}


.how-it-works-steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}

.how-it-works-steps::before,
.how-it-works-steps::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(var(--scaleX-before, 0));
}

.how-it-works-steps::before {
    top: 0;
    transform-origin: left;
}

.how-it-works-steps::after {
    bottom: 0;
    transform-origin: right;
    transform: scaleX(var(--scaleX-after, 0));
}

.step {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.step-number-container {
    flex-shrink: 0;
}

.step-number {
    font-size: clamp(5em, 10vw, 8em);
    font-weight: 700;
    color: var(--primary-color);
}

.step-content {
    flex-grow: 1;
}

.step-title {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: clamp(1rem, 1.5vw, 1.3em);
    display: block;
    font-weight: 500;
    line-height: 1.7;
}

.step-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 0;
    margin-left: 0;
}

.use-cases-heading {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.use-case-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.use-case-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.use-case-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bright-green);
    font-weight: 600;
}

#how-different {
    width: 100%;
    background-color: var(--background-color);
    position: relative;
    z-index: 1;
}


.different-heading {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.different-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 50px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: transparent;
    min-height: 280px;
    position: relative;
}

.different-item:nth-child(2n) {
    border-right: none;
}

.different-item:nth-child(n+3) {
    border-bottom: none;
}

.different-item:hover:not(.clipped-hover) {
    background: #ffffff;
}

.different-item:hover .different-number {
    color: #ff0000;
}

.different-item:hover .different-title {
    color: #000000;
}

.different-item:hover .different-description {
    color: #000000;
}

.different-number {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 1.5rem;
    font-weight: 400;
    color: #ff0000;
    line-height: 1;
}

.different-title {
    font-size: 1.8em;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.7;
    margin-top: 60px;
}

.different-description {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.2rem;
    text-align: left;
}

#tech-partners {
    width: 100%;
    background-color: var(--background-color);
    position: relative;
    z-index: 1;
}


.partners-heading {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.partners-subtitle {
    text-align: left;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 600px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.partner-logo {
    text-align: center;
    padding: 40px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: transparent;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-logo:nth-child(3n) {
    border-right: none;
}

.partner-logo:nth-child(n+4) {
    border-bottom: none;
}

.partner-logo:hover:not(.clipped-hover) {
    background: #ffffff;
}

.partner-logo:hover .partner-name {
    color: #000000;
}

.partner-logo:hover .partner-tech {
    color: #000000;
}

.partner-name {
    font-size: 1.8em;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.7;
}

.partner-tech {
    font-size: 1rem;
    color: var(--text-color);
}

.contact-heading {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.contact-email {
    display: block;
    width: 100%;
    text-align: left;
    margin: 60px 0 20px 0;
}

.email-subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.email-single-line {
    font-size: clamp(1.8rem, 4vw, 3.5em);
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.2;
}

.at-symbol {
    color: #ff0000;
}

footer {
    padding: 0;
    text-align: left;
}

.copyright {
    font-size: clamp(0.8rem, 1vw, 1em);
    color: #777;
    text-align: left;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    margin-top: 0;
}

.footer-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.video-banner-footer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.video-banner-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.video-banner-footer video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.1);
}

.footer-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 60px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-left-column {
    padding: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-right-column {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-right-column .hero-button {
    align-self: stretch;
    width: 100%;
    margin: 0;
    justify-content: center;
    text-align: center;
}

.form-grid-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-grid-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-form-grid input,
.footer-form-grid textarea {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.footer-form-grid input::placeholder,
.footer-form-grid textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-form-grid input:focus,
.footer-form-grid textarea:focus {
    background: rgba(255, 255, 255, 0.05);
}

.footer-form-grid textarea {
    min-height: 100%;
    resize: none;
    flex: 1;
}

.form-submit-btn {
    padding: 20px 40px;
    background: transparent;
    color: var(--primary-color);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    align-self: stretch;
    margin: 0;
}

.form-submit-btn:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

.form-submit-btn.clipped-corners {
    position: relative;
    background: var(--gradient-red);
    border: none;
    border-top: none;
    clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 20px 100%, 0% calc(100% - 20px));
    color: #000;
    overflow: hidden;
}

.form-submit-btn.clipped-corners::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-red);
    z-index: -1;
}

.form-submit-btn.clipped-corners::after {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 20px 100%, 0% calc(100% - 20px));
    z-index: 0;
    transform: translateX(100%) translateY(100%);
    transition: transform 0.3s ease;
}

.form-submit-btn.clipped-corners span {
    position: relative;
    z-index: 1;
    color: #000;
    transition: color 0.3s ease;
}

.form-submit-btn.clipped-corners:hover::after {
    transform: translateX(0) translateY(0);
}

.form-submit-btn.clipped-corners:hover span {
    color: #000;
}

.clipped-corners {
    position: relative;
}

.clipped-hover {
    position: relative;
    transition: all 0.3s ease;
}

.clipped-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-red);
    z-index: -2;
    opacity: 0;
    transition: opacity 0s ease 0.2s;
}

.clipped-hover:hover::before {
    transition: opacity 0s ease 0.2s;
}

.clipped-hover:not(:hover)::before {
    transition: opacity 0s ease 0s;
}

.clipped-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 20px 100%, 0% calc(100% - 20px));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clipped-hover:hover::before,
.clipped-hover:hover::after {
    opacity: 1;
}

.service-header.clipped-hover::before {
    background: var(--gradient-red);
}

.service-accordion-item.active .service-header.clipped-hover {
    background: var(--gradient-red);
    border-right: none;
}

.service-accordion-item.active .service-header.clipped-hover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 20px 100%, 0% calc(100% - 20px));
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.service-accordion-item.active .service-header.clipped-hover .service-title,
.service-accordion-item.active .service-header.clipped-hover .service-tagline {
    color: #000000;
    position: relative;
    z-index: 1;
}

.service-header.clipped-hover:hover {
    background: transparent;
}

.service-header.clipped-hover:hover .service-title {
    color: #000000;
}

.service-header.clipped-hover:hover .service-tagline {
    color: #ff0000;
}

.service-accordion-item.active .service-header.clipped-hover .service-tagline {
    color: #ff0000;
}

@media (max-width: 1200px) {
    .services-accordion {
        flex-direction: column;
        height: auto;
    }
    
    .service-accordion-item {
        flex: none;
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .service-accordion-item:last-child {
        border-bottom: none;
    }
    
    .service-header {
        min-width: 100%;
        width: 100%;
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
        align-items: flex-start;
    }
    
    .service-title,
    .service-tagline {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        transform: none;
        text-align: left;
    }
    
    .service-content {
        width: 100%;
        padding: 0;
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .service-accordion-item.active .service-content {
        padding: 20px;
        opacity: 1;
        height: auto;
    }
    
    .service-accordion-item.active .service-tagline {
        color: #ff0000;
    }
}

@media (max-width: 768px) {
    :root {
        --content-width: 90%;
        --section-spacing: 20px;
    }
    
    .spacing-div {
        height: 120px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 60px 30px;
    }
    
    .section-padding {
        padding: 0;
    }
    
    .main-description {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .metrics-heading,
    .services-heading,
    .different-heading,
    .partners-heading,
    .contact-heading,
    .partners-subtitle,
    .email-subtitle,
    .email-single-line,
    .copyright {
        padding: 0 20px;
    }
    
    .metric-description {
        max-width: 100%;
        text-align: left;
        align-self: flex-start;
    }
    
    .metric-item,
    .different-item,
    .partner-logo {
        padding: 20px;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-right {
        align-items: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .logo-container {
        padding: 0 30px;
        top: 15px;
    }
    
    .logo-content {
        font-size: clamp(1.5rem, 12vw, 8rem);
    }
    
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .metric-item:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .metric-item:nth-child(n+4) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .metric-item:nth-child(2n) {
        border-right: none;
    }
    
    .metric-item:nth-child(n+5) {
        border-bottom: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-item {
        padding: 30px 25px;
    }
    
    .service-title {
        margin-bottom: 20px;
    }
    
    .service-description {
        font-size: 1.2rem;
        padding-left: 0;
    }
    
    .service-features ul {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .different-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .different-item:nth-child(2n) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .different-item:nth-child(n+3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .different-item {
        border-right: none;
    }
    
    .different-item:nth-child(4) {
        border-bottom: none;
    }
    
    .different-number {
        top: 20px;
        left: 20px;
        font-size: 1.2rem;
    }
    
    .different-title {
        margin-top: 40px;
    }
    
    .partner-logo:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .partner-logo:nth-child(n+4) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .partner-logo:nth-child(2n) {
        border-right: none;
    }
    
    .partner-logo:nth-child(n+5) {
        border-bottom: none;
    }
    
    .services-accordion {
        flex-direction: column;
        height: auto;
    }
    
    .service-accordion-item {
        flex: none;
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .service-accordion-item:last-child {
        border-bottom: none;
    }
    
    .service-header {
        min-width: 100%;
        width: 100%;
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
        align-items: flex-start;
    }
    
    .service-title,
    .service-tagline {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        transform: none;
        text-align: left;
    }
    
    .service-content {
        width: 100%;
        padding: 0;
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .service-accordion-item.active .service-content {
        padding: 20px;
        opacity: 1;
        height: auto;
    }
    
    .service-accordion-item.active .service-tagline {
        color: #ff0000;
    }
    
    .service-accordion-item.active .service-header.clipped-hover::after {
        bottom: -1px;
    }
    
    .footer-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-left-column {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
    }
    
    .form-right-column {
        padding: 0;
    }
    
    .footer-form-grid textarea {
        min-height: 200px;
    }
    
    .footer-form-grid input,
    .footer-form-grid textarea {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .video-banner-footer video {
        object-fit: cover;
        transform: scale(1);
    }
    
    .hero-section {
        height: 800px !important;
        min-height: 800px !important;
        align-items: center;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    :root {
        --content-width: 95%;
        --section-spacing: 40px;
    }
    
    .spacing-div {
        height: 100px;
    }
    
    .content-padding {
        padding: 20px 8px;
    }
    
    .hero-section {
        height: 800px;
    }
    
    .hero-content {
        padding: 60px 20px;
    }
    
    .section-padding {
        padding: 0;
    }
    
    .main-description {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .metrics-heading,
    .services-heading,
    .different-heading,
    .partners-heading,
    .contact-heading,
    .partners-subtitle,
    .email-subtitle,
    .email-single-line,
    .copyright {
        padding: 0 20px;
    }
    
    .metric-description {
        max-width: 100%;
        text-align: left;
        align-self: flex-start;
    }
    
    .metric-item,
    .different-item,
    .partner-logo {
        padding: 20px;
    }
    
    .logo-container {
        padding: 0 20px;
        top: 10px;
    }
    
    .logo-content {
        font-size: clamp(1.2rem, 10vw, 5rem);
    }
    
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .metric-item:nth-child(2n) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .metric-item:nth-child(n+5) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .metric-item {
        border-right: none;
    }
    
    .metric-item:nth-child(6) {
        border-bottom: none;
    }
    
    .metric-item {
        padding: 20px;
    }
    
    .image-showcase {
        height: 70vh;
        min-height: 450px;
        margin-bottom: 220px;
    }
    
    .download-banner {
        bottom: -190px;
        padding: 15px 10px;
    }
    
    .download-text {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .text-base {
        font-size: clamp(1.1rem, 4vw, 1.6em);
    }
    
    .service-description {
        font-size: 1rem;
        padding-left: 0;
        padding-right: 0;
    }
    
    .service-features ul {
        grid-template-columns: 1fr;
    }
    
    .service-header {
        padding: 20px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .contact-email {
        font-size: clamp(2.5rem, 8vw, 7rem);
    }
    .how-it-works-steps {
        gap: 24px;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .use-case-card {
        padding: 25px 20px;
    }
    
    .different-item {
        padding: 20px;
    }
    
    .different-number {
        font-size: 1rem;
        top: 20px;
        left: 20px;
    }
    
    .different-title {
        margin-top: 40px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .partner-logo:nth-child(2n) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .partner-logo:nth-child(n+5) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .partner-logo {
        border-right: none;
    }
    
    .partner-logo:nth-child(6) {
        border-bottom: none;
    }
    
    
    .partner-logo {
        padding: 20px;
    }
    .step-number {
        font-size: clamp(2.5em, 8vw, 4em);
    }
    
    .services-accordion {
        flex-direction: column;
        height: auto;
    }
    
    .service-accordion-item {
        flex: none;
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .service-accordion-item:last-child {
        border-bottom: none;
    }
    
    .service-header {
        min-width: 100%;
        width: 100%;
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
        align-items: flex-start;
    }
    
    .service-title,
    .service-tagline {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        transform: none;
        text-align: left;
    }
    
    .service-content {
        width: 100%;
        padding: 0;
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .service-accordion-item.active .service-content {
        padding: 20px;
        opacity: 1;
        height: auto;
    }
    
    .service-accordion-item.active .service-tagline {
        color: #ff0000;
    }
    
    .service-accordion-item.active .service-header.clipped-hover::after {
        bottom: -1px;
    }
    
    .video-banner-footer video {
        object-fit: cover;
        transform: scale(1);
    }
}

.hero-note {
    font-size: 0.98em;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    letter-spacing: 0.01em;
    opacity: 1;
    transform: none;
    visibility: visible;
    display: block;
}




