:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.7);
    --text: #0f172a;
    --text-muted: #64748b;
    --border: rgba(226, 232, 240, 0.5);
    --success: #10b981;
    --danger: #ef4444;
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 24px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] {
    --bg: #020617;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(51, 65, 85, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glow: 0 0 30px rgba(99, 102, 241, 0.4);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.5s, color 0.5s;
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
    perspective: 1000px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hidden { display: none !important; }

/* 3D Background & Floating Shapes */
.glass-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 40%);
}

.floating-shapes {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), #a855f7);
    filter: blur(80px);
    opacity: 0.2;
    animation: float 20s infinite alternate;
}

.s1 { width: 400px; height: 400px; top: -100px; left: -100px; }
.s2 { width: 300px; height: 300px; bottom: 10%; right: -50px; animation-delay: -5s; }
.s3 { width: 250px; height: 250px; top: 40%; left: 50%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 50px) rotate(360deg); }
}

.glass {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--card-bg);
    border: var(--glass-border);
    box-shadow: var(--shadow), var(--glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, opacity;
}

/* 3D Text Effect */
.text-3d {
    text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15);
}

/* Navbar */
.navbar {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--glass-border);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

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

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

#theme-toggle, #help-btn, #lang-toggle {
    background: none; border: 1px solid var(--border); color: var(--text);
    padding: 10px; border-radius: 12px; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}

#lang-text { font-weight: 800; font-size: 0.8rem; }

.color-picker-container {
    display: flex;
    gap: 8px;
    margin-right: 10px;
    background: var(--border);
    padding: 5px;
    border-radius: 20px;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: 0.2s;
    padding: 0;
}

.color-dot.active { border-color: #000; transform: scale(1.2); box-shadow: 0 0 10px rgba(0,0,0,0.2); }
.color-default { background: #6366f1; }
.color-green { background: #10b981; }
.color-red { background: #ef4444; }
.color-pink { background: #ec4899; }

/* Container & Sections */
.container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 24px;
}

.content-section {
    animation: sectionFadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* No animation for Home Page as requested */
#home-section {
    animation: none !important;
}

#home-section .floating-shapes {
    display: none !important;
}

@keyframes sectionFadeUp {
    from { opacity: 0; transform: translateY(40px) rotateX(-5deg); }
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}

header { text-align: center; margin-bottom: 60px; }
header h1 { font-size: 3.5rem; margin-bottom: 15px; }
header p { color: var(--text-muted); font-size: 1.2rem; max-width: 700px; margin: 0 auto; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Generator Card */
.generator-card {
    padding: 50px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    transform-style: preserve-3d;
}

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

.badge-row { display: flex; align-items: center; gap: 12px; }

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.badge {
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.refresh-container { display: flex; align-items: center; gap: 15px; }
#refresh-timer { font-weight: 800; font-size: 0.9rem; color: var(--primary); min-width: 30px; }

.expiry-timer {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
}

.progress-bar {
    width: 80px;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

#progress-fill { height: 100%; background: var(--primary); width: 100%; transition: width 0.1s linear; }

.generator-controls { display: flex; flex-direction: column; gap: 25px; }
.account-manager { display: flex; flex-direction: column; gap: 15px; }
.input-group { display: flex; gap: 15px; }
.mailbox-switcher {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: rgba(0,0,0,0.03);
    border-radius: 20px;
}

.switcher-row, .note-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.note-row { flex-direction: row; align-items: center; }
.note-row input { flex: 1; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-weight: 600; }
.note-row button { padding: 12px; border-radius: 12px; }

.mailbox-switcher label { font-weight: 800; font-size: 0.85rem; color: var(--text-muted); }
#mailbox-select {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    font-weight: 700;
}

#email-address {
    flex: 1;
    padding: 20px 25px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.04);
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 800;
    transition: all 0.3s;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

#domain-select {
    padding: 0 20px; border-radius: 18px; border: 1px solid var(--border);
    background: var(--card-bg); color: var(--text); font-weight: 700; cursor: pointer;
}

.action-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }

.btn-primary, .btn-secondary, .btn-danger {
    padding: 16px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, opacity 0.2s, transform 0.1s;
}

.btn-primary { background: var(--primary); box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4); }
.btn-secondary { background: var(--text-muted); }
.btn-danger { background: var(--danger); box-shadow: 0 15px 30px rgba(239, 68, 68, 0.3); }

button:hover { opacity: 0.85; }
button:active { opacity: 0.7; }

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    z-index: 1100;
}

