/* ================================
   Google Fonts
   ================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&family=DM+Sans:wght@400;500&family=JetBrains+Mono:wght@400&display=swap');

/* ================================
   CSS Variables
   ================================ */
:root {
    --bg: #080808;
    --surface: #111111;
    --surface-hover: #1a1a1a;
    --border: #1f1f1f;
    --text: #fafafa;
    --text-dim: #525252;
}

/* ================================
   Reset & Base
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ================================
   Background
   ================================ */
.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(99, 102, 241, 0.12), transparent 60%),
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(236, 72, 153, 0.08), transparent 50%);
}

.bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.025;
}

/* ================================
   Main Container
   ================================ */
main {
    max-width: 680px;
    margin: 0 auto;
    padding: 140px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ================================
   Logo
   ================================ */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 56px;
    animation: fadeIn 1s ease-out;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.3px;
}

/* ================================
   Tag
   ================================ */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.1s backwards;
}

.tag span {
    width: 5px;
    height: 5px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* ================================
   Heading
   ================================ */
h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(44px, 9vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
    animation: fadeIn 1s ease-out 0.2s backwards;
    position: relative;
}

h1 span {
    display: block;
    background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   Floating Elements
   ================================ */
.floating-img {
    position: absolute;
    right: -70px;
    top: 45%;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    animation: floatA 3.5s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.floating-img-2 {
    position: absolute;
    left: -75px;
    top: 15%;
    width: 58px;
    height: 58px;
    object-fit: cover;
    animation: floatB 4s ease-in-out infinite;
    opacity: 0.85;
}

.floating-img-3 {
    position: absolute;
    right: -55px;
    top: 5%;
    width: 40px;
    height: 40px;
    object-fit: cover;
    animation: floatC 5s ease-in-out infinite;
    opacity: 0.7;
}

.floating-img-4 {
    position: absolute;
    left: -55px;
    bottom: 5%;
    width: 36px;
    height: 36px;
    object-fit: cover;
    animation: floatD 4.5s ease-in-out infinite;
    opacity: 0.75;
}

.floating-img-5 {
    position: absolute;
    right: -45px;
    bottom: 10%;
    width: 34px;
    height: 34px;
    object-fit: cover;
    animation: floatE 5.5s ease-in-out infinite;
    opacity: 0.7;
}

.floating-img-6 {
    position: absolute;
    left: 5%;
    top: -8%;
    width: 30px;
    height: 30px;
    object-fit: cover;
    animation: floatF 4s ease-in-out infinite;
    opacity: 0.65;
}

/* ================================
   Description
   ================================ */
p {
    font-size: 15px;
    color: var(--text-dim);
    max-width: 440px;
    margin-bottom: 44px;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

/* ================================
   Features
   ================================ */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.features span {
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-dim);
    transition: all 0.25s ease;
}

.features span:hover {
    background: var(--surface-hover);
    color: var(--text);
    border-color: #2a2a2a;
    transform: translateY(-1px);
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: var(--text);
    color: var(--bg);
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(255, 255, 255, 0.08);
}

.btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--bg);
    fill: none;
    stroke-width: 2;
}

.star-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    margin-top: 16px;
    transition: all 0.3s ease;
    animation: starPulse 2s ease-in-out infinite;
}

.star-btn:hover {
    border-color: #eab308;
    color: #eab308;
    transform: translateY(-2px);
    animation: none;
}

.star-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ================================
   Footer
   ================================ */
footer {
    margin-top: 56px;
    font-size: 12px;
    color: var(--text-dim);
    animation: fadeIn 1s ease-out 0.6s backwards;
}

footer a {
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 0.6;
}

/* ================================
   Animations
   ================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatA {
    0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
    50% { transform: translateY(-55%) translateX(8px) rotate(3deg); }
}

@keyframes floatB {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-5deg); }
}

@keyframes floatC {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
}

@keyframes floatD {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-6deg); }
}

@keyframes floatE {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(7deg); }
}

@keyframes floatF {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-4deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes starPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
    50% { box-shadow: 0 0 20px 2px rgba(234, 179, 8, 0.15); }
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 600px) {
    .floating-img,
    .floating-img-2,
    .floating-img-3,
    .floating-img-4,
    .floating-img-5,
    .floating-img-6 {
        display: none;
    }

    main {
        padding: 100px 20px 60px;
    }
}
