/* Base Styles */
:root {
    --primary-color: #5C6BC0;
    --primary-dark: #3949AB;
    --secondary-color: #26C6DA;
    --dark-color: #1E293B;
    --light-color: #F8FAFC;
    --gray-color: #64748B;
    --success-color: #10B981;
    --gradient-primary: linear-gradient(135deg, #5C6BC0 0%, #3949AB 100%);
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    
    /* New variables for improved design system */
    --text-color: #334155;
    --text-light: #64748B;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --card-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
    --focus-ring: 0 0 0 3px rgba(92, 107, 192, 0.4);
    
    /* New additional variables */
    --font-sans: 'Inter', 'Roboto', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Source Code Pro', monospace;
    --backdrop-blur: blur(10px);

    /* Background colors for content sections */
    --bg-white: white; 
    --bg-light: var(--light-color);
    --features-bg: var(--bg-white);
    --how-it-works-bg: var(--bg-light);
    --app-showcase-bg: var(--bg-white);
    --testimonials-bg: linear-gradient(120deg, rgba(92, 107, 192, 0.03) 0%, rgba(57, 73, 171, 0.06) 100%);
    --pricing-bg: var(--bg-white);
    --download-bg: linear-gradient(135deg, rgba(92, 107, 192, 0.1) 0%, rgba(38, 198, 218, 0.1) 100%);
    --footer-bg: var(--bg-white);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    min-height: 100%;
    transition: background-color 0.3s ease;
}

/* Prevent flash when switching themes */
html.dark-mode {
    background-color: var(--dark-color);
}

body {
    font-family: var(--font-sans);
    line-height: 1.8;
    color: var(--text-color);
    background-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

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

section {
    padding: 6rem 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 3rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: #5C6BC0;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #4F5CAC;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(92, 107, 192, 0.3);
}

.btn-primary:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(92, 107, 192, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(92, 107, 192, 0.1);
}

.btn-secondary:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(92, 107, 192, 0.1);
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: left 0.7s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    left: 100%;
}

.btn-disabled {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 3rem;
    font-weight: 500;
    text-align: center;
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    border: 2px solid #ced4da;
    font-size: 1rem;
}

.availability-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray-color);
    font-style: italic;
}

.highlight {
    color: var(--primary-color);
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 2.5rem;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 3rem;
    transition: all 0.3s ease;
}

.nav-links a.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(92, 107, 192, 0.2);
}

