/* ===== LEMEL Software — Global Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --white: #FFFFFF;
  --gray-50: #F5F5F7;
  --gray-100: #E8E8ED;
  --gray-200: #D2D2D7;
  --gray-400: #86868B;
  --gray-600: #6E6E73;
  --gray-800: #1D1D1F;
  --black: #111111;
  --accent: #00B4A0;
  --accent-hover: #00C9B2;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --max-width: 1080px;
  --nav-height: 64px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 2px 20px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.08);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--gray-800); background: var(--white); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: rgba(255,255,255,0.80); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-weight: 700; font-size: 1.25rem; letter-spacing: 0.06em; color: var(--black); display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray-600); transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 1px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: 0.3s; }
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); flex-direction: column; padding: 24px 28px 32px; gap: 20px; border-bottom: 1px solid var(--gray-100); transform: translateY(-120%); transition: transform 0.35s var(--ease); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.05rem; }
}

/* LAYOUT */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.page-spacer { height: var(--nav-height); }

/* HERO */
.hero { padding: 100px 0 80px; text-align: center; }
.hero-label { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: var(--black); max-width: 700px; margin: 0 auto 20px; }
.hero p { font-size: 1.15rem; color: var(--gray-600); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 980px; font-size: 0.95rem; font-weight: 600; transition: all 0.25s var(--ease); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: scale(1.03); }
.btn-secondary { background: var(--gray-50); color: var(--gray-800); }
.btn-secondary:hover { background: var(--gray-100); }
.btn-appstore { display: inline-block; transition: transform 0.2s var(--ease), opacity 0.2s; }
.btn-appstore:hover { transform: scale(1.04); opacity: 0.85; }
.btn-appstore img { height: 44px; }

/* APP CARDS */
.app-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; padding: 0 0 80px; }
.app-card { background: var(--gray-50); border-radius: var(--radius); padding: 48px 40px; transition: all 0.35s var(--ease); overflow: hidden; }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.app-card-icon { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.app-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.app-card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.65; }
.app-card .card-link { font-size: 0.9rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.app-card:hover .card-link { gap: 8px; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-item { padding: 28px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--gray-100); transition: all 0.3s var(--ease); }
.feature-item:hover { border-color: transparent; box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.3rem; }
.feature-item h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.feature-item p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }

/* APP HERO */
.app-hero { padding: 80px 0 48px; text-align: center; }
.app-hero-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.app-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.app-hero .subtitle { font-size: 1.15rem; color: var(--gray-600); margin-bottom: 28px; }
.app-hero .description { font-size: 1rem; color: var(--gray-600); max-width: 600px; margin: 0 auto 36px; line-height: 1.7; }

/* SCREENSHOTS */
.screenshot-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; padding: 40px 0; }
.screenshot-placeholder { width: 220px; height: 440px; background: linear-gradient(145deg, var(--gray-50), var(--gray-100)); border-radius: 28px; display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 0.82rem; font-weight: 500; border: 1px solid var(--gray-100); flex-shrink: 0; }
.screenshot-img { width: 220px; height: auto; border-radius: 28px; flex-shrink: 0; box-shadow: 0 4px 24px rgba(0,0,0,0.08); border: 1px solid var(--gray-100); }
.screenshot-hero { max-width: 320px; height: auto; margin: 0 auto; filter: drop-shadow(0 8px 32px rgba(0,0,0,0.12)); }

/* ABOUT */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 60px 0 80px; }
.about-photo { width: 100%; aspect-ratio: 4/5; background: linear-gradient(145deg, var(--gray-50), var(--gray-100)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 0.85rem; font-weight: 500; }
.about-text h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.about-text p { color: var(--gray-600); margin-bottom: 16px; font-size: 1rem; line-height: 1.7; }
.about-platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.platform-tag { padding: 6px 16px; background: var(--gray-50); border-radius: 980px; font-size: 0.82rem; font-weight: 500; color: var(--gray-600); border: 1px solid var(--gray-100); }
@media (max-width: 720px) { .about-content { grid-template-columns: 1fr; gap: 40px; } }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 60px 0 80px; }
.contact-info h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.contact-info > p { color: var(--gray-600); margin-bottom: 36px; }
.contact-method { margin-bottom: 28px; }
.contact-method .label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); margin-bottom: 4px; }
.contact-method .value { font-size: 1.1rem; font-weight: 500; }
.contact-method .value a { color: var(--accent); transition: opacity 0.2s; }
.contact-method .value a:hover { opacity: 0.7; }
.contact-form { background: var(--gray-50); border-radius: var(--radius); padding: 40px; }
.contact-form .field { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--gray-600); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.95rem; background: var(--white); transition: border-color 0.2s; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
@media (max-width: 720px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }

/* PRIVACY / LEGAL */
.legal-content { max-width: 680px; margin: 0 auto; padding: 60px 0 80px; }
.legal-content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.legal-content .effective { color: var(--gray-400); font-size: 0.9rem; margin-bottom: 40px; }
.legal-content h3 { font-size: 1.15rem; font-weight: 600; margin: 32px 0 8px; }
.legal-content p { color: var(--gray-600); margin-bottom: 16px; font-size: 0.95rem; line-height: 1.7; }
.legal-content a { color: var(--accent); }

/* FOOTER */
.footer { border-top: 1px solid var(--gray-100); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.82rem; color: var(--gray-400); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 0.82rem; color: var(--gray-400); transition: color 0.2s; }
.footer-links a:hover { color: var(--gray-800); }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
