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

/* Performance optimizations */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* GPU acceleration for animations */
.service-card,
.service-image,
.service-visual,
.hero-content {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.65rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.75rem 0;
    margin-top: 0;
    pointer-events: none;
    border: 1px solid var(--border-color);
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover,
.nav-dropdown.desktop-active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Add invisible bridge to prevent cursor gap */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 999;
}

.nav-dropdown:hover::before {
    background: transparent;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-dropdown .nav-link::after {
    content: '';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link {
    color: var(--primary-color);
}

.nav-dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.service-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .service-ctas {
        flex-direction: column;
    }
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    transform: rotate(-5deg);
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.tech-item.embedded { background: rgba(37, 99, 235, 0.3); }
.tech-item.software { background: rgba(16, 185, 129, 0.3); }
.tech-item.printing { background: rgba(236, 72, 153, 0.3); }

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-dark);
}

/* Service Detail Sections */
.service-detail {
    padding: 100px 0;
}

.service-detail.embedded-detail {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.service-detail.software-detail {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.service-detail.iot-detail {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.service-detail.apps-detail {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.service-detail.printing-detail {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    position: relative;
    z-index: 1;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-info p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-item svg {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.service-image img,
.service-image .service-svg {
    width: 100%;
    height: 100%;
    max-width: 150px;
    max-height: 150px;
    border-radius: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image img:hover,
.service-image .service-svg:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.service-svg {
    stroke: #2563eb;
}




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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 0.5rem;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-dropdown.mobile-active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        pointer-events: auto;
    }

    .nav-dropdown .nav-link::after {
        display: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .tech-showcase {
        transform: none;
        margin-top: 2rem;
    }

    .service-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-content.reverse {
        direction: ltr;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-info h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #667eea;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
    max-width: 300px;
}

.loading-logo {
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
    will-change: transform, opacity;
}

.loading-screen.hidden .loading-logo {
    animation: none;
}

.loading-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.loading-text p {
    font-size: 1rem;
    opacity: 0.8;
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-top: 2rem;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: loadingProgress 1.5s ease-in-out infinite;
    will-change: transform, width;
}

.loading-screen.hidden .loading-progress {
    animation: none;
}

/* Loading Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1) translateZ(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) translateZ(0);
        opacity: 0.8;
    }
}

@keyframes loadingProgress {
    0% {
        width: 0%;
        transform: translateX(-100%) translateZ(0);
    }
    50% {
        width: 100%;
        transform: translateX(0%) translateZ(0);
    }
    100% {
        width: 100%;
        transform: translateX(100%) translateZ(0);
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Slide In Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Enhanced Animations */
.service-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.service-detail {
    animation: fadeIn 0.8s ease-out;
}

.service-info {
    animation: slideInLeft 0.8s ease-out;
}

.service-visual {
    animation: slideInRight 0.8s ease-out;
}

/* Staggered delays */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

/* Micro-interactions */
.tech-item {
    animation: fadeInUp 0.6s ease-out backwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Enhanced button animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

/* Enhanced transitions */
.service-content,
.contact-content,
.footer-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Page transitions */
body {
    animation: pageLoad 1s ease-out;
}

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

/* Heading Section Styles */
.heading-section {
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heading-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heading-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .heading-section {
        min-height: 200px;
        padding: 20px;
    }
    
    .heading-img {
        border-radius: 4px;
    }
}

/* Mobile Apps Showcase Styles */
.mobile-apps-showcase {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    min-height: 900px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-apps-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.app-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    bottom: -100px;
    left: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    top: 50%;
    right: 5%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(40px) rotate(10deg); }
}

.mobile-apps-showcase .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 70px;
    text-align: center;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(96, 165, 250, 0.9);
    animation: slideUp 0.8s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
}

.mobile-apps-showcase .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease-out;
    text-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.mobile-apps-showcase .section-header p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    font-weight: 500;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    animation: fadeIn 0.8s ease-out 0.3s backwards;
}

.decoration-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #60a5fa 50%, transparent 100%);
}

.decoration-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.app-card {
    position: relative;
    background: transparent;
    border-radius: 24px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out backwards;
    height: 100%;
}

.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }

.app-card-inner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2), inset 0 0 30px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.app-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    transition: left 0.6s ease;
}

.app-card:hover .app-card-inner::before {
    left: 100%;
}

.app-card:hover .app-card-inner {
    transform: translateY(-15px);
    box-shadow: 0 25px 80px rgba(37, 99, 235, 0.35), inset 0 0 40px rgba(255, 255, 255, 0.08);
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.app-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    animation: scaleIn 0.5s ease-out 0.2s backwards;
}

.app-rating .star {
    transition: transform 0.3s ease;
}

.app-card:hover .app-rating .star {
    animation: starBounce 0.6s ease-out infinite;
}

@keyframes starBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(10deg); }
}

.app-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.app-icon {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0ea5e9 50%, var(--secondary-color) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.35), inset 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.app-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transition: transform 0.6s;
}

.app-card:hover .app-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
}

