v2: улучшенный дизайн с анимацией

This commit is contained in:
hff 2026-08-27 06:39:55 +00:00
parent a54f3d0329
commit 8d74dd24ad

View File

@ -4,79 +4,170 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Мой проект</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🚀</text></svg>">
<style>
:root{--ink:#0F1218;--cyan:#00E5FF;--cyan-50:#E8FCFF;--white:#fff;--gray-500:#5B6573;--gray-100:#F2F4F7}
:root{--ink:#0F1218;--cyan:#00E5FF;--cyan-50:#E8FCFF;--white:#fff;--gray-500:#5B6573;--gray-100:#F2F4F7;--gradient:linear-gradient(135deg,#00E5FF 0%,#0099FF 100%)}
*{box-sizing:border-box;margin:0;padding:0}
body{font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,sans-serif;color:var(--ink);background:var(--white)}
.container{max-width:1140px;margin:0 auto;padding:80px 24px}
.hero{background:var(--ink);color:var(--white);padding:120px 24px;text-align:center}
.hero h1{font-size:clamp(36px,6vw,56px);font-weight:800;line-height:1.05;margin-bottom:24px}
.hero p{font-size:20px;color:#9aa3b2;max-width:600px;margin:0 auto 32px}
.btn{display:inline-block;background:var(--cyan);color:var(--ink);padding:14px 28px;border-radius:8px;font-weight:700;text-decoration:none;cursor:pointer;border:none;font-size:17px}
.btn:hover{opacity:0.9}
.section{padding:80px 24px}
.section h2{font-size:clamp(28px,4vw,36px);font-weight:700;margin-bottom:40px;text-align:center}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;max-width:1140px;margin:0 auto}
.card{background:var(--gray-100);border-radius:16px;padding:32px}
.card h3{font-size:22px;font-weight:700;margin-bottom:16px}
.form-section{background:var(--cyan-50)}
.form{max-width:500px;margin:0 auto;display:grid;gap:16px}
.form input,.form textarea{width:100%;padding:14px;border:1px solid var(--gray-100);border-radius:8px;font-size:17px;font-family:inherit}
.form textarea{min-height:120px;resize:vertical}
body{font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,sans-serif;color:var(--ink);background:var(--white);overflow-x:hidden}
.container{max-width:1140px;margin:0 auto;padding:0 24px}
.hero{background:var(--ink);color:var(--white);padding:140px 0;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-50%;right:-20%;width:600px;height:600px;background:radial-gradient(circle,rgba(0,229,255,0.15) 0%,transparent 70%);border-radius:50%}
.hero .container{position:relative;z-index:1}
.hero h1{font-size:clamp(40px,7vw,64px);font-weight:800;line-height:1.05;margin-bottom:24px;letter-spacing:-0.02em}
.hero p{font-size:clamp(18px,2.5vw,22px);color:#9aa3b2;max-width:600px;margin-bottom:40px;line-height:1.7}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--cyan);color:var(--ink);padding:16px 32px;border-radius:10px;font-weight:700;text-decoration:none;cursor:pointer;border:none;font-size:17px;transition:all 0.3s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,229,255,0.3)}
.btn-secondary{background:transparent;border:2px solid var(--cyan);color:var(--cyan)}
.btn-secondary:hover{background:var(--cyan);color:var(--ink)}
.section{padding:100px 0}
.section h2{font-size:clamp(32px,5vw,42px);font-weight:700;margin-bottom:16px;text-align:center}
.section-subtitle{text-align:center;color:var(--gray-500);max-width:600px;margin:0 auto 60px;font-size:18px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:32px}
.card{background:var(--gray-100);border-radius:20px;padding:40px;transition:all 0.3s ease;position:relative;overflow:hidden}
.card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(0,0,0,0.1)}
.card-icon{font-size:48px;margin-bottom:24px;display:block}
.card h3{font-size:24px;font-weight:700;margin-bottom:16px}
.card p{color:var(--gray-500);line-height:1.7}
.about{background:var(--cyan-50)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.about-img{width:100%;height:400px;object-fit:cover;border-radius:20px;box-shadow:0 20px 40px rgba(0,0,0,0.15)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px}
.stat{background:var(--white);padding:32px;border-radius:16px;text-align:center}
.stat-num{font-size:42px;font-weight:800;color:var(--cyan);display:block;margin-bottom:8px}
.stat-label{color:var(--gray-500);font-size:14px;text-transform:uppercase;letter-spacing:1px}
.form-section{background:var(--ink);color:var(--white)}
.form-section h2{color:var(--white)}
.form-section .section-subtitle{color:#9aa3b2}
.form{max-width:500px;margin:0 auto;display:grid;gap:20px}
.form input,.form textarea{width:100%;padding:18px;border:2px solid #2a2f3a;background:transparent;border-radius:12px;font-size:17px;font-family:inherit;color:var(--white);transition:border-color 0.3s}
.form input:focus,.form textarea:focus{outline:none;border-color:var(--cyan)}
.form input::placeholder,.form textarea::placeholder{color:#5a6170}
.form textarea{min-height:140px;resize:vertical}
.form .btn{width:100%}
.contacts{text-align:center}
.contacts p{margin-bottom:12px}
.footer{background:var(--ink);color:var(--white);text-align:center;padding:40px 24px}
@media(max-width:640px){.container,.section{padding:48px 20px}.hero{padding:80px 20px}}
.contact-item{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:20px;font-size:18px}
.contact-icon{width:50px;height:50px;background:var(--cyan-50);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px}
.footer{background:#0a0c10;color:var(--white);text-align:center;padding:60px 24px}
.footer p{color:#5a6170;font-size:14px}
.reveal{opacity:0;transform:translateY(30px);transition:all 0.8s ease}
.reveal.in{opacity:1;transform:none}
@media(max-width:900px){.about-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}}
@media(max-width:640px){.container{padding:0 20px}.section{padding:60px 0}.hero{padding:100px 0}.hero-btns{flex-direction:column}.btn{width:100%}}
</style>
</head>
<body>
<section class="hero">
<div class="container">
<h1>Заголовок вашего проекта</h1>
<p>Краткое описание — пара предложений о том, что вы предлагаете и почему это важно для клиента.</p>
<h1 class="reveal">Заголовок вашего проекта</h1>
<p class="reveal">Краткое описание — расскажите, что вы предлагаете и какую проблему решаете для клиента. 2-3 предложения, которые цепляют.</p>
<div class="hero-btns reveal">
<a href="#form" class="btn">Оставить заявку</a>
<a href="#about" class="btn btn-secondary">Узнать больше</a>
</div>
</div>
</section>
<section class="section">
<h2>Почему выбирают нас</h2>
<section class="section" id="features">
<div class="container">
<h2 class="reveal">Почему выбирают нас</h2>
<p class="section-subtitle reveal">Мы предлагаем лучшие условия на рынке и гарантируем результат</p>
<div class="cards">
<div class="card">
<h3>🚀 Быстро</h3>
<p>Описание преимущества. Расскажите, как вы экономите время клиента.</p>
<div class="card reveal">
<span class="card-icon">⚡</span>
<h3>Быстро</h3>
<p>Выполняем работу в кратчайшие сроки без потери качества. Ценим ваше время.</p>
</div>
<div class="card">
<h3>✨ Качественно</h3>
<p>Описание преимущества. Почему ваш продукт или услуга лучшие.</p>
<div class="card reveal">
<span class="card-icon">💎</span>
<h3>Качественно</h3>
<p>Используем проверенные решения и современные технологии. Гарантия на все услуги.</p>
</div>
<div class="card">
<h3>💡 Надёжно</h3>
<p>Описание преимущества. Гарантии и обязательства перед клиентом.</p>
<div class="card reveal">
<span class="card-icon">🤝</span>
<h3>Надёжно</h3>
<p>Работаем официально, несём ответственность за результат. Сотни довольных клиентов.</p>
</div>
</div>
</div>
</section>
<section class="section about" id="about">
<div class="container">
<div class="about-grid">
<div class="reveal">
<h2>О нашем проекте</h2>
<p style="color:var(--gray-500);margin-bottom:24px;line-height:1.8">Расскажите здесь историю вашего проекта, компании или о себе. Почему вы начали этим заниматься и что вами движет.</p>
<p style="color:var(--gray-500);margin-bottom:32px;line-height:1.8">Добавьте информацию о команде, опыте работы, подходе к клиентам. Люди любят истории и искренность.</p>
<div class="stats">
<div class="stat">
<span class="stat-num">500+</span>
<span class="stat-label">Клиентов</span>
</div>
<div class="stat">
<span class="stat-num">5 лет</span>
<span class="stat-label">Опыта</span>
</div>
<div class="stat">
<span class="stat-num">100%</span>
<span class="stat-label">Гарантия</span>
</div>
</div>
</div>
<img src="https://picsum.photos/seed/project/600/400" alt="О проекте" class="about-img reveal">
</div>
</div>
</section>
<section class="section form-section" id="form">
<h2>Свяжитесь с нами</h2>
<form class="form" action="https://formsubmit.co/your@email.com" method="POST">
<div class="container">
<h2 class="reveal">Свяжитесь с нами</h2>
<p class="section-subtitle reveal">Оставьте заявку и мы свяжемся с вами в течение 15 минут</p>
<form class="form reveal" action="https://formsubmit.co/your@email.com" method="POST">
<input type="text" name="name" placeholder="Ваше имя" required>
<input type="tel" name="phone" placeholder="Телефон" required>
<textarea name="message" placeholder="Сообщение"></textarea>
<button type="submit" class="btn">Отправить</button>
<textarea name="message" placeholder="Сообщение или вопрос"></textarea>
<button type="submit" class="btn">Отправить заявку</button>
</form>
</div>
</section>
<section class="section contacts">
<h2>Контакты</h2>
<p>📍 Город, улица, дом</p>
<p>📞 +7 (XXX) XXX-XX-XX</p>
<p>✉️ email@example.com</p>
<div class="container">
<h2 class="reveal">Контакты</h2>
<p class="section-subtitle reveal">Мы всегда на связи и готовы ответить на любые вопросы</p>
<div class="reveal">
<div class="contact-item">
<span class="contact-icon">📍</span>
<span>г. Алматы, ул. Примерная, 100</span>
</div>
<div class="contact-item">
<span class="contact-icon">📞</span>
<span>+7 (777) 123-45-67</span>
</div>
<div class="contact-item">
<span class="contact-icon">✉️</span>
<span>hello@example.com</span>
</div>
<div class="contact-item">
<span class="contact-icon">🕐</span>
<span>Пн-Пт: 9:00 - 18:00</span>
</div>
</div>
</div>
</section>
<footer class="footer">
<p>© 2026 Мой проект. Все права защищены.</p>
</footer>
<script>
var io=new IntersectionObserver(function(entries){
entries.forEach(function(e){if(e.isIntersecting)e.target.classList.add('in');});
},{threshold:0.15});
document.querySelectorAll('.reveal').forEach(function(el){io.observe(el);});
</script>
</body>
</html>