VibeCoderzVibeCoderz
Telegram
All Prompts
Architectural CTA Section with Animated Glow Button preview
ctasectionanimatedresponsivebackgroundlandingscrollhtml-css

Architectural CTA Section with Animated Glow Button

Секция CTA для сайтов архитектуры и студий. Включает анимированную кнопку, email-действие, анимацию появления. CSS.

Prompt

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>CTA - Verd Architecture</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link
    href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap"
    rel="stylesheet">
  <script src="https://code.iconify.design/3/3.1.0/iconify.min.js"></script>
  <style>
    *,
    *::before,
    *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box
    }

    html {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale
    }

    body {
      font-family: var(--font-body);
      background: var(--color-bg);
      color: var(--color-text);
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center
    }

    a {
      color: inherit;
      text-decoration: none
    }

    @property --glow-angle {
      syntax: '<angle>';
      initial-value: 0deg;
      inherits: false;
    }

    :root {
      --color-bg: #0F0F0E;
      --color-bg-elevated: #1A1917;
      --color-bg-card: #22211E;
      --color-surface: #2C2B27;
      --color-copper: #C17F59;
      --color-copper-light: #D4A07A;
      --color-copper-bright: #E8B894;
      --color-terracotta: #C4704E;
      --color-gold: #C9A96E;
      --color-gold-light: #DFC08A;
      --color-sage: #8A9A7B;
      --color-cream: #F5F0EB;
      --color-cream-muted: #D9D2CA;
      --color-text: #F5F0EB;
      --color-text-muted: #9C9789;
      --color-text-subtle: #6B675E;
      --font-display: 'Playfair Display', Georgia, serif;
      --font-body: 'Inter', system-ui, -apple-system, sans-serif;
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    }

    .container {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 clamp(1.5rem, 4vw, 3rem)
    }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.7rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--color-copper);
      margin-bottom: 1.5rem;
    }

    .section-label::before {
      content: '';
      width: 30px;
      height: 1px;
      background: linear-gradient(90deg, var(--color-copper), transparent);
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem 2rem;
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-weight: 500;
      border-radius: 100px;
      position: relative;
      overflow: hidden;
      transition: all 0.4s var(--ease-out-expo);
    }

    .btn-outline {
      border: 1px solid var(--color-copper);
      color: #fff;
      background: rgba(193, 127, 89, 0.08);
    }

    .btn-outline:hover {
      border-color: var(--color-copper-light);
      background: rgba(193, 127, 89, 0.22);
      color: #fff;
      letter-spacing: 0.16em;
      transform: translateY(-2px);
      box-shadow: 0 6px 30px rgba(193, 127, 89, 0.15);
    }

    /* Animated border CTA button */
    .btn-glow {
      position: relative;
      padding: 1.1rem 2.5rem;
      border-radius: 100px;
      background: var(--color-bg);
      color: var(--color-cream);
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-weight: 500;
      z-index: 1;
      overflow: hidden;
    }

    .btn-glow::before {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: 100px;
      background: conic-gradient(from var(--glow-angle, 0deg), var(--color-copper), var(--color-gold), var(--color-sage), var(--color-copper));
      z-index: -2;
      animation: glowRotate 4s linear infinite;
    }

    .btn-glow::after {
      content: '';
      position: absolute;
      inset: 2px;
      border-radius: 100px;
      background: var(--color-bg);
      z-index: -1;
    }

    @keyframes glowRotate {
      0% {
        --glow-angle: 0deg
      }

      100% {
        --glow-angle: 360deg
      }
    }

    /* CTA */
    .cta {
      background: var(--color-bg);
      padding: clamp(5rem, 10vw, 9rem) 0;
      position: relative;
      overflow: hidden;
    }

    .cta-bg {
      position: absolute;
      inset: 0;
    }

    .cta-bg-image {
      position: absolute;
      inset: 0;
      background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920&q=80&auto=format') center/cover no-repeat;
      opacity: 0.15;
    }

    /* Alpha mask on CTA background */
    .cta-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg) 75%);
    }

    .cta-content {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 700px;
      margin: 0 auto;
    }

    .cta-title {
      font-family: var(--font-display);
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      font-weight: 400;
      line-height: 1.1;
      color: var(--color-cream);
      margin-bottom: 1.5rem;
    }

    .cta-title em {
      font-style: italic;
      background: linear-gradient(135deg, var(--color-copper-light), var(--color-gold));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .cta-text {
      font-size: 1rem;
      line-height: 1.7;
      color: var(--color-text-muted);
      margin-bottom: 2.5rem;
    }

    .cta-actions {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* Reveal zoom */
    .reveal-zoom {
      opacity: 0;
      transform: scale(0.92);
      transition: opacity 1s var(--ease-out-expo), transform 1.2s var(--ease-out-expo)
    }

    .reveal-zoom.visible {
      opacity: 1;
      transform: scale(1)
    }

    @media(max-width:480px) {
      .cta-actions {
        flex-direction: column;
        align-items: center
      }
    }
  </style>
</head>

<body>

  <section class="cta section" id="contact">
    <div class="cta-bg">
      <div class="cta-bg-image"></div>
    </div>
    <div class="container">
      <div class="cta-content reveal-zoom">
        <div class="section-label" style="justify-content:center">Start Your Project</div>
        <h2 class="cta-title">Let's create something <em>extraordinary</em></h2>
        <p class="cta-text">Whether you're envisioning a private residence, a commercial landmark, or a community space
          — we'd love to explore what's possible together.</p>
        <div class="cta-actions">
          <a href="#" class="btn-glow">
            <span style="position:relative;z-index:1;display:flex;align-items:center;gap:0.5rem">
          Schedule a Consultation
          <span class="iconify" data-icon="solar:arrow-right-linear"></span>
            </span>
          </a>
          <a href="#" class="btn btn-outline">
            <span>hello@verdstudio.com</span>
            <span class="iconify" data-icon="solar:letter-bold"></span>
          </a>
        </div>
      </div>
    </div>
  </section>

  <script>
    const obs = new IntersectionObserver(entries => {
entries.forEach(e => { if (e.isIntersecting) { e.target.classList.add('visible'); obs.unobserve(e.target); } });
}, { threshold: 0.08, rootMargin: '0px 0px -40px 0px' });
document.querySelectorAll('.reveal-zoom').forEach(el => obs.observe(el));
  </script>
</body>

</html>
All Prompts