:root {
    --primary: #2a6f97;
    --primary-dark: #013a63;
    --primary-light: #a3cef1;
    --secondary: #a3cef1;
    --white: #FFFFFF;
    
    --bg-color: #F2F2F7;
    --surface: #FFFFFF;
    
    --text-main: #1C1C1E;
    --text-sec: #636366;
    --border: #E5E5EA;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 24px 48px rgba(0,0,0,0.08);
}

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

html {
    overflow-x: hidden;
    width: 100vw;
}

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

.bg-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}

.shape-1 {
    background-color: rgba(163, 206, 241, 0.4);
    width: 500px;
    height: 500px;
    top: -100px;
    left: -150px;
}

.shape-2 {
    background-color: rgba(42, 111, 151, 0.15);
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -150px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    width: 100%;
}

/* Base interactive touch elements */
a, button, input {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Navbar */
.navbar {
    padding-top: max(24px, env(safe-area-inset-top));
    padding-bottom: 24px;
    position: relative;
    z-index: 1000;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-dark);
}

.logo {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(42, 111, 151, 0.3);
}

.nav-menu {
    position: relative;
}

.hamburger {
    background: rgba(42, 111, 151, 0.08);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(42, 111, 151, 0.15);
}

.hamburger-line {
    width: 16px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

.dropdown-menu {
    position: absolute;
    top: 56px;
    right: 0;
    width: 160px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transform-origin: top right;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
    z-index: 100;
}

.dropdown-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu a {
    display: block;
    padding: 12px 14px;
    color: var(--text-sec);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(42, 111, 151, 0.08);
    color: var(--primary);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 180px);
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.headline {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.highlight {
    color: var(--primary);
}

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

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    font-size: 17px;
    color: var(--text-sec);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(42, 111, 151, 0.1);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glass Card */
.hero-action {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.card-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-header p {
    color: var(--text-sec);
    margin-bottom: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px; /* Pill shape for a more modern Apple-like feel */
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.button-primary {
    background-color: var(--text-main);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0,0,0,0.2);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle inner border/glow */
}

.button-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px 0 rgba(0,0,0,0.2);
}

.card-footer {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-sec);
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 40px;
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    text-align: center;
}

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

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-links a {
    color: var(--text-sec);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

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

.separator {
    color: var(--border);
}

.copyright {
    font-size: 13px;
    color: #8E8E93;
}

/* Content Pages (Privacy, Support) */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.content-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 60px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 60px;
}

.content-card h2 {
    font-size: 24px;
    margin: 32px 0 16px;
    color: var(--primary-dark);
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card p, .content-card ul {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-sec);
    margin-bottom: 16px;
}

.content-card ul {
    padding-left: 24px;
}

.content-card li {
    margin-bottom: 8px;
}

.contact-button {
    background-color: var(--primary);
    color: white;
    width: auto;
    padding: 16px 32px;
    margin-top: 24px;
}

/* Animations */
.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Media Queries */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 40px;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .features-list {
        display: inline-flex;
        align-items: flex-start;
        text-align: left;
        margin: 0 auto;
    }
    
    .feature-item {
        text-align: left;
    }
    
    .glass-card {
        padding: 40px 24px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .headline {
        font-size: 36px;
    }
    
    .content-card {
        padding: 32px 24px;
    }
    
    .glass-card {
        padding: 32px 20px;
    }
    
    .hero-action {
        width: 100%;
    }
}
