:root {
    --bg-color: #f0f8ff; /* AliceBlue */
    --text-color: #333333;
    --primary-color: #00bfff; /* DeepSkyBlue */
    --secondary-color: #87cefa; /* LightSkyBlue */
    --accent-color: #007bff;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --shadow-color: rgba(0, 191, 255, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

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

.advisor-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(0, 123, 255, 0.35);
    border-radius: 999px;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.advisor-page-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-color);
}

.advisor-page-link:focus-visible {
    outline: 3px solid rgba(0, 191, 255, 0.35);
    outline-offset: 3px;
}

.advisor-page-link span {
    font-size: 1.05em;
}

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

.hero-content {
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(1.2rem, 4.5vw, 3rem);
    white-space: nowrap;
    color: var(--accent-color);
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

/* Background Gradients */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(135, 206, 250, 0.4) 0%, rgba(240, 248, 255, 0) 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.gradient-sphere.secondary {
    background: radial-gradient(circle, rgba(0, 191, 255, 0.3) 0%, rgba(240, 248, 255, 0) 70%);
    bottom: -200px;
    right: -100px;
    top: auto;
    left: auto;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
    background: #fff;
}

.section:nth-child(even) {
    background: var(--bg-color);
}

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

/* About Section */
.about-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.about-text strong {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.benefit-item {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.benefit-item h4 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 6rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 191, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.feature-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* App Screenshots Section */
.app-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.showcase-row:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.showcase-text p {
    font-size: 1.1rem;
    color: #555;
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Smartphone & Tablet CSS Frames */
.device-frame {
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 0 0 2px #c0c4c9, inset 0 0 0 5px #e3e7eb;
    background: #1a1a1a; /* Black bezel */
    border-radius: 44px;
    padding: 14px;
    margin: 0 auto;
    border: 1px solid #a0a0a0;
}

.device-frame.tablet {
    width: 100%;
    max-width: 640px;
    border-radius: 28px;
    padding: 20px;
}

.device-frame.phone {
    width: 290px;
    height: 600px;
}

/* Camera / Notch */
.device-frame::after {
    content: '';
    position: absolute;
    background: #000;
    z-index: 10;
}

/* Phone Dynamic Island */
.device-frame.phone::after {
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    border-radius: 13px;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.2);
}

/* Tablet Camera Dot (Landscape mode usually has it on the side or top) */
.device-frame.tablet::after {
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.4);
}

.device-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #fff;
    position: relative;
    z-index: 5;
    border: 1px solid #111;
}

.device-frame.phone img {
    border-radius: 32px;
}

.device-frame.tablet img {
    border-radius: 12px;
}

/* Footer */
footer {
    background: #fff;
    border-top: 1px solid rgba(0, 191, 255, 0.1);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.advisor-page-link--footer {
    padding: 0.8rem 1.15rem;
    margin-top: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.studio-info {
    text-align: center;
    color: #555;
    margin: 1rem 0;
}

.studio-info strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.social-links a {
    color: var(--accent-color);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Badge */
.badge {
    display: inline-block;
    background-color: #e1e8ed;
    color: #555;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 8px;
    font-weight: 600;
}

/* App Store Badge */
.app-store-badge {
    display: inline-block;
    transition: opacity 0.3s;
}
.app-store-badge:hover {
    opacity: 0.8;
}
.app-store-badge img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

/* Utilities */
.sp-only {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .showcase-row, .showcase-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 { 
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        white-space: normal;
        word-break: keep-all;
        line-height: 1.4;
    }
    .hero p { font-size: 1.1rem; }
    nav ul li:not(:last-child) { display: none; }
    .sp-only { display: initial; }
}
