:root {
    --color-background: #000000;
    --color-text: #ffffff;
    --color-accent: #0a84ff; /* A vibrant Apple blue */
    --color-card-bg: rgba(28, 28, 30, 0.7); /* Slightly transparent dark card */
    --color-border: rgba(60, 60, 67, 0.36);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Layout & Typography */
a { color: var(--color-accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #5aafff; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 0.5em; }
p { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, 0.7); }

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(10, 132, 255, 0.1) 0%, rgba(0, 0, 0, 0) 60%), 
                var(--color-background);
}
.hero::before { /* Subtle grain texture */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKkFgAAAADElEQVQIW2NgYGBgYADhAQFXnPM8AAAAAElFTkSuQmCC') repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}
.hero-image {
    position: absolute;
    bottom: 0; /* Adjust as needed */
    width: clamp(300px, 80vw, 700px);
    opacity: 0.8;
    z-index: 0;
    filter: drop-shadow(0 20px 80px rgba(0,0,0,0.8));
    animation: floatIn 2s ease-out forwards;
}
@keyframes floatIn {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 0.8; }
}


/* Call to Action Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 14px 28px;
    border-radius: 999px; /* Pill shape */
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.4);
    margin-top: 40px;
}
.cta-button:hover {
    background-color: #3f9bff;
    transform: translateY(-2px);
}
.cta-button .icon { margin-right: 8px; font-size: 1.2em; }


/* Feature Gallery */
.feature-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 0;
}
.feature-card {
    background: var(--color-card-bg);
    border-radius: 20px;
    backdrop-filter: blur(15px); /* Glassmorphism effect */
    border: 1px solid var(--color-border);
    padding: 30px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform; /* Optimize for animation */
}
.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}
.feature-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    filter: saturate(1.1) brightness(0.9);
    transition: filter 0.3s ease;
}
.feature-card:hover img {
    filter: saturate(1.2) brightness(1);
}
.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5em;
    color: var(--color-text);
}
.feature-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
}
footer a { color: rgba(255, 255, 255, 0.6); }
footer a:hover { color: var(--color-accent); }

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
    section { padding: 60px 0; }
    .feature-gallery { gap: 20px; }
    .feature-card { padding: 20px; }
}
