/* Main Stylesheet */
/* Typography is managed in variables.css */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Audiowide', sans-serif;
    line-height: 1.0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #e74c3c;
    --dark-red: #c0392b;
    --bg-gray: #eef2f5;
    --bg-light: #f5f7fa;
    --text-dark: #2c3e50;
    --text-gray: #7f8c8d;
    --border-light: #dde1e7;
    --white: #ffffff;
}

body {
    font-family: 'Inter', 'Rajdhani', sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 14px;
}

/* Header */
header {
    background: var(--white);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    font-family: 'Audiowide', sans-serif;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 0.2;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    margin-top: 66px;
    padding: 120px 20px 60px;
    background: #0f172a;
    /* Force Dark Background */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-family: 'Audiowide', sans-serif;
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 20px;
    color: #ffffff;
    /* White text */
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-content h1 strong {
    font-size: clamp(42px, 6vw, 58px);
    font-weight: 700;
    display: block;
    color: var(--primary-red);
}

.hero-content p {
    font-size: clamp(16px, 1.8vw, 20px);
    color: #bdc3c7;
    /* Light gray */
    font-weight: 400;
    margin-top: 8px;
    margin-bottom: 24px;
    max-width: 100%;
}

/* IA Badge Style */
.ia-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.1);
    transition: all 0.3s ease;
}

.ia-badge:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(231, 76, 60, 0.2);
}

.ia-icon {
    color: var(--primary-red);
    font-size: 20px;
    animation: ia-pulse 2s infinite ease-in-out;
}

@keyframes ia-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        text-shadow: 0 0 10px var(--primary-red);
    }

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

.ia-badge strong {
    color: var(--primary-red);
    font-weight: 600;
    margin-left: 4px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    opacity: 1;
    mix-blend-mode: screen;
    /* Necessary for transparent effect on dark bg */
}

/* Partnership Section */
.partnership {
    padding: 70px 0;
    background: var(--bg-light);
    position: relative;
}

.partnership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}

.partnership-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

/* Tech Partnership Visual Animation */
.tech-partnership-visual {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tp-core {
    position: relative;
    z-index: 10;
    font-size: 80px;
    background: -webkit-linear-gradient(45deg, #2c3e50, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    animation: tp-pulse 3s infinite ease-in-out;
}

.tp-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(231, 76, 60, 0.3);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.1);
}

.tp-ring-1 {
    width: 100%;
    height: 100%;
    animation: tp-spin 20s linear infinite;
    border-top-color: transparent;
    border-left-color: transparent;
}

.tp-ring-2 {
    width: 70%;
    height: 70%;
    border-color: rgba(44, 62, 80, 0.3);
    animation: tp-spin 15s linear infinite reverse;
    border-bottom-color: transparent;
    border-right-color: transparent;
}

.tp-orbit {
    position: absolute;
    width: 140%;
    height: 140%;
    animation: tp-spin 30s linear infinite;
}

.tp-planet {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    font-size: 20px;
    transition: transform 0.3s;
}

.tp-planet-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-red);
}

.tp-planet-2 {
    bottom: 20%;
    left: 0;
    transform: translate(-50%, 50%);
    color: #3498db;
}

.tp-planet-3 {
    bottom: 20%;
    right: 0;
    transform: translate(50%, 50%);
    color: #2ecc71;
}

.tp-planet i {
    animation: tp-counter-spin 30s linear infinite;
    /* Keeps icon upright */
}

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

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

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

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

@keyframes tp-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 15px 30px rgba(231, 76, 60, 0.3));
    }
}


.partnership-content {
    position: relative;
    padding-right: 30px;
}

.corner-decoration {
    position: absolute;
    width: 50px;
    height: 50px;
    border-color: var(--primary-red);
    border-style: solid;
    opacity: 0.4;
}

.corner-top {
    top: -15px;
    right: 0;
    border-width: 2px 2px 0 0;
}

.corner-bottom {
    bottom: 50px;
    right: 0;
    border-width: 0 2px 2px 0;
}

