* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: radial-gradient(circle at top, #2b2e36, #1a1a1d); /* Slight gradient for unique feel */
    font-family: 'Arial', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    color: #e8eaed;
    overflow: hidden;
    cursor: crosshair;
}

/* Header / Top Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 13px;
    height: 60px;
}

.top-nav-left a, .top-nav-right a {
    color: #e8eaed;
    text-decoration: none;
    margin: 0 10px;
}

.top-nav-left a:hover, .top-nav-right a:hover {
    text-decoration: underline;
}

.top-nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-launcher-icon {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    fill: #e8eaed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-launcher-icon:hover {
    background-color: rgba(255,255,255,0.1);
}

.profile-icon {
    width: 32px;
    height: 32px;
    background-color: #8ab4f8; /* Blue-ish */
    border-radius: 50%;
    color: #202124;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

/* Main Area */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 120px; /* Visual balance */
}

/* Logo */
.logo-container {
    font-family: 'Comic Neue Angular', sans-serif; /* Keep user preference */
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.letter { display: inline-block; }
.blue { color: #8ab4f8; }
.red { color: #f28b82; }
.yellow { color: #fdd663; }
.green { color: #81c995; }

/* Search Container */
.search-container {
    width: 100%;
    max-width: 584px;
}

.search-container form {
    background: #303134;
    border: 1px solid #5f6368;
    border-radius: 24px;
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.search-container form:hover {
    background: #303134;
    box-shadow: 0 1px 6px rgba(0,0,0,0.3);
    border-color: rgba(223,225,229,0);
}

.search-icon {
    width: 20px;
    height: 20px;
    fill: #9aa0a6;
    margin-right: 12px;
}

.search-container input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e8eaed;
    font-size: 16px;
    font-family: arial, sans-serif;
    height: 100%;
}

.search-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mic-icon {
    width: 24px;
    height: 24px;
    fill: #8ab4f8; /* Colored mic icon often used */
    cursor: pointer;
}

/* Buttons */
.buttons-container {
    margin-top: 30px;
    display: flex;
    gap: 12px;
}

.buttons-container button {
    background-color: #303134;
    border: 1px solid #303134;
    color: #e8eaed;
    height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    font-family: arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.buttons-container button:hover {
    border: 1px solid #5f6368;
    color: #e8eaed;
}

/* Footer */
footer {
    background: #171717;
    color: #9aa0a6;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.footer-top {
    padding: 15px 30px;
    border-bottom: 1px solid #3c4043;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    flex-wrap: wrap;
}

.footer-left, .footer-right {
    display: flex;
    gap: 30px;
}

.footer-bottom a {
    color: #9aa0a6;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Modal Adjustments */
.modal-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal-overlay.active {
    display: block !important;
}

.modal-content {
    position: absolute;
    top: 60px; /* Below header */
    right: 20px;
    background: #303134;
    border: 1px solid #5f6368;
    border-radius: 8px;
    padding: 15px;
    width: 320px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    padding: 10px 5px;
}

.service-item:hover {
    background-color: rgba(255,255,255,0.1);
}

.service-item span {
    font-size: 12px;
    margin-top: 5px;
    color: #e8eaed;
}

/* Previous Styles (Cursor, etc.) */
#cursor-glow {
    /* Keeping existing style but ensuring it works on top */
    z-index: 9999;
}

/* Clean up old selectors if they exist or overwrite them */
.app-launcher { display: none; } /* Hide old footer launcher */
