:root {
    --color-primary: #00F5A0;
    --color-primary-hover: #00D188;
    --color-bg-dark: #1A1D21;
    --color-bg-card: #282D32;
    --color-text-main: #FFFFFF;
    --color-text-muted: #9CA3AF;
    --color-border: #374151;
    
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 2rem;     /* 32px */
    --spacing-lg: 4rem;     /* 64px */
    --spacing-xl: 8rem;     /* 128px */
    
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 245, 160, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(26, 29, 33, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px; /* Optional: adds slight rounding to match app icon style if needed */
}

/* Hero Section */
.hero {
    padding: 160px 0 var(--spacing-lg);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-composition {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.device-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 4px solid #333;
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background-color: var(--color-bg-card);
}

.app-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-card);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}

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

.feature-card {
    background-color: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.feature-card-wide {
    grid-column: 1 / -1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 245, 160, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

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

.feature-card p {
    color: var(--color-text-muted);
}

/* Gallery Section */
.gallery {
    padding: var(--spacing-xl) 0;
}

.gallery-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.gallery-collage {
    width: 100%;
    max-width: 1000px; /* Adjust as needed */
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.gallery-collage:hover {
    transform: scale(1.02);
}

/* CTA Section */
.cta {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--color-bg-dark), var(--color-bg-card));
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-container p {
    color: var(--color-text-muted);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

/* Footer */
.footer {
    background-color: #151719;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    text-align: center;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--color-text-muted);
}

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

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.footer-copyright {
    color: #4B5563;
    font-size: 0.875rem;
    margin-top: var(--spacing-md);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        margin-top: var(--spacing-lg);
    }

    .hero-composition {
        width: 100%;
        max-width: 500px;
        transform: none;
    }
}

@media (max-width: 640px) {
    .nav-container .btn {
        display: none;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}