freshyo/apps/info-site/public/css/styles.css
2026-01-24 00:13:15 +05:30

796 lines
14 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');
:root {
/* Brand Colors - Matching user-ui app */
--brand-25: #F5FAFF;
--brand-50: #EFF8FF;
--brand-100: #D1E9FF;
--brand-200: #B2DDFF;
--brand-300: #84CAFF;
--brand-400: #53B1FD;
--brand-500: #2E90FA;
--brand-600: #1570EF;
--brand-700: #175CD3;
--brand-800: #1849A9;
--brand-900: #194185;
/* Semantic Colors */
--primary: var(--brand-500);
--primary-dark: var(--brand-600);
--primary-light: var(--brand-400);
--success: #22C55E;
--warning: #F59E0B;
--error: #EF4444;
/* Grays */
--gray-50: #FAFAFA;
--gray-100: #F5F5F5;
--gray-200: #E9EAEB;
--gray-300: #D5D7DA;
--gray-400: #A4A7AE;
--gray-500: #717680;
--gray-600: #535862;
--gray-700: #414651;
--gray-800: #252B37;
--gray-900: #101828;
/* Spacing */
--spacing-xs: 0.25rem;
--spacing-sm: 0.5rem;
--spacing-md: 1rem;
--spacing-lg: 1.5rem;
--spacing-xl: 2rem;
--spacing-2xl: 3rem;
/* Border Radius */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 24px;
--radius-full: 9999px;
/* Shadows */
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
/* Container */
--container-max: 480px;
--nav-height: 70px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
}
body {
font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background-color: var(--brand-50);
color: var(--gray-900);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Typography */
h1 {
font-size: 2rem;
font-weight: 800;
color: var(--gray-900);
line-height: 1.2;
}
h2 {
font-size: 1.5rem;
font-weight: 700;
color: var(--gray-900);
line-height: 1.3;
}
h3 {
font-size: 1.25rem;
font-weight: 600;
color: var(--gray-900);
line-height: 1.4;
}
p {
font-size: 1rem;
color: var(--gray-600);
line-height: 1.6;
}
a {
color: var(--brand-500);
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: var(--brand-600);
}
/* App Container - Mobile First */
.app-container {
min-height: 100vh;
display: flex;
flex-direction: column;
background-color: var(--brand-50);
}
.app-content {
flex: 1;
padding: var(--spacing-lg);
max-width: var(--container-max);
margin: 0 auto;
width: 100%;
padding-top: calc(var(--nav-height) + var(--spacing-lg));
}
/* Navigation - Mobile App Style */
.nav {
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
max-width: var(--container-max);
height: var(--nav-height);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 var(--spacing-lg);
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-bottom: 1px solid var(--gray-100);
z-index: 1000;
}
.nav-logo {
display: flex;
align-items: center;
gap: var(--spacing-sm);
font-size: 1.25rem;
font-weight: 800;
color: var(--brand-600);
}
.nav-logo svg,
.nav-logo i {
width: 28px;
height: 28px;
color: var(--brand-500);
}
.nav-links {
display: flex;
gap: var(--spacing-md);
list-style: none;
}
.nav-links a {
font-size: 0.875rem;
font-weight: 500;
color: var(--gray-600);
padding: var(--spacing-sm) var(--spacing-md);
border-radius: var(--radius-full);
transition: all 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
color: var(--brand-500);
background-color: var(--brand-50);
}
/* Cards */
.card {
background: white;
border-radius: var(--radius-xl);
padding: var(--spacing-xl);
box-shadow: var(--shadow-md);
border: 1px solid var(--gray-100);
margin-bottom: var(--spacing-lg);
}
.card-header {
margin-bottom: var(--spacing-lg);
padding-bottom: var(--spacing-md);
border-bottom: 1px solid var(--gray-100);
}
.card-header h2 {
margin-bottom: var(--spacing-xs);
}
.card-header p {
font-size: 0.875rem;
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--spacing-sm);
padding: var(--spacing-md) var(--spacing-xl);
border-radius: var(--radius-lg);
font-size: 1rem;
font-weight: 600;
border: none;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
}
.btn-primary {
background: var(--brand-500);
color: white;
box-shadow: 0 4px 14px rgba(46, 144, 250, 0.4);
}
.btn-primary:hover {
background: var(--brand-600);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(46, 144, 250, 0.5);
}
.btn-secondary {
background: white;
color: var(--gray-700);
border: 1px solid var(--gray-200);
}
.btn-secondary:hover {
background: var(--gray-50);
border-color: var(--gray-300);
}
.btn-danger {
background: var(--error);
color: white;
}
.btn-danger:hover {
background: #DC2626;
}
.btn-sm {
padding: var(--spacing-sm) var(--spacing-md);
font-size: 0.875rem;
}
.btn-lg {
padding: var(--spacing-lg) var(--spacing-2xl);
font-size: 1.125rem;
}
/* Form Elements */
.form-group {
margin-bottom: var(--spacing-lg);
}
.form-label {
display: block;
font-size: 0.875rem;
font-weight: 500;
color: var(--gray-700);
margin-bottom: var(--spacing-sm);
}
.form-input {
width: 100%;
padding: var(--spacing-md);
border: 1px solid var(--gray-200);
border-radius: var(--radius-md);
font-size: 1rem;
font-family: inherit;
transition: all 0.2s ease;
background: white;
}
.form-input:focus {
outline: none;
border-color: var(--brand-500);
box-shadow: 0 0 0 3px rgba(46, 144, 250, 0.1);
}
.form-input::placeholder {
color: var(--gray-400);
}
/* Feature Items */
.feature-grid {
display: grid;
gap: var(--spacing-lg);
margin: var(--spacing-xl) 0;
}
.feature-item {
display: flex;
align-items: flex-start;
gap: var(--spacing-md);
padding: var(--spacing-lg);
background: white;
border-radius: var(--radius-lg);
border: 1px solid var(--gray-100);
}
.feature-icon {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: var(--brand-50);
border-radius: var(--radius-md);
color: var(--brand-500);
font-size: 1.25rem;
flex-shrink: 0;
}
.feature-content h3 {
margin-bottom: var(--spacing-xs);
}
.feature-content p {
font-size: 0.875rem;
}
/* Stats */
.stats-row {
display: flex;
justify-content: space-around;
gap: var(--spacing-md);
padding: var(--spacing-xl);
background: var(--brand-500);
border-radius: var(--radius-xl);
margin: var(--spacing-xl) 0;
}
.stat-item {
text-align: center;
color: white;
}
.stat-value {
font-size: 2rem;
font-weight: 800;
display: block;
}
.stat-label {
font-size: 0.875rem;
opacity: 0.9;
}
/* Footer */
.footer {
background: white;
padding: var(--spacing-xl);
margin-top: var(--spacing-2xl);
border-top: 1px solid var(--gray-100);
}
.footer-content {
max-width: var(--container-max);
margin: 0 auto;
display: flex;
flex-direction: column;
gap: var(--spacing-lg);
text-align: center;
}
.footer-brand {
display: flex;
align-items: center;
justify-content: center;
gap: var(--spacing-sm);
font-size: 1.25rem;
font-weight: 700;
color: var(--brand-600);
}
.footer-brand svg,
.footer-brand i {
color: var(--brand-500);
}
.footer-links {
display: flex;
justify-content: center;
gap: var(--spacing-lg);
flex-wrap: wrap;
}
.footer-links a {
color: var(--gray-500);
font-size: 0.875rem;
}
.footer-copyright {
font-size: 0.75rem;
color: var(--gray-400);
}
/* Hero Section */
.hero {
text-align: center;
padding: var(--spacing-2xl) 0;
}
.hero-badge {
display: inline-block;
padding: var(--spacing-xs) var(--spacing-md);
background: var(--brand-100);
color: var(--brand-700);
font-size: 0.75rem;
font-weight: 600;
border-radius: var(--radius-full);
margin-bottom: var(--spacing-md);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.hero h1 {
margin-bottom: var(--spacing-md);
}
.hero p {
margin-bottom: var(--spacing-xl);
max-width: 100%;
}
.hero-actions {
display: flex;
flex-direction: column;
gap: var(--spacing-md);
align-items: center;
}
/* Section Headers */
.section-header {
margin-bottom: var(--spacing-xl);
text-align: center;
}
.section-header h2 {
margin-bottom: var(--spacing-sm);
}
.section-header p {
font-size: 0.875rem;
}
/* Alert/Banner */
.alert {
padding: var(--spacing-md);
border-radius: var(--radius-md);
margin-bottom: var(--spacing-lg);
}
.alert-info {
background: var(--brand-50);
border: 1px solid var(--brand-100);
color: var(--brand-700);
}
.alert-warning {
background: #FFFBEB;
border: 1px solid #FDE68A;
color: #B45309;
}
.alert-danger {
background: #FEF2F2;
border: 1px solid #FECACA;
color: #B91C1C;
}
.alert-success {
background: #F0FDF4;
border: 1px solid #BBF7D0;
color: #15803D;
}
/* Icon styles */
.icon {
display: inline-flex;
align-items: center;
justify-content: center;
}
.icon-sm { font-size: 1rem; }
.icon-md { font-size: 1.25rem; }
.icon-lg { font-size: 1.5rem; }
.icon-xl { font-size: 2rem; }
/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
/* Responsive */
@media (min-width: 768px) {
:root {
--container-max: 700px;
}
h1 {
font-size: 2.5rem;
}
.hero-actions {
flex-direction: row;
}
.feature-grid {
grid-template-columns: repeat(2, 1fr);
}
.footer-content {
flex-direction: row;
justify-content: space-between;
text-align: left;
}
}
@media (min-width: 1024px) {
:root {
--container-max: 800px;
}
.feature-grid {
grid-template-columns: repeat(3, 1fr);
}
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.5s ease forwards;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.animate-pulse {
animation: pulse 2s ease-in-out infinite;
}
/* Back Link */
.back-link {
display: inline-flex;
align-items: center;
gap: var(--spacing-sm);
color: var(--brand-500);
font-weight: 500;
margin-bottom: var(--spacing-lg);
transition: opacity 0.2s;
}
.back-link:hover {
opacity: 0.8;
}
/* Policy Page Specific */
.policy-content {
background: white;
border-radius: var(--radius-xl);
padding: var(--spacing-xl);
box-shadow: var(--shadow-md);
}
.policy-content h1 {
margin-bottom: var(--spacing-md);
}
.policy-content h2 {
margin-top: var(--spacing-xl);
margin-bottom: var(--spacing-md);
font-size: 1.25rem;
}
.policy-content p,
.policy-content li {
color: var(--gray-600);
margin-bottom: var(--spacing-md);
line-height: 1.7;
}
.policy-content ul {
padding-left: var(--spacing-xl);
margin-bottom: var(--spacing-lg);
}
/* Download Page Specific */
.download-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: var(--spacing-lg);
background: linear-gradient(180deg, var(--brand-50) 0%, white 100%);
}
.download-card {
background: white;
border-radius: var(--radius-xl);
padding: var(--spacing-2xl);
box-shadow: var(--shadow-xl);
text-align: center;
max-width: 400px;
width: 100%;
}
.download-options {
display: flex;
flex-direction: column;
gap: var(--spacing-md);
margin-top: var(--spacing-xl);
}
.download-option {
display: flex;
align-items: center;
gap: var(--spacing-md);
padding: var(--spacing-lg);
background: white;
border: 2px solid var(--gray-200);
border-radius: var(--radius-lg);
text-decoration: none;
color: var(--gray-900);
transition: all 0.2s ease;
}
.download-option:hover {
border-color: var(--brand-300);
transform: translateX(4px);
box-shadow: var(--shadow-md);
}
.download-option.android:hover {
border-color: #3DDC84;
}
.download-option.ios:hover {
border-color: var(--brand-500);
}
.download-icon {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-md);
font-size: 1.5rem;
color: white;
}
.download-icon.android {
background: linear-gradient(135deg, #3DDC84 0%, #2AA852 100%);
}
.download-icon.ios {
background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
}
.download-info {
text-align: left;
flex: 1;
}
.download-info h3 {
font-size: 1rem;
margin-bottom: 2px;
}
.download-info p {
font-size: 0.75rem;
color: var(--gray-500);
}
/* Success Page */
.success-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: var(--spacing-lg);
}
.success-card {
background: white;
border-radius: var(--radius-xl);
padding: var(--spacing-2xl);
box-shadow: var(--shadow-xl);
text-align: center;
max-width: 400px;
width: 100%;
}
.success-icon {
font-size: 4rem;
color: var(--success);
margin-bottom: var(--spacing-lg);
}
/* Delete Account Page */
.delete-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: var(--spacing-lg);
background: var(--brand-50);
}
.delete-card {
background: white;
border-radius: var(--radius-xl);
padding: var(--spacing-2xl);
box-shadow: var(--shadow-xl);
max-width: 450px;
width: 100%;
}
.warning-icon {
font-size: 3rem;
color: var(--error);
margin-bottom: var(--spacing-lg);
display: block;
text-align: center;
}
.delete-card h1 {
text-align: center;
margin-bottom: var(--spacing-md);
}
.delete-card p {
text-align: center;
margin-bottom: var(--spacing-xl);
}
.delete-card .form-group {
margin-bottom: var(--spacing-lg);
}
.delete-card .btn-danger {
width: 100%;
margin-top: var(--spacing-md);
}