:root {
    --sw-bg-void: #0B0A10; 
    --sw-bg-deep: #151221;
    --sw-primary: #d946ef;
    --sw-primary-glow: #e879f9;
    --sw-secondary: #6366f1;
    --sw-accent-cyan: #22d3ee;
    --sw-accent-gold: #fbbf24;
    --sw-text-main: #ffffff;
    --sw-text-muted: #F1F5F9; 
    --sw-glass-bg: rgba(255, 255, 255, 0.08);
    --sw-glass-border: rgba(255, 255, 255, 0.2);
    --sw-glass-blur: 24px;
    --sw-font-display: 'Space Grotesk', system-ui, sans-serif;
    --sw-font-body: 'Outfit', system-ui, sans-serif;
    --sw-container-width: 1280px;
    --sw-ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sw-wrapper {
    background-color: var(--sw-bg-void);
    color: var(--sw-text-main);
    font-family: var(--sw-font-body);
    line-height: 1.6;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sw-wrapper *,.sw-wrapper *::before,.sw-wrapper *::after {
    box-sizing: border-box;
}

#sw-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.sw-container {
    max-width: var(--sw-container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.sw-vignette {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--sw-bg-void) 100%);
    z-index: 2;
    pointer-events: none;
}

.sw-title-display {
    font-family: var(--sw-font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.0;
    margin: 0 0 30px 0;
    letter-spacing: -0.04em;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.sw-text-gradient {
    background: linear-gradient(to right, #c084fc, #e879f9, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: sw-gradient-move 5s ease infinite;
    display: inline-block;
    color: #e879f9; 
}

@keyframes sw-gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sw-lead-text {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--sw-text-muted);
    max-width: 750px;
    margin-bottom: 50px;
    font-weight: 400; 
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8); 
}

.sw-wrapper h2 {
    font-family: var(--sw-font-display);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.sw-wrapper h3 {
    font-family: var(--sw-font-display);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sw-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0;
    position: relative;
}

.sw-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    margin-bottom: 30px;
    font-family: var(--sw-font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff; 
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.1);
}

.sw-cta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.sw-cta-row.centered {
    justify-content: center;
}

.sw-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-family: var(--sw-font-body);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s var(--sw-ease-elastic);
    overflow: hidden;
    z-index: 1;
}

.sw-btn-primary {
    background: #fff;
    color: #000;
}

.sw-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--sw-primary), var(--sw-secondary));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.sw-btn-primary:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(217, 70, 239, 0.4);
}

.sw-btn-primary:hover::before {
    opacity: 1;
}

.sw-btn-glass {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.sw-btn-glass:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.sw-hero-visual {
    margin-top: 80px;
    perspective: 1000px;
}

.sw-glass-card {
    background: linear-gradient(145deg, rgba(30, 27, 46, 0.6) 0%, rgba(20, 18, 30, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--sw-glass-border);
    border-top: 1px solid rgba(255,255,255,0.3);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.9);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.sw-glow-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(40px);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.sw-window-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.sw-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    opacity: 1;
}
.sw-dot.red { background: #ff5f56; }
.sw-dot.yellow { background: #ffbd2e; }
.sw-dot.green { background: #27c93f; }

.sw-editor-simulation {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    color: #F8FAFC;
    line-height: 1.9;
    font-weight: 400;
}

.sw-ai-suggestion {
    color: var(--sw-primary-glow);
    text-shadow: 0 0 15px rgba(232, 121, 249, 0.4);
    animation: sw-pulse-text 3s infinite ease-in-out;
    font-weight: 400;
}

@keyframes sw-pulse-text {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; text-shadow: 0 0 25px rgba(232, 121, 249, 0.7); }
}

.sw-cursor {
    display: inline-block;
    width: 3px;
    height: 1.4em;
    background-color: var(--sw-accent-cyan);
    vertical-align: middle;
    margin-left: 4px;
    box-shadow: 0 0 10px var(--sw-accent-cyan);
    animation: sw-blink 0.8s step-end infinite;
}

@keyframes sw-blink {
    50% { opacity: 0; }
}

.sw-ai-tag {
    display: inline-flex;
    align-items: center;
    margin: 5px 20px 5px 0px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sw-accent-cyan);
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(34, 211, 238, 0.4);
    padding: 8px 14px;
    border-radius: 6px;
    font-family: var(--sw-font-body);
    font-weight: 800;
}

.sw-features {
    padding: 120px 0;
    position: relative;
}

.sw-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.sw-section-header p {
    font-size: 1.25rem;
    color: var(--sw-text-muted);
    font-weight: 400;
}

.sw-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sw-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08); 
    border-radius: 20px;
    padding: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--sw-glass-border);
}

.sw-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: radial-gradient(
        800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(255, 255, 255, 0.15),
        transparent 40%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.sw-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.sw-card-large { grid-column: span 2; }
.sw-card-tall { 
    grid-column: span 2; 
    grid-row: auto; 
    background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.15), transparent 60%), rgba(255, 255, 255, 0.08);
}

.sw-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.5);
}

.sw-card-icon.sw-icon-gold { color: var(--sw-accent-gold); box-shadow: 0 10px 30px -5px rgba(251, 191, 36, 0.2); }
.sw-card-icon.sw-icon-cyan { color: var(--sw-accent-cyan); box-shadow: 0 10px 30px -5px rgba(34, 211, 238, 0.2); }

.sw-svg { width: 30px; height: 30px; stroke-width: 2px; }

.sw-card p {
    font-size: 1.05rem;
    color: #F1F5F9; 
    margin: 0;
    line-height: 1.6;
    font-weight: 400; 
}

.sw-mini-demo {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.sw-demo-chip {
    font-size: 0.75rem;
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    font-family: var(--sw-font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    transition: 0.3s;
    font-weight: 600;
}

.sw-demo-chip:hover {
    background: var(--sw-primary);
    border-color: var(--sw-primary);
    box-shadow: 0 0 15px var(--sw-primary);
}

.sw-process {
    padding: 100px 0;
    position: relative;
}

.sw-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.sw-step {
    position: relative;
    padding: 30px;
    border-left: 2px solid rgba(255,255,255,0.15);
    transition: 0.3s;
}

.sw-step:hover {
    border-left-color: var(--sw-primary);
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, transparent 100%);
}

.sw-step-number {
    font-family: var(--sw-font-display);
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    position: absolute;
    top: 0;
    right: 20px;
    line-height: 1;
}

.sw-step h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--sw-font-display);
    font-weight: 700;
}

.sw-cta-final {
margin: 50px 20px 20px 20px;
}

.sw-glass-panel {
    background: linear-gradient(180deg, rgba(30, 27, 46, 0.95) 0%, rgba(20, 18, 30, 0.98) 100%);
    border: 1px solid var(--sw-glass-border);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 100px -20px rgba(100, 50, 255, 0.2);
}

.sw-glass-panel::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.05) 0%, transparent 50%);
    animation: sw-spin 10s linear infinite;
    pointer-events: none;
}

@keyframes sw-spin { 100% { transform: rotate(360deg); } }

.sw-tiny-note {
    font-size: 0.9rem;
    color: var(--sw-text-muted);
    margin-top: 20px;
    display: block;
}

@media (max-width: 900px) {
   .sw-bento-grid { grid-template-columns: 1fr; }
   .sw-card-large,.sw-card-tall { grid-column: span 1; grid-row: span 1; }
   .sw-title-display { font-size: 3.5rem; }
   .sw-glass-panel { padding: 40px 20px; }
}

.section-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}