/* Inbox */
.inbox-container {
    padding: 40px;
    border-radius: var(--radius);
    margin-top: 40px;
}

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

.analytics-row { display: flex; gap: 20px; margin-top: 40px; }

.preferences-card { padding: 30px; border-radius: 20px; margin-top: 40px; }
.preferences-card h3 { font-size: 1.2rem; margin-bottom: 20px; }
.pref-grid { display: flex; gap: 30px; }
.pref-item { display: flex; align-items: center; gap: 15px; }
.pref-item label { font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.pref-item input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--primary); }
.stat-card { flex: 1; padding: 30px; border-radius: 20px; display: flex; align-items: center; gap: 20px; }
.stat-card i { font-size: 2.5rem; color: var(--primary); opacity: 0.8; }
.stat-info span { display: block; font-size: 1.8rem; font-weight: 900; }
.stat-info p { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; margin: 0; }

.search-box {
    flex: 1;
    min-width: 200px;
    background: rgba(0,0,0,0.05);
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box input {
    background: none;
    border: none;
    color: var(--text);
    width: 100%;
    outline: none;
    font-weight: 600;
}
.status-indicator { display: flex; align-items: center; gap: 10px; }
#status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
#status-text { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }

.message-item {
    padding: 20px 25px;
    border-radius: 20px;
    background: rgba(0,0,0,0.03);
    margin-bottom: 15px;
    border-left: 5px solid transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.message-item:hover {
    transform: translateX(10px) scale(1.02);
    background: var(--border);
    border-left-color: var(--primary);
}

.item-main .from { font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.unread-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.safety-badge { font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; font-weight: 800; text-transform: uppercase; }
.safety-safe { background: rgba(16, 185, 129, 0.2); color: #059669; }
.safety-warning { background: rgba(245, 158, 11, 0.2); color: #d97706; }
.item-main .subject { color: var(--text-muted); font-size: 0.9rem; }
.item-meta .time { font-weight: 700; color: var(--primary); font-size: 0.85rem; }

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.info-card-3d {
    padding: 40px;
    border-radius: var(--radius);
    text-align: left;
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 15px rgba(99, 102, 241, 0.2));
}

.info-card-3d h3 { font-size: 1.5rem; margin-bottom: 15px; }
.info-card-3d p { color: var(--text-muted); line-height: 1.7; }

.hiw-steps { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }
.hiw-step { display: flex; align-items: center; gap: 15px; background: rgba(0,0,0,0.02); padding: 10px; border-radius: 12px; }
.step-num { width: 24px; height: 24px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 900; }
.hiw-step p { font-size: 0.85rem !important; margin: 0 !important; font-weight: 700; color: var(--text); }

.benefit-list { list-style: none; margin-top: 15px; }
.benefit-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 600; }
.benefit-list i { color: var(--success); font-size: 0.9rem; }

/* Use Cases */
.usecases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.usecase-item { background: rgba(0,0,0,0.02); padding: 25px; border-radius: 20px; text-align: center; transition: 0.3s; }
.usecase-item:hover { background: var(--border); transform: translateY(-5px); }
.usecase-item i { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.usecase-item h4 { margin-bottom: 10px; font-size: 1.1rem; }
.usecase-item p { font-size: 0.85rem !important; color: var(--text-muted); line-height: 1.4; }

/* Security Guide */
.security-content { margin-top: 20px; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.sec-box { padding: 25px; background: rgba(16, 185, 129, 0.05); border-radius: 20px; border-left: 5px solid var(--success); }
.sec-box h4 { color: var(--success); margin-bottom: 10px; font-size: 1.2rem; }
.sec-box p { font-size: 0.9rem !important; line-height: 1.6; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; text-align: left; }
.faq-item { background: rgba(0,0,0,0.02); border-radius: 15px; overflow: hidden; border: 1px solid var(--border); }
.faq-quest { width: 100%; padding: 20px; background: none; border: none; text-align: left; font-weight: 800; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-quest:hover { background: var(--border); }
.faq-ans { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.faq-item.active .faq-ans { padding: 10px 20px 20px; max-height: 500px; }
.faq-item.active .faq-quest i { transform: rotate(180deg); }
.faq-quest i { transition: 0.3s; color: var(--primary); }

/* Message View */
.message-view { padding: 40px; border-radius: var(--radius); margin-top: 20px; }
.btn-text { background: none; border: none; color: var(--primary); font-weight: 800; cursor: pointer; margin-bottom: 25px; }
.msg-details h2 { font-size: 2rem; margin-bottom: 20px; }
.msg-meta-info { background: rgba(0,0,0,0.03); padding: 20px; border-radius: 15px; margin-bottom: 30px; }
.meta-item { margin-bottom: 5px; }
.meta-item .label { font-weight: 800; color: var(--text-muted); margin-right: 10px; }
.iframe-container { height: 600px; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: white; }

.attachment-list { margin-top: 20px; padding: 20px; background: rgba(0,0,0,0.03); border-radius: 15px; }
.attachment-list h4 { margin-bottom: 10px; font-size: 1rem; }
.attach-item { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); padding: 8px 15px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.85rem; border: 1px solid var(--border); margin-right: 10px; margin-bottom: 10px; }
.attach-item:hover { border-color: var(--primary); }
iframe { width: 100%; height: 100%; border: none; }

/* Profiles */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-top: 40px; }
.profile-card { padding: 40px; border-radius: var(--radius); text-align: center; position: relative; }
.profile-img-container { width: 180px; height: 180px; margin: 0 auto 30px; position: relative; }
.profile-img-container::before {
    content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 2px dashed var(--primary); border-radius: 50%; animation: rotate 10s linear infinite;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.profile-img { width: 100%; height: 100%; border-radius: 50%; border: 5px solid var(--primary); padding: 5px; background: var(--bg); transition: 0.5s; object-fit: cover; }
.profile-card:hover .profile-img { transform: scale(1.1) rotate(5deg); }
.status-badge { position: absolute; bottom: 10px; right: 20px; background: var(--primary); color: white; padding: 6px 15px; border-radius: 12px; font-weight: 800; font-size: 0.8rem; }
.status-badge.dev { background: var(--success); }

.stats-row { display: flex; justify-content: center; gap: 25px; margin: 25px 0; }
.stat-item { display: flex; flex-direction: column; }
.stat-val { font-weight: 900; font-size: 1.4rem; color: var(--primary); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.profile-links { display: flex; gap: 15px; justify-content: center; margin-top: 30px; }
.social-btn { padding: 12px 25px; border-radius: 15px; text-decoration: none; color: white; font-weight: 800; display: flex; align-items: center; gap: 10px; transition: opacity 0.3s; }
.social-btn:hover { opacity: 0.8; }
.insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.whatsapp { background: #25D366; }

.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.skill-tags span { background: var(--border); padding: 6px 15px; border-radius: 10px; font-size: 0.85rem; font-weight: 700; }

/* Brand Story */
.brand-story { margin-top: 60px; text-align: center; border-top: 1px solid var(--border); padding-top: 60px; }
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.work-item {
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    transition: background 0.3s;
}
.work-item:hover { background: rgba(0,0,0,0.05); }
.work-item h4 { color: var(--primary); margin-bottom: 12px; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.work-item p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.vision-box {
    margin-top: 30px;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 1px solid var(--border);
}

.vision-box h3 { margin-bottom: 15px; color: var(--primary); }
.vision-box p { font-size: 1rem; color: var(--text); line-height: 1.8; }

/* Pro Tips */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; }
.tip-item { padding: 25px; border-radius: 20px; text-align: center; }
.tip-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.tip-item h4 { margin-bottom: 10px; color: var(--text); }
.tip-item p { font-size: 0.9rem !important; color: var(--text-muted); }

/* Table */
.table-container { overflow-x: auto; margin-top: 30px; }
.comp-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 500px; }
.comp-table th, .comp-table td { padding: 20px; text-align: center; border-bottom: 1px solid var(--border); }
.comp-table th { font-weight: 800; color: var(--text); background: rgba(0,0,0,0.03); }
.comp-table th.highlight, .comp-table td.highlight { background: rgba(99, 102, 241, 0.05); color: var(--primary); font-weight: 700; }
.comp-table tr:last-child td { border-bottom: none; }

/* Glossary */
.glossary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 20px; }
.glos-item strong { display: block; color: var(--primary); font-size: 1.1rem; margin-bottom: 8px; }
.glos-item p { font-size: 0.85rem !important; color: var(--text-muted); line-height: 1.5; }

/* Forms */
.pro-form { display: flex; flex-direction: column; gap: 25px; margin-top: 30px; }
.input-row { display: flex; gap: 20px; }
.form-control { flex: 1; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.form-control label { font-weight: 800; font-size: 0.95rem; }
.pro-form input, .pro-form textarea {
    padding: 18px; border-radius: 18px; background: rgba(0,0,0,0.03); border: 1px solid var(--border); color: var(--text); font-size: 1rem; width: 100%; transition: 0.3s;
}
.pro-form input:focus, .pro-form textarea:focus { border-color: var(--primary); background: rgba(0,0,0,0.05); outline: none; }

/* Toast & Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
    pointer-events: none;
}

.toast {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text);
    margin-top: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    pointer-events: auto;
    max-width: 90vw;
}

@keyframes slideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.error { border-left: 4px solid var(--danger); }
.toast.success { border-left: 4px solid var(--success); }
.toast.info { border-left: 4px solid var(--primary); }

/* Modal */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 2000; }
.modal-content { padding: 50px; border-radius: 35px; background: var(--bg); text-align: center; width: 95%; max-width: 450px; position: relative; animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow-y: auto; max-height: 90vh; }

.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; text-align: left; }
.help-item { background: rgba(0,0,0,0.03); padding: 15px; border-radius: 15px; }
.help-item i { font-size: 1.5rem; color: var(--primary); margin-bottom: 10px; }
.help-item p { font-size: 0.85rem; font-weight: 600; line-height: 1.4; }
@keyframes modalSlideIn { from { transform: scale(0.8) translateY(50px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.close-modal { position: absolute; top: 20px; right: 25px; font-size: 2rem; cursor: pointer; color: var(--text-muted); }
#qr-container { background: white; padding: 20px; border-radius: 20px; margin: 25px 0; }

/* Footer */
footer { margin-top: 100px; padding: 60px 0; border-top: 1px solid var(--border); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-weight: 600; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { text-decoration: none; color: var(--text-muted); transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }

/* Responsiveness */
@media (max-width: 1024px) {
    .info-grid, .tips-grid, .usecases-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    header h1 { font-size: 2.2rem; }
    
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        border-left: var(--glass-border);
        gap: 3rem;
    }
    
    .nav-menu.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }

    .container { padding: 80px 15px 30px; }
    .generator-card { padding: 25px; }
    .generator-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .action-buttons { grid-template-columns: 1fr; }
    .info-grid, .tips-grid, .usecases-grid, .team-grid { grid-template-columns: 1fr; }
    .analytics-row { flex-direction: column; }
    .input-row { flex-direction: column; }
    .msg-view-header { flex-direction: column; gap: 15px; align-items: flex-start; }
    .tools-grid { flex-direction: column; }
    .help-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    
    #email-address { font-size: 1.1rem; padding: 15px; }
    .toast-container { left: 10px; right: 10px; bottom: 10px; }
    .toast { width: 100%; max-width: none; }
}
