/* Premium Modern CSS for Chrome Landing Page */
:root {
    /* Colors */
    --chrome-blue: #1a73e8;
    --chrome-blue-hover: #1557b0;
    --chrome-red: #ea4335;
    --chrome-green: #34a853;
    --chrome-yellow: #fbbc05;
    
    /* Light Theme Info */
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --border-color: #dadce0;
    --card-bg: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

[data-theme='dark'] {
    --bg-color: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --nav-bg: rgba(18, 18, 18, 0.85);
    --border-color: #3c4043;
    --card-bg: #2d2d2d;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    --chrome-blue: #8ab4f8;
    --chrome-blue-hover: #aecbfa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, system-ui, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.chrome-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover .chrome-icon {
    transform: rotate(90deg) scale(1.1);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 32px;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: background-color 0.2s ease;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background-color: var(--bg-secondary);
}

.theme-toggle .icon {
    width: 20px;
    height: 20px;
}

[data-theme='dark'] .sun,
[data-theme='light'] .moon {
    display: block;
}

[data-theme='dark'] .moon,
[data-theme='light'] .sun {
    display: none;
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background animated circles */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    animation: float 10s infinite ease-in-out alternate;
}

.hero-section::before {
    background: var(--chrome-blue);
    top: -200px;
    left: -100px;
}

.hero-section::after {
    background: var(--chrome-red);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 48px;
    animation: fadeUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.download-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.btn-download {
    background-color: var(--chrome-blue);
    color: #ffffff;
    border: none;
    padding: 18px 48px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px -5px rgba(26, 115, 232, 0.4);
    position: relative;
    overflow: hidden;
}

[data-theme='dark'] .btn-download {
    color: var(--bg-color);
}

.btn-download:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(26, 115, 232, 0.6);
    background-color: var(--chrome-blue-hover);
}

.btn-download:active {
    transform: translateY(0) scale(0.98);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shine 4s infinite 2s;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.btn-subtext {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 6px;
    font-weight: 400;
}

.terms-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.terms-text a {
    color: var(--chrome-blue);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    margin-top: 80px;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    perspective: 1000px;
    animation: fadeUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
    transform: rotateX(5deg) scale(0.95) translateY(10px);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image-wrapper:hover .hero-image {
    transform: rotateX(0deg) scale(1) translateY(0);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    height: 85%;
    transform: translate(-50%, -50%);
    background: linear-gradient(45deg, var(--chrome-blue), var(--chrome-green), var(--chrome-yellow), var(--chrome-red));
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: pulseGlow 5s infinite alternate;
}

[data-theme='dark'] .image-glow {
    opacity: 0.3;
}

@keyframes pulseGlow {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

.floating-badge {
    position: absolute;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    font-weight: 500;
    z-index: 10;
    animation: floatBadge 4s infinite alternate ease-in-out;
}

.badge-1 {
    top: -20px;
    left: 5%;
}

.badge-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: -2s;
}

@keyframes floatBadge {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

/* Features section */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.icon-blue { background: rgba(26, 115, 232, 0.1); color: #1a73e8; }
.icon-green { background: rgba(52, 168, 83, 0.1); color: #34a853; }
.icon-yellow { background: rgba(251, 188, 5, 0.1); color: #fbbc05; }

[data-theme='dark'] .icon-blue { color: #8ab4f8; }
[data-theme='dark'] .icon-green { color: #81c995; }
[data-theme='dark'] .icon-yellow { color: #fde293; }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Banner section */
.banner-section {
    padding: 100px 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 32px;
    font-weight: 700;
}

.btn-secondary {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 16px;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .floating-badge {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn-download {
        width: 100%;
    }
}
