/* Root Colors & Variables */
:root {
    --primary-500: #0b93ff;
    --primary-600: #0078d7;
    --primary-700: #005fc9;
    --primary-800: #004477;
    --dark-bg: #0f0f23;
    --dark-surface: #1a1a3e;
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-light: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo:hover .logo-img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    stroke: var(--primary-500);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: var(--text-white);
    border: 1px solid rgba(11, 147, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(11, 147, 255, 0.3);
}

.btn-primary:active {
    transform: scale(0.95);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-500);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.background-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(11, 147, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 120, 215, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #bae3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.device-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11, 147, 255, 0.15);
    animation: float 3s ease-in-out infinite;
}

.preview-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.preview-logo-img {
    width: 28px;
    height: 28px;
}

.preview-logo svg {
    width: 24px;
    height: 24px;
    color: var(--primary-500);
}

.preview-content {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 350px;
}

.preview-display {
    text-align: center;
}

.preview-display h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--primary-500);
    margin-bottom: 25px;
    font-weight: 700;
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    flex-shrink: 0;
}

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

/* Features Section */
.features {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 147, 255, 0.05) 100%);
}

.features h2,
.screenshots h2,
.download h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-500);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 147, 255, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

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

/* Screenshots Section */
.screenshots {
    position: relative;
    padding: 100px 20px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.screenshot-item {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 10;
    border: 3px solid var(--dark-bg);
}

.screenshot-item h3 {
    margin-top: 20px;
    font-size: 1.2rem;
}

.screenshot-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 8px;
}

.screenshot-frame {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.screenshot-frame:hover {
    border-color: var(--primary-500);
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(11, 147, 255, 0.2);
}

.app-window {
    background: rgba(255, 255, 255, 0.02);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.window-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.9rem;
}

.window-content {
    flex: 1;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.main-screen .logo-section {
    text-align: center;
}

.logo-large {
    width: 64px;
    height: 64px;
    color: var(--primary-500);
    margin-bottom: 10px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 250px;
}

.action-btn {
    padding: 12px;
    border: 1px solid var(--border-light);
    background: rgba(11, 147, 255, 0.1);
    color: var(--text-white);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(11, 147, 255, 0.2);
    border-color: var(--primary-500);
}

.upload-options,
.gallery-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 250px;
}

.option {
    padding: 12px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.option-highlight {
    background: rgba(11, 147, 255, 0.3);
    border-color: var(--primary-500);
}

.gallery-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(11, 147, 255, 0.2), rgba(0, 120, 215, 0.2));
    border: 1px solid var(--border-light);
    border-radius: 6px;
}

/* Download Section */
.download {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(180deg, rgba(11, 147, 255, 0.1) 0%, transparent 100%);
}

.download-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.download-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.download-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.system-requirements {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .nav-links a {
        padding: 8px 12px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding: 100px 15px 60px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .device-mockup {
        max-width: 100%;
        overflow: hidden;
    }

    .app-preview {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .preview-content {
        min-width: auto;
        padding: 30px 20px;
    }

    .preview-display h3 {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .features {
        padding: 60px 15px;
    }

    .features h2,
    .screenshots h2,
    .download h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .screenshots {
        padding: 60px 15px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .screenshot-frame {
        max-width: 100%;
    }

    .app-window {
        min-height: 300px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon svg {
        width: 30px;
        height: 30px;
    }

    .download {
        padding: 60px 15px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .download-buttons a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    .preview-content {
        padding: 20px 15px;
    }

    .feature-item {
        font-size: 0.85rem;
    }
}

/* PAGE SECTIONS STYLES */
.page-nav {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-nav a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    margin-right: 30px;
}

.page-nav a:hover {
    opacity: 0.8;
}

/* Page Container */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px 40px 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Policy Section */
.policy-section {
    margin-bottom: 50px;
}

.policy-section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #667eea;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.policy-section h3 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #fff;
}

.policy-section p {
    font-size: 1em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.policy-section ul {
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.policy-section li {
    margin-bottom: 10px;
}

/* Problem Solution Grid */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.problem-box,
.solution-box {
    padding: 25px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.problem-box h3,
.solution-box h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.problem-box h3::before {
    content: "❌ ";
}

.solution-box h3::before {
    content: "✅ ";
}

/* Features Grid */
.page-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card-page {
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid #667eea;
    border-radius: 4px;
}

.feature-card-page h4 {
    color: #667eea;
    margin-bottom: 10px;
}

.feature-card-page p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

/* Timeline */
.timeline {
    margin: 30px 0;
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    margin-bottom: 25px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid #1a1a2e;
}

.timeline-item h4 {
    color: #667eea;
    margin-bottom: 5px;
}

.timeline-item p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 60px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.cta-section h2 {
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Last Updated */
.last-updated {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Footer */
.page-footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.page-footer p {
    margin-bottom: 10px;
}

.page-footer-links {
    margin-top: 10px;
    font-size: 0.9em;
}

.page-footer-links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 10px;
}

.page-footer-links a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8em;
    }

    .policy-section h2 {
        font-size: 1.4em;
    }

    .problem-solution {
        grid-template-columns: 1fr;
    }
}