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

.logo-text, p, h1, h2, h3, h4, h5, h6 {
    cursor: default;
}
  
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --orange-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    --green-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --blue-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --purple-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --text-color: #1a1a1a;
    --secondary-text: #666;
    --white: #ffffff;
    --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 30px 60px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

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

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    transition: var(--transition);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    background: var(--primary-gradient);
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    background: var(--secondary-gradient);
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 20%;
    background: var(--accent-gradient);
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    background: var(--orange-gradient);
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 60%;
    background: var(--green-gradient);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--text-color);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--secondary-text);
    margin-bottom: 48px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    position: relative;
}

.btn-outline {
    position: relative;
}

.btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    background: linear-gradient(45deg, #667eea, #764ba2) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.btn-secondary:hover .btn-border {
    opacity: 1;
}

.btn-secondary:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 24px 48px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat {
    text-align: center;
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary-text);
    font-weight: 600;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-screenshot {
    position: relative;
    width: 320px;
    height: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}

.hero-screenshot:hover {
    transform: scale(1.02);
}

.main-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.3rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto 32px;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.decoration-line {
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.decoration-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-gradient);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Update.html-like hover effects */
.feature-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: 
        radial-gradient(800px 260px at 10% -10%, rgba(141,127,246,.28), transparent 45%),
        radial-gradient(700px 240px at 110% 110%, rgba(109,91,208,.28), transparent 45%),
        linear-gradient(180deg, rgba(109,91,208,.12), rgba(109,91,208,0));
    opacity: 0;
    transition: opacity .25s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: -70%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
    transform: skewX(-15deg);
    opacity: 0; pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(109,91,208,.22);
    border-color: rgba(109,91,208,.45);
}

.feature-card:hover::after { opacity: .85; }
.feature-card:hover::before { animation: wn-sheen 900ms ease; opacity: 1; }

@keyframes wn-sheen {
    0% { left: -70%; opacity: 0; }
    10% { opacity: 1; }
    100% { left: 130%; opacity: 0; }
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 2.5rem;
    color: #667eea;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
    color: #764ba2;
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--secondary-text);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Screenshots Section */
.screenshots {
    padding: 120px 0;
    background: #f8fafc;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.screenshot-image {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.screenshot-card:hover .screenshot-image img {
    transform: scale(1.02);
}

.screenshot-info {
    padding: 32px;
}

.screenshot-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.screenshot-info p {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* Themes Section - CHANGED TO WHITE */
.themes {
    padding: 120px 0;
    background: var(--white);
    color: var(--text-color);
}

.themes .section-header h2 {
    color: var(--text-color);
}

.themes .section-header p {
    color: var(--secondary-text);
}

.themes .decoration-line,
.themes .decoration-dot {
    background: var(--primary-gradient);
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.theme-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.theme-image {
    height: 350px;
    overflow: hidden;
}

.theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.theme-card:hover .theme-image img {
    transform: scale(1.02);
}

.theme-info {
    padding: 24px;
}

.theme-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.theme-info p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Download Section - CHANGED TO PURPLE */
.download {
    padding: 120px 0;
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.download-content {
    position: relative;
    z-index: 2;
}

.download-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.download-content p {
    font-size: 1.3rem;
    margin-bottom: 48px;
    opacity: 0.9;
}

.download-buttons {
    margin-bottom: 60px;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-3px);
}

.info-item i {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 80px 0 40px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo .logo-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
    font-weight: 500;
}

.footer-section a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 32px;
    text-align: center;
    color: #999;
}

.footer-bottom a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .themes-grid {
        grid-template-columns: 1fr;
    }
    
    .download-info {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-screenshot {
        width: 280px;
        height: 520px;
    }
    
    .screenshot-image {
        height: 400px;
    }
    
    .theme-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 16px 24px;
        font-size: 14px;
    }
    
    .hero-screenshot {
        width: 100%;
        height: 400px;
    }
    
    .screenshot-image {
        height: 350px;
    }
    
    .theme-image {
        height: 250px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: var(--primary-gradient);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-gradient);
    color: var(--white);
}
