/* Base Variables */
:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #cbd5e1;
    
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    
    --accent-emerald: #10b981;
    --accent-gold: #fbbf24;
    --accent-sapphire: #3b82f6;
    --accent-amethyst: #a855f7;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ambient Backgrounds */
.ambient-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.3;
}

.ambient-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-emerald) 0%, transparent 70%);
}

.ambient-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-sapphire) 0%, transparent 70%);
}

/* Header */
.header {
    text-align: center;
    padding: 4rem 1rem 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

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

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Container */
.container {
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem 4rem;
    width: 100%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

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

/* About Section */
.about-section {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .about-card {
        flex-direction: row;
        align-items: flex-start;
    }
}

.about-image-wrapper {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    flex: 1;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: justify;
}

/* Scroll Down Button */
.scroll-down {
    margin-top: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.ms-2 {
    margin-left: 0.5rem;
}

/* Apps Section */
.apps-section {
    padding-top: 2rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* App Card */
.app-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    opacity: 0; 
    transform: translateY(30px);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* App Icons & Logos */
.app-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
    flex-shrink: 0;
}

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

.app-icon {
    font-size: 2.5rem;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 0.8rem 1.5rem;
    border-radius: 16px;
    color: var(--text-color);
    font-weight: 500;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.15);
}

.coming-soon-badge i {
    color: var(--accent-amethyst);
    font-size: 1.2rem;
}

/* Icon Colors */
.app-card:nth-child(1) .app-icon-wrapper { background: rgba(16, 185, 129, 0.1); }
.app-card:nth-child(1) .app-icon { color: var(--accent-emerald); }

.app-card:nth-child(2) .app-icon-wrapper { background: rgba(251, 191, 36, 0.1); }
.app-card:nth-child(2) .app-icon { color: var(--accent-gold); }

.app-card:nth-child(3) .app-icon-wrapper { background: rgba(59, 130, 246, 0.1); }
.app-card:nth-child(3) .app-icon { color: var(--accent-sapphire); }

.app-card:nth-child(4) .app-icon-wrapper { background: rgba(168, 85, 247, 0.1); }
.app-card:nth-child(4) .app-icon { color: var(--accent-amethyst); }


/* App Info */
.app-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-info h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.app-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 400px) {
    .store-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
    min-width: 160px;
}

.store-btn:hover {
    background: #111;
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
}

.store-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.apple-icon {
    filter: invert(1);
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    color: #ccc;
}

.store-text strong {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
}

/* Reveal Animation Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