.partnership-content h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.0;
    color: var(--text-dark);
}

.partnership-content p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 95%;
}

.btn-outline {
    display: inline-block;
    padding: 10px 22px;
    background: transparent;
    color: var(--text-dark);
    border: 1px solid #bdc3c7;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    cursor: pointer;
    border-radius: 3px;
}

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* Portfolio Section */
.portfolio {
    padding: 50px 0 70px;
    background: var(--bg-gray);
}

.section-title {
    font-family: 'Audiowide', sans-serif;
    line-height: 1.0;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 35px;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: calc(25% - 15px);
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.carousel-item.active {
    border: 2px solid var(--primary-red);
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.15);
}

.carousel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.carousel-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 15px;
}

.carousel-btn {
    background: transparent;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #bdc3c7;
}

.carousel-btn:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-red);
    width: 20px;
    border-radius: 4px;
}

/* Services Section */
.services {
    padding: 50px 0;
    background: var(--white);
}

.services-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #eef2f5;
    position: relative;
    overflow: hidden;
}

#contactParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.contact-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-box {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 50px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

/* Glass Highlight Effect */
.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
    z-index: 0;
}

.contact-logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.contact-rocket-icon {
    font-size: 180px;
    background: -webkit-linear-gradient(45deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(231, 76, 60, 0.6));
    transform: rotate(-45deg);
}

.contact-title {
    font-family: 'Audiowide', sans-serif;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    color: var(--text-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input,
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(200, 200, 200, 0.5);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    color: var(--text-dark);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

input::placeholder,
textarea::placeholder {
    color: #8899a6;
    font-weight: 400;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.15);
    transform: translateY(-1px);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff5e57 0%, #d63031 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Audiowide', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 15px;
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #ff7675 0%, #d63031 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-box {
        padding: 30px 25px;
    }
}

/* Footer */
footer {
    background: var(--bg-light);
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 10px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-links a {
    color: var(--text-dark);
    font-size: 14px;
    transition: color 0.3s;
    text-decoration: none;
}


/* Landing Page & Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-list {
    list-style: none;
    text-align: center;
}

.mobile-menu-list li {
    margin: 20px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-list li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-list a {
    font-family: var(--font-heading);
    /* Audiowide */
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu-list a:hover {
    color: var(--primary-red);
}

.hamburger-menu {
    display: none;
    /* Hidden by default for main site, overriden in LPs or Mobile */
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 1001;
    position: relative;
}

/* Force hamburger visibility when used in specific contexts if needed, 
   but usually handled by media queries or specific layouts */

/* Global Aurora Background Effect */
.aurora-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #0f172a;
    /* Dark background base */
}

.aurora-item {
    position: absolute;
    filter: blur(80px);
    /* Increased blur for smoother blending */
    opacity: 0.6;
    will-change: transform;
    /* Performance optimization */
}

.aurora-1 {
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, #00B4D8 0%, #0077b6 100%);
    animation: drift-slow 4s infinite alternate ease-in-out;
    /* Super Fast */
}

.aurora-2 {
    top: 20%;
    right: -10%;
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, #90e0ef 0%, #caf0f8 100%);
    animation: drift-medium 3s infinite alternate-reverse ease-in-out;
    /* Super Fast */
}

.aurora-3 {
    bottom: -20%;
    left: 20%;
    width: 80%;
    height: 50%;
    background: linear-gradient(135deg, #00B4D8 0%, #48cae4 100%);
    animation: drift-fast 5s infinite alternate ease-in-out;
    /* Super Fast */
    opacity: 0.4;
}

/* More dynamic movement keyframes - Larger range */
@keyframes drift-slow {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(150px, 80px) scale(1.1) rotate(5deg);
    }

    /* Big movement */
}

@keyframes drift-medium {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-120px, 150px) scale(1.05);
    }

    /* Big movement */
}

@keyframes drift-fast {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, -100px) scale(0.9);
    }

    100% {
        transform: translate(-80px, 80px) scale(1.05);
    }

    /* Big movement */
}