.app-card:hover .app-icon::after {
    transform: translateX(150%);
}

.app-icon svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.app-name {
    flex: 1;
}

.app-name h3 {
    font-size: 1.9rem;
    color: white;
    margin: 0 0 5px 0;
    font-weight: 800;
    line-height: 1.2;
}

.app-version {
    font-size: 0.95rem;
    color: rgba(96, 165, 250, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-description {
    flex-grow: 1;
    margin-bottom: 25px;
}

.app-description p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.feature-tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0ea5e9 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
}

.feature-tag:nth-child(2) {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #10b981 100%);
}

.feature-tag:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.app-card:hover .feature-tag {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.35);
}

.app-ctas {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.app-ctas .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex: 1;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 16px 24px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 12px;
}

.app-ctas .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0ea5e9 100%);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.app-ctas .btn-primary:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.app-ctas .btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-ctas .btn:hover svg {
    transform: translateX(8px);
}

@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 40px;
    }

    .mobile-apps-showcase .section-header h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-apps-showcase {
        padding: 80px 20px;
        min-height: auto;
    }

    .mobile-apps-showcase .section-header {
        margin-bottom: 50px;
    }

    .mobile-apps-showcase .section-header h2 {
        font-size: 2.4rem;
    }

    .mobile-apps-showcase .section-header p {
        font-size: 1.1rem;
    }

    .header-decoration {
        gap: 12px;
    }

    .decoration-line {
        width: 60px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .app-card-inner {
        padding: 30px;
    }

    .app-icon {
        width: 90px;
        height: 90px;
    }

    .app-icon svg {
        width: 48px;
        height: 48px;
    }

    .app-name h3 {
        font-size: 1.5rem;
    }

    .app-header {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .mobile-apps-showcase {
        padding: 60px 15px;
    }

    .mobile-apps-showcase .section-header h2 {
        font-size: 2.1rem;
    }

    .mobile-apps-showcase .section-header p {
        font-size: 0.95rem;
    }

    .header-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .app-card-inner {
        padding: 20px;
    }

    .app-icon {
        width: 70px;
        height: 70px;
    }

    .app-icon svg {
        width: 40px;
        height: 40px;
    }

    .app-name h3 {
        font-size: 1.2rem;
    }

    .app-description p {
        font-size: 0.95rem;
    }

    .app-ctas {
        flex-direction: column;
        gap: 10px;
    }

    .app-ctas .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .feature-tag {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .decoration-line {
        width: 40px;
    }

    .decoration-dot {
        width: 10px;
        height: 10px;
    }
}

/* Mobile Phone Mockups */
.mobile-mockups-section {
    margin-top: 100px;
    position: relative;
    z-index: 1;
}

.mockups-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.mockups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    justify-items: center;
    padding: 0 40px;
}

.phone-mockup {
    perspective: 1200px;
    animation: slideUp 0.8s ease-out backwards;
    text-align: center;
}

.phone-mockup:nth-child(1) { animation-delay: 0.3s; }
.phone-mockup:nth-child(2) { animation-delay: 0.4s; }

.phone-image {
    width: 300px;
    height: auto;
    max-width: 100%;
    border-radius: 45px;
    box-shadow: 
        0 0 60px rgba(37, 99, 235, 0.3),
        0 20px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
    display: block;
}

.phone-mockup:hover .phone-image {
    transform: translateY(-15px) scale(1.05) rotateX(5deg);
    box-shadow: 
        0 0 80px rgba(37, 99, 235, 0.4),
        0 30px 100px rgba(0, 0, 0, 0.6),
        inset 0 0 50px rgba(255, 255, 255, 0.08);
}

.phone-label {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.phone-mockup:hover .phone-label {
    color: rgba(96, 165, 250, 0.9);
}

@media (max-width: 1024px) {
    .mockups-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 40px;
        padding: 0 20px;
    }

    .phone-image {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .mobile-mockups-section {
        margin-top: 60px;
    }

    .mockups-title {
        font-size: 1.5rem;
    }

    .mockups-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 320px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .phone-image {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .mobile-mockups-section {
        margin-top: 40px;
    }

    .mockups-title {
        font-size: 1.3rem;
    }

    .mockups-grid {
        gap: 30px;
    }

    .phone-image {
        width: 240px;
        border-radius: 32px;
    }

    .phone-label {
        font-size: 0.9rem;
    }
}

/* Remove old CSS styles that are no longer needed */

.app-card-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.app-info {
    flex: 1;
    text-align: left;
}

.app-image-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 300px;
}

.app-icon-image-angled {
    width: 280px;
    height: 280px;
    object-fit: contain;
    transform: rotate(-15deg) scale(1.1);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon-image-angled {
    transform: rotate(-15deg) scale(1.15);
}

@media (max-width: 768px) {
    .app-card-content {
        flex-direction: column;
        gap: 20px;
    }

    .app-image-container {
        min-width: 200px;
        order: -1;
    }

    .app-icon-image-angled {
        width: 200px;
        height: 200px;
    }
}