0% found this document useful (0 votes)
19 views16 pages

4

The document contains CSS styles for a web application, defining variables for colors, shadows, and transitions. It includes styles for various components such as buttons, headers, sections, and grids, ensuring a responsive and visually appealing layout. Additionally, it incorporates animations and hover effects to enhance user interaction.

Uploaded by

saifjutt1959
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views16 pages

4

The document contains CSS styles for a web application, defining variables for colors, shadows, and transitions. It includes styles for various components such as buttons, headers, sections, and grids, ensuring a responsive and visually appealing layout. Additionally, it incorporates animations and hover effects to enhance user interaction.

Uploaded by

saifjutt1959
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 16

/* Base Styles */

:root {
--primary: #7309bc;
--primary-light: #f0d6ff;
--primary-dark: #5d0797;
--primary-darker: #450570;
--secondary: #09bcb3;
--white: #ffffff;
--off-white: #f9f9f9;
--light-gray: #f3f4f6;
--medium-gray: #e5e7eb;
--gray: #6b7280;
--dark-gray: #4b5563;
--dark: #1a1a1a;
--black: #000000;
--radius: 12px;
--radius-sm: 8px;
--radius-lg: 16px;
--shadow: 0 4px 20px rgba(115, 9, 188, 0.1);
--shadow-hover: 0 8px 30px rgba(115, 9, 188, 0.15);
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
--transition-fast: all 0.15s ease;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Inter', sans-serif;
color: var(--dark);
background-color: var(--white);
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

section {
padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {


font-weight: 600;
line-height: 1.2;
}
a {
text-decoration: none;
color: inherit;
}

ul {
list-style: none;
}

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

button {
cursor: pointer;
font-family: inherit;
border: none;
background: none;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 24px;
border-radius: var(--radius);
font-weight: 500;
transition: var(--transition);
text-align: center;
white-space: nowrap;
}

.btn-primary {
background-color: var(--primary);
color: var(--white);
}

.btn-primary:hover {
background-color: var(--primary-dark);
transform: translateY(-2px);
box-shadow: var(--shadow-hover);
}

.btn-secondary {
background-color: var(--white);
color: var(--primary);
border: 2px solid var(--primary);
}

.btn-secondary:hover {
background-color: var(--primary-light);
transform: translateY(-2px);
box-shadow: var(--shadow-hover);
}

.section-title {
text-align: center;
margin-bottom: 50px;
}

.section-title h2 {
font-size: 2rem;
margin-bottom: 15px;
position: relative;
display: inline-block;
}

.section-title h2::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: linear-gradient(90deg, var(--primary), var(--primary-dark));
margin: 15px auto;
border-radius: 2px;
}

.section-title p {
color: var(--gray);
max-width: 700px;
margin: 0 auto;
}

/* Header */
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 15px 0;
background-color: var(--white);
box-shadow: var(--shadow);
z-index: 1000;
transition: var(--transition);
}

header.scrolled {
padding: 10px 0;
box-shadow: 0 5px 20px rgba(115, 9, 188, 0.15);
}

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

.logo {
display: flex;
align-items: center;
font-size: 1.4rem;
font-weight: 700;
color: var(--primary);
transition: var(--transition);
}
.logo i {
margin-right: 10px;
font-size: 1.6rem;
}

.nav-links {
display: flex;
align-items: center;
gap: 20px;
}

.nav-links a {
font-weight: 500;
transition: var(--transition);
position: relative;
}

.nav-links a:not(.btn-primary):hover {
color: var(--primary);
}

.nav-links a:not(.btn-primary)::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary);
transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
width: 100%;
}

.mobile-menu-btn {
display: none;
background: none;
border: none;
padding: 5px;
z-index: 1001;
}

.hamburger {
width: 28px;
height: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: var(--transition);
}

.hamburger span {
display: block;
width: 100%;
height: 3px;
background-color: var(--dark);
border-radius: 3px;
transition: var(--transition);
transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
transform: rotate(45deg) translateY(-2px);
}

.hamburger.active span:nth-child(2) {
opacity: 0;
}

.hamburger.active span:nth-child(3) {
transform: rotate(-45deg) translateY(2px);
}

.mobile-download-btn {
display: none;
}

/* Hero Section */
.hero {
padding-top: 100px;
padding-bottom: 60px;
background: linear-gradient(135deg, var(--primary-light) 0%, var(--white)
100%);
position: relative;
overflow: hidden;
}

.hero .container {
display: flex;
flex-direction: column;
gap: 40px;
}

