:root {
    --primary-color: #4f46e5;
    --secondary-color: #64748b;
    --bg-color: #ffffff;
    --accent-bg: #f8fafc;
    --text-color: #0f172a;
    --border-color: #e2e8f0;
    --max-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Top Banner */
.top-banner {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
h2 { font-size: 3rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Header & Nav */
header {
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.company-logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.25);
}

/* Mission Section */
.mission-section {
    padding: 8rem 0;
    text-align: center;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.4rem;
    color: var(--secondary-color);
    line-height: 1.5;
    font-weight: 400;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding: 6rem 0;
    background: var(--accent-bg);
    border-radius: 40px;
    margin: 2rem;
}

.hero-content {
    flex: 1.2;
    padding-left: 4rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-right: 4rem;
}

.mockup-container {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features */
.features {
    padding: 8rem 0;
}

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

.feature-card {
    padding: 3.5rem 2.5rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.08);
}

.feature-card .icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

/* Screenshots Styling */
.screenshots-section {
    padding: 8rem 0;
    background: #fdfdfd;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.screenshot-item {
    text-align: center;
}

.screenshot-wrapper {
    aspect-ratio: 9/19;
    border-radius: 36px;
    overflow: hidden;
    border: 8px solid #000;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    margin-bottom: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.screenshot-item:hover .screenshot-wrapper {
    transform: scale(1.05) rotate(1deg);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Section */
.video-section {
    padding: 8rem 0;
    text-align: center;
}

.video-container {
    max-width: 400px;
    margin: 3rem auto 0;
    aspect-ratio: 9/16;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
    border: 10px solid #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* QR Section */
.qr-section {
    padding: 8rem 0;
    text-align: center;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 5rem;
    border-radius: 48px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.qr-text h2 { 
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.qr-text p { color: var(--secondary-color); max-width: 600px; font-size: 1.1rem; }

.qr-wrapper-outer {
    background: white;
    padding: 2rem;
    border-radius: 36px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
}

#qrcode canvas, #qrcode img {
    margin: 0 auto;
    border-radius: 12px;
}

/* Sharing Section */
.sharing-section {
    padding: 6rem 0;
    margin-bottom: 6rem;
}

.sharing-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 6rem 3rem;
    border-radius: 48px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.sharing-content h2 { color: white; margin-bottom: 1.5rem; font-size: 2.75rem; }
.sharing-content p { color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; font-size: 1.15rem; }

.sharing-icon-branded {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.app-icon-real-container {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.app-icon-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sharing-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.sharing-content .btn-primary {
    background: white;
    color: #0f172a;
    box-shadow: none;
}

.sharing-content .btn-secondary {
    border-color: rgba(255,255,255,0.2);
    color: white;
}

/* Languages */
.languages {
    padding: 8rem 0;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.lang-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.lang-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.lang-code {
    background: var(--accent-bg);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Advantage Section */
.advantage-section {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.advantage-card {
    padding: 2.5rem;
    background: white;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-radius: 0 0 20px 20px;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Legal Pages Styling */
.legal-page {
    background-color: #fff;
}

.legal-content {
    padding: 6rem 0 8rem;
    max-width: 850px !important;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
}

.legal-content article h2 {
    font-size: 1.75rem;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-bg);
}

.legal-content article p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.25rem;
}

.lead {
    font-size: 1.3rem !important;
    color: var(--text-color) !important;
    line-height: 1.5;
    margin-bottom: 2.5rem !important;
}

.info-box {
    background: var(--accent-bg);
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    border-radius: 0 20px 20px 0;
    margin: 3.5rem 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Footer */
footer {
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
    background: var(--accent-bg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

section {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3.25rem; }
    .hero { 
        flex-direction: column; 
        gap: 3rem; 
        padding: 5rem 2rem; 
        margin: 1rem;
        border-radius: 32px;
    }
    .hero-content { padding-left: 0; text-align: center; }
    .hero-image { padding-right: 0; }
    .nav-links { display: none; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .top-banner { height: 140px; }
    .mission-section { padding: 5rem 0; }
    .mission-text { font-size: 1.2rem; }
    .qr-container { padding: 3rem 1.5rem; }
    .sharing-content { padding: 3rem 1.5rem; }
    .sharing-btns { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-direction: column; gap: 1rem; }
}
