/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #1d1d1f;
    --accent-color: #86868b;
    --dark-color: #1d1d1f;
    --light-color: #f5f5f7;
    --text-color: #1d1d1f;
    --text-light: #86868b;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

::selection {
    background: rgba(0, 0, 0, 0.1);
    color: var(--dark-color);
}

/* Header - Transparent with Backdrop Blur */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.nav > * {
    flex-shrink: 1;
}

.nav-actions {
    flex-shrink: 0 !important;
}

.logo-container {
    flex-shrink: 0;
}

.logo-img {
    height: 179px;
    width: auto;
    display: block;
    margin-top: -52px;
    margin-bottom: -52px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    order: -1;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #6B7280;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    letter-spacing: -0.011em;
}

.nav-menu a::after {
    content: '';
    display: none;
}

.nav-menu a:hover {
    color: var(--text-color);
    opacity: 0.6;
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
}

.btn-phone:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.btn-phone svg {
    width: 26px;
    height: 26px;
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

.phone-number {
    font-size: 15px;
    white-space: nowrap;
}

.phone-icon-only {
    padding: 10px;
}

.phone-icon-only .phone-number {
    display: none;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    white-space: nowrap;
    letter-spacing: -0.011em;
}

.btn-primary {
    background: var(--dark-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--text-color);
    transform: translateY(-1px) scale(1.02);
    box-shadow: var(--shadow-md);
}


.btn-hero {
    background: var(--white);
    color: var(--dark-color);
    padding: 16px 48px;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
}

.btn-hero:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.btn-promo {
    background: var(--white);
    color: var(--dark-color);
    padding: 18px 54px;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
}

.btn-promo:hover {
    background: var(--light-color);
    transform: translateY(-2px) scale(1.02);
}

.btn-submit {
    background: var(--dark-color);
    color: var(--white);
    padding: 16px 48px;
    font-size: 17px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    background: var(--text-color);
    transform: translateY(-2px) scale(1.01);
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo-wrapper {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease;
}

.hero-logo-img {
    height: 360px;
    width: auto;
    filter: none;
}

.hero-logo-text {
    font-family: 'ColorTube', sans-serif;
    font-size: 60px;
    line-height: 1;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: normal;
    letter-spacing: -1px;
}

.hero-title {
    font-size: 54px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.015em;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-cta {
    animation: fadeInUp 1s ease 0.6s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Title */
.section-title {
    font-size: 38px;
    font-weight: 600;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 60px;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

/* Key Services */
.key-services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--text-color);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--dark-color);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    letter-spacing: -0.012em;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card ul li {
    padding: 8px 0 8px 24px;
    font-size: 15px;
    color: var(--text-light);
    position: relative;
    line-height: 1.6;
}

.service-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--dark-color);
    font-size: 20px;
}

/* Capabilities */
.capabilities {
    padding: 100px 0;
    background: var(--light-color);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.capability-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--text-color);
}

.capability-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--dark-color);
}

.capability-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.capability-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    letter-spacing: -0.012em;
}

.capability-card ul {
    list-style: none;
    text-align: left;
}

.capability-card ul li {
    padding: 8px 0 8px 24px;
    font-size: 15px;
    color: var(--text-light);
    position: relative;
    line-height: 1.6;
}

.capability-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--dark-color);
    font-size: 20px;
}

/* Case Studies */
.case-studies {
    padding: 100px 0;
    background: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.case-card:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--text-color);
}

.case-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-icon svg {
    width: 60px;
    height: 60px;
    stroke-width: 1.5;
    color: var(--dark-color);
}

.case-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.case-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 16px;
    letter-spacing: -0.012em;
}

.case-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    text-align: left;
}

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

/* Promo Block */
.promo-block {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    min-height: 400px;
}

.promo-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.promo-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.promo-container {
    position: relative;
    z-index: 2;
}

.promo-content {
    text-align: center;
    color: var(--white);
}

.promo-content h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Solutions */
.solutions {
    padding: 100px 0;
    background: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.solution-card:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--text-color);
}

.solution-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--dark-color);
}

.solution-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.solution-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    letter-spacing: -0.012em;
}

.solution-desc {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

.solution-card ul {
    list-style: none;
    text-align: left;
}

.solution-card ul li {
    padding: 8px 0 8px 24px;
    font-size: 15px;
    color: var(--text-light);
    position: relative;
    line-height: 1.6;
}

.solution-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--dark-color);
    font-weight: bold;
}

/* Additional Services */
.additional-services {
    padding: 100px 0;
    background: var(--light-color);
}

.additional-grid {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.additional-item {
    background: var(--white);
    padding: 24px 32px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.additional-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--text-color);
}

