:root {
    --primary-color: #0052D9;
    --primary-hover: #003EB3;
    --text-color: #1D2129;
    --text-secondary: #4E5969;
    --bg-color: #FFFFFF;
    --bg-secondary: #F2F3F5;
    --border-color: #E5E6EB;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.btn-download-nav {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.btn-download-nav:hover {
    background-color: var(--primary-hover);
}

/* Hero Section */
.hero {
    padding: 120px 20px 80px;
    text-align: center;
    background: linear-gradient(180deg, #F0F5FF 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-visual {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    max-width: 1200px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    filter: blur(40px);
    animation: backgroundPulse 10s ease-in-out infinite alternate;
}

.dreamy-element {
    width: 100%;
    height: auto;
}

@keyframes backgroundPulse {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.1) rotate(5deg); opacity: 0.5; }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding-top: 40px;
}

/* Add a floating image element below the button as well */
.hero-main-visual {
    margin-top: 40px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.hero-main-visual img {
    max-width: 800px;
    width: 90%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 82, 217, 0.15);
    animation: mainFloat 6s ease-in-out infinite;
}

@keyframes mainFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #0052D9 0%, #2E7DFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-hero {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 82, 217, 0.2);
}

.btn-hero:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 82, 217, 0.3);
}

/* Features */
.features {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 18px;
    color: var(--text-secondary);
}

.feature-media {
    flex: 1.2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-media img, .feature-media video {
    width: 100%;
    display: block;
}

/* Footer */
footer {
    background-color: #1D2129;
    color: #86909C;
    padding: 60px 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    font-size: 14px;
}

.copyright {
    font-size: 12px;
}

/* Download Page Specific */
.download-section {
    padding: 80px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.download-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.download-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.btn-download {
    display: inline-block;
    margin-top: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 500;
}

/* News Page Specific */
.news-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.news-item {
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

.news-date {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.news-item p {
    color: var(--text-secondary);
}

.news-item a {
    color: var(--primary-color);
    display: inline-block;
    margin-top: 10px;
}
