-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
101 lines (95 loc) · 3.99 KB
/
index.html
File metadata and controls
101 lines (95 loc) · 3.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>StudySphere – Home</title>
<link rel="stylesheet" href="style.css"/>
<style>
body { overflow: hidden; }
.page {
grid-template-columns: 1fr;
align-items: center;
justify-items: center;
text-align: center;
padding: 0 24px;
}
.hero {
display: flex; flex-direction: column;
align-items: center; gap: 0;
max-width: 700px;
}
.hero .logo { margin-bottom: 48px; justify-content: center; }
.hero .eyebrow { text-align: center; }
.hero .headline { text-align: center; font-size: clamp(42px,6vw,80px); margin-bottom: 22px; }
.hero .sub { text-align: center; max-width: 480px; margin-bottom: 44px; }
.cta-row { display: flex; gap: 14px; justify-content: center; }
.btn-primary {
padding: 14px 36px; border: none; border-radius: 12px;
font-family: 'Space Grotesk', sans-serif;
font-size: 15px; font-weight: 700; cursor: pointer;
background: linear-gradient(135deg, var(--purple), var(--pink));
color: #fff;
box-shadow: 0 4px 24px rgba(124,58,237,0.4);
transition: transform .15s, box-shadow .2s;
background-size: 200% 100%;
animation: gradShift 5s ease infinite;
}
@keyframes gradShift {
0%,100%{background-position:0% 50%} 50%{background-position:100% 50%}
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(124,58,237,0.55); }
.btn-ghost {
padding: 14px 36px; border-radius: 12px;
border: 1px solid rgba(139,92,246,0.3);
background: transparent; cursor: pointer;
font-family: 'Space Grotesk', sans-serif;
font-size: 15px; font-weight: 600; color: var(--purple-l);
transition: all .2s;
}
.btn-ghost:hover { border-color: var(--purple-l); background: rgba(124,58,237,0.07); }
.badge {
display: inline-flex; align-items: center; gap: 6px;
padding: 6px 14px; border-radius: 99px;
border: 1px solid rgba(139,92,246,0.25);
background: rgba(124,58,237,0.1);
font-size: 12px; color: var(--purple-l);
font-weight: 500; margin-bottom: 24px;
}
.badge-dot { width:6px;height:6px;border-radius:50%;background:var(--purple-l);animation:blinkDot 1.4s infinite; flex-shrink:0; }
@keyframes blinkDot { 0%,100%{opacity:1} 50%{opacity:0.3} }
</style>
</head>
<body>
<canvas id="splash"></canvas>
<div class="noise"></div>
<div class="orb o1"></div>
<div class="orb o2"></div>
<div class="orb o3"></div>
<div class="page">
<div class="hero">
<div class="logo">
<div class="logo-mark">
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="11" cy="11" r="9" stroke="white" stroke-width="1.5" fill="none"/>
<ellipse cx="11" cy="11" rx="4.5" ry="9" stroke="white" stroke-width="1.5" fill="none"/>
<line x1="2" y1="11" x2="20" y2="11" stroke="white" stroke-width="1.5"/>
<line x1="4" y1="6" x2="18" y2="6" stroke="white" stroke-width="1" opacity="0.6"/>
<line x1="4" y1="16" x2="18" y2="16" stroke="white" stroke-width="1" opacity="0.6"/>
</svg>
</div>
<span class="logo-text">StudySphere</span>
</div>
<div class="badge"><span class="badge-dot"></span> Now in Beta — Free for all students</div>
<p class="eyebrow">Virtual Study Community Platform</p>
<h1 class="headline">Study smarter,<br/><em>together</em></h1>
<p class="sub">Join live study rooms, share resources, and track your progress alongside students worldwide.</p>
<div class="cta-row">
<button class="btn-primary" onclick="window.location.href='register.html'">Get Started Free →</button>
<button class="btn-ghost" onclick="window.location.href='login.html'">Sign In</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>