.hero-content {
order: 2;
text-align: center;
}

.hero-image {
order: 1;
text-align: center;
}

.hero-image img {
max-width: 300px;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-hover);
}

.hero-title {
font-size: 2.5rem;
margin-bottom: 20px;
line-height: 1.2;
}

.hero-title span {
color: var(--primary);
position: relative;
}

.hero-title span::after {
content: '';
position: absolute;
bottom: 5px;
left: 0;
width: 100%;
height: 8px;
background-color: rgba(115, 9, 188, 0.2);
z-index: -1;
border-radius: 4px;
}

.hero-subtitle {
font-size: 1.1rem;
color: var(--gray);
max-width: 600px;
margin: 0 auto 30px;
}

.search-box {
max-width: 600px;
margin: 0 auto 30px;
position: relative;
display: flex;
border-radius: 50px;
overflow: hidden;
box-shadow: var(--shadow);
}

.search-box input {
flex: 1;
padding: 15px 25px;
border: none;
font-size: 1rem;
padding-left: 50px;
background-color: var(--white);
}

.search-box i {
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
color: var(--gray);
}

.search-btn {
background-color: var(--primary);
color: var(--white);
border: none;
padding: 0 25px;
cursor: pointer;
transition: var(--transition);
}
.search-btn:hover {
background-color: var(--primary-dark);
}

.hero-cta {
display: flex;
gap: 15px;
justify-content: center;
margin-bottom: 30px;
flex-wrap: wrap;
}

.app-badges {
display: flex;
gap: 15px;
justify-content: center;
}

.app-badges img {
height: 40px;
border-radius: var(--radius-sm);
transition: var(--transition);
}

.app-badges img:hover {
transform: translateY(-3px);
}

/* Tools Section */
.tools {
background-color: var(--off-white);
}

.category-tabs-container {
overflow-x: auto;
padding-bottom: 10px;
margin-bottom: 30px;
-webkit-overflow-scrolling: touch;
}

.category-tabs {
display: flex;
gap: 10px;
padding-bottom: 5px;
width: max-content;
}

.category-tab {
padding: 8px 20px;
border-radius: 50px;
background: var(--light-gray);
color: var(--gray);
font-weight: 500;
cursor: pointer;
transition: var(--transition);
border: none;
font-size: 0.9rem;
white-space: nowrap;
}
.category-tab.active {
background: var(--primary);
color: var(--white);
}

.tools-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}

.tool-card {
background-color: var(--white);
border-radius: var(--radius-lg);
padding: 25px;
box-shadow: var(--shadow);
transition: var(--transition);
text-align: center;
position: relative;
overflow: hidden;
border: 1px solid var(--medium-gray);
cursor: pointer;
}

.tool-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
border-color: var(--primary-light);
}

.tool-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(to right, var(--primary), var(--primary-dark));
}

.tool-icon {
width: 60px;
height: 60px;
background-color: rgba(115, 9, 188, 0.1);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto 20px;
font-size: 1.5rem;
color: var(--primary);
transition: var(--transition);
}

.tool-card:hover .tool-icon {
background-color: var(--primary);
color: var(--white);
transform: rotateY(180deg);
}

.tool-card h3 {
font-size: 1.2rem;
margin-bottom: 12px;
}

.tool-card p {
color: var(--gray);
font-size: 0.9rem;
}

.load-more {
margin-top: 40px;
text-align: center;
}

/* Features Section */
.features {
background-color: var(--white);
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 25px;
}

.feature-card {
background-color: var(--off-white);
border-radius: var(--radius-lg);
padding: 30px;
box-shadow: var(--shadow);
text-align: center;
transition: var(--transition);
border: 1px solid var(--medium-gray);
}

.feature-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
border-color: var(--primary-light);
}

.feature-icon {
width: 70px;
height: 70px;
background-color: rgba(115, 9, 188, 0.1);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto 20px;
font-size: 1.8rem;
color: var(--primary);
}

.feature-card h3 {
font-size: 1.3rem;
margin-bottom: 15px;
}

.feature-card p {
color: var(--gray);
font-size: 0.95rem;
}

/* Animation Classes */
.pulse {
animation: pulse 2s infinite;
}

.float {
animation: float 6s infinite ease-in-out;
}

.shake {
animation: shake 3s infinite;
}

@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}

@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}

@keyframes shake {
0%, 100% {
transform: rotate(0deg);
}
25% {
transform: rotate(-5deg);
}
75% {
transform: rotate(5deg);
}
}

