:root {
    --bg-color: #0d1117;
    --text-color: #c9d1d9;
    --accent-color: #58a6ff;
    --accent-hover: #1f6feb;
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

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

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Sections */
section {
    padding: 120px 0 80px; /* added top padding to account for fixed header */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Banner */
.banner {
    text-align: center;
    background: radial-gradient(circle at center, #1f2937 0%, var(--bg-color) 100%);
}

.banner h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(#58a6ff, #bd58ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1s ease-out;
}

.banner p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #8b949e;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.banner-img {
    max-width: 400px;
    width: 100%;
    margin-top: 40px;
    filter: drop-shadow(0 0 20px rgba(88, 166, 255, 0.5));
    animation: float 6s ease-in-out infinite;
}

/* How to Use & Details */
.content-section {
    display: flex;
    gap: 40px;
    align-items: center;
}

.content-box {
    padding: 40px;
    flex: 1;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease-out;
}

.content-box.visible {
    transform: translateY(0);
    opacity: 1;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.gradient-title {
    font-size: 3rem;
    background: -webkit-linear-gradient(#58a6ff, #bd58ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.details-subtitle {
    color: #8b949e;
    font-size: 1.2rem;
    margin-top: 20px;
}

/* App Details & Download */
.app-section {
    text-align: center;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.app-card {
    padding: 30px;
    transition: transform 0.3s;
    position: relative;
}
.yt-icon-link {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #ff0000;
    transition: transform 0.2s;
    z-index: 2;
}
.yt-icon-link:hover {
    transform: scale(1.2);
}

.app-card:hover {
    transform: translateY(-10px);
}

.app-card h3 {
    color: var(--accent-color);
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Button */
.btn-download {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, var(--accent-color), #bd58ff);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(88, 166, 255, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: pulseBlink 2s infinite ease-in-out;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, #bd58ff, var(--accent-color));
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.btn-download:hover::before {
    opacity: 1;
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(88, 166, 255, 0.5);
}

/* Pendent Details Table */
.details-list {
    list-style: none;
    padding: 0;
}

.details-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.spec-value {
    font-size: 1.2rem;
    color: #fff;
    text-align: right;
    max-height: none;
}

.spec-label::after {
    content: '+';
    display: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-color);
}

/* Animations */
@keyframes pulseBlink {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(88, 166, 255, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 25px rgba(189, 88, 255, 0.9), 0 0 15px rgba(88, 166, 255, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(88, 166, 255, 0.4);
    }
}

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

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

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

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 15px 0;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    background: -webkit-linear-gradient(#58a6ff, #bd58ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--accent-color);
}
.nav-links a.btn-nav-download {
    padding: 10px 25px;
    background: linear-gradient(45deg, var(--accent-color), #bd58ff);
    color: white;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(88, 166, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulseBlink 2s infinite ease-in-out;
}
.nav-links a.btn-nav-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 166, 255, 0.5);
    color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .content-section {
        flex-direction: column;
        text-align: center;
    }
    .banner h1 { font-size: 2.5rem; }
    .gradient-title { font-size: 2.5rem; }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: rgba(13, 17, 23, 0.98);
        flex-direction: column;
        padding: 30px;
        border-left: 1px solid var(--glass-border);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-links a.btn-nav-download {
        margin-top: 20px;
        text-align: center;
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    section { padding: 100px 0 50px; }
    h2 { font-size: 1.8rem; }
    .banner h1 { font-size: 1.6rem; line-height: 1.2; }
    .banner p { font-size: 1.1rem; margin-bottom: 20px; }
    .logo { font-size: 1.2rem; }
    .gradient-title { font-size: 1.5rem; }
    .details-subtitle { font-size: 1rem; }
    .btn-download { font-size: 1rem; padding: 12px 30px; }
    .content-box.glass { padding: 20px; }
    .app-card { padding: 20px; }
    
    /* Mobile Accordion for Specifications */
    .details-list li {
        flex-direction: column;
        align-items: stretch;
    }
    .spec-label {
        width: 100%;
        cursor: pointer;
    }
    .spec-label::after {
        display: inline-block;
        font-size: 1.5rem;
        transition: transform 0.3s;
    }
    .details-list li.active .spec-label::after {
        transform: rotate(45deg);
    }
    .spec-value {
        font-size: 1rem;
        text-align: left;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease-out, margin-top 0.3s ease-out, opacity 0.3s ease-out;
    }
    .details-list li.active .spec-value {
        max-height: 300px;
        margin-top: 15px;
        opacity: 1;
    }
}