.nav-links a.btn-primary::after {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Improved Mobile Menu */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    header {
        padding: 5px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        margin: 10px 0;
        width: 100%;
        padding: 10px;
    }
    
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1000;
    }
    
    .theme-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    body.dark-mode .nav-links {
        background-color: #2d3748;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-left: 0;
        margin-bottom: 50px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h1 .highlight {
        font-size: 3.2rem;
    }
    
    .hero-content h1 .secondary-highlight {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-device-mockups {
        padding-top: 0;
        height: 400px;
    }
    
    .mockup-main {
        animation: 
            float-up 0.8s ease forwards,
            gentle-float 6s ease-in-out infinite 0.8s,
            rotate-main 8s ease-in-out infinite 1s;
        width: 240px;
    }
    
    .mockup-secondary {
        animation: 
            float-up 0.8s ease forwards,
            rotate-secondary 9s ease-in-out infinite 1.5s;
        opacity: 1;
        width: 190px;
        left: -40px;
        top: 10px;
    }
    
    .mockup-tertiary {
        animation: 
            float-up 0.8s ease forwards,
            rotate-tertiary 10s ease-in-out infinite 2s;
        opacity: 1;
        width: 180px;
        top: 80px;
        right: -10px;
    }
    
    /* Adjust hover effect for mobile devices that support hover */
    @media (hover: hover) {
        .device-mockup:hover {
            transform: scale(1.03);
        }
        
        .device-mockup:hover img {
            transform: scale(1.05);
        }
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 10px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .testimonial-author img {
        width: 40px;
        height: 40px;
    }
    
    .footer-column {
        flex: 1 0 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Fix for dynamic background on small screens */
    .dynamic-bg {
        background-size: 300% 300%;
    }
    
    /* Adjust particles for better mobile performance */
    #particles-container {
        opacity: 0.5;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-links {
        height: -webkit-fill-available;
    }
    
    .dynamic-bg {
        height: -webkit-fill-available;
    }
    
    #particles-container {
        height: -webkit-fill-available;
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .feature-card:hover,
    .pricing-card:hover,
    .download-btn:hover,
    .social-links a:hover,
    .hero:hover, 
    .features:hover, 
    .how-it-works:hover, 
    .app-showcase:hover, 
    .testimonials:hover, 
    .pricing:hover, 
    .download:hover {
        transform: none;
        box-shadow: var(--box-shadow);
    }
    
    .btn-primary:active,
    .btn-secondary:active,
    .download-btn:active,
    .social-links a:active {
        transform: scale(0.98);
    }
    
    .nav-links a:not(.active):hover::after {
        transform: scaleX(0);
    }
    
    .nav-links a:not(.active):active::after {
        transform: scaleX(0.5);
    }
}

/* Hero Section - Supports both light and dark modes */
.hero {
    position: relative;
    padding: 80px 0 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--text-color);
    min-height: 80vh;
    display: flex;
    align-items: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(92, 107, 192, 0.08), transparent 70%),
                radial-gradient(circle at bottom left, rgba(38, 198, 218, 0.03), transparent 70%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-left: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    display: block;
    font-size: 4.2rem;
    margin: 0.3rem 0;
}

.hero-content h1 .secondary-highlight {
    color: var(--text-light);
    display: block;
    margin-top: 0.3rem;
    font-size: 3.8rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-outline {
    background: rgba(92, 107, 192, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(92, 107, 192, 0.2);
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 500;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(92, 107, 192, 0.12);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Dark mode button styles */
body.dark-mode .btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.hero-device-mockups {
    flex: 1;
    max-width: 720px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0;
    height: 550px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.device-mockup {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
    will-change: transform;
    cursor: pointer;
    transform-style: preserve-3d;
}

.device-mockup img {
    transition: transform 0.5s ease;
    will-change: transform;
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(92, 107, 192, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(92, 107, 192, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(92, 107, 192, 0);
    }
}

.device-mockup:hover img {
    transform: scale(1.08);
}

/* Add slight 3D effect on hover */
.device-mockup:hover {
    transform: perspective(1000px) rotateY(15deg) scale(1.05);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.25);
    z-index: 5;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.3));
    animation: pulse 1.5s infinite;
}

/* Entry animations for device mockups */
@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-in-left {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float-in-right {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add continuous subtle floating animation */
@keyframes gentle-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes gentle-float-delay {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes gentle-float-more-delay {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Add rotation animations for each device */
@keyframes rotate-main {
    0% { transform: rotateY(0deg) rotateZ(0deg); }
    25% { transform: rotateY(3deg) rotateZ(0.5deg); }
    50% { transform: rotateY(0deg) rotateZ(0deg); }
    75% { transform: rotateY(-3deg) rotateZ(-0.5deg); }
    100% { transform: rotateY(0deg) rotateZ(0deg); }
}

@keyframes rotate-secondary {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    33% { transform: rotateY(-3deg) rotateX(1deg); }
    66% { transform: rotateY(2deg) rotateX(-1deg); }
    100% { transform: rotateY(0deg) rotateX(0deg); }
}

@keyframes rotate-tertiary {
    0% { transform: rotateY(0deg) rotateZ(0deg); }
    25% { transform: rotateY(4deg) rotateZ(-0.5deg); }
    75% { transform: rotateY(-2deg) rotateZ(0.5deg); }
    100% { transform: rotateY(0deg) rotateZ(0deg); }
}

.mockup-main {
    width: 300px;
    z-index: 3;
    position: relative;
    top: 0;
    left: 0;
    animation: 
        float-up 0.8s ease forwards,
        gentle-float 6s ease-in-out infinite 0.8s,
        rotate-main 8s ease-in-out infinite 1s;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.mockup-secondary {
    width: 280px;
    position: absolute;
    top: 15px;
    left: -100px;
    z-index: 1;
    animation: 
        float-in-left 0.8s ease 0.2s forwards,
        gentle-float-delay 7s ease-in-out infinite 1s,
        rotate-secondary 9s ease-in-out infinite 1.5s;
    opacity: 0;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.mockup-tertiary {
    width: 260px;
    position: absolute;
    top: 100px;
    right: -40px;
    z-index: 2;
    animation: 
        float-in-right 0.8s ease 0.4s forwards,
        gentle-float-more-delay 8s ease-in-out infinite 1.2s,
        rotate-tertiary 10s ease-in-out infinite 2s;
    opacity: 0;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Add a reflection effect to enhance 3D appearance */
.device-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(0, 0, 0, 0.1) 80%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 3;
}

.mockup-main:hover::before,
.mockup-secondary:hover::before,
.mockup-tertiary:hover::before {
    animation: shine 1.5s ease-in-out;
    opacity: 1;
}

@keyframes shine {
    0% { left: -100%; opacity: 0; }
    20% { opacity: 1; }
    100% { left: 150%; opacity: 0; }
}

/* Add a shine effect during rotation */
.device-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-device-mockups {
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Add option to reduce motion for accessibility */
@media (prefers-reduced-motion) {
    .mockup-main, .mockup-secondary, .mockup-tertiary {
        animation: none !important;
        opacity: 1;
    }
    
    .device-mockup:hover {
        transform: scale(1.03);
        animation: none !important;
    }
    
    .device-mockup:hover img {
        transform: scale(1.05);
    }
    
    .device-mockup::before {
        display: none;
    }
}

/* Dark mode specific styles for hero section */
body.dark-mode .hero {
    background: linear-gradient(135deg, #0c1525 0%, #111d2e 100%);
}

body.dark-mode .hero-content h1 {
    color: #fff;
}

body.dark-mode .hero-content h1 .secondary-highlight {
    color: #94a3b8;
}

body.dark-mode .hero-content p {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h1 .highlight {
        font-size: 3.7rem;
    }
    
    .hero-content h1 .secondary-highlight {
        font-size: 3.3rem;
    }
    
    .hero-device-mockups {
        margin-top: 2rem;
        justify-content: center;
        height: 500px;
    }
    
    .mockup-secondary {
        left: -80px;
    }
    
    .mockup-tertiary {
        right: -60px;
    }
}

/* Update smaller screen sizes mockup */
@media (max-width: 576px) {
    .hero-device-mockups {
        height: 350px;
    }
    
    .mockup-main {
        width: 220px;
    }
    
    .mockup-secondary {
        width: 170px;
        left: -30px;
    }
    
    .mockup-tertiary {
        width: 160px;
        right: 0;
    }
}

/* Features Section */
.features {
    background-color: var(--features-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(92, 107, 192, 0.1) 0%, rgba(92, 107, 192, 0.2) 100%);
    color: var(--primary-color);
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--how-it-works-bg);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* App Showcase Section */
.app-showcase {
    background-color: var(--app-showcase-bg);
}

.app-showcase .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.showcase-content {
    flex: 1;
}

.showcase-image {
    flex: 1;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--success-color);
    margin-right: 10px;
}

/* Testimonials Section */
.testimonials {
    position: relative;
    padding: 100px 0;
    background: var(--testimonials-bg);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.testimonial-prev,
.testimonial-next {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
    color: white;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.5rem 2rem;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 auto;
    width: calc(100% - 2rem);
    max-width: 500px;
    scroll-snap-align: center;
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
}

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

.testimonial::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 5rem;
    line-height: 1;
    color: rgba(92, 107, 192, 0.1);
    font-family: Georgia, serif;
    z-index: 1;
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
    z-index: 2;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(92, 107, 192, 0.1);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Pricing Section */
.pricing {
    background-color: var(--pricing-bg);
}

.pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 3rem 2rem;
    max-width: 350px;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(92, 107, 192, 0.1);
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow);
}

.pricing-card.featured:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -15px rgba(92, 107, 192, 0.25);
}

.popular-tag {
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    width: 150px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(38, 198, 218, 0.3);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.pricing-features {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pricing-features .fa-check {
    color: var(--success-color);
}

.pricing-features .fa-times {
    color: var(--gray-color);
}

.pricing-card .btn-secondary,
.pricing-card .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    z-index: 1;
}

/* Download Section */
.download {
    position: relative;
    padding: 120px 0;
    background: var(--download-bg);
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(92, 107, 192, 0.2) 0%, rgba(38, 198, 218, 0.2) 100%);
    opacity: 0.7;
    z-index: 0;
}

.download::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(38, 198, 218, 0.2) 0%, rgba(92, 107, 192, 0.2) 100%);
    opacity: 0.5;
    z-index: 0;
}

.download .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.download h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    color: var(--dark-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    min-width: 220px;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.download-btn i {
    font-size: 2rem;
}

.download-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-btn span:first-child {
    font-size: 0.8rem;
    opacity: 0.8;
}

.store-name {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(92, 107, 192, 0.03), transparent 60%),
                radial-gradient(circle at bottom left, rgba(38, 198, 218, 0.03), transparent 60%);
    z-index: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column {
    min-width: 180px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.footer-column a {
    display: block;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(92, 107, 192, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(92, 107, 192, 0.2);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.support-email {
    font-size: 0.9rem;
}

.support-email a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.support-email a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.visible {
    animation: fadeInUp 0.6s forwards;
}

/* Staggered animations for cards */
.feature-card:nth-child(1),
.step:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2),
.step:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3),
.step:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4),
.step:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .app-showcase .container {
        flex-direction: column;
    }
    
    .showcase-content {
        margin-bottom: 50px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Dark Mode */
body.dark-mode {
    /* Update CSS variables for dark mode */
    --bg-white: #1e293b;
    --bg-light: #0f172a;
    --features-bg: var(--bg-white);
    --how-it-works-bg: var(--bg-light);
    --app-showcase-bg: var(--bg-white);
    --testimonials-bg: linear-gradient(120deg, rgba(92, 107, 192, 0.08) 0%, rgba(57, 73, 171, 0.12) 100%);
    --pricing-bg: var(--bg-white);
    --download-bg: linear-gradient(135deg, rgba(92, 107, 192, 0.15) 0%, rgba(38, 198, 218, 0.15) 100%);
    --footer-bg: #1e293b;
    
    background-color: var(--dark-color);
    color: #f8fafc;
}

body.dark-mode * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode main, 
body.dark-mode section, 
body.dark-mode div:not(.dynamic-bg):not(.particle) {
    background-color: transparent;
}

/* Ensure main-content has proper dark mode styling */
body.dark-mode #main-content {
    background-color: transparent;
    color: #f8fafc;
}

/* Ensure text color is properly set */
body.dark-mode p,
body.dark-mode li:not(.pricing-features li),
body.dark-mode a:not(.btn-primary):not(.social-links a),
body.dark-mode span:not(.highlight):not(.price) {
    color: #94a3b8;
}

/* Fix border colors */
body.dark-mode .pricing-card,
body.dark-mode .testimonial,
body.dark-mode .step {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode header {
    background-color: rgba(30, 41, 59, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.dark-mode .logo span,
body.dark-mode .nav-links a:not(.btn-primary) {
    color: #f8fafc;
}

body.dark-mode .feature-card,
body.dark-mode .testimonial,
body.dark-mode .pricing-card,
body.dark-mode .step,
body.dark-mode .testimonial-prev,
body.dark-mode .testimonial-next,
body.dark-mode .download-btn {
    background-color: #1e293b;
    color: #f8fafc;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body.dark-mode .feature-icon {
    background: linear-gradient(135deg, rgba(92, 107, 192, 0.15) 0%, rgba(92, 107, 192, 0.3) 100%);
    color: #a5b4fc;
}

body.dark-mode .testimonial-author p,
body.dark-mode .pricing-header p,
body.dark-mode .feature-card p,
body.dark-mode .hero-content p,
body.dark-mode p,
body.dark-mode .footer-column a {
    color: #94a3b8;
}

body.dark-mode .footer-column h4,
body.dark-mode .pricing-header h3,
body.dark-mode .feature-card h3,
body.dark-mode h1, 
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #f8fafc;
}

body.dark-mode .btn-secondary {
    border-color: #a5b4fc;
    color: #a5b4fc;
}

body.dark-mode .btn-secondary:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

body.dark-mode .download h2 {
    background: linear-gradient(135deg, #a5b4fc 0%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .footer-content, 
body.dark-mode .footer-bottom {
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode footer::before {
    background: radial-gradient(circle at top right, rgba(92, 107, 192, 0.05), transparent 60%),
                radial-gradient(circle at bottom left, rgba(38, 198, 218, 0.05), transparent 60%);
}

body.dark-mode .social-links a {
    background-color: rgba(92, 107, 192, 0.15);
    color: #a5b4fc;
}

body.dark-mode .social-links a:hover {
    background-color: var(--primary-color);
    color: #f8fafc;
}

body.dark-mode .testimonial::before {
    color: rgba(92, 107, 192, 0.15);
}

body.dark-mode .pricing-card.featured {
    border-color: rgba(92, 107, 192, 0.2);
}

body.dark-mode .pricing-features i.fa-check {
    color: #34d399;
}

body.dark-mode .pricing-features i.fa-times {
    color: #94a3b8;
}

body.dark-mode .availability-note {
    color: #94a3b8;
}

body.dark-mode .btn-disabled {
    background-color: #334155;
    color: #94a3b8;
    border-color: #475569;
}

body.dark-mode .theme-toggle {
    color: #f8fafc;
}

body.dark-mode .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Theme Toggle Button - Updated */
.theme-toggle {
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 20px;
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: rotate(15deg);
}

.theme-toggle:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

body.dark-mode .theme-toggle {
    color: var(--light-color);
}

body.dark-mode .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.testimonial-prev,
.testimonial-next {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.testimonial-prev:active,
.testimonial-next:active {
    transform: translateY(-1px);
}

body.dark-mode .testimonial-prev,
body.dark-mode .testimonial-next {
    background-color: var(--dark-color);
    color: var(--light-color);
}

/* Improved Testimonial Slider */
.testimonial-slider {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: hidden;
    padding: var(--spacing-md) 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 100%;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow);
    scroll-snap-align: center;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .testimonial {
        flex: 0 0 calc(50% - var(--spacing-lg));
    }
}

@media (min-width: 992px) {
    .testimonial {
        flex: 0 0 calc(33.333% - var(--spacing-lg));
    }
}

/* Accessibility Improvements */
:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 1001;
    transition: top 0.3s;
    border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
    top: 0;
}

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

/* Dynamic Background */
.dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    background: linear-gradient(120deg, #f8fafc 0%, #f1f5f9 100%);
    opacity: 0.8;
    transition: background 0.5s ease, opacity 0.5s ease;
}

/* Updated dark mode dynamic background with higher opacity */
body.dark-mode .dynamic-bg {
    background: linear-gradient(120deg, #0f172a 0%, #1e293b 100%);
    opacity: 0.95;
}

.particle {
    position: fixed;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -4;
}

body.dark-mode .particle {
    opacity: 0.15;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Add a subtle shimmer effect to sections */
.hero, .features, .how-it-works, .app-showcase, .testimonials, .pricing, .download {
    position: relative;
    overflow: hidden;
}

.hero::after, .features::after, .how-it-works::after, 
.app-showcase::after, .testimonials::after, .pricing::after, 
.download::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shimmer 10s infinite linear;
    pointer-events: none;
}

body.dark-mode .hero::after, 
body.dark-mode .features::after, 
body.dark-mode .how-it-works::after, 
body.dark-mode .app-showcase::after, 
body.dark-mode .testimonials::after, 
body.dark-mode .pricing::after, 
body.dark-mode .download::after {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.01) 50%, 
        rgba(255, 255, 255, 0) 100%);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Make sure the animations are mobile friendly */
@media (max-width: 768px) {
    .mockup-main {
        animation: 
            float-up 0.8s ease forwards,
            gentle-float 6s ease-in-out infinite 0.8s,
            rotate-main 8s ease-in-out infinite 1s;
        width: 240px;
    }
    
    .mockup-secondary {
        animation: 
            float-up 0.8s ease forwards,
            rotate-secondary 9s ease-in-out infinite 1.5s;
        opacity: 1;
        width: 190px;
        left: -40px;
        top: 10px;
    }
    
    .mockup-tertiary {
        animation: 
            float-up 0.8s ease forwards,
            rotate-tertiary 10s ease-in-out infinite 2s;
        opacity: 1;
        width: 180px;
        top: 80px;
        right: -10px;
    }
    
    /* Adjust hover effect for mobile devices that support hover */
    @media (hover: hover) {
        .device-mockup:hover {
            transform: scale(1.03);
        }
        
        .device-mockup:hover img {
            transform: scale(1.05);
        }
    }
}

/* Add option to reduce motion for accessibility */
@media (prefers-reduced-motion) {
    .mockup-main, .mockup-secondary, .mockup-tertiary {
        animation: none !important;
        opacity: 1;
    }
    
    .device-mockup:hover {
        transform: scale(1.03);
        animation: none !important;
    }
    
    .device-mockup:hover img {
        transform: scale(1.05);
    }
    
    .device-mockup::before {
        display: none;
    }
} 