:root {
    --hs-blue: #0055FF;
    --hs-violet: #8A2BE2;
    --hs-cyan: #00E5FF;
    --hs-pink: #FF1493;
    --hs-text-main: #0A2540;
    --hs-text-light: #425466;
    --hs-bg: #FFFFFF;
}

.hs-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--hs-bg);
    color: var(--hs-text-main);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Background Shapes */
.hs-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hs-shape {
    position: absolute;
    filter: blur(140px);
    border-radius: 50%;
    opacity: 0.25;
    animation: hs-float-bg 25s infinite alternate ease-in-out;
    mix-blend-mode: multiply;
}

.hs-shape-1 { width: 900px; height: 900px; background: linear-gradient(135deg, var(--hs-blue), var(--hs-cyan)); top: -200px; right: -200px; }
.hs-shape-2 { width: 700px; height: 700px; background: linear-gradient(135deg, var(--hs-violet), var(--hs-pink)); top: 40%; right: 10%; animation-delay: -5s; }
.hs-shape-3 { width: 800px; height: 800px; background: linear-gradient(135deg, var(--hs-blue), var(--hs-violet)); bottom: -100px; left: 30%; animation-delay: -10s; }
.hs-shape-4 { width: 600px; height: 600px; background: linear-gradient(135deg, var(--hs-cyan), #a855f7); top: 10%; left: -100px; animation-delay: -15s; }

@keyframes hs-float-bg {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 80px) scale(1.1); }
}

/* Header */
.hs-header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    max-width: 1600px;
    margin: 0 auto;
}

.hs-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hs-nav { display: none; }
@media (min-width: 900px) {
    .hs-nav { display: flex; gap: 32px; }
    .hs-nav a { text-decoration: none; color: var(--hs-text-main); font-weight: 500; font-size: 15px; transition: color 0.2s; }
    .hs-nav a:hover { color: var(--hs-blue); }
}

.hs-actions { display: flex; align-items: center; gap: 16px; }
.hs-btn-text { text-decoration: none; color: var(--hs-text-main); font-weight: 500; font-size: 15px; }
.hs-btn-text:hover { color: var(--hs-blue); }

.hs-btn-primary {
    background: var(--hs-text-main);
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}
.hs-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Hero Section */
.hs-hero {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 24px;
    align-items: center;
}
@media (min-width: 1024px) {
    .hs-hero {
        grid-template-columns: 40% 60%;
        padding: 80px 48px;
    }
}

/* Left Column */
.hs-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--hs-blue);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hs-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 8px 0;
}

.hs-subtitle {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 24px 0;
    background: linear-gradient(90deg, var(--hs-violet), var(--hs-pink), var(--hs-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: hs-gradient-shift 5s linear infinite alternate;
}

@keyframes hs-gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

.hs-description {
    font-size: 1.25rem;
    color: var(--hs-text-light);
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 480px;
}

.hs-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.hs-btn-large {
    padding: 16px 32px;
    font-size: 16px;
    background: var(--hs-blue);
}

.hs-btn-secondary {
    text-decoration: none;
    color: var(--hs-text-main);
    font-weight: 600;
    font-size: 16px;
    padding: 16px 24px;
    transition: opacity 0.2s;
}
.hs-btn-secondary:hover { opacity: 0.7; }

.hs-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
    color: var(--hs-text-light);
    font-weight: 500;
}
.hs-features span { display: flex; align-items: center; gap: 6px; }
.hs-features svg { color: var(--hs-blue); }

/* Right Column (UI Demo) */
.hs-hero-right {
    position: relative;
    height: 700px; /* Taller area for complex composition */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main UI Window */
.hs-app-window {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.5) inset;
    display: flex;
    width: 100%;
    max-width: 850px;
    min-height: 520px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Sidebar */
.hs-app-sidebar {
    width: 25%;
    min-width: 200px;
    background: rgba(248, 250, 252, 0.5);
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 40px 24px;
}
.hs-app-sidebar ul {
    list-style: none;
    padding: 0; margin: 0;
}
.hs-app-sidebar li {
    font-size: 15px;
    font-weight: 600;
    color: var(--hs-text-light);
    margin-bottom: 24px;
    opacity: 0.6;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.3s;
}
.hs-app-sidebar li.active {
    opacity: 1;
    color: var(--hs-violet);
    background: rgba(138, 43, 226, 0.08);
}

/* App Main Content */
.hs-app-main {
    flex: 1;
    padding: 48px;
    position: relative;
    background: rgba(255,255,255,0.4);
    display: flex;
    flex-direction: column;
}

.hs-app-content h3 {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--hs-text-main);
}

.hs-app-input {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 24px;
    font-size: 18px;
    color: var(--hs-text-main);
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) inset, 0 1px 3px rgba(0,0,0,0.05);
    line-height: 1.5;
}

