* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

:root {
    --max-width: 1400px;
    --header-height: 80px;
    --section-padding: 4rem;
    --card-padding: 2rem;
    --nav-bg: #fff;
    --nav-text: #2c3e50;
    --nav-hover: #3498db;
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --background-white: #fff;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

header {
    background-color: var(--nav-bg);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--nav-text);
    text-decoration: none;
    transition: color 0.3s ease;
    z-index: 1001;
}

.logo:hover {
    color: var(--nav-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--nav-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--nav-text);
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links li a:hover {
    color: var(--nav-hover);
    background-color: rgba(52, 152, 219, 0.1);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .nav-links li a {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
}

main {
    margin-top: var(--header-height);
}

section {
    padding: var(--section-padding) 5%;
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero {
    text-align: center;
    padding: calc(var(--section-padding) * 2) 5%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background-white);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.console-profiles {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.console-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 180px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--background-white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.console-link i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.console-link span {
    font-size: 1.1rem;
    font-weight: 500;
}

.console-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.console-link:hover i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .console-profiles {
        gap: 1.5rem;
    }

    .console-link {
        width: 160px;
        height: 55px;
        gap: 0.6rem;
    }

    .console-link i {
        font-size: 1.8rem;
    }

    .console-link span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .console-profiles {
        gap: 1rem;
    }

    .console-link {
        width: 140px;
        height: 50px;
        gap: 0.5rem;
    }

    .console-link i {
        font-size: 1.6rem;
    }

    .console-link span {
        font-size: 0.9rem;
    }
}

.apps {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 2rem auto;
}

.apps h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
    padding: 1rem;
}

.app-card {
    background-color: #fff;
    padding: var(--card-padding);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.app-icon {
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: #3498db;
    margin-bottom: 1.5rem;
}

.app-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
}

.app-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.store-link {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    flex: 1;
    justify-content: center;
    min-width: 140px;
}

.store-link i {
    margin-right: 0.5rem;
}

.store-link:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.about {
    background-color: #fff;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 2rem auto;
}

.about h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.about p {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.about-profiles {
    margin-top: 2rem;
    gap: 4rem;
}

.about-profiles .console-link {
    width: 200px;
    height: 65px;
    background-color: var(--primary-color);
    border: none;
}

.about-profiles .console-link:hover {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .about-profiles {
        gap: 3rem;
    }

    .about-profiles .console-link {
        width: 180px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .about-profiles {
        gap: 2rem;
    }

    .about-profiles .console-link {
        width: 160px;
        height: 55px;
    }
}

footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --max-width: 1140px;
    }
}

@media (max-width: 992px) {
    :root {
        --max-width: 960px;
        --section-padding: 3rem;
    }
}

@media (max-width: 360px) {
    :root {
        --section-padding: 1.5rem;
        --card-padding: 1rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .app-card {
        padding: 1rem;
    }
} 