/* Mira - Yapify-Inspired Design with Y Combinator Orange */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #ff6600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #ff6600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    text-align: center;
    padding: 180px 0 140px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 18px 36px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: #ff6600;
    color: white;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-alt {
    background: #111111;
}

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

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #1a1a1a;
    padding: 48px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ff6600;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #ff6600;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 32px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 16px;
}

/* How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.step {
    text-align: center;
    padding: 40px 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #ff6600;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 32px;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ff6600, transparent);
    transform: translateY(-50%);
}

.step:last-child .step-number::after {
    display: none;
}

.step h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 16px;
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 38px;
    position: relative;
    box-shadow: 0 4px 32px 0 rgba(255, 102, 0, 0.18), 0 1.5px 8px 0 rgba(0,0,0,0.10);
    transition: transform 0.18s, box-shadow 0.18s;
}
.step-icon-glass {
    background: rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 102, 0, 0.25);
    box-shadow: 0 4px 32px 0 rgba(255, 102, 0, 0.18), 0 1.5px 8px 0 rgba(0,0,0,0.10);
}
.step-icon-glass i {
    color: #ff6600;
    text-shadow: 0 2px 16px rgba(255,102,0,0.18);
}
.step-icon-glass:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 8px 40px 0 rgba(255, 102, 0, 0.28), 0 2px 12px 0 rgba(0,0,0,0.12);
}
.icon-overlay {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255,102,0,0.10);
}
.icon-overlay i {
    color: #ff6600;
    font-size: 16px;
}

/* Assistant Section */
.assistant-section {
    background: #0a0a0a;
    padding: 120px 0;
}

.assistant-header {
    text-align: center;
    margin-bottom: 60px;
}

