/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* Hero Devices */
.hero-devices {
    position: relative;
    width: 100%;
    height: 500px;
}

.device-desktop {
    position: absolute;
    width: 400px;
    height: 280px;
    background: #1a202c;
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
    top: 0;
    left: 0;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #2d3748;
    border-radius: 8px;
    overflow: hidden;
}

.screen-header {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background: #1a202c;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #fc5c65; }
.dot.yellow { background: #fed330; }
.dot.green { background: #26de81; }

.screen-content {
    padding: 12px;
    height: calc(100% - 30px);
}

.admin-panel {
    display: flex;
    gap: 12px;
}

.admin-sidebar {
    width: 60px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 6px;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-row {
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.device-phone {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    animation: floatPhone 6s infinite ease-in-out;
}

.device-phone .phone-frame {
    width: 180px;
    height: 360px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.device-phone .phone-notch {
    width: 80px;
    height: 20px;
    background: #1a202c;
    border-radius: 0 0 15px 15px;
    margin: 0 auto;
}

.device-phone .phone-screen {
    width: 100%;
    height: calc(100% - 20px);
    background: var(--success-gradient);
    border-radius: 24px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-header {
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.app-scanner {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.app-button {
    height: 40px;
    background: white;
    border-radius: 20px;
}

/* Ecosystem Hub */
.eco-hub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    align-content: start;
    justify-items: center;
    padding: 1.5rem 0;
}

.eco-center {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0 0.75rem;
    position: relative;
}

.eco-center svg {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.4));
}

.eco-center-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.02em;
}

.eco-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    cursor: default;
    text-align: center;
    width: 100%;
    max-width: 150px;
}

.eco-node:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.eco-node-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eco-node-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.eco-node-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.eco-node-desc {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* Pulse animation for center */
.eco-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    animation: ecoPulse 3s infinite ease-in-out;
    z-index: -1;
}

@keyframes ecoPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
    .eco-hub {
        height: auto;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        padding: 1rem 0;
    }
    .eco-node {
        max-width: none;
    }
}

/* Problems Section */
.problems {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Solution Section */
.solution {
    padding: 6rem 0;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.solution-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.point-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.point-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.point-text span {
    color: var(--text-secondary);
}

/* Solution Modules Grid */
.solution-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.sol-mod-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.sol-mod-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

.sol-mod-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sol-mod-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.sol-mod-desc {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

@media (max-width: 480px) {
    .solution-modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Features Block */
.features-block {
    margin-bottom: 4rem;
}

.features-block-header {
    text-align: center;
    margin-bottom: 2rem;
}

.block-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.features-block-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.features-block-header p {
    color: var(--text-secondary);
}

.feature-icon.green {
    background: var(--success-gradient);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Timeline Steps */
.steps-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.timeline-step {
    text-align: center;
    padding: 0 0.5rem;
    position: relative;
    z-index: 1;
}

.timeline-connector {
    display: none;
}

/* Screenshot Cards */
.screenshot-card {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
}

.screenshot-card .screenshot-content {
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-card.mobile .screenshot-content {
    height: 400px;
    max-width: 200px;
    margin: 0 auto;
    border-radius: 24px;
}

.screenshot-label {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Audience Section */
.audience {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.audience-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.audience-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.audience-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.audience-card p {
    color: var(--text-secondary);
}