/* Helper for blending images on dark backgrounds */
.screen-blend {
    mix-blend-mode: screen;
}



/* Responsive */
/* About Us Section */
.about-us {
    padding: 80px 0;
    /* Gradient adapted to match "logo-parede.png" background */
    background: linear-gradient(180deg, #EDF0F2 0%, #D6DADC 100%);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.about-content {
    flex: 1;
    animation: fadeSlideInLeft 1s ease-out forwards;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeSlideInRight 1s ease-out 0.3s forwards;
    opacity: 0;
    /* Starts hidden for delays */
}

.about-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    /* filter removed to blend better with background */
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: translateY(-10px) scale(1.02);
}

.about-content h2 {
    color: var(--primary-red);
    font-family: 'Audiowide', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 5px;
}

.about-content h3 {
    font-family: 'Audiowide', sans-serif;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.8;
}

/* Interactive Services Accordion */
.services-accordion {
    margin: 35px 0 45px;
}

.sa-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.sa-list {
    display: grid;
    gap: 12px;
}

.sa-item {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 36px 1fr 18px;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.sa-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.sa-item.active {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, rgba(0, 180, 216, 0.06) 100%);
    border-color: rgba(231, 76, 60, 0.35);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.sa-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-dark);
}

.sa-item.active .sa-icon {
    background: rgba(231, 76, 60, 0.12);
    color: var(--primary-red);
}

.sa-label {
    font-family: 'Inter', 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-dark);
    line-height: 1.2;
}

.sa-chevron {
    color: rgba(0, 0, 0, 0.35);
    transition: transform 180ms ease, color 180ms ease;
}

.sa-item.active .sa-chevron {
    transform: translateX(3px);
    color: var(--primary-red);
}

.sa-preview {
    position: sticky;
    top: 95px;
}

.sa-preview-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.sa-preview-card.sa-flash {
    animation: saFlash 220ms ease-out;
}

@keyframes saFlash {
    from {
        transform: translateY(0);
        filter: brightness(1.03);
    }

    to {
        transform: translateY(0);
        filter: brightness(1);
    }
}

.sa-preview-media {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.00) 100%);
    padding: 18px;
}

.sa-preview-media img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
}

.sa-preview-body {
    padding: 18px 18px 20px;
}

.sa-preview-body h3 {
    font-family: 'Audiowide', sans-serif;
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.sa-preview-body p {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.7;
}

/* Glass Mockup Styles */
.mockup-container {
    perspective: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.glass-plate {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    position: relative;
    box-shadow:
        20px 20px 30px rgba(0, 0, 0, 0.1),
        -1px -1px 2px rgba(255, 255, 255, 0.8) inset;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-plate:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.plate-content img {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.screw {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f5f5f5, #bdc3c7);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    position: absolute;
    z-index: 2;
}

.screw.top-left {
    top: 20px;
    left: 20px;
}

.screw.top-right {
    top: 20px;
    right: 20px;
}

.screw.bottom-left {
    bottom: 20px;
    left: 20px;
}

.screw.bottom-right {
    bottom: 20px;
    right: 20px;
}

.reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.2) 40%,
            rgba(255, 255, 255, 0.0) 50%);
    border-radius: 4px;
    pointer-events: none;
}

/* Animations */
@keyframes fadeSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes fadeSlideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

/* Background Abstract Shape */
.about-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    z-index: 1;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.05);
    }

    100% {
        transform: translateY(-50%) scale(1);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .sa-grid {
        grid-template-columns: 1fr;
    }

    .sa-preview {
        position: static;
        top: auto;
    }

    .sa-preview-media img {
        height: 200px;
    }

    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-container,
    .partnership-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-item {
        min-width: calc(50% - 10px);
    }

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 10px;
    }
}

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

    .carousel-item {
        min-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .partnership-container {
        padding: 0 20px;
    }

    .carousel-container {
        padding: 0 35px;
    }

    .contact-box {
        padding: 25px 30px;
    }
}