:root {
    --primary-blue: #4285f4;
    --primary-red: #ea4335;
    --primary-yellow: #fbbc04;
    --primary-green: #34a853;
    --dark-bg: #202124;
    --light-bg: #ffffff;
    --gray-bg: #f1f3f4;
    --text-dark: #202124;
    --text-light: #ffffff;
    --sidebar-width: 80px;
    --font-google: 'Google Sans', Roboto, sans-serif;
}

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

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

/* Sidebar Navigation (Opera-style) */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: #fff;
    border-right: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0,0,0,0.02);
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 40px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/5/53/Google_%22G%22_Logo.svg') no-repeat center/contain;
}

.sidebar-icons {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.s-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.s-icon:hover {
    background-color: #e8f0fe;
    color: var(--primary-blue);
    transform: scale(1.1);
}

.s-icon.active {
    background-color: #e8f0fe;
    color: var(--primary-blue);
}

.s-icon::after {
    content: '';
    position: absolute;
    left: -20px; /* Hidden by default */
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-blue);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: left 0.3s, opacity 0.3s;
}

.s-icon.active::after {
    left: 0;
    opacity: 1;
}

/* Main Content Wrapper */
.main-wrapper {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
}

/* Header */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-download {
    background: var(--primary-blue);
    color: white;
    padding: 12px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-download:hover {
    background: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background: radial-gradient(circle at 80% 50%, #e8f0fe 0%, #ffffff 60%);
    position: relative;
    overflow: hidden;
}

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

.hero h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc04, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-visual {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 900px;
    z-index: 1;
}

.browser-mockup {
    width: 100%;
    border-radius: 20px;
    box-shadow: -40px 40px 80px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.5);
    background: #fff;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Grid */
.features-section {
    padding: 100px 60px;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.f-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.f-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.f-desc {
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 24px;
}

.f-image {
    margin-top: auto;
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

/* Sidebar Feature Highlight */
.sidebar-highlight {
    background: #202124;
    color: white;
    padding: 100px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.highlight-content {
    max-width: 500px;
}

.highlight-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.highlight-content p {
    color: #9aa0a6;
    font-size: 18px;
    margin-bottom: 32px;
}

.highlight-visual {
    position: relative;
    width: 600px;
    height: 400px;
}

/* Gemini Chat UI Simulation */
.chat-ui {
    background: #303134;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    padding: 12px 20px;
    border-radius: 20px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.5;
}

.bubble-user {
    background: #4285f4;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.bubble-ai {
    background: #444746;
    color: #e3e3e3;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

/* Footer */
footer {
    background: #f1f3f4;
    padding: 80px 60px;
    margin-top: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #5f6368;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: #5f6368;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 60px;
    }
    
    .hero-visual {
        position: relative;
        right: 0;
        transform: none;
        width: 100%;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar-highlight {
        flex-direction: column;
        text-align: center;
    }
}
