|
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | | - <title>CyberShield — AI Scam Detector Chat</title> |
| 6 | + <title>CyberShield — Scam Text Detector</title> |
7 | 7 | <link rel="stylesheet" href="style.css"> |
8 | 8 | <link rel="icon" type="image/png" href="favicon.png" /> |
9 | 9 | </head> |
|
12 | 12 | <!-- ── Loading Screen ── --> |
13 | 13 | <div id="loader"> |
14 | 14 | <div class="loader-inner"> |
15 | | - <div class="loader-ring"></div> |
16 | | - <div class="loader-logo"> |
17 | | - <svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="#00ffb4" stroke-width="1.8"> |
18 | | - <path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" /> |
19 | | - </svg> |
| 15 | + <div class="loader-sonar"> |
| 16 | + <div class="loader-core"> |
| 17 | + <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" style="color:#00f5ff"> |
| 18 | + <path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/> |
| 19 | + </svg> |
| 20 | + </div> |
20 | 21 | </div> |
21 | 22 | <div class="loader-brand">CyberShield AI</div> |
22 | | - <div class="loader-tagline">Conversational Scam & Fraud Protection.</div> |
23 | | - <div class="loader-bar-wrap"> |
24 | | - <div class="loader-bar"></div> |
25 | | - </div> |
| 23 | + <div class="loader-tagline">Conversational Scam & Fraud Protection</div> |
| 24 | + <div class="loader-bar-wrap"><div class="loader-bar"></div></div> |
26 | 25 | </div> |
27 | 26 | </div> |
28 | 27 |
|
| 28 | + <!-- ── Theme Toggle ── --> |
| 29 | + <button id="themeToggle" class="theme-toggle-btn" aria-label="Toggle theme"> |
| 30 | + <div class="toggle-icon-wrap"> |
| 31 | + <svg class="sun-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> |
| 32 | + <circle cx="12" cy="12" r="4"/> |
| 33 | + <path d="M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41m12.72-12.72l-1.41 1.41"/> |
| 34 | + </svg> |
| 35 | + <svg class="moon-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> |
| 36 | + <path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"/> |
| 37 | + </svg> |
| 38 | + </div> |
| 39 | + </button> |
| 40 | + |
29 | 41 | <!-- ── Main Page ── --> |
30 | 42 | <main id="mainPage" class="hidden"> |
31 | 43 | <div class="wrapper"> |
|
36 | 48 | <div class="dot"></div> |
37 | 49 | CyberShield AI |
38 | 50 | </div> |
39 | | - <button id="themeToggle" class="theme-toggle-btn" aria-label="Toggle dark mode"> |
40 | | - 🌙 |
41 | | - </button> |
42 | | - <h1> |
43 | | - Scam Detector<br> |
44 | | - <span>Conversational Agent</span> |
45 | | - </h1> |
46 | | - <p class="subtitle"> |
47 | | - Paste emails, SMS messages, investment pitches, or job offers. |
48 | | - Our AI scans for social engineering & phishing signatures. |
49 | | - </p> |
| 51 | + <h1>Scam Detector<br><span>Conversational Agent</span></h1> |
| 52 | + <p class="subtitle">Paste emails, SMS messages, investment pitches, or job offers. Our AI scans for social engineering & phishing signatures.</p> |
50 | 53 | </header> |
51 | 54 |
|
52 | | - <!-- Navigation Link --> |
| 55 | + <!-- Navigation --> |
53 | 56 | <div class="dashboard-cta"> |
54 | | - <a class="scan-btn" href="index.html">Back to URL Scanner</a> |
| 57 | + <a class="scan-btn" href="index.html"> |
| 58 | + <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"> |
| 59 | + <path d="M19 12H5M12 19l-7-7 7-7"/> |
| 60 | + </svg> |
| 61 | + Back to URL Scanner |
| 62 | + </a> |
| 63 | + <a class="scan-btn" href="dashboard.html" style="background:var(--card-bg); color:var(--accent-cyan); border:1px solid var(--card-border);"> |
| 64 | + <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"> |
| 65 | + <rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/> |
| 66 | + <rect x="14" y="14" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/> |
| 67 | + </svg> |
| 68 | + Threat Dashboard |
| 69 | + </a> |
55 | 70 | </div> |
56 | 71 |
|
57 | 72 | <!-- Chat Interface Card --> |
58 | | - <div class="chat-card chat-card-container"> |
| 73 | + <div class="chat-card"> |
59 | 74 | <div class="chat-container-header"> |
60 | 75 | <span class="chat-status"> |
61 | 76 | <span class="chat-status-dot"></span> |
62 | 77 | CyberShield Assistant Online |
63 | 78 | </span> |
64 | | - <button onclick="clearChat()" class="example-chip chat-clear-btn" title="Clear conversation history"> |
65 | | - Clear Chat |
66 | | - </button> |
| 79 | + <button onclick="clearChat()" class="example-chip chat-clear-btn">Clear Chat</button> |
67 | 80 | </div> |
68 | 81 |
|
69 | 82 | <div id="chatHistory" class="chat-history"> |
70 | | - <!-- Default Bot Welcome --> |
71 | 83 | <div class="chat-msg robot"> |
72 | 84 | <div class="chat-avatar">🛡️</div> |
73 | 85 | <div class="chat-bubble"> |
74 | | - <strong>Welcome to the CyberShield Scam Detector Chat!</strong> |
75 | | - <p class="chat-welcome-text"> |
76 | | - Paste any suspicious messages, job contracts, banking warnings, or SMS below. I will inspect the context and return a structured safety audit details report. You can ask follow-up questions about safety tips! |
77 | | - </p> |
| 86 | + <strong>Welcome to CyberShield Scam Detector!</strong> |
| 87 | + <p class="chat-welcome-text">Paste any suspicious messages, job offers, banking warnings, or SMS texts. I'll return a structured safety audit. You can also ask follow-up questions about staying safe!</p> |
78 | 88 | </div> |
79 | 89 | </div> |
80 | 90 | </div> |
81 | 91 |
|
82 | | - <!-- Bouncing Loading Dots --> |
83 | | - <div id="typingIndicator" class="chat-msg robot typing-msg hidden"> |
| 92 | + <!-- Typing Indicator --> |
| 93 | + <div id="typingIndicator" class="chat-msg robot typing-msg hidden" style="padding:12px 24px"> |
84 | 94 | <div class="chat-avatar">🤖</div> |
85 | 95 | <div class="typing-indicator"> |
86 | 96 | <div class="dot-bounce"></div> |
|
89 | 99 | </div> |
90 | 100 | </div> |
91 | 101 |
|
92 | | - <!-- Chat Input Section --> |
| 102 | + <!-- Chat Input --> |
93 | 103 | <div class="chat-input-wrap"> |
94 | 104 | <div class="chat-input-row"> |
95 | | - <textarea id="chatInput" placeholder="Paste or type suspicious message text here to analyze..." rows="2" class="chat-input-textarea" oninput="adjustTextareaHeight(this)"></textarea> |
| 105 | + <textarea |
| 106 | + id="chatInput" |
| 107 | + placeholder="Paste or type suspicious message text here to analyze…" |
| 108 | + rows="2" |
| 109 | + class="chat-input-textarea" |
| 110 | + oninput="adjustTextareaHeight(this)" |
| 111 | + ></textarea> |
96 | 112 | <button class="scan-btn chat-send-btn" id="sendBtn" onclick="sendMessage()"> |
97 | 113 | <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"> |
98 | | - <line x1="22" y1="2" x2="11" y2="13"></line> |
99 | | - <polygon points="22 2 15 22 11 13 2 9 22 2"></polygon> |
| 114 | + <line x1="22" y1="2" x2="11" y2="13"/><polygon points="22 2 15 22 11 13 2 9 22 2"/> |
100 | 115 | </svg> |
101 | | - Verify Text |
| 116 | + Analyze |
102 | 117 | </button> |
103 | 118 | </div> |
104 | 119 | </div> |
105 | 120 | </div> |
106 | 121 |
|
107 | | - <!-- Quick Scan Templates --> |
| 122 | + <!-- Quick Templates --> |
108 | 123 | <div class="examples chat-examples-container"> |
109 | 124 | <span class="examples-label">Try Examples:</span> |
110 | 125 | <button class="example-chip" onclick="fillTemplate('job')">Fake Job Offer</button> |
111 | | - <button class="example-chip" onclick="fillTemplate('phishing')">Courier Delivery SMS</button> |
112 | | - <button class="example-chip" onclick="fillTemplate('otp')">Bank OTP Security Scam</button> |
113 | | - <button class="example-chip" onclick="fillTemplate('crypto')">Telegram Investment Double</button> |
| 126 | + <button class="example-chip" onclick="fillTemplate('phishing')">Courier SMS Scam</button> |
| 127 | + <button class="example-chip" onclick="fillTemplate('otp')">Bank OTP Fraud</button> |
| 128 | + <button class="example-chip" onclick="fillTemplate('crypto')">Crypto Doubling</button> |
114 | 129 | </div> |
115 | 130 |
|
116 | | - <!-- Stats or Features Row (Scam Types) --> |
| 131 | + <!-- Scam Type Features --> |
117 | 132 | <div class="features chat-features-container"> |
118 | 133 | <div class="feature-item"> |
119 | 134 | <div class="feature-icon">🎣</div> |
120 | | - <div class="feature-title">Phishing & Impersonation</div> |
| 135 | + <div class="feature-title">Phishing & Impersonation</div> |
121 | 136 | <div class="feature-desc">Catch fake login notifications, courier warnings, or urgent support requests.</div> |
122 | 137 | </div> |
123 | 138 | <div class="feature-item"> |
124 | 139 | <div class="feature-icon">💼</div> |
125 | 140 | <div class="feature-title">Fake Recruitment</div> |
126 | | - <div class="feature-desc">Scan suspicious part-time task job offers and wire payment deposit demands.</div> |
| 141 | + <div class="feature-desc">Scan suspicious part-time task offers and wire payment deposit demands.</div> |
127 | 142 | </div> |
128 | 143 | <div class="feature-item"> |
129 | 144 | <div class="feature-icon">📉</div> |
130 | 145 | <div class="feature-title">Investment Schemes</div> |
131 | | - <div class="feature-desc">Flag unrealistic returns, crypto doubling schemes, and pressure-selling crypto pitches.</div> |
| 146 | + <div class="feature-desc">Flag unrealistic returns, crypto doubling schemes, and pressure-selling pitches.</div> |
132 | 147 | </div> |
133 | 148 | </div> |
134 | 149 |
|
135 | | - <!-- Footer --> |
136 | | - <footer class="main-footer"> |
137 | | - <div class="footer-content"> |
138 | | - <div class="footer-brand"> |
139 | | - <div class="logo-badge"> |
140 | | - <div class="dot"></div> |
141 | | - CyberShield AI |
142 | | - </div> |
143 | | - <p>Conversational LLM scan engine to audit suspect text patterns.</p> |
| 150 | + </div> |
| 151 | + |
| 152 | + <!-- Footer --> |
| 153 | + <footer class="main-footer"> |
| 154 | + <div class="footer-content"> |
| 155 | + <div class="footer-brand"> |
| 156 | + <div class="logo-badge"><div class="dot"></div>CyberShield AI</div> |
| 157 | + <p>Conversational LLM scan engine to audit suspect text patterns.</p> |
| 158 | + </div> |
| 159 | + <div class="footer-links"> |
| 160 | + <div class="footer-col"> |
| 161 | + <h4>Tools</h4> |
| 162 | + <a href="index.html">URL Scanner</a> |
| 163 | + <a href="dashboard.html">Threat Dashboard</a> |
144 | 164 | </div> |
145 | | - <div class="footer-links"> |
146 | | - <div class="footer-col"> |
147 | | - <h4>Navigation</h4> |
148 | | - <a href="index.html">URL Scanner</a> |
149 | | - <a href="dashboard.html">Threat Dashboard</a> |
150 | | - </div> |
| 165 | + <div class="footer-col"> |
| 166 | + <h4>Legal</h4> |
| 167 | + <a href="privacy.html">Privacy Policy</a> |
| 168 | + <a href="terms.html">Terms of Service</a> |
151 | 169 | </div> |
152 | 170 | </div> |
153 | | - <div class="footer-bottom"> |
154 | | - © 2026 CyberShield URL Scanner. Powered by Google Gemini AI. |
155 | | - </div> |
156 | | - </footer> |
157 | | - |
158 | | - </div> |
| 171 | + </div> |
| 172 | + <div class="footer-bottom">© 2026 CyberShield URL Scanner. Powered by Claude AI.</div> |
| 173 | + </footer> |
159 | 174 | </main> |
160 | 175 |
|
161 | 176 | <script src="chat.js"></script> |
|
0 commit comments