.assistant-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.assistant-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.assistant-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.voice-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.voice-selector {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.voice-selector:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.voice-selector:focus {
    outline: none;
    border-color: #ff6600;
    background: rgba(255, 255, 255, 0.1);
}

.voice-selector option {
    background: #1a1a1a;
    color: white;
    padding: 8px;
}

.assistant-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.summary-panel, .emails-panel {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.summary-panel h3, .emails-panel h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.summary-text {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.emails-list {
    max-height: 600px;
    overflow-y: auto;
}

.email-item {
    background: #0f0f0f;
    padding: 24px;
    margin-bottom: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.email-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.email-sender {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 15px;
}

.email-subject {
    font-weight: 600;
    color: #ff6600;
    margin-bottom: 8px;
    font-size: 16px;
}

.email-preview-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.email-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.priority-badge, .action-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-high {
    background: rgba(255, 102, 0, 0.2);
    color: #ff6600;
}

.priority-medium {
    background: rgba(255, 102, 0, 0.15);
    color: #ff6600;
}

.priority-low {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.action-badge {
    background: rgba(255, 102, 0, 0.2);
    color: #ff6600;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.3);
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.loading i {
    font-size: 24px;
    margin-bottom: 16px;
    animation: spin 1s linear infinite;
    color: #ff6600;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #ff6600;
    border-color: #ff6600;
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ff6600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ff6600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-body {
    margin-bottom: 24px;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 24px;
}

.modal-footer {
    text-align: center;
}

.privacy-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.privacy-note i {
    color: #22c55e;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.loading-content {
    text-align: center;
}

.loading-content i {
    font-size: 32px;
    color: #ff6600;
    margin-bottom: 16px;
    animation: spin 1s linear infinite;
}

.loading-content p {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
}

/* User Dropdown */
.user-dropdown {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 102, 0, 0.2);
    transition: all 0.2s ease;
}

.user-dropdown:hover {
    background: rgba(255, 102, 0, 0.15);
}

.user-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
}

/* Google Sign-in Button */
.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.google-signin-btn:hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.google-signin-btn img {
    width: 20px;
    height: 20px;
}

/* --- Sign-in Modal Modern Styles Polished --- */
.signin-modal-content {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  padding: 48px 32px 32px 32px;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.signin-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.signin-logo .logo-icon {
  width: 48px;
  height: 48px;
  font-size: 28px;
  border-radius: 16px;
  background: #ff6600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.signin-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  text-align: center;
}
.signin-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 32px;
  text-align: center;
}
.signin-options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}
.google-btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.google-signin-btn {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #1a1a1a;
  border-radius: 12px;
  font-size: 1.08rem;
  font-weight: 600;
  width: 100%;
  max-width: 340px;
  height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, background 0.2s;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.google-signin-btn:focus {
  outline: 2px solid #ff6600;
  outline-offset: 2px;
}
.google-signin-btn:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: #f9fafb;
}
.google-signin-btn img {
  width: 22px;
  height: 22px;
  display: block;
  margin: 0 0 0 2px;
}
.google-signin-btn span {
  font-size: 1.08rem;
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
  width: auto;
}
.google-btn-content span {
  font-size: 1.08rem;
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
  width: auto;
}
.or-divider {
  display: flex;
  align-items: center;
  width: 100%;
  color: #b0b0b0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 8px 0 0 0;
  gap: 12px;
  justify-content: center;
}
.or-divider span {
  flex: none;
  padding: 0 8px;
  background: #fff;
  z-index: 1;
}
.or-divider:before, .or-divider:after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
  z-index: 0;
}
.email-auth-btn {
  background: #fff;
  color: #222;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  padding: 14px 0;
  margin: 0;
  transition: box-shadow 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.email-auth-btn span {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
}
.email-auth-btn:focus {
  outline: 2px solid #ff6600;
  outline-offset: 2px;
}
.email-auth-btn:hover {
  background: #f3f4f6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.terms-note {
  color: #9ca3af;
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 16px;
  text-align: center;
}
.terms-note strong, .terms-note b, .terms-note span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
@media (max-width: 480px) {
  .signin-modal-content {
    padding: 24px 8px 24px 8px;
    max-width: 98vw;
    border-radius: 16px;
  }
  .signin-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
    border-radius: 12px;
  }
  .signin-title {
    font-size: 1.3rem;
  }
  .signin-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .signin-options {
    gap: 10px;
    margin-bottom: 16px;
  }
  .google-signin-btn, .email-auth-btn {
    font-size: 0.98rem;
    padding: 12px 0;
    border-radius: 10px;
  }
  .google-signin-btn span, .email-auth-btn span {
    font-size: 0.98rem;
  }
  .or-divider {
    font-size: 0.8rem;
    gap: 8px;
  }
}

/* --- Email Auth Modal Modern Styles --- */
#email-auth-modal .modal-content {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  padding: 40px 32px 32px 32px;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#email-auth-modal .modal-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
#email-auth-modal .modal-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  flex: 1;
  text-align: left;
}
#email-auth-modal .modal-close {
  color: #b0b0b0;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
#email-auth-modal .modal-close:hover {
  background: #f3f4f6;
  color: #222;
}
#email-auth-modal .modal-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#email-auth-modal .modal-body form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 8px;
}
#email-auth-modal .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#email-auth-modal label {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
}
#email-auth-modal input {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #222;
  outline: none;
  transition: border 0.2s;
}
#email-auth-modal input:focus {
  border: 1.5px solid #ff6600;
  background: #fff;
}
#email-auth-modal .btn-primary {
  background: #181f2a;
  color: #fff;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  padding: 14px 0;
  margin-top: 8px;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
#email-auth-modal .btn-primary:hover {
  background: #222b3a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
#email-auth-modal .modal-footer, #email-auth-modal .terms-note {
  color: #9ca3af;
  font-size: 0.92rem;
  margin-top: 16px;
  text-align: center;
}

/* Success and Error Messages */
.success-message {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    margin: 16px 0;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    animation: slideInUp 0.3s ease-out;
}

.error-message {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    margin: 16px 0;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced form styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6600;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Enhanced button states */
.btn-primary:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary:disabled:hover {
    background: #666;
    transform: none;
    box-shadow: none;
}

/* Loading states */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced modal transitions */
.modal {
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    animation: slideInUp 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive improvements */
@media (max-width: 480px) {
    .success-message,
    .error-message {
        padding: 12px 16px;
        font-size: 14px;
        margin: 12px 0;
    }
    
    .form-group input {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .assistant-content {
        grid-template-columns: 1fr;
    }
    
    .assistant-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .section-header p {
        font-size: 18px;
    }
    
    .step-number::after {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 140px 0 100px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .summary-panel, .emails-panel {
        padding: 24px;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        gap: 30px;
    }
} 