* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fredoka', Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Navigation */
header {
    padding: 15px 30px;
    display: flex;
    justify-content: flex-end;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #5f6368;
    font-size: 14px;
    line-height: 34px;
}

.sign-in {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

/* Main Search Area */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
}

.logo-text {
    font-size: 80px;
    color: #4285f4; /* Google Blue */
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.search-bar {
    width: 100%;
    max-width: 580px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    transition: box-shadow 0.2s;
}

.search-bar:hover, .search-bar:focus-within {
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
    border-color: rgba(223,225,229,0);
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0 10px;
}

.search-icon, .mic-icon {
    color: #9aa0a6;
    font-size: 18px;
    cursor: pointer;
}

.buttons {
    margin-top: 25px;
}

.buttons button {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    line-height: 36px;
    min-width: 120px;
    cursor: pointer;
}

.buttons button:hover {
    border: 1px solid #dadce0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #f2f2f2;
    padding: 15px 30px;
    display: flex;
    justify-content: center;
}

.footer-row a {
    margin: 0 15px;
    text-decoration: none;
    color: #70757a;
    font-size: 14px;
}

.voice-section {
    margin-top: 20px;
    text-align: center;
}

.big-voice-btn {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.big-voice-btn:hover {
    background-color: #357ae8;
    transform: scale(1.05);
}

/* Pulse animation for when the AI is listening */
.recording {
    background-color: #ea4335 !important; /* Red for recording */
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(234, 67, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 67, 53, 0); }
}

#status-msg {
    margin-top: 10px;
    color: #70757a;
    font-size: 14px;
}
