:root {
    --primary-blue: #4285f4;
    --primary-red: #ea4335;
    --primary-yellow: #fbbc04;
    --primary-green: #34a853;
    --text-dark: #202124;
    --text-gray: #5f6368;
    --bg-light: #ffffff;
    --bg-off-white: #f8f9fa;
    --bg-dark: #171717;
    --font-google: 'Google Sans', 'Poppins', sans-serif;
    --radius-curve: 50% 50% 0 0 / 50px 50px 0 0; /* Brave-like curve */
}

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

body {
    font-family: var(--font-google);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
}

h1 { font-size: 64px; letter-spacing: -1.5px; }
h2 { font-size: 48px; letter-spacing: -1px; }
h3 { font-size: 28px; }

p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
    background: #3367d6;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    margin-left: 16px;
}

.btn-outline:hover {
    background: var(--text-dark);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding 0.3s;
}

.nav-brand {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    padding: 160px 40px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

/* Abstract Google Shield Visual */
.shield-visual {
    width: 450px;
    height: 500px;
    position: relative;
}

.shield-layer {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.5s ease;
}

.layer-1 { transform: rotate(-5deg) scale(0.9); background: linear-gradient(135deg, #e8f0fe, white); z-index: 1; }
.layer-2 { transform: rotate(5deg) scale(0.95); background: linear-gradient(135deg, #fce8e6, white); z-index: 2; }
.layer-3 { transform: rotate(0deg) scale(1); background: white; z-index: 3; display: flex; flex-direction: column; overflow: hidden; }

/* Stats Bar (Brave style) */
.stats-bar-container {
    background: var(--bg-dark);
    color: white;
    margin-top: -50px;
    padding-top: 100px;
    padding-bottom: 80px;
    clip-path: ellipse(150% 100% at 50% 100%); /* Top curve effect inverted */
    position: relative;
    z-index: 1;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc04, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-item p {
    color: #9aa0a6;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Features Section (Curved separators) */
.section-curve-top {
    height: 100px;
    background: var(--bg-light);
    border-radius: 0 0 50% 50% / 0 0 40px 40px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.feature-section {
    padding: 100px 40px;
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-text { flex: 1; }
.feature-image { flex: 1; }

.card-visual {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 40px;
    border: 1px solid #f1f3f4;
    transition: transform 0.3s;
}

.card-visual:hover {
    transform: translateY(-10px);
}

/* Comparison Table */
.comparison-section {
    background: #f8f9fa;
    padding: 120px 40px;
    text-align: center;
}

.comparison-table {
    max-width: 900px;
    margin: 60px auto 0;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 24px 40px;
    background: #f1f3f4;
    font-weight: 800;
    align-items: center;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 24px 40px;
    border-bottom: 1px solid #f1f3f4;
    align-items: center;
}

.table-row:last-child { border-bottom: none; }

.check-icon { color: var(--primary-green); font-size: 20px; }
.cross-icon { color: var(--primary-red); font-size: 20px; opacity: 0.5; }

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 40px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-col h4 { margin-bottom: 24px; }
.footer-col a { display: block; color: #9aa0a6; text-decoration: none; margin-bottom: 12px; }
.footer-col a:hover { color: white; }

/* Responsive */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-visual { margin-top: 60px; justify-content: center; }
    .feature-section { flex-direction: column; text-align: center; }
    .feature-section.reverse { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .comparison-table { overflow-x: scroll; }
    h1 { font-size: 42px; }
}
