:root {
    --primary-color: hsl(223, 55%, 38%);
    --primary-light: hsl(223, 55%, 60%);
    --primary-dark: hsl(223, 55%, 22%);
    --secondary-color: var(--primary-color);
    --text-color: #333;
    --bg-color: #f5f5f5;
    --white: #ffffff;
    --gray-light: #e0e0e0;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 2rem;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.3s;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-install {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-preview {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Features */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Screenshots */
.screenshots {
    background: var(--gray-light);
    padding: 5rem 0;
    max-width: 100%;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.screenshots-gallery img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Installation */
.installation {
    padding: 5rem 0;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.install-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.install-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.install-card p {
    margin-bottom: 1.5rem;
}

.install-video {
    margin-top: 3rem;
    text-align: center;
}

/* Footer */
.main-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-about p {
    opacity: 0.8;
    max-width: 300px;
}

.footer-nav h4,
.footer-support h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-nav h4::after,
.footer-support h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-nav ul,
.footer-support ul {
    list-style: none;
}

.footer-nav li,
.footer-support li {
    margin-bottom: 0.8rem;
}

.footer-nav a,
.footer-support a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s, padding-left 0.3s;
}

.footer-nav a:hover,
.footer-support a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-about .logo {
        justify-content: center;
    }

    .footer-about p {
        margin: 0 auto;
    }

    .footer-nav h4::after,
    .footer-support h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
