@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #4CB050;
    --primary-vibrant: #388E3C;
    --bg: #FFFFFF;
    --bg-alt: #F2F2F7;
    --text-main: #1C1C1E;
    --text-muted: #8E8E93;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Extensions */
h1 { font-size: 4.5rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.05em; margin-bottom: 2rem; }
h2 { font-size: 3rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
p { font-size: 1.25rem; color: var(--text-muted); font-weight: 400; max-width: 700px; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* Sticky Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    background: transparent;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

#business-logo {
    height: 32px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

nav a:hover, nav a.active {
    opacity: 1;
    color: var(--primary);
}

.btn-download {
    background: var(--primary);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(88, 86, 214, 0.2);
    opacity: 1 !important;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(88, 86, 214, 0.3);
}

/* Sections Global */
section {
    padding: 10rem 5%;
    position: relative;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Extension */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 12rem;
}

.hero-content { flex: 1.2; }
.hero-image { flex: 1; position: relative; }

.hero-image img {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(var(--shadow-deep));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Privacy Highlight */
.privacy-highlight {
    background: var(--bg);
    text-align: center;
    overflow: hidden;
}

.floating-lock {
    width: 180px;
    margin-bottom: 3rem;
    filter: drop-shadow(var(--shadow-deep));
    animation: float 8s ease-in-out infinite;
}

/* Cross-Platform Section */
.sync-section {
    background: var(--bg-alt);
    border-radius: 60px;
    margin: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sync-image {
    width: 100%;
    max-width: 1100px;
    margin-top: 4rem;
    transition: var(--transition-smooth);
}

.sync-image:hover {
    transform: scale(1.02);
}

/* Feature Grid 2x2 */
.feature-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 5rem auto 0;
}

.feature-card-v2 {
    background: white;
    padding: 4rem;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card-v2:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-deep);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-alt);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

/* Deep Footer */
footer {
    background: var(--bg);
    padding: 8rem 5% 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.footer-col ul li a:hover { color: var(--primary); }

.footer-bottom {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Feature Page Specifics */
.feature-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.platform-card {
    text-align: center;
    padding: 3rem;
    border-radius: 32px;
    background: var(--bg-alt);
    transition: var(--transition-smooth);
}

.platform-card:hover {
    background: white;
    box-shadow: var(--shadow-deep);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    .hero { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid-v2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    header nav { display: none; }
    section { padding: 6rem 5%; }
}
