* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    overflow: hidden;
    height: 100vh;
}

.step {
    display: none;
    height: 100vh;
    width: 100vw;
    max-width: 430px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Status Bar - Hidden */
.status-bar {
    display: none;
}

.status-icons {
    display: none;
}

.signal,
.wifi,
.battery {
    display: none;
}

/* Hero Section - Step 1 */
.hero-container {
    height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-left > * {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-left > *:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-left > *:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-left > *:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-left > *:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: left;
}

.brand-logo {
    font-size: 29px;
    font-weight: 800;
    color: #b6a3e6;
    margin: 0;
    line-height: 1;
    padding-top: 18px;
    padding-bottom: 18px;
    font-family: 'Aldrich', sans-serif;
    text-transform: uppercase;
}

.boutique-text {
    font-size: 14px;
    color: #fff;
    font-weight: 300;
    margin-left: 3px;
}

.main-headline {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.2;
}

.hero-description {
    font-size: 13px;
    color: #bbb;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #ccc;
}

.feature-icon {
    font-size: 14px;
}

.cta-primary {
    background: #b6a3e6;
    color: #000;
    border: none;
    padding: 14px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(168, 230, 163, 0.4);
    animation-play-state: paused;
}

.cta-primary:active {
    transform: translateY(-1px) scale(0.98);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 230, 163, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(168, 230, 163, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(168, 230, 163, 0);
    }
}

.hero-right {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
    padding-top: 59px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 300px;
    opacity: 0;
    animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-image {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(168, 230, 163, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.animated-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-15px) rotate(2deg);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-top: 27px;
}

.product-preview {
    position: absolute;
    width: 60px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.product-preview:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(168, 230, 163, 0.2);
}

.product-preview img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product-preview:hover img {
    transform: scale(1.1);
}

.product-preview span {
    font-size: 10px;
    font-weight: 600;
    color: #a8e6a3;
}

.card-1 {
    top: 68%;
    right: 10%;
    animation: floatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards, 
               float 4s ease-in-out infinite 1.6s;
}

.card-2 {
    bottom: 20%;
    left: 10%;
    animation: floatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards,
               float 4s ease-in-out infinite 2s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Configuration Form - Step 2 */
.config-header {
    display: none;
}

.back-btn {
    display: none;
}

.step-title {
    display: none;
}

.config-container {
    padding: 40px 20px 100px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.config-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.config-form > * {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.config-form > *:nth-child(1) {
    animation-delay: 0.1s;
}

.config-form > *:nth-child(2) {
    animation-delay: 0.2s;
}

.config-form > *:nth-child(3) {
    animation-delay: 0.3s;
}

.config-form > *:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.form-input {
    padding: 14px 16px;
    border: 2px solid #333;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:focus {
    outline: none;
    border-color: #a8e6a3;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 230, 163, 0.2);
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-card {
    width: 135px;
    height: 50px;
    border: 2px solid #333;
    background: transparent;
    color: #fff;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.size-card.active,
.size-card:hover {
    border-color: #a8e6a3;
    color: #000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(168, 230, 163, 0.3);
    background-color: #c39bff;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.platform-card {
    padding: 16px;
    border: 2px solid #333;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.platform-card.active,
.platform-card:hover {
    border-color: #c39bff;
    background: rgba(168, 230, 163, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(168, 230, 163, 0.2);
}

.platform-icon {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-card:hover .platform-icon {
    transform: scale(1.2) rotate(5deg);
}

.platform-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.platform-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.platform-card p {
    font-size: 12px;
    color: #bbb;
}

.submit-btn {
    background: #c39bff !important;
    color: #000 !important;
    border: none !important;
    padding: 16px 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 20px;
    width: 100%;
    position: relative;
    overflow: visible;
    animation: pulse 2s infinite;
    z-index: 1000;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 50px;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(168, 230, 163, 0.4);
    animation-play-state: paused;
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 230, 163, 0.1);
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #a8e6a3;
    display: block;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    font-size: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #a8e6a3;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    color: #a8e6a3;
    font-weight: 500;
}

/* Processing Screen - Step 3 */
.process-container {
    padding: 40px 20px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-content {
    text-align: center;
    width: 100%;
    max-width: 300px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.process-visual {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-circle {
    width: 120px;
    height: 120px;
    border: 3px solid #333;
    border-top: 3px solid #a8e6a3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.process-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.process-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.process-description {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 25px;
    line-height: 1.4;
}

.progress-container {
    margin-bottom: 25px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #333;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a8e6a3, #7dd87a);
    border-radius: 6px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #a8e6a3;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    padding: 8px 0;
}

.step-item.completed .step-icon {
    color: #a8e6a3;
}

.step-item.active .step-icon {
    color: #ffeb3b;
}

.step-item .step-icon {
    color: #666;
    font-weight: 600;
}

.completion-section {
    text-align: center;
}

.completion-section.hidden {
    display: none;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.completion-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.completion-section p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 20px;
}

.download-btn {
    background: #a8e6a3;
    color: #000;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: pulse 2s infinite;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(168, 230, 163, 0.4);
    animation-play-state: paused;
}

.download-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Home Indicator */
.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background: #fff;
    border-radius: 3px;
    opacity: 0.3;
}

/* Hide scrollbars */
::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;

    /* IE and Edge */
    scrollbar-width: none;

    /* Firefox */
}

/* Responsive Design */
@media (max-width: 480px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
        height: 200px;
    }

    .main-headline {
        font-size: 24px;
        font-family: 'AR One Sans', sans-serif;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .step {
        max-width: 430px;
        border: 1px solid #333;
        border-radius: 25px;
        overflow: hidden;
        margin: 20px auto;
        height: calc(100vh - 40px);
    }
}
