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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    background-color: #E8ECF1;
    font-family: 'Outfit', sans-serif;
    color: #5A6370;
    line-height: 1.7;
}

/* ===== NEOMORPHISM UTILITIES ===== */
:root {
    --shadow-dark: #C8CCD1;
    --shadow-light: #FFFFFF;
    --primary-text: #3D4550;
    --body-text: #5A6370;
    --accent: #6C8EBF;
    --muted: #8A95A3;
    --raised-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
    --pressed-shadow: inset 8px 8px 16px var(--shadow-dark), inset -8px -8px 16px var(--shadow-light);
}

.neomorphic-panel,
.neomorphic-card {
    background-color: #E8ECF1;
    border-radius: 16px;
    box-shadow: var(--raised-shadow);
    transition: box-shadow 200ms, transform 200ms;
}

.neomorphic-card:hover {
    box-shadow: var(--pressed-shadow);
    transform: translateY(-2px);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    transform: scaleY(0);
    transform-origin: top;
    z-index: 100;
}

/* ===== NAVIGATION ===== */
.top-nav {
    position: sticky;
    top: 0;
    background-color: rgba(232, 236, 241, 0.8);
    backdrop-filter: blur(4px);
    z-index: 50;
    padding: 16px 0;
}

.nav-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--body-text);
    font-size: 14px;
    font-weight: 500;
    transition: color 200ms;
}

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

/* ===== MAIN CONTENT ===== */
main {
    max-width: 640px;
    margin: 0 auto;
    padding: 120px 40px;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 120px;
    position: relative;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hero-lock {
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: emergeLock 600ms ease-out 300ms both;
}

@keyframes emergeLock {
    from {
        opacity: 0;
        transform: scale(0.8);
        box-shadow: 0 0 0 rgba(200, 204, 209, 0), 0 0 0 rgba(255, 255, 255, 0);
    }
    to {
        opacity: 1;
        transform: scale(1);
        box-shadow: var(--raised-shadow);
    }
}

.lock-icon {
    width: 80px;
    height: 80px;
    color: var(--primary-text);
}

.lock-body {
    animation: lockTurn 800ms ease-in-out 800ms forwards;
}

@keyframes lockTurn {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(2px);
    }
}

.hero h1 {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-text);
    animation: slideUp 500ms ease-out 800ms both;
}

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

.hero-subtitle {
    font-size: 16px;
    color: var(--body-text);
    animation: fadeIn 500ms ease-out 1000ms both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    margin-bottom: 120px;
}

.content-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 32px;
}

.cards-container,
.timeline-container,
.security-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.neomorphic-card {
    padding: 32px;
    border-radius: 16px;
}

.neomorphic-card h3,
.neomorphic-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 12px;
}

.neomorphic-card p {
    font-size: 15px;
    color: var(--body-text);
    line-height: 1.6;
}

.section-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

/* ===== TIMELINE ===== */
.timeline-card {
    position: relative;
    padding-left: 80px;
}

.timeline-number {
    position: absolute;
    left: 24px;
    top: 24px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

/* ===== SECURITY GRID ===== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.security-card {
    padding: 24px;
}

.security-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.security-card p {
    font-size: 13px;
}

/* ===== FLOATING MENU ===== */
.floating-menu-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background-color: #E8ECF1;
    box-shadow: var(--raised-shadow);
    font-size: 24px;
    color: var(--primary-text);
    cursor: pointer;
    z-index: 60;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.floating-menu-btn:hover {
    box-shadow: var(--pressed-shadow);
}

.radial-menu {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 55;
}

.radial-menu.active {
    display: flex;
}

.menu-item {
    width: 48px;
    height: 48px;
    background-color: #E8ECF1;
    box-shadow: var(--raised-shadow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--accent);
    font-size: 12px;
    text-align: center;
    padding: 8px;
    transition: all 200ms;
    opacity: 0;
    transform: scale(0);
}

.menu-item:nth-child(1) {
    animation: menuItemExpand 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 100ms forwards;
}

.menu-item:nth-child(2) {
    animation: menuItemExpand 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 150ms forwards;
}

.menu-item:nth-child(3) {
    animation: menuItemExpand 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 200ms forwards;
}

@keyframes menuItemExpand {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    main {
        padding: 80px 24px;
    }

    .hero-lock {
        width: 240px;
        height: 240px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .content-section {
        margin-bottom: 80px;
    }

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

@media (max-width: 480px) {
    main {
        padding: 60px 16px;
    }

    .hero {
        height: 60vh;
        margin-bottom: 60px;
    }

    .hero-lock {
        width: 180px;
        height: 180px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .content-section h2 {
        font-size: 20px;
    }

    .neomorphic-card {
        padding: 20px;
    }

    .timeline-card {
        padding-left: 60px;
    }

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

    .floating-menu-btn {
        width: 48px;
        height: 48px;
        bottom: 24px;
        right: 24px;
        font-size: 20px;
    }

    .menu-item {
        width: 44px;
        height: 44px;
    }
}
