:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --text-color: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --background-alt: #f8f8f8;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: env(safe-area-inset-top, 0px);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    padding-top: env(safe-area-inset-top, 0px);
}

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

.logo-small {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.logo-text {
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.cta-button::after {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(120px, env(safe-area-inset-top, 0px) + 100px) 0 80px;
    background: var(--background);
    overflow: hidden;
    scroll-margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

.logo-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

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

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

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background-alt);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.download .section-title {
    color: white;
    margin-bottom: 16px;
}

.download-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-buttons {
    margin-bottom: 24px;
}

.app-store-button {
    display: inline-block;
    transition: var(--transition);
}

.app-store-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.download-note {
    font-size: 14px;
    opacity: 0.7;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: var(--secondary-color);
    color: white;
}

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

.footer-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 160px 0 60px;
        padding-top: max(160px, env(safe-area-inset-top, 0px) + 140px);
        min-height: auto;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-logo {
        max-width: 240px;
    }

    .logo-container {
        margin-bottom: 24px;
        margin-top: 20px;
        padding-top: 0;
    }

    .hero-content {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 0;
    }

    .nav-content {
        padding: 10px 0;
        flex-direction: row;
        gap: 8px;
    }

    .logo-small {
        font-size: 20px;
    }

    .logo-small img {
        height: 28px;
    }

    .nav-links {
        gap: 12px;
        width: auto;
        justify-content: flex-end;
    }

    .nav-links a {
        font-size: 13px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero {
        padding: 170px 0 40px;
        padding-top: max(170px, env(safe-area-inset-top, 0px) + 150px);
        min-height: auto;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .hero-logo {
        max-width: 180px;
    }

    .logo-container {
        margin-bottom: 20px;
        margin-top: 15px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .features,
    .about,
    .download {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .feature-icon {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .feature-card h3 {
        font-size: 20px;
    }
}

/* Extra small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero {
        padding: 180px 0 30px;
        padding-top: max(180px, env(safe-area-inset-top, 0px) + 160px);
    }

    .hero-logo {
        max-width: 160px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .logo-container {
        margin-bottom: 16px;
        margin-top: 20px;
    }

    .nav-content {
        padding: 8px 0;
    }

    .logo-small {
        font-size: 18px;
    }

    .logo-small img {
        height: 24px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .cta-button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