.check-icon {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark-color);
    flex-shrink: 0;
}

.additional-item p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-logo {
    margin-bottom: 40px;
}

.cta-logo img {
    height: 200px;
    width: auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* Contact Form */
.contact-form {
    background: var(--light-color);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--text-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-consent {
    margin-bottom: 30px;
    text-align: left;
}

.form-consent label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--dark-color);
    padding: 80px 0 30px;
    color: var(--white);
}

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

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.95;
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-contact-item:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 6px 0;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-contacts,
    .footer-links {
        align-items: center;
    }
    
    .footer-contact-item:hover,
    .footer-links a:hover {
        transform: translateX(0) scale(1.02);
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .capabilities-grid,
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .btn-primary {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 820px) {
    .nav-menu a {
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 90px;
        margin-top: -20px;
        margin-bottom: -20px;
    }
    
    .hero-logo-text {
        font-size: 45px;
        font-family: 'ColorTube', sans-serif;
    }
    
    .hero-logo-img {
        height: 200px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-container {
        order: 0;
        flex: 1;
    }
    
    .nav-actions {
        flex-shrink: 0;
        gap: 10px;
    }
    
    .nav-actions .phone-number {
        display: none;
    }
    
    .btn-phone {
        padding: 10px;
    }
    
    .btn-primary {
        display: none;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-phone {
        width: 100%;
        justify-content: center;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-logo-img {
        height: 80px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .promo-content h2 {
        font-size: 32px;
    }
    
    .promo-content p {
        font-size: 18px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 70px;
        margin-top: -16px;
        margin-bottom: -16px;
    }
    
    .hero-logo-text {
        font-size: 35px;
        font-family: 'ColorTube', sans-serif;
    }
    
    .hero-logo-img {
        height: 150px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-hero {
        padding: 14px 36px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .service-card,
    .capability-card,
    .solution-card {
        padding: 30px;
    }
    
    .promo-content h2 {
        font-size: 26px;
    }
    
    .logo-img {
        height: 60px;
        margin-top: -14px;
        margin-bottom: -14px;
    }
    
    .btn-phone {
        padding: 10px;
    }
    
    .btn-phone svg {
        width: 22px;
        height: 22px;
    }
}

/* Additional Apple-style Effects */
.service-card,
.capability-card,
.solution-card,
.additional-item {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Smooth transitions for all interactive elements */
.nav-menu a,
.btn,
.service-card,
.capability-card,
.solution-card,
.additional-item {
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

/* Card lift effect on hover */
.service-card:hover,
.capability-card:hover,
.solution-card:hover {
    transform: translateY(-12px) scale(1.01);
}

/* Subtle glow effect for buttons */
.btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Hero video overlay improvement */
.hero-overlay {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Glass morphism for header when scrolled */
.header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* Smooth text rendering */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Logo hover effect in menu */
.logo-img {
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(0.95);
}

/* Button press effect */
.btn:active {
    transform: scale(0.98);
}

/* Improved focus states */
.form-group input:focus {
    transform: scale(1.01);
}

/* Laser Flow Effect */
.laser-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.laser-beam {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                0 0 20px rgba(255, 255, 255, 0.3),
                0 0 30px rgba(255, 255, 255, 0.2);
    animation: moveLaser 8s linear infinite;
    opacity: 0.6;
}

@keyframes moveLaser {
    0% {
        transform: translateX(-100%) translateY(-50px);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(200%) translateY(50px);
        opacity: 0;
    }
}

/* Text Trail Effect */
.text-trail-char {
    position: fixed;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    z-index: 999;
    animation: fadeTrail 0.8s ease-out forwards;
}

@keyframes fadeTrail {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
}

/* Responsive adjustments for icons */
@media (max-width: 768px) {
    .service-icon,
    .capability-icon,
    .solution-icon {
        width: 48px;
        height: 48px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark-color);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-logo {
    height: 200px;
    width: auto;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.modal-header p {
    font-size: 16px;
    color: var(--text-light);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-field input:focus {
    outline: none;
    border-color: var(--dark-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 40px 24px;
    }
    
    .modal-header h3 {
        font-size: 24px;
    }
    
    .modal-logo {
        height: 60px;
    }
}

/* Print Styles */
@media print {
    .header,
    .btn,
    .promo-block,
    .final-cta,
    .footer,
    .laser-flow,
    .modal {
        display: none;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.toast-close {
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: background 0.3s;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.toast.success {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.toast.error {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

@media (max-width: 768px) {
    .toast {
        top: 80px;
        right: 15px;
        left: 15px;
        padding: 16px 20px;
        font-size: 14px;
    }
}
