@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Righteous&display=swap');

:root {
    --bg-primary: #0F0F23;
    --bg-surface: rgba(30, 27, 75, 0.4);
    --bg-surface-hover: rgba(67, 56, 202, 0.2);
    --primary: #4338CA;
    --primary-glow: rgba(67, 56, 202, 0.6);
    --accent: #22C55E;
    --accent-glow: rgba(34, 197, 94, 0.4);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(34, 197, 94, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effects */
body::before, body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(120px);
    opacity: 0.5;
}

body::before {
    top: 10%;
    left: 10%;
    background-color: var(--primary);
}

body::after {
    bottom: 20%;
    right: 10%;
    background-color: var(--accent);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(15, 15, 35, 0.75);
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Righteous', cursive;
    font-size: 24px;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

nav a {
    font-weight: 500;
    font-size: 15px;
    opacity: 0.8;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    padding: 8px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

nav a:hover, nav a.active {
    opacity: 1;
    color: var(--accent);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* Sections */
section {
    padding: 80px 0;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content h1 {
    font-family: 'Righteous', cursive;
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--text-main), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #0F0F23;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
    background-color: #34d399;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--text-muted);
}

/* Device Mockup */
.mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 280px;
    height: 570px;
    background-color: #000;
    border: 8px solid #27272A;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1E1B4B 0%, #0F0F23 100%);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
}

.phone-app {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.phone-logo {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px var(--primary-glow);
}

.phone-logo svg {
    width: 36px;
    height: 36px;
    fill: white;
}

.phone-music-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 100%;
    padding: 16px;
    backdrop-filter: blur(10px);
}

.phone-track-name {
    font-size: 15px;
    font-weight: 600;
}

.phone-artist {
    font-size: 12px;
    color: var(--text-muted);
}

.phone-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 12px;
    position: relative;
}

.phone-progress-fill {
    width: 60%;
    height: 100%;
    background-color: var(--accent);
    border-radius: 2px;
}

.phone-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.phone-play-btn {
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-play-btn svg {
    fill: black;
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

/* Features Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Righteous', cursive;
    font-size: 40px;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
}

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

.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px -10px var(--primary-glow);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(67, 56, 202, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Download Dashboard */
.download-dashboard {
    background: radial-gradient(circle at top right, rgba(67, 56, 202, 0.2) 0%, rgba(15, 15, 35, 0) 70%), var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.download-info h3 {
    font-family: 'Righteous', cursive;
    font-size: 32px;
    margin-bottom: 16px;
}

.download-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.meta-info-list {
    list-style: none;
}

.meta-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.meta-info-label {
    color: var(--text-muted);
}

.meta-info-value {
    font-weight: 500;
}

.download-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.badge-gms {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.download-btn-wrapper {
    width: 100%;
}

.download-btn-wrapper .btn {
    width: 100%;
    padding: 18px;
}

/* Changelog Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 32px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 48px;
}

.timeline-dot {
    position: absolute;
    left: 21px;
    top: 4px;
    width: 24px;
    height: 24px;
    background-color: var(--bg-primary);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
}

.timeline-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.timeline-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--accent);
}

.timeline-body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.timeline-body ul {
    margin-left: 20px;
    margin-top: 8px;
}

.timeline-body li {
    margin-bottom: 6px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Share Page Card Styling */
.share-container {
    min-height: calc(100vh - 160px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
}

.share-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    width: 100%;
    max-width: 440px;
    padding: 32px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: var(--transition);
}

.share-card:hover {
    border-color: var(--border-hover);
}

.share-artwork {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--bg-primary));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.share-artwork svg {
    width: 64px;
    height: 64px;
    fill: var(--text-muted);
    opacity: 0.5;
}

.share-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-title {
    font-family: 'Righteous', cursive;
    font-size: 24px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-action-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.share-btn-open {
    background-color: var(--accent);
    color: #0F0F23;
    padding: 16px;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.share-btn-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.share-btn-download {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 14px;
}

.share-btn-download:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Tabs Toggle styling */
.tab-container {
    display: none;
}

.tab-container.active {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .cta-group {
        justify-content: center;
    }

    .download-dashboard {
        grid-template-columns: 1fr;
        padding: 32px;
    }
}
