/* Base Styles & Modern Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #1e1e2e;
    --panel-bg: #252538;
    --text-color: #cdd6f4;
    --text-muted: #a6adc8;
    --accent-blue: #89b4fa;
    --accent-lavender: #cba6f7;
    --accent-green: #a6e3a1;
    --gradient-primary: linear-gradient(135deg, #89b4fa 0%, #cba6f7 100%);
    --gradient-glow: radial-gradient(circle, rgba(137,180,250,0.15) 0%, rgba(30,30,46,0) 70%);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography Utility */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: rgba(30, 30, 46, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(137, 180, 250, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.accent-dot {
    font-size: 1.2rem;
    margin-left: 6px;
    display: inline-block;
    animation: rotateStar 8s infinite linear;
}

@keyframes rotateStar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.btn-nav-download {
    background: var(--gradient-primary);
    color: #111127 !important;
    padding: 8px 16px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-nav-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(137, 180, 250, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: center;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(137, 180, 250, 0.12) 0%, rgba(30, 30, 46, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(203, 166, 247, 0.1) 0%, rgba(30, 30, 46, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 780px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #111127;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(137, 180, 250, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(137, 180, 250, 0.4);
}

.btn-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}

.btn-secondary {
    background-color: var(--panel-bg);
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid rgba(137, 180, 250, 0.2);
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: rgba(69, 71, 90, 0.5);
    border-color: var(--accent-blue);
}

/* Simulated App Window Mockup */
.app-showcase-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

.app-window {
    background-color: #1e1e2e;
    border: 1px solid rgba(137, 180, 250, 0.25);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: rotateX(5deg);
    transition: transform 0.4s ease;
}

.app-window:hover {
    transform: rotateX(0deg) translateY(-5px);
}

.window-header {
    background-color: #252538;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(137, 180, 250, 0.1);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background-color: #f38ba8; }
.dot.yellow { background-color: #f9e2af; }
.dot.green { background-color: #a6e3a1; }

.window-title {
    margin-left: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.window-body {
    background-color: #1e1e2e;
    padding: 20px;
    text-align: left;
}

/* Inner Simulated app */
.sim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(137,180,250,0.15);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.sim-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.sim-actions {
    display: flex;
    gap: 10px;
}

.sim-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: default;
}

.sim-btn.green {
    background-color: var(--accent-green);
    color: #111127;
}

.sim-btn.gray {
    background-color: #313244;
    border: 1px solid var(--accent-blue);
    color: var(--text-color);
}

.sim-btn.icon {
    background-color: #313244;
    padding: 6px 8px;
}

.sim-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.sim-card {
    background-color: #24273a;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.sim-img {
    height: 90px;
    border-radius: 6px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
}

/* Custom gorgeous CSS gradients representing high-end backgrounds */
.sim-img-1 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.sim-img-2 { background: linear-gradient(135deg, #8A2387 0%, #E94057 50%, #F27121 100%); }
.sim-img-3 { background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); }

.sim-details {
    font-family: 'Consolas', monospace;
    font-size: 0.75rem;
    color: #cad3f5;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sim-save-btn {
    background-color: var(--accent-blue);
    color: #111127;
    text-align: center;
    padding: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
}

.sim-save-btn.saved {
    background-color: var(--accent-green);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: rgba(37, 37, 56, 0.4);
    border-top: 1px solid rgba(137, 180, 250, 0.05);
    border-bottom: 1px solid rgba(137, 180, 250, 0.05);
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 60px;
}

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

.feature-card {
    background-color: var(--panel-bg);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(137, 180, 250, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Instructions Section */
.instruction-section {
    padding: 100px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    position: relative;
    padding-top: 40px;
    text-align: center;
}

.step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #111127;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(137, 180, 250, 0.3);
}

.step-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0 10px;
}

.step-card code {
    background-color: #313244;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    color: var(--accent-lavender);
}

/* Footer */
.footer {
    background-color: #11111b;
    padding: 60px 0;
    border-top: 1px solid rgba(137, 180, 250, 0.05);
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-legal {
    font-size: 0.75rem !important;
    opacity: 0.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .features-grid, .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .step-card {
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .sim-grid {
        grid-template-columns: 1fr;
    }
}
