- Created index.html for the Google Ads campaign landing page with structured sections including navigation, hero, benefits, channels, pricing, and contact information. - Implemented script.js for mobile menu toggle, scroll animations, budget calculator, and smooth scrolling for anchor links. - Developed style.css for styling the landing page, ensuring a modern and responsive layout with animations and hover effects.
876 lines
15 KiB
CSS
876 lines
15 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--primary: #0a7b7b;
|
|
--primary-dark: #065e5e;
|
|
--primary-light: #0d9e9e;
|
|
--text: #333;
|
|
--text-light: #666;
|
|
--bg: #fff;
|
|
--bg-light: #f7fafa;
|
|
--bg-dark: #0a2e2e;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
color: var(--text);
|
|
line-height: 1.6;
|
|
background: var(--bg);
|
|
}
|
|
|
|
a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
/* NAV */
|
|
.nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: #fff;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,.08);
|
|
z-index: 100;
|
|
transition: box-shadow .3s;
|
|
}
|
|
|
|
.nav__inner {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 24px;
|
|
}
|
|
|
|
.nav__logo img {
|
|
height: 60px;
|
|
width: auto;
|
|
}
|
|
|
|
.nav__links {
|
|
display: flex;
|
|
gap: 28px;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav__links a {
|
|
color: var(--text);
|
|
font-size: .95rem;
|
|
font-weight: 500;
|
|
transition: color .2s;
|
|
}
|
|
|
|
.nav__links a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.nav__cta {
|
|
background: var(--primary);
|
|
color: #fff !important;
|
|
padding: 8px 22px;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
transition: background .2s;
|
|
}
|
|
|
|
.nav__cta:hover {
|
|
background: var(--primary-dark);
|
|
color: #fff !important;
|
|
}
|
|
|
|
.nav__hamburger {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
}
|
|
|
|
.nav__hamburger span {
|
|
width: 26px;
|
|
height: 3px;
|
|
background: var(--text);
|
|
border-radius: 2px;
|
|
transition: .3s;
|
|
}
|
|
|
|
/* HERO */
|
|
.hero {
|
|
margin-top: 70px;
|
|
padding: 80px 24px 60px;
|
|
background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
|
|
color: #fff;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: -100px;
|
|
top: -100px;
|
|
width: 500px;
|
|
height: 500px;
|
|
background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.hero__inner {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 60px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero__text {
|
|
flex: 1;
|
|
}
|
|
|
|
.hero__subtitle {
|
|
font-size: .95rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
opacity: .85;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.hero__text h1 {
|
|
font-size: 2.8rem;
|
|
font-weight: 800;
|
|
line-height: 1.15;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hero__text p {
|
|
font-size: 1.15rem;
|
|
opacity: .9;
|
|
max-width: 520px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.hero__buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 14px 32px;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: all .25s;
|
|
}
|
|
|
|
.btn--white {
|
|
background: #fff;
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
.btn--white:hover {
|
|
background: #e6f5f5;
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
.btn--outline {
|
|
background: transparent;
|
|
color: #fff;
|
|
border: 2px solid rgba(255,255,255,.5);
|
|
}
|
|
|
|
.btn--outline:hover {
|
|
border-color: #fff;
|
|
background: rgba(255,255,255,.1);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn--primary {
|
|
background: var(--primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn--primary:hover {
|
|
background: var(--primary-dark);
|
|
color: #fff;
|
|
}
|
|
|
|
.hero__visual {
|
|
flex: 0 0 340px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero__icon-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.hero__icon-card {
|
|
background: rgba(255,255,255,.12);
|
|
backdrop-filter: blur(6px);
|
|
border: 1px solid rgba(255,255,255,.15);
|
|
border-radius: 14px;
|
|
padding: 24px 18px;
|
|
text-align: center;
|
|
transition: transform .3s;
|
|
}
|
|
|
|
.hero__icon-card:hover {
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.hero__icon-card .icon {
|
|
font-size: 2rem;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.hero__icon-card span {
|
|
font-size: .85rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* SECTIONS */
|
|
.section {
|
|
padding: 80px 24px;
|
|
}
|
|
|
|
.section--alt {
|
|
background: var(--bg-light);
|
|
}
|
|
|
|
.section__inner {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section__header {
|
|
text-align: center;
|
|
margin-bottom: 56px;
|
|
}
|
|
|
|
.section__header h2 {
|
|
font-size: 2.2rem;
|
|
font-weight: 700;
|
|
color: var(--primary-dark);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.section__header p {
|
|
color: var(--text-light);
|
|
font-size: 1.1rem;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* WHY CARDS */
|
|
.why-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 28px;
|
|
}
|
|
|
|
.why-card {
|
|
background: #fff;
|
|
border-radius: 14px;
|
|
padding: 36px 28px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,.05);
|
|
border: 1px solid #eef5f5;
|
|
transition: transform .3s, box-shadow .3s;
|
|
}
|
|
|
|
.why-card:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: 0 12px 36px rgba(10,123,123,.12);
|
|
}
|
|
|
|
.why-card__icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(135deg, var(--primary), var(--primary-light));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
color: #fff;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.why-card h3 {
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
.why-card p {
|
|
color: var(--text-light);
|
|
font-size: .95rem;
|
|
}
|
|
|
|
/* CHANNELS */
|
|
.channels-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.channel-card {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
padding: 32px 20px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 12px rgba(0,0,0,.04);
|
|
border: 1px solid #eef5f5;
|
|
transition: transform .3s, border-color .3s;
|
|
}
|
|
|
|
.channel-card:hover {
|
|
transform: translateY(-4px);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.channel-card .icon {
|
|
font-size: 2.2rem;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.channel-card h3 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
}
|
|
|
|
.channel-card p {
|
|
font-size: .85rem;
|
|
color: var(--text-light);
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* PRICING */
|
|
.pricing-box {
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
background: #fff;
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
box-shadow: 0 8px 40px rgba(10,123,123,.1);
|
|
}
|
|
|
|
.pricing-box__header {
|
|
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
|
|
color: #fff;
|
|
padding: 40px 40px 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.pricing-box__header h3 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.pricing-box__price {
|
|
font-size: 3rem;
|
|
font-weight: 800;
|
|
margin: 12px 0 4px;
|
|
}
|
|
|
|
.pricing-box__price small {
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
opacity: .8;
|
|
}
|
|
|
|
.pricing-box__min-badge {
|
|
display: inline-block;
|
|
margin-top: 16px;
|
|
padding: 10px 28px;
|
|
background: rgba(255,255,255,.2);
|
|
border: 2px solid rgba(255,255,255,.5);
|
|
border-radius: 50px;
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
letter-spacing: .5px;
|
|
}
|
|
|
|
/* CALCULATOR */
|
|
.pricing-box__calculator {
|
|
padding: 32px 40px;
|
|
background: var(--bg-light);
|
|
border-bottom: 1px solid #eef5f5;
|
|
}
|
|
|
|
.pricing-box__calculator h4 {
|
|
font-size: 1.1rem;
|
|
color: var(--primary-dark);
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.pricing-box__calculator label {
|
|
display: block;
|
|
font-size: .95rem;
|
|
color: var(--text);
|
|
margin-bottom: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.pricing-box__calculator label strong {
|
|
color: var(--primary);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.pricing-box__calculator input[type="range"] {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 100%;
|
|
height: 8px;
|
|
border-radius: 4px;
|
|
background: linear-gradient(to right, var(--primary), var(--primary-light));
|
|
outline: none;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.pricing-box__calculator input[type="range"]::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
border: 4px solid #fff;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,.2);
|
|
cursor: pointer;
|
|
transition: transform .15s;
|
|
}
|
|
|
|
.pricing-box__calculator input[type="range"]::-webkit-slider-thumb:hover {
|
|
transform: scale(1.15);
|
|
}
|
|
|
|
.pricing-box__calculator input[type="range"]::-moz-range-thumb {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
border: 4px solid #fff;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,.2);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.calculator__result {
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
.calculator__result-item {
|
|
flex: 1;
|
|
background: #fff;
|
|
border-radius: 10px;
|
|
padding: 16px;
|
|
text-align: center;
|
|
border: 1px solid #eef5f5;
|
|
}
|
|
|
|
.calculator__result-item span {
|
|
display: block;
|
|
font-size: .8rem;
|
|
color: var(--text-light);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.calculator__result-item strong {
|
|
font-size: 1.25rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.calculator__result-item--total {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.calculator__result-item--total span {
|
|
color: rgba(255,255,255,.8);
|
|
}
|
|
|
|
.calculator__result-item--total strong {
|
|
color: #fff;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.pricing-box__body {
|
|
padding: 36px 40px 40px;
|
|
}
|
|
|
|
.pricing-box__features {
|
|
list-style: none;
|
|
margin-bottom: 32px;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0 24px;
|
|
}
|
|
|
|
.pricing-box__features li {
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
font-size: .95rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.pricing-box__features li::before {
|
|
content: '\2713';
|
|
color: var(--primary);
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.pricing-box__body .btn {
|
|
width: 100%;
|
|
text-align: center;
|
|
font-size: 1.1rem;
|
|
padding: 16px;
|
|
}
|
|
|
|
/* CONTACT */
|
|
.contact-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 24px;
|
|
}
|
|
|
|
.contact-card {
|
|
background: #fff;
|
|
border-radius: 14px;
|
|
padding: 36px 24px;
|
|
text-align: center;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,.05);
|
|
border: 1px solid #eef5f5;
|
|
transition: transform .3s, box-shadow .3s;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.contact-card:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: 0 12px 36px rgba(10,123,123,.12);
|
|
}
|
|
|
|
a.contact-card:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.contact-card__icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, var(--primary), var(--primary-light));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.8rem;
|
|
color: #fff;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.contact-card strong {
|
|
font-size: .85rem;
|
|
color: var(--text-light);
|
|
font-weight: 400;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.contact-card span {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* FOOTER */
|
|
.footer {
|
|
background: var(--bg-dark);
|
|
color: #fff;
|
|
padding: 48px 24px 24px;
|
|
}
|
|
|
|
.footer__inner {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 24px;
|
|
}
|
|
|
|
.footer__logo-img {
|
|
height: 36px;
|
|
width: auto;
|
|
filter: brightness(0) invert(1);
|
|
}
|
|
|
|
.footer__links {
|
|
display: flex;
|
|
gap: 24px;
|
|
list-style: none;
|
|
}
|
|
|
|
.footer__links a {
|
|
color: rgba(255,255,255,.7);
|
|
font-size: .9rem;
|
|
transition: color .2s;
|
|
}
|
|
|
|
.footer__links a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.footer__copy {
|
|
width: 100%;
|
|
text-align: center;
|
|
padding-top: 24px;
|
|
margin-top: 24px;
|
|
border-top: 1px solid rgba(255,255,255,.1);
|
|
font-size: .85rem;
|
|
opacity: .6;
|
|
}
|
|
|
|
/* ANIMATIONS */
|
|
.fade-in {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
transition: opacity .6s ease, transform .6s ease;
|
|
}
|
|
|
|
.fade-in.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* RESPONSIVE */
|
|
@media (max-width: 900px) {
|
|
.hero__inner {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero__text p {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.hero__buttons {
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero__visual {
|
|
flex: none;
|
|
}
|
|
|
|
.why-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.contact-cards {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.pricing-box__features {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.nav__inner {
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
.nav__logo img {
|
|
height: 44px;
|
|
}
|
|
|
|
.nav__links {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: #fff;
|
|
flex-direction: column;
|
|
padding: 16px 24px;
|
|
gap: 12px;
|
|
box-shadow: 0 8px 20px rgba(0,0,0,.08);
|
|
}
|
|
|
|
.nav__links.active {
|
|
display: flex;
|
|
}
|
|
|
|
.nav__hamburger {
|
|
display: flex;
|
|
}
|
|
|
|
.hero {
|
|
padding: 60px 16px 48px;
|
|
}
|
|
|
|
.hero__text h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero__text p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.hero__icon-grid {
|
|
gap: 10px;
|
|
}
|
|
|
|
.hero__icon-card {
|
|
padding: 16px 12px;
|
|
}
|
|
|
|
.section {
|
|
padding: 56px 16px;
|
|
}
|
|
|
|
.section__header h2 {
|
|
font-size: 1.7rem;
|
|
}
|
|
|
|
.section__header p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.channels-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.pricing-box__header {
|
|
padding: 28px 20px 24px;
|
|
}
|
|
|
|
.pricing-box__header h3 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.pricing-box__price {
|
|
font-size: 2.4rem;
|
|
}
|
|
|
|
.pricing-box__min-badge {
|
|
font-size: 1rem;
|
|
padding: 8px 20px;
|
|
}
|
|
|
|
.pricing-box__body,
|
|
.pricing-box__calculator {
|
|
padding: 24px 20px;
|
|
}
|
|
|
|
.pricing-box__features {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.calculator__result {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.contact-cards {
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.contact-card {
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.contact-card__icon {
|
|
width: 52px;
|
|
height: 52px;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.contact-card span {
|
|
font-size: .95rem;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.footer {
|
|
padding: 36px 16px 20px;
|
|
}
|
|
|
|
.footer__inner {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer__links {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.footer__copy {
|
|
font-size: .78rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero__text h1 {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.hero__visual {
|
|
width: 100%;
|
|
}
|
|
|
|
.hero__icon-grid {
|
|
width: 100%;
|
|
}
|
|
|
|
.why-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.channels-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.contact-cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.btn {
|
|
padding: 12px 24px;
|
|
font-size: .95rem;
|
|
}
|
|
}
|