/* Global Color Variables - Optimized */
:root {
    /* Base Colors */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #4facfe;
    --success-color: #43e97b;
    --error-color: #FF416C;
    --text-primary: #1a202c;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: rgba(226, 232, 240, 0.8);
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent-color) 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, var(--success-color) 0%, #38f9d7 100%);
    --background-gradient: var(--primary-gradient);
    --card-gradient: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    
    /* Shadows */
    --shadow-light: 0 4px 15px rgba(102, 126, 234, 0.15);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid var(--border-color);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    margin-left: auto; /* Push menu to the right */
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
    will-change: transform;
    border-radius: 2px;
    backface-visibility: hidden;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.hamburger:hover {
    background-color: rgba(102, 126, 234, 0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .container {
        padding: 0 15px;
        max-width: 95%;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .pricing-plans, .testimonials-grid, .app-screenshots {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pricing-card, .testimonial-card {
        width: calc(50% - 1rem);
        margin-bottom: 2rem;
    }
    
    .screenshot {
        width: calc(33.33% - 1rem);
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #1a1f35 0%, #121420 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 25px 30px;
        gap: 1.8rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        margin-left: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link::after {
        bottom: -1px;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .header.scrolled {
        padding: 12px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    p {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Navigation Improvements */
    .hamburger {
        width: 48px;
        height: 48px;
        padding: 12px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .hamburger span {
        height: 3px;
        border-radius: 2px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Mobile Section Improvements */
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .section-title span {
        font-size: 0.9rem;
        padding: 6px 16px;
        border-radius: 20px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-title p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* General Mobile Button Improvements */
    .btn, .link-btn {
        min-height: 48px;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn:active, .link-btn:active {
        transform: scale(0.98);
    }
    
    /* Mobile Card Improvements */
    .feature-card, .link-card {
        padding: 1.5rem;
        border-radius: 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .feature-card:active, .link-card:active {
        transform: scale(0.98);
    }
    
    /* Container Improvements */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .footer {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-bottom-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-links a {
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .footer-bottom-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .newsletter-form {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .newsletter-input {
        width: 100%;
        margin-bottom: 1rem;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 10px;
        min-height: 48px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero {
        padding: 3rem 0 2.5rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.2rem !important;
        text-align: center !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
        opacity: 0.9;
    }
    
    .app-badge {
        margin: 0 auto 1.5rem !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
        gap: 1rem;
        width: 100%;
    }
    
    .stat {
        margin-bottom: 0;
        padding: 1rem 1.2rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        width: 100%;
        max-width: 280px;
        text-align: center;
        backdrop-filter: blur(10px);
    }
    
    .pricing-card, .testimonial-card {
        width: 100%;
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .screenshot {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 2rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0;
        text-align: center;
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 12px;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    
    .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .feature-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer {
        padding-top: 2.5rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--background-gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="heroGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23heroGrid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

.hero-text {
    color: white;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-align: left;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Professional Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    font-size: 18px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* Call-to-Action Sections */
.cta-section {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ctaGrid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23ctaGrid)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
}

.feature-tag i {
    font-size: 16px;
    color: #f093fb;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-12deg) rotateX(3deg) scale(1.02);
    filter: drop-shadow(0 20px 40px rgba(102, 126, 234, 0.2));
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 35px;
    padding: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #34495e;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.app-menu {
    font-size: 1.2rem;
    font-weight: bold;
}

.app-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pdf-preview {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pdf-page {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f1f3f4 25%, transparent 25%), 
                linear-gradient(-45deg, #f1f3f4 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f1f3f4 75%), 
                linear-gradient(-45deg, transparent 75%, #f1f3f4 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: 8px;
    position: relative;
    border: 2px solid #e0e0e0;
}

.crop-overlay {
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    border: 2px dashed #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.crop-handles {
    position: relative;
    width: 100%;
    height: 100%;
}

.handle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #667eea;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.handle.top-left { top: -4px; left: -4px; }
.handle.top-right { top: -4px; right: -4px; }
.handle.bottom-left { bottom: -4px; left: -4px; }
.handle.bottom-right { bottom: -4px; right: -4px; }

.app-tools {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
}

.tool {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tool.active {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.phone-shadow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
}

/* Floating Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 600;
}

.highlight i {
    font-size: 1.2rem;
}

/* Features Section */
.features {
    padding: 140px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.features-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation-delay: -7s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 70%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.section-badge i {
    font-size: 16px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section-header .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.section-description {
    font-size: 1.3rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Featured Main Card */
.featured-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradient-flow 3s ease-in-out infinite;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.featured-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.featured-icon {
    flex-shrink: 0;
}

.icon-orbit {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: orbit 10s linear infinite;
}

.orbit-ring:first-child {
    width: 100%;
    height: 100%;
}

.orbit-ring-2 {
    width: 80%;
    height: 80%;
    border-color: rgba(118, 75, 162, 0.3);
    animation-direction: reverse;
    animation-duration: 15s;
}

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.icon-orbit i {
    font-size: 40px;
    color: #667eea;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6));
}

.featured-text h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.featured-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 30px;
}

.featured-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .feature-card {
        margin: 0;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.feature-header {
    padding: 30px 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feature-icon {
    position: relative;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(102, 126, 234, 0.6);
    border-radius: 18px;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.icon-wrapper i {
    font-size: 28px;
    color: white;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.feature-badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
}

.feature-content {
    padding: 0 30px 30px;
}

.feature-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-content p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.highlight-item i {
    color: #667eea;
    font-size: 12px;
    filter: drop-shadow(0 0 4px rgba(102, 126, 234, 0.5));
}

/* Hover animations for specific features */
.feature-card[data-feature="save"]:hover .icon-wrapper {
    animation: bounce 0.6s ease-in-out;
}

.feature-card[data-feature="manage"]:hover .icon-wrapper {
    animation: shake 0.6s ease-in-out;
}

.feature-card[data-feature="privacy"]:hover .icon-wrapper {
    animation: shield-glow 0.8s ease-in-out;
}

.feature-card[data-feature="speed"]:hover .icon-wrapper {
    animation: speed-boost 0.5s ease-in-out;
}

.feature-card[data-feature="share"]:hover .icon-wrapper {
    animation: share-pulse 0.7s ease-in-out;
}

.feature-card[data-feature="ai"]:hover .icon-wrapper {
    animation: ai-think 1s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes shield-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 10px 30px rgba(102, 126, 234, 0.8), 0 0 20px rgba(102, 126, 234, 0.6); }
}

@keyframes speed-boost {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes share-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes ai-think {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Important Links Section */
.important-links {
    padding: 100px 0;
    background: #f8fafc;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.link-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
}

.link-icon {
    width: 70px;
    height: 70px;
    background: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.link-icon i {
    font-size: 1.8rem;
    color: #0284c7;
}

.link-card h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.link-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.link-btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.link-btn:hover {
    background: #1d4ed8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    align-items: start;
}

@media screen and (max-width: 768px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        padding: 0 10px;
    }
    
    .footer-section {
        width: 100%;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.2rem;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .footer-section h3 {
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .footer-links a {
        padding: 8px 0;
        font-size: 0.95rem;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    color: #667eea;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.footer-links {
    display: contents;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.75rem;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.875rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 15px;
}

.footer-section ul li a:hover::before {
    width: 10px;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-direction: column;
}

.newsletter-input {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
}

.app-badges {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

.app-badge-link {
    display: block;
    transition: transform 0.3s ease;
}

.app-badge-link:hover {
    transform: translateY(-2px);
}

.app-badge-link img {
    width: 120px;
    height: auto;
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Optimized Animations with will-change */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        will-change: auto !important;
    }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
.hero-text {
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.hero-mockup {
    animation: fadeInRight 1s ease-out 0.5s both;
}

.app-badge {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-features {
    animation: fadeInUp 1s ease-out 1.2s both;
}

/* Phone mockup animations */
.phone-mockup {
    animation: float 6s ease-in-out infinite;
}

.phone-mockup:hover {
    animation-play-state: paused;
    transform: scale(1.02);
}

/* Feature card stagger animation */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card: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; }

/* Button hover animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Icon animations */
.icon-wrapper {
    position: relative;
    overflow: hidden;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s;
    opacity: 0;
}

.feature-card:hover .icon-wrapper::after {
    transform: rotate(45deg) translate(50%, 50%);
    opacity: 1;
}

/* Navigation animations */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

/* Loading animation for images */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Parallax effect for background elements */
.floating-element {
    animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 10s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 12s;
}

/* Hover effects for social links */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    transform: scale(1);
}

/* Stagger animation for footer sections */
.footer-section:nth-child(1) { animation: fadeInUp 0.8s ease-out 0.1s both; }
.footer-section:nth-child(2) { animation: fadeInUp 0.8s ease-out 0.2s both; }
.footer-section:nth-child(3) { animation: fadeInUp 0.8s ease-out 0.3s both; }
.footer-section:nth-child(4) { animation: fadeInUp 0.8s ease-out 0.4s both; }
.footer-section:nth-child(5) { animation: fadeInUp 0.8s ease-out 0.5s both; }

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .phone-mockup {
        animation: none;
    }
    
    .floating-element {
        animation: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-top: 1px solid var(--border-color);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
    }

    .nav {
        padding: 1rem;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-top: 2rem; /* Add space to prevent overlap with header */
    }

    .phone-mockup {
        transform: perspective(800px) rotateY(-10deg) rotateX(3deg) scale(0.8);
    }

    .phone-mockup:hover {
        transform: perspective(800px) rotateY(-8deg) rotateX(2deg) scale(0.82);
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* Features Section Mobile Styles */
    .features {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .section-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .floating-shapes {
        display: none; /* Hide floating shapes on mobile for better performance */
    }

    .featured-card {
        padding: 30px 20px;
        margin-bottom: 40px;
        border-radius: 20px;
    }

    .featured-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .icon-orbit {
        width: 80px;
        height: 80px;
    }

    .icon-orbit i {
        font-size: 28px;
    }

    .featured-text h3 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .featured-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .featured-stats {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        margin: 0 10px;
    }

    .feature-header {
        padding: 25px 25px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .feature-icon {
        align-self: center;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }

    .icon-wrapper i {
        font-size: 24px;
    }

    .feature-badge {
        align-self: center;
        padding: 4px 12px;
        font-size: 11px;
    }

    .feature-content {
        padding: 0 25px 25px;
        text-align: center;
    }

    .feature-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .feature-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .feature-highlights {
        gap: 6px;
    }

    .highlight-item {
        font-size: 0.8rem;
        justify-content: center;
    }

    .highlight-item i {
        font-size: 10px;
    }

    /* Reduce hover effects on mobile for better performance */
    .feature-card:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .about-highlights {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-input {
        width: 100%;
    }

    .app-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Features Section Extra Small Mobile */
    .features {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 1.5rem;
    }

    .featured-card {
        padding: 25px 15px;
        margin: 0 5px 30px;
    }

    .featured-content {
        gap: 20px;
    }

    .icon-orbit {
        width: 70px;
        height: 70px;
    }

    .icon-orbit i {
        font-size: 24px;
    }

    .featured-text h3 {
        font-size: 1.4rem;
    }

    .featured-text p {
        font-size: 0.95rem;
    }

    .featured-stats {
        gap: 15px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .features-grid {
        gap: 18px;
        padding: 0 5px;
    }

    .feature-card {
        margin: 0;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .feature-header {
        padding: 24px 24px 12px;
        gap: 16px;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
        border: 1px solid rgba(102, 126, 234, 0.3);
    }

    .icon-wrapper i {
        font-size: 24px;
    }

    .feature-badge {
        padding: 4px 12px;
        font-size: 11px;
        font-weight: 600;
        border-radius: 8px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
    }

    .feature-content {
        padding: 0 24px 24px;
    }

    .feature-content h3 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .feature-content p {
        font-size: 0.9rem;
        margin-bottom: 16px;
        line-height: 1.5;
        opacity: 0.9;
    }

    .feature-highlights {
        gap: 8px;
    }

    .highlight-item {
        font-size: 0.8rem;
        padding: 6px 12px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        backdrop-filter: blur(10px);
    }

    .feature-card,
    .link-card {
        padding: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.link-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
.link-btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}