/* How It Works Section */


.how-it-works {
background-color: var(--off-white);
}
.steps {
max-width: 800px;
margin: 0 auto 40px;
position: relative;
}

.steps::before {
content: '';
position: absolute;
left: 30px;
top: 40px;
bottom: 40px;
width: 2px;
background-color: var(--medium-gray);
z-index: 1;
}

.step {
display: flex;
margin-bottom: 30px;
position: relative;
z-index: 2;
}

.step:last-child {
margin-bottom: 0;
}

.step-number {
width: 60px;
height: 60px;
background-color: var(--primary);
color: var(--white);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
font-weight: 700;
margin-right: 20px;
flex-shrink: 0;
}

.step-content {
padding-top: 10px;
}

.step-content h3 {
font-size: 1.3rem;
margin-bottom: 10px;
}

.step-content p {
color: var(--gray);
font-size: 0.95rem;
}

.video-demo {
margin-top: 60px;
}

.video-placeholder {
position: relative;
background-color: var(--light-gray);
border-radius: var(--radius-lg);
overflow: hidden;
height: 0;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
background-image: linear-gradient(135deg, var(--primary-light), var(--
primary));
}

.play-btn {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 70px;
height: 70px;
background-color: var(--white);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
color: var(--primary);
font-size: 1.5rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
transition: var(--transition);
}

.play-btn:hover {
transform: translate(-50%, -50%) scale(1.1);
color: var(--primary-dark);
}

/* Testimonials Section */
.testimonials {
background-color: var(--white);
}

.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
}

.testimonial-card {
background-color: var(--off-white);
border-radius: var(--radius-lg);
padding: 30px;
box-shadow: var(--shadow);
transition: var(--transition);
border: 1px solid var(--medium-gray);
}

.testimonial-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
}

.rating {
color: #ffc107;
margin-bottom: 15px;
font-size: 0.9rem;
}

.testimonial-card p {
font-style: italic;
margin-bottom: 20px;
color: var(--dark-gray);
}

.user {
display: flex;
align-items: center;
gap: 15px;
}

.user img {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
}

.user-info h4 {
font-size: 1rem;
margin-bottom: 2px;
}

.user-info span {
font-size: 0.8rem;
color: var(--gray);
}

/* Download CTA */
.download-cta {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: var(--white);
padding: 80px 0;
text-align: center;
}

.download-cta h2 {
font-size: 2rem;
margin-bottom: 15px;
}

.download-cta p {
margin-bottom: 25px;
opacity: 0.9;
}

/* Footer */
footer {
background-color: var(--dark);
color: var(--white);
padding: 80px 0 0;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
margin-bottom: 50px;
}

.footer-section .logo {
color: var(--white);
margin-bottom: 20px;
}

.footer-section p {
color: rgba(255, 255, 255, 0.7);
margin-bottom: 20px;
font-size: 0.95rem;
}

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

.social-links a {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
display: flex;
justify-content: center;
align-items: center;
transition: var(--transition);
color: var(--white);
}

.social-links a:hover {
background-color: var(--primary);
transform: translateY(-3px);
}

.footer-section h3 {
font-size: 1.2rem;
margin-bottom: 20px;
color: var(--white);
}

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

.footer-section ul li a {
color: rgba(255, 255, 255, 0.7);
transition: var(--transition);
font-size: 0.95rem;
}
.footer-section ul li a:hover {
color: var(--white);
padding-left: 5px;
}

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding: 20px 0;
text-align: center;
color: rgba(255, 255, 255, 0.5);
font-size: 0.9rem;
display: flex;
flex-direction: column;
gap: 10px;
}

.footer-links {
display: flex;
justify-content: center;
gap: 20px;
}

.footer-links a {
color: rgba(255, 255, 255, 0.7);
transition: var(--transition);
font-size: 0.9rem;
}

.footer-links a:hover {
color: var(--white);
}

/* Back to Top Button */


.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background-color: var(--primary);
color: var(--white);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
box-shadow: var(--shadow);
opacity: 0;
visibility: hidden;
transition: var(--transition);
z-index: 999;
}

.back-to-top.visible {
opacity: 1;
visibility: visible;
}

.back-to-top:hover {
background-color: var(--primary-dark);
transform: translateY(-3px);
}

/* Responsive Styles */
@media (min-width: 768px) {
.hero {
padding-top: 120px;
padding-bottom: 80px;
}

.hero .container {
flex-direction: row;
align-items: center;
gap: 60px

You might also like