.hs-app-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.hs-app-controls {
    display: flex;
    gap: 12px;
}
.hs-app-controls button {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hs-text-light);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.hs-app-controls button:hover {
    background: #F8FAFC;
    color: var(--hs-text-main);
    border-color: rgba(0,0,0,0.15);
}

.hs-app-btn-send {
    background: var(--hs-violet);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}
.hs-app-btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 43, 226, 0.4);
}

.hs-hidden { display: none !important; }

/* Processing Area */
.hs-processing-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.hs-processing-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.hs-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--hs-violet), var(--hs-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.hs-processing-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--hs-text-main);
}

.hs-progress-list {
    list-style: none; padding: 0; margin: 0;
}
.hs-progress-list li {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 16px;
    color: var(--hs-text-main);
    font-weight: 500;
    font-size: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}
.hs-progress-list li.visible {
    opacity: 1; transform: translateY(0);
}
.hs-progress-list li::before {
    content: '✓';
    display: flex; align-items: center; justify-content: center;
    width: 20px; height: 20px;
    background: #10B981; color: #fff;
    border-radius: 50%; font-size: 12px;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

/* Floating Cards Overlapping UI */
.hs-floating-card {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.03);
    padding: 16px;
    width: 240px;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hs-floating-card.visible {
    opacity: 1;
}

.hs-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
}
.hs-card-ig .hs-card-header { color: #E1306C; }
.hs-card-in .hs-card-header { color: #0077b5; }
.hs-card-fb .hs-card-header { color: #1877F2; }

.hs-card-img {
    width: 100%; height: 140px; 
    background-color: #F1F5F9; 
    background-size: cover;
    background-position: center;
    border-radius: 12px; 
    margin-bottom: 12px;
}

.hs-card-text p {
    font-size: 14px;
    line-height: 1.4;
    color: var(--hs-text-main);
    margin: 0;
    font-weight: 500;
}

/* Positioning and Rotations - Important for editorial look */
.hs-card-ig { 
    bottom: -40px; 
    left: -80px; 
    transform: translateY(30px) rotate(-3deg);
}
.hs-card-ig.visible {
    transform: translateY(0) rotate(-3deg);
    animation: hs-float-card-1 6s infinite ease-in-out alternate;
}

.hs-card-in { 
    top: -30px; 
    right: -60px; 
    transform: translateY(-30px) rotate(2deg);
}
.hs-card-in.visible {
    transform: translateY(0) rotate(2deg);
    animation: hs-float-card-2 7s infinite ease-in-out alternate;
}

.hs-card-fb { 
    bottom: -20px; 
    right: -40px; 
    transform: translateY(30px) rotate(-1deg);
}
.hs-card-fb.visible {
    transform: translateY(0) rotate(-1deg);
    animation: hs-float-card-3 8s infinite ease-in-out alternate;
}

@keyframes hs-float-card-1 { 0% { transform: translateY(0) rotate(-3deg); } 100% { transform: translateY(-10px) rotate(-4deg); } }
@keyframes hs-float-card-2 { 0% { transform: translateY(0) rotate(2deg); } 100% { transform: translateY(-12px) rotate(1deg); } }
@keyframes hs-float-card-3 { 0% { transform: translateY(0) rotate(-1deg); } 100% { transform: translateY(-8px) rotate(-2deg); } }

/* Handwritten Note */
.hs-handwritten-note {
    position: absolute;
    top: -70px;
    left: 60px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    color: var(--hs-violet);
    font-size: 16px;
    transform: rotate(-8deg);
    z-index: 25;
    max-width: 200px;
    opacity: 0;
    transition: opacity 1s ease 2.5s;
}
.hs-handwritten-note.visible { opacity: 1; }
.hs-note-arrow {
    position: absolute; bottom: -50px; right: -30px;
    color: var(--hs-violet);
    opacity: 0.7;
}

@media (max-width: 1400px) {
    .hs-card-ig { left: -40px; }
    .hs-card-in { right: -30px; }
    .hs-card-fb { right: -20px; }
}

@media (max-width: 1024px) {
    .hs-floating-card { display: none; }
    .hs-handwritten-note { display: none; }
    .hs-app-sidebar { display: none; }
    .hs-title { font-size: 3rem; }
    .hs-subtitle { font-size: 3rem; }
    .hs-hero-right { height: auto; min-height: 500px; }
}

@media (max-width: 768px) {
    .hs-app-controls-row { flex-direction: column; align-items: stretch; }
    .hs-app-btn-send { width: 100%; }
}
