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

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --success: #43e97b;
    --text: #e2e8f0;
    --text-light: #a0aec0;
    --bg: #0f1419;
    --bg-light: #1a202c;
    --bg-card: #1e2936;
    --border: #2d3748;
    --glow: rgba(102, 126, 234, 0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text);
    background: var(--bg);
    background-image:
        radial-gradient(at 0% 0%, rgba(102, 126, 234, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(118, 75, 162, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(67, 233, 123, 0.1) 0px, transparent 50%);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 0%, var(--bg) 50%, transparent 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(102, 126, 234, 0.03) 2px, rgba(102, 126, 234, 0.03) 4px);
    pointer-events: none;
    z-index: 1;
}

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


/* Header & Navigation */
.header {
    padding: 2rem 5%;
    background: rgba(15, 20, 25, 0.8);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: font-size 0.3s ease;
}

.header.scrolled .logo {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease, font-size 0.3s ease;
    position: relative;
}

.header.scrolled .nav-links a {
    font-size: 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Badge Component */
.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 8rem 2rem 6rem;
    align-items: center;
    min-height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.title-line {
    display: inline-block;
    animation: slideIn 0.6s ease backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    animation: fadeIn 0.8s ease 0.5s backwards;
    line-height: 1.8;
    max-width: 600px;
}

/* Stats Section */
.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeIn 1s ease 0.9s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cta-button {
    padding: 1.125rem 2.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.8s ease 0.7s backwards;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.cta-button::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 ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateY(2px);
}

/* Unsupported Device Message */
.unsupported-message {
    padding: 1.125rem 2.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.2);
    animation: fadeIn 0.8s ease 0.7s backwards;
    margin: 0;
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 550px;
}

.floating-card {
    position: absolute;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2), inset 0 0 40px rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.floating-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(102, 126, 234, 0.4);
}

.card-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6));
}

.card-1 {
    width: 220px;
    height: 270px;
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.card-2 {
    width: 200px;
    height: 240px;
    top: 150px;
    right: 80px;
    animation-delay: 2s;
}

.card-3 {
    width: 180px;
    height: 220px;
    bottom: 80px;
    left: 180px;
    animation-delay: 4s;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: 10%;
    right: 10%;
    animation-delay: 1s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.1), transparent);
    pointer-events: none;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.6), rgba(30, 41, 54, 0.4));
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.4), 0 0 0 1px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Showcase Section */
.showcase-section {
    padding: 6rem 2rem;
    background: var(--bg);
    position: relative;
}

.showcase-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(circle at 50% 100%, rgba(118, 75, 162, 0.1), transparent);
    pointer-events: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.showcase-card {
    padding: 2.5rem;
    background: linear-gradient(145deg, rgba(26, 32, 44, 0.6), rgba(15, 20, 25, 0.4));
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.showcase-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.5), 0 0 0 2px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.showcase-icon {
    font-size: 3rem;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.4));
}

.showcase-card:hover .showcase-icon {
    transform: scale(1.15) rotate(-5deg);
}

.showcase-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.showcase-features {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.showcase-features li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.showcase-features li:hover {
    padding-left: 2.5rem;
    color: var(--primary);
}

.showcase-features li:last-child {
    border-bottom: none;
}

.showcase-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.showcase-features li:hover::before {
    transform: scale(1.2) rotate(360deg);
}

/* Interactive Section */
.interactive-section {
    padding: 6rem 2rem;
}

.interactive-demo {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

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

.color-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #2d3748;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.color-box:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.color-box:nth-child(1) { background: #667eea; }
.color-box:nth-child(2) { background: #f093fb; }
.color-box:nth-child(3) { background: #4facfe; }
.color-box:nth-child(4) { background: #00f2fe; }
.color-box:nth-child(5) { background: #43e97b; }

.demo-card {
    padding: 3.5rem;
    background: linear-gradient(145deg, rgba(26, 32, 44, 0.6), rgba(15, 20, 25, 0.4));
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 60px rgba(102, 126, 234, 0.05);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.demo-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.demo-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.download-icon-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.download-icon {
    font-size: 4rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.6));
}

.download-button {
    padding: 1.125rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 2rem 0 1.5rem 0;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    z-index: 1;
}

.download-button::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 ease;
}

.download-button:hover::before {
    left: 100%;
}

.download-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
}

.download-button:active {
    transform: translateY(-1px) scale(0.98);
}

.download-button svg {
    transition: transform 0.3s ease;
}

.download-button:hover svg {
    transform: translateY(2px);
}

.compatibility-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
}

.badge-small {
    padding: 0.5rem 1rem;
    background: rgba(26, 32, 44, 0.6);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    color: var(--text-light);
}

.badge-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-color: rgba(102, 126, 234, 0.5);
    color: var(--text);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bg);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    color: var(--text-light);
    position: relative;
}

.footer p {
    font-size: 1rem;
    font-weight: 500;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    backdrop-filter: blur(10px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-3px) scale(1.05);
}

/* Modal Component for Floating Cards */
.card-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.card-modal.active {
    opacity: 1;
}

.card-modal-content {
    background: linear-gradient(145deg, rgba(26, 32, 44, 0.95), rgba(15, 20, 25, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(102, 126, 234, 0.2);
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-modal.active .card-modal-content {
    transform: scale(1);
}

.card-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card-modal-close:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
    transform: rotate(90deg) scale(1.1);
}

.card-modal-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.6));
    animation: bounce 2s ease-in-out infinite;
}

.card-modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-modal-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

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

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

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header & Navigation */
    .header {
        padding: 1rem 1rem;
    }

    .header.scrolled {
        padding: 0.75rem 1rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .header.scrolled .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .header.scrolled .nav-links a {
        font-size: 0.85rem;
    }

    /* Badge */
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    /* Hero Section */
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem 2rem;
        gap: 2rem;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Stats */
    .stats {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .unsupported-message {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .hero-visual {
        height: 250px;
        display: none; /* Hide floating cards on mobile for cleaner look */
    }

    /* Sections */
    .features,
    .showcase-section,
    .interactive-section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    /* Showcase Grid */
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .showcase-card {
        padding: 2rem 1.5rem;
    }

    .showcase-card:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .showcase-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .showcase-icon {
        font-size: 2.5rem;
    }

    .showcase-header h3 {
        font-size: 1.4rem;
    }

    .showcase-features li {
        padding: 0.75rem 0;
        padding-left: 2rem;
        font-size: 0.95rem;
    }

    .showcase-features li:hover {
        padding-left: 2.3rem;
    }

    /* Download Section */
    .demo-card {
        padding: 2.5rem 1.5rem;
    }

    .demo-card h3 {
        font-size: 1.5rem;
    }

    .demo-card p {
        font-size: 0.95rem;
    }

    .download-icon {
        font-size: 3rem;
    }

    .download-button,
    .download-button + .unsupported-message {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 1.5rem 0 1rem 0;
    }

    .compatibility-badges {
        gap: 0.75rem;
    }

    .badge-small {
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }

    /* Color Palette */
    .color-palette {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .color-box {
        width: 50px;
        height: 50px;
    }

    /* Footer */
    .footer {
        padding: 2rem 1.5rem;
    }

    /* Modal */
    .card-modal-content {
        padding: 2.5rem 1.5rem;
        max-width: 90%;
    }

    .card-modal-close {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }

    .card-modal-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .card-modal-title {
        font-size: 1.5rem;
    }

    .card-modal-description {
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }

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

    .stats {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

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

    .feature-card,
    .showcase-card,
    .demo-card {
        padding: 1.5rem 1rem;
    }

    .download-icon {
        font-size: 2.5rem;
    }

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

    /* Modal */
    .card-modal-content {
        padding: 2rem 1rem;
        max-width: 95%;
    }

    .card-modal-icon {
        font-size: 3rem;
    }

    .card-modal-title {
        font-size: 1.3rem;
    }

    .card-modal-description {
        font-size: 0.9rem;
